/* Round 2 review fixes, November 3, 2026. */

/* Leaving site notice (styles live here because the CSP blocks inline style elements). */
.leave-site{border:0;border-radius:12px;padding:0;max-width:min(32rem,calc(100vw - 2rem));background:#fbfaf6;color:#071a22;box-shadow:0 24px 64px rgba(0,0,0,.35)}
.leave-site::backdrop{background:rgba(7,26,34,.7)}
.leave-site__body{padding:1.5rem 1.5rem 1.25rem}
.leave-site__title{margin:0 0 .5rem;font-size:1.125rem;font-weight:700;line-height:1.3}
.leave-site__text{margin:0 0 .5rem;line-height:1.5}
.leave-site__host{margin:0 0 1.25rem;font-size:.875rem;opacity:.75;word-break:break-all}
.leave-site__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.leave-site__actions .button{margin:0;min-height:44px}

/* Hero call action reads as a secondary button and dials. */
body[data-resource-paths] .page-hero .hero-phones a,body[data-resource-paths] .rj-hero-copy .hero-phones a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:12px 19px;border:1px solid currentColor;border-radius:3px;font:700 15px/1.4 Arial,sans-serif;text-decoration:none;color:inherit}
body[data-resource-paths] .page-hero .hero-phones a:hover{background:rgba(8,107,125,.08)}
body[data-resource-paths] .page-hero .hero-phones{display:flex;flex-wrap:wrap;gap:10px}

/* Mobile: once past the hero the utility phones scroll away and a one tap Call button stays in the sticky header. */
.header-call{display:none}
@media (max-width:767px){
  .is-past-hero .utility{position:static}
  .is-past-hero .site-header{top:0}
  .is-past-hero .header-call{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:48px;margin-left:auto;padding:0 16px;border-radius:4px;background:#086b7d;color:#fff;font:700 16px/1 Arial,sans-serif;text-decoration:none}
  .is-past-hero .header-call+.nav-toggle{margin-left:8px}
  .header-call:focus-visible{outline:3px solid #d89b29;outline-offset:3px}
}

/* Compact analytics choice on phones (about 80px at 390 by 844, clear of the hero buttons). */
@media (max-width:600px){
  .analytics-banner{left:8px;right:8px;bottom:8px;padding:8px 10px;font-size:13px;line-height:1.35;border-width:1px}
  .analytics-banner p{margin:0 0 6px}
  .analytics-banner .cookie-actions{flex-wrap:nowrap;gap:6px;margin:0;padding:0}
  .analytics-banner .cookie-actions .button{flex:1 1 auto;min-height:36px;margin:0;padding:4px 8px;font-size:13px;line-height:1.2;white-space:nowrap}
}

/* Wider screens: the analytics choice is one compact row. */
@media (min-width:601px){
  .analytics-banner{display:flex;align-items:center;gap:16px;padding:10px 14px}
  .analytics-banner p{flex:1 1 auto;margin:0}
  .analytics-banner .cookie-actions{flex-wrap:nowrap;margin:0;padding:0}
  .analytics-banner .cookie-actions .button{min-height:40px;padding:0 14px;font-size:14px}
}

/* Hero: the call button sits beside the primary action when there is room. */
@media (min-width:768px){
  body[data-resource-paths] .page-hero .rj-hero-actions{display:inline-flex;vertical-align:middle;margin:0 12px 0 0}
  body[data-resource-paths] .page-hero .rj-hero-actions+.hero-phones{display:inline-flex;vertical-align:middle;margin:0}
}

/* Link rows that ran together as plain text. */
.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:16px 0 0}
.action-row>a{margin:0}
.link-row{display:flex;flex-wrap:wrap;gap:8px 24px;margin:16px 0 0;padding:0;list-style:none}
.link-row a{font-weight:700}

/* Guide hub link offered below the guide. */
.guide-hub-link{margin:28px 0 8px;font-weight:700}
.action-row .button{min-height:44px}

/* The footer photo credit sits below the copyright line in smaller type. */
.site-footer>.wrap+.wrap p{margin:0 0 18px;font-size:13px;line-height:1.5;opacity:.8}

/* Section level contact line added for contact cadence (FF-08). */
.section-cta{margin:28px 0 8px}
.section-cta .button,.section-cta a.button:hover{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:12px 22px;text-decoration:none;color:#071a22}
.section-cta+h2{margin-top:48px}

/* Closing and lead paragraphs placed straight in a full width wrap read at a comfortable measure (D13). */
main section:not(.cta-band)>.wrap>p:not(.action-row):not(.phone-pair):not(.section-cta){max-width:75ch}

/* Larger touch targets for consent checkboxes and breadcrumb links (D24). */
.field.checkbox input[type="checkbox"],.newsletter-optin input[type="checkbox"]{width:24px;height:24px;flex:0 0 24px}
.wayfinding-breadcrumbs a{display:inline-block;padding-block:4px}
