/* Find a Dentist – location landing pages. Tokens follow the live site: navy #001D41, blue #004FDE, aqua #98DBF8, greys #F3F5F7/#D9DEE2. */
:root{--navy:#001D41;--dnavy:#001030;--blue:#004FDE;--aqua:#98DBF8;--g1:#F3F5F7;--g2:#D9DEE2;--text:#0B1B33;--text2:#475569;--warn-bg:#FFF4E5;--warn-bd:#B45309;--maxw:72rem}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:1.0625rem;line-height:1.65;color:var(--text);background:#fff}
h1,h2,h3{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--navy);line-height:1.2;letter-spacing:-.01em}
h1{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;margin:.25rem 0 1rem}
h2{font-size:clamp(1.3rem,2.6vw,1.6rem);font-weight:800;margin:2.25rem 0 .75rem}
h3{font-size:1.1rem;margin:1.5rem 0 .5rem}
p{margin:0 0 1rem}
a{color:var(--blue);text-underline-offset:.15em}
a:hover{color:var(--navy)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:3px}
.on-dark :focus-visible,.site-header :focus-visible,.site-footer :focus-visible,.search-hero :focus-visible{outline-color:var(--aqua)}
.skip-link{position:absolute;left:1rem;top:-10rem;background:#fff;color:var(--navy);padding:.75rem 1rem;border-radius:.5rem;font-weight:700;z-index:100}
.skip-link:focus{top:1rem}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.25rem}
.site-header{background:var(--dnavy);color:#fff}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem;flex-wrap:wrap}
.fad-wordmark{font-family:Manrope,system-ui,sans-serif;font-weight:800;letter-spacing:-.02em;text-decoration:none;display:inline-flex;gap:.28em;align-items:baseline;font-size:1.5rem;padding:.35rem 0}
.fad-wordmark__a{color:#fff}.fad-wordmark__b{color:var(--aqua)}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.25rem;flex-wrap:wrap}
.site-nav a{color:#fff;text-decoration:none;font-weight:600;font-size:.95rem}
.site-nav a:hover{text-decoration:underline;color:#fff}
/* Search area: the AI search component mounts into #ai-search-root. Visually first; it must not render h1–h6 before the page H1. */
.search-hero{background:linear-gradient(180deg,var(--dnavy) 0%,var(--navy) 100%);color:#fff;padding:2rem 0 2.5rem}
.search-hero .tagline{font-family:Manrope,system-ui,sans-serif;font-weight:800;color:var(--aqua);margin:0 0 .75rem;font-size:1rem;letter-spacing:.01em}
#ai-search-root{min-height:11rem;border-radius:1rem}
.fad-preview #ai-search-root{border:2px dashed rgba(152,219,248,.7);display:flex;align-items:center;justify-content:center;text-align:center;padding:1.5rem}
.fad-preview #ai-search-root::before{content:"AI search component mounts here (#ai-search-root)";color:var(--aqua);font-weight:600}
.search-prompt{margin:.75rem 0 0;color:#E6EDF5;font-size:1rem}
.search-fallback{margin:.75rem 0 0;font-size:.95rem}
.search-fallback a{color:#fff;font-weight:700}
.crumbs{font-size:.9rem;margin:1.25rem 0 0}
.crumbs ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.25rem}
.crumbs li+li::before{content:"›";margin:0 .4rem;color:var(--text2)}
.crumbs [aria-current]{color:var(--text2)}
.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;padding-bottom:3rem}
@media(min-width:960px){.layout{grid-template-columns:minmax(0,1fr) 19rem}}
.intro p:first-child{font-size:1.15rem}
.box{border-radius:.75rem;padding:1.1rem 1.25rem;margin:1.5rem 0}
.box p:last-child{margin-bottom:0}
.emergency{background:var(--warn-bg);border:2px solid var(--warn-bd);color:#3B1D00}
.emergency strong{color:#3B1D00}
.emergency a{color:#7A2E00;font-weight:700}
.btn{display:inline-block;background:var(--blue);color:#fff;font-weight:700;text-decoration:none;padding:.7rem 1.1rem;border-radius:.6rem}
.btn:hover{background:var(--navy);color:#fff}
.howto{background:#fff;border:1px solid var(--g2)}
.section ul{padding-left:1.25rem}.section li{margin:.35rem 0}
.faq details{border:1px solid var(--g2);border-radius:.6rem;margin:.6rem 0;background:#fff}
.faq summary{cursor:pointer;padding:.85rem 1rem;font-weight:700;color:var(--navy);list-style-position:outside}
.faq summary:focus-visible{outline-offset:-3px}
.faq details>div{padding:0 1rem 1rem}
.aside-card{background:var(--g1);border-radius:.75rem;padding:1rem 1.25rem;margin-bottom:1.25rem}
.aside-card h2{font-size:1.1rem;margin:0 0 .5rem}
.aside-card ul{list-style:none;padding:0;margin:0}
.aside-card li{margin:.35rem 0}
.sources{font-size:.9rem;color:var(--text2)}
.sources summary{cursor:pointer;font-weight:700;color:var(--navy)}
.sources ol{padding-left:1.25rem}
.small{font-size:.9rem;color:var(--text2)}
.site-footer{background:var(--dnavy);color:#E6EDF5;padding:2rem 0;font-size:.95rem}
.site-footer a{color:#fff}
.site-footer p{margin:.4rem 0}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.search-hero,.site-nav{display:none}}
