/* Contact page fixes (page review 2026-10-15). Loaded after the theme, on /contact/ only. */
/* Note: the page keeps its own <style> block in the body (after this file), so selectors here start with "body" to win. */

/* [DR] Inter (rule 3): replaced site-wide in /fixes/all.css (font pass 2026-10-16: Roboto headings, Open Sans
   text, Montserrat labels and buttons). Inter was never loaded, so visitors got whatever system font they had. */

/* ---------- Form ---------- */
/* Spam check: keep its 65px space reserved so the button doesn't jump when it loads; even gaps above and below. */
.ct-form-col .cf-turnstile { min-height: 65px; margin: 4px 0 20px; }
/* [DR] Button and field focus: Fluent Forms' stock bright blue -> brand navy. */
.ct-form-col .fluentform { --fluentform-primary: #0A285A; }
.ct-form-col .ff-btn-submit { background-color: #0A285A; border-color: #0A285A; border-radius: 4px; min-height: 44px; padding: 12px 24px; }
/* Keyboard focus: the plugin removes the outline on the button and only tints the field border. */
.ct-form-col .ff-btn-submit:focus-visible { outline: 2px solid #0A285A; outline-offset: 3px; opacity: 1; }
.ct-form-col .ff-el-form-control:focus { border-color: #0A285A; box-shadow: 0 0 0 1px #0A285A; }
body .ct-section a:focus-visible { outline: 2px solid #0A285A; outline-offset: 2px; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  /* The section added 20px on top of the theme's 45px (a 260px column, ~200px inside the info box); line up with the footer. */
  body .ct-section .ct-main { padding-left: 0; padding-right: 0; }
  body .ct-section .ct-info-col { padding: 30px 22px; }
  /* 16px in the fields so iPhones don't zoom in when one is tapped. */
  .ct-form-col .ff-el-form-control { font-size: 16px; }
}

/* Hours line: keep "Monday – Friday" and "8AM – 5PM CT" each in one piece (spans added in contact.json). */
.ct-nowrap { white-space: nowrap; }

/* ---------- Visit us: map + directions (Bennett 2026-10-16) ---------- */
body .ct-visit { background: #f5f7fa; border-top: 1px solid #e5e8ee; padding: 80px 20px; }
body .ct-visit-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
body .ct-visit .ct-address-body { margin: 22px 0 10px; line-height: 1.6; }
body .ct-visit .ct-address-body strong { display: block; color: #0A285A; }
body .ct-visit-hours { margin: 0 0 28px; color: #64748B; }
body .ct-visit-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; background: #0A285A; color: #fff !important;
  font: 600 14px/1 Montserrat, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important; border-radius: 4px; }
body .ct-visit-btn::after { content: "\2192"; font-size: 16px; transition: transform .2s; }
body .ct-visit-btn:hover { background: #071d42; }
body .ct-visit-btn:hover::after { transform: translateX(3px); }
body .ct-visit-btn:focus-visible { outline: 2px solid #0A285A; outline-offset: 3px; }
body .ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .ct-visit-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid #dde2ea; border-radius: 4px; overflow: hidden; background: #e8ecf2; }
body .ct-visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 959px) {
  body .ct-visit { padding: 60px 0; }
  body .ct-visit-inner { grid-template-columns: 1fr; gap: 32px; }
  body .ct-visit-map { aspect-ratio: 16 / 11; }
}
