/* Shared corrections for the static site. Keep brand gold backgrounds unchanged. */
:root { --gold-dark: #705310 !important; }
.footer .footer__tagline, .footer .footer__social a, .footer .footer__links a,
.footer .footer__bottom p, .footer .footer__bottom a { color: #b7c7da !important; }
.footer__bottom a, .site-footer a, .reel-footer a { text-decoration: underline !important; text-underline-offset: .2em; }
.page-hero .btn--outline, .sidebar-card .btn--outline, .hero .btn--outline { color: #e8cc7a !important; }
.loc-card address a { color: var(--link, #705310); }
.article-wrap .check { color: #176b32; }
.article-wrap .cta-block a:not(.btn):not(.btn-gold):not(.btn-outline) { color: #e8cc7a; }
#brand-film .eyebrow, .reel-brand-sub, .reel-ttot, .reel-sb-hdr,
.reel-cnum, .reel-card-number, .reel-ctime, .reel-card-time { color: #555e50 !important; }
/* The embedded reel is intentionally a light-colored presentation in both themes. */
#brand-film h2, #brand-film h2 em { color: #263326 !important; }
:where(a, button, input):focus-visible { outline: 3px solid #2877c7; outline-offset: 4px; }
.nav :focus-visible, .footer :focus-visible, .site-header :focus-visible { outline-color: #e8cc7a; }
.two-col > *, .split > *, .sidebar, .cat-tile { min-width: 0; }
.sidebar-card .btn { white-space: normal; overflow-wrap: anywhere; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.util-bar__links { flex-wrap: wrap; }
.nav__menu-btn { min-width: 44px; min-height: 44px; }
.nav__mobile.open { top: var(--menu-top, 70px); }
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { overflow-wrap: anywhere; }
}
/* Follow the automatic/explicit dark-theme contract used by the existing pages. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold-dark: #e8cc7a !important;
    --fg-muted: #aeb1c6 !important;
    .cat-tile__from, .loc-tag, .review-author { color: #aeb1c6; }
    .split__visual [style*="color:var(--navy)"], .split__visual [style*="color: var(--navy)"], .loc-card__phone { color: #e8e6f0 !important; }
    .faq-btn:hover { color: #e8cc7a; }
    .myth-card__myth .myth-card__label, .warn-box strong, .red-flag__title, .article-wrap .cross { color: #ffaaa3; }
    .myth-card__fact .myth-card__label { color: #9ae0a5; }
    .article-wrap .check { color: #9ae0a5; }
  }
}
:root[data-theme="dark"] {
  --gold-dark: #e8cc7a !important;
  --fg-muted: #aeb1c6 !important;
  .cat-tile__from, .loc-tag, .review-author { color: #aeb1c6; }
  .split__visual [style*="color:var(--navy)"], .split__visual [style*="color: var(--navy)"], .loc-card__phone { color: #e8e6f0 !important; }
  .faq-btn:hover { color: #e8cc7a; }
  .myth-card__myth .myth-card__label, .warn-box strong, .red-flag__title, .article-wrap .cross { color: #ffaaa3; }
  .myth-card__fact .myth-card__label { color: #9ae0a5; }
  .article-wrap .check { color: #9ae0a5; }
}
.info-card p a { text-decoration: underline; text-underline-offset: .2em; }
.legal-body h2, .legal-body h3, .legal-body p, .legal-body li { color: var(--fg); }
.legal-body a { color: var(--gold-dark); text-decoration: underline; }
section p > a:not(.btn) { text-decoration: underline; text-underline-offset: .2em; }

.faq-layout > * { min-width: 0; }
@media (max-width: 900px) {
  .faq-layout, .two-col, .process-layout { grid-template-columns: minmax(0, 1fr) !important; }
}
