/* RR Forms: front-end styles (matches Ring & Respect theme) */
.rr-form-wrap{--rrf-red:#d71f27;--rrf-red-dark:#b3161d;--rrf-text:#1a1a1a;--rrf-muted:#6b6b6b;--rrf-line:#dcdcdc;
  font-family:inherit;width:100%;max-width:100%;}
.rr-form-wrap *{box-sizing:border-box;}
.rr-form .rr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;}
.rr-form .rr-full{grid-column:1 / -1;}
.rr-form .rr-field label{display:block;font-weight:700;font-size:14px;color:var(--rrf-text);margin:0 0 6px;}
.rr-form .rr-req{color:var(--rrf-red);margin-left:3px;}
.rr-form input[type="text"],.rr-form input[type="email"],.rr-form input[type="tel"],.rr-form select,.rr-form textarea{
  width:100%;max-width:100%;font-family:inherit;font-size:15px;color:var(--rrf-text);background:#fff;
  border:1px solid var(--rrf-line);border-radius:0;padding:12px 14px;margin:0;line-height:1.4;box-shadow:none;transition:border-color .2s;}
.rr-form textarea{resize:vertical;min-height:130px;}
.rr-form select{appearance:auto;height:auto;}
.rr-form input:focus,.rr-form select:focus,.rr-form textarea:focus{outline:none;border-color:var(--rrf-red);box-shadow:0 0 0 2px rgba(215,31,39,.15);}
.rr-form .has-error input,.rr-form .has-error select,.rr-form .has-error textarea{border-color:var(--rrf-red);}
.rr-form .rr-field-error{display:block;color:var(--rrf-red);font-size:13px;margin-top:5px;min-height:0;}
.rr-form .rr-form-footer{margin-top:22px;}
.rr-form .rr-form-btn{display:inline-flex;align-items:center;gap:10px;background:var(--rrf-red);color:#fff;border:0;border-radius:0;
  font-family:inherit;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.3px;padding:15px 32px;cursor:pointer;transition:background .2s;}
.rr-form .rr-form-btn::after{content:"\2192";font-size:17px;line-height:1;}
.rr-form .rr-form-btn:hover{background:var(--rrf-red-dark);}
.rr-form .rr-form-btn:focus-visible{outline:3px solid #111;outline-offset:3px;}
.rr-form .rr-form-btn[disabled]{opacity:.7;cursor:wait;}
.rr-form .rr-form-msg{margin-top:18px;padding:14px 18px;font-size:15px;border-left:4px solid;}
.rr-form .rr-form-msg.is-success{background:#eef7ee;border-color:#2e7d32;color:#1b4d1e;}
.rr-form .rr-form-msg.is-error{background:#fdecec;border-color:var(--rrf-red);color:#8a1117;}
.rr-form .rr-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden;}

/* Math captcha */
.rr-form .rr-captcha-row{display:flex;gap:10px;align-items:stretch;max-width:260px;}
.rr-form .rr-captcha-row input{flex:1;}
.rr-form .rr-captcha-refresh{flex:0 0 46px;background:#fff;border:1px solid var(--rrf-line);color:var(--rrf-text);font-size:20px;cursor:pointer;padding:0;line-height:1;}
.rr-form .rr-captcha-refresh:hover{border-color:var(--rrf-red);color:var(--rrf-red);}
.rr-form .rr-captcha-refresh:focus-visible{outline:3px solid #111;outline-offset:2px;}
.rr-form .rr-captcha-q{font-weight:700;}

/* Newsletter is always one column */
.rr-form-newsletter .rr-form-grid{grid-template-columns:1fr;gap:14px;}
.rr-form-newsletter .rr-form-btn{width:100%;justify-content:center;}

@media (max-width:640px){
  .rr-form .rr-form-grid{grid-template-columns:1fr;}
  .rr-form .rr-form-btn{width:100%;justify-content:center;}
}
@media (prefers-reduced-motion:reduce){.rr-form .rr-form-btn,.rr-form input,.rr-form select,.rr-form textarea{transition:none;}}
