/* ===== Atlas Dental – site styles (brand: Navy #002C77, Blue #00A9E0, Helvetica Neue) ===== */
:root{--ad-navy:#002C77;--ad-blue:#00A9E0;--ad-ink:#0B1633;--ad-muted:#5A6478;--ad-line:#E3E7EE;--ad-soft:#F4F6F9;--ad-sky:#E8F7FC}
body{color:var(--ad-muted)}
h1,h2,h3,h4{letter-spacing:.02em}
.entry-content h2{font-size:clamp(30px,3.4vw,44px);line-height:1.12;color:var(--ad-navy)}
.entry-content h3{font-size:21px;line-height:1.25;color:var(--ad-navy)}
.ad-eyebrow{font-weight:700;text-transform:uppercase;letter-spacing:.25em;font-size:13px!important;color:var(--ad-blue)!important;margin-bottom:10px!important}
.ph,.ad-ph{background:#fff3c4;color:#6b5200;font-size:12px;font-weight:700;padding:2px 8px;border-radius:4px}

/* buttons */
.wp-block-button__link{border-radius:999px!important;font-weight:700;letter-spacing:.03em;padding:15px 28px!important}
.is-style-outline>.wp-block-button__link{border:2px solid currentColor!important;background:transparent!important}
.ad-btn-blue .wp-block-button__link{background:var(--ad-blue)!important;color:#fff!important}
.ad-btn-white .wp-block-button__link{background:#fff!important;color:var(--ad-navy)!important}
.ad-btn-ghost .wp-block-button__link{background:transparent!important;color:#fff!important;border:2px solid rgba(255,255,255,.75)!important}

/* sections */
.entry-content>.ad-section,.ad-section{padding:clamp(56px,8vw,104px) 20px!important;margin:0!important}
.ad-section>*{max-width:1200px;margin-left:auto!important;margin-right:auto!important}
.ad-bg-sky{background:var(--ad-sky)}
.ad-bg-soft{background:var(--ad-soft)}
.ad-bg-navy{background:var(--ad-navy)}
.ad-bg-navy h2,.ad-bg-navy h3,.ad-bg-navy p:not(.ad-eyebrow),.ad-bg-navy li{color:#fff!important}
.ad-bg-navy p:not(.ad-eyebrow){opacity:.88}
.ad-bg-blue{background:var(--ad-blue);text-align:center}
.ad-bg-blue h2,.ad-bg-blue p{color:#fff!important}
.entry-content .wp-block-group.alignfull{margin-top:0;margin-bottom:0}
.content-area{margin-top:0!important;margin-bottom:0!important}

/* hero */
.ad-hero.wp-block-cover{min-height:720px!important;padding:40px 20px 140px!important;align-items:center}
.ad-hero .wp-block-cover__inner-container{max-width:1200px;width:100%;margin:0 auto}
.ad-hero .wp-block-cover__image-background{object-position:50% 58%!important}
.ad-hero h1{color:#fff!important;font-size:clamp(38px,5vw,64px);line-height:1.08;max-width:640px;margin:14px 0 20px}
.ad-hero h1 mark,.ad-hero h1 .ad-accent{background:none!important;color:var(--ad-blue)!important}
.ad-hero p{color:rgba(255,255,255,.92)!important;font-size:20px;max-width:540px}
.ad-hero .ad-eyebrow{color:#7fd6f2!important}
.ad-hero .ad-trust{font-weight:700;font-size:15px!important;letter-spacing:.02em;max-width:none!important;margin-top:30px}
.ad-page-hero.wp-block-cover{min-height:460px!important;padding:60px 20px!important}
.ad-page-hero .wp-block-cover__inner-container{max-width:1200px;width:100%;margin:0 auto}
.ad-page-hero h1{color:#fff!important;font-size:clamp(34px,4.4vw,56px);line-height:1.1;max-width:720px}
.ad-page-hero p{color:rgba(255,255,255,.9)!important;font-size:19px;max-width:620px}
.ad-page-hero .ad-eyebrow{color:#7fd6f2!important}

/* quick cards */
.ad-quick{margin-top:-120px!important;position:relative;z-index:3;padding:0 20px!important}
.ad-quick>.wp-block-columns{max-width:1200px;margin:0 auto!important;gap:20px}
.ad-card{background:#fff;border:1px solid var(--ad-line);border-radius:18px;padding:22px 24px 24px!important;box-shadow:0 18px 50px rgba(0,30,80,.12)}
.ad-card.ad-card-flat{box-shadow:none}
.ad-card figure{margin:0 0 8px!important;text-align:center}
.ad-card figure img{height:110px;width:auto;object-fit:contain}
.ad-card h3{margin:4px 0 6px!important;font-size:20px}
.ad-card p{font-size:15px;line-height:1.5;margin:0 0 10px}
.ad-card .ad-go{font-weight:700;color:var(--ad-blue)!important;font-size:15px}
.ad-card .ad-go a{color:inherit;text-decoration:none}
.ad-card-navy{background:var(--ad-navy)!important;border-color:var(--ad-navy)!important}
.ad-card-navy h3{color:#fff!important}
.ad-card-navy p{color:rgba(255,255,255,.85)!important}
.ad-card-navy .ad-go{color:#7fd6f2!important}
.ad-card-navy figure{background:#fff;border-radius:12px;padding:4px}
.ad-card.is-linked{cursor:pointer}

/* emergency block */
.ad-photo img{border-radius:22px;width:100%;height:100%;object-fit:cover}
.ad-photo-tall img{aspect-ratio:4/5}
.ad-photo-wide img{aspect-ratio:3/2}
.ad-chips{list-style:none;padding:0!important;margin:22px 0 28px!important;display:flex;flex-wrap:wrap;gap:10px}
.ad-chips li{background:#fff;border:1px solid #cfe9f4;color:var(--ad-navy);font-weight:700;font-size:15px;padding:8px 16px;border-radius:999px;margin:0!important}
.ad-steps{gap:14px!important;margin-bottom:28px!important}
.ad-steps .wp-block-column{background:#fff;border-radius:14px;padding:18px!important}
.ad-steps .ad-num{color:var(--ad-blue)!important;font-weight:700;letter-spacing:.25em;font-size:13px!important;margin:0 0 4px!important}
.ad-steps .ad-step{color:var(--ad-navy)!important;font-weight:700;font-size:17px!important;line-height:1.3;margin:0!important}
.ad-bg-sky .ad-steps .wp-block-column{border:1px solid #d9eef7}

/* grids of cards */
.ad-grid{gap:20px!important;margin-bottom:20px!important}
.ad-grid .ad-card{height:100%}
.ad-svc .ad-card figure img{height:118px}
a.ad-cardlink{text-decoration:none}

/* navy insurance cards */
.ad-glass{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:24px!important}
.ad-glass h3{color:#fff!important;font-size:20px;margin:0 0 6px!important}
.ad-glass p{font-size:15px;margin:0}

/* doctors */
.ad-fun{position:relative}
.ad-caption-pill{display:inline-block;background:var(--ad-blue);color:#fff!important;font-weight:700;font-size:14px!important;padding:7px 14px;border-radius:999px;margin-top:-54px!important;margin-left:16px!important;position:relative}
.ad-doc img{border-radius:18px;aspect-ratio:4/5;object-fit:cover;width:100%}
.ad-doc h3{margin:14px 0 2px!important}
.ad-doc p{font-size:15px}

/* reviews + visit */
.ad-review{background:#fff;border:1px solid var(--ad-line);border-radius:18px;padding:28px!important}
.ad-stars{color:#f5b301!important;font-size:22px!important;letter-spacing:3px;margin:0!important}
.ad-info p{margin:0}
.ad-info .ad-row{border-bottom:1px solid var(--ad-line);padding:16px 0!important}
.ad-info strong{color:var(--ad-navy);font-size:18px}
.ad-map iframe{width:100%;min-height:420px;border:0;border-radius:22px}

/* lists */
.ad-checks{list-style:none;padding:0!important}
.ad-checks li{position:relative;padding-left:30px;margin-bottom:12px}
.ad-checks li:before{content:"";position:absolute;left:0;top:5px;width:18px;height:18px;border-radius:50%;background:var(--ad-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}
.ad-faq .wp-block-column>div{border-top:2px solid var(--ad-line);padding-top:16px;margin-bottom:22px}
.ad-faq h3{font-size:19px;margin:0 0 6px!important}
.ad-faq p{font-size:16px}
details.wp-block-details{border-top:2px solid var(--ad-line);padding:16px 0}
details.wp-block-details summary{font-weight:700;color:var(--ad-navy);font-size:18px;cursor:pointer}

/* ===== header ===== */
.site-top-header-wrap .site-header-row-container-inner{background:var(--ad-blue)!important}
.site-top-header-wrap .site-header-row{min-height:44px!important}
.ad-topbar{display:flex;gap:24px;justify-content:space-between;align-items:center;color:#fff;font-weight:700;font-size:14px;letter-spacing:.02em;width:100%}
.ad-topbar a{color:#fff!important;text-decoration:none}
.ad-topbar u{text-underline-offset:3px}
.site-top-header-wrap .header-html,.site-top-header-wrap .header-html-inner{width:100%}
.site-main-header-wrap .site-header-row-container-inner{border-bottom:1px solid var(--ad-line)}
.main-navigation .primary-menu-container>ul>li.menu-item>a{font-weight:700;color:var(--ad-navy);font-size:15px;letter-spacing:.02em;padding-left:.9em;padding-right:.9em}
.main-navigation .primary-menu-container>ul>li.ad-nav-em>a{background:var(--ad-blue);color:#fff!important;border-radius:999px;padding:7px 15px!important;margin:0 6px}
.main-navigation .primary-menu-container>ul>li.ad-nav-phone>a{color:var(--ad-navy)}
.header-button{border-radius:999px!important;font-weight:700!important;letter-spacing:.03em}

/* ===== footer ===== */
.site-footer .site-bottom-footer-wrap .site-footer-row-container-inner{background:var(--ad-navy)!important}
.ad-footer{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;text-align:left;padding:56px 0 20px;color:rgba(255,255,255,.82);font-size:15px;line-height:1.9}
.ad-footer img{height:32px;width:auto;margin-bottom:18px}
.ad-footer h4{font-size:13px;letter-spacing:.25em;text-transform:uppercase;color:var(--ad-blue)!important;margin:0 0 12px}
.ad-footer a{color:rgba(255,255,255,.9)!important;text-decoration:none}
.ad-footer-legal{border-top:1px solid rgba(255,255,255,.15);padding:20px 0 28px;display:flex;justify-content:space-between;font-size:13px;color:rgba(255,255,255,.6);gap:20px;flex-wrap:wrap}
.ad-footer-legal a{color:rgba(255,255,255,.7)!important}
.site-footer .footer-html{width:100%}
.ad-mobilebar{display:none}

@media (max-width:1024px){
 .ad-footer{grid-template-columns:1fr 1fr}
 .ad-quick{margin-top:-60px!important}
}
@media (max-width:767px){
 .ad-topbar{justify-content:center;text-align:center;font-size:13px}
 .ad-topbar a{display:none}
 .ad-hero.wp-block-cover{min-height:560px!important;padding:40px 20px 90px!important;align-items:flex-end}
 .ad-hero .wp-block-cover__image-background{object-position:62% 50%!important}
 .ad-quick{margin-top:-50px!important}
 .ad-footer{grid-template-columns:1fr;padding-top:40px}
 .ad-mobilebar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:999;background:#fff;padding:10px 12px 14px;box-shadow:0 -8px 24px rgba(0,0,0,.12)}
 .ad-mobilebar a{display:flex;justify-content:center;align-items:center;gap:8px;border-radius:999px;padding:14px 8px;font-weight:700;color:#fff!important;text-decoration:none;font-size:15px}
 .ad-mobilebar .c{background:var(--ad-navy)}.ad-mobilebar .b{background:var(--ad-blue)}
 body{padding-bottom:78px}
 .ad-caption-pill{margin-top:-50px!important}
}
@media (max-width:767px){.ad-hero .wp-block-cover__background,.ad-page-hero .wp-block-cover__background{background:linear-gradient(0deg,rgba(0,44,119,.96) 0%,rgba(0,44,119,.8) 50%,rgba(0,44,119,.15) 85%)!important}}

/* fixes */
.ad-hero .wp-block-cover__inner-container,.ad-page-hero .wp-block-cover__inner-container{max-width:1200px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
.site-top-header-wrap .site-header-row{display:block}
.site-top-header-wrap .site-header-section{width:100%}
.wp-block-jetpack-contact-form .wp-block-jetpack-button button,.wp-block-jetpack-contact-form button[type=submit]{border-radius:999px!important;background:var(--ad-navy)!important;font-weight:700;padding:14px 28px!important}
.ad-card .wp-block-jetpack-contact-form{margin-top:10px}
.ad-doc .ad-photo img{border-radius:18px}

/* page hero: photo on right half */
.ad-page-hero.wp-block-cover{background:var(--ad-navy)}
.ad-page-hero .wp-block-cover__image-background{left:auto!important;right:0!important;width:48%!important;object-fit:cover!important;object-position:50% 28%!important}
.ad-page-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,44,119,1) 0%,rgba(0,44,119,1) 50%,rgba(0,44,119,.55) 60%,rgba(0,44,119,.1) 78%,rgba(0,44,119,0) 100%)!important}
@media (max-width:767px){.ad-page-hero .wp-block-cover__image-background{width:100%!important}}

.ad-card .wp-block-image,.ad-card figure{text-align:center}
.ad-card .wp-block-image img{margin:0 auto;display:block}
.ad-eyebrow + h2,.ad-eyebrow + h1{margin-top:4px!important}
.ad-section h2{margin-bottom:18px}
.ad-section .wp-block-columns{margin-bottom:0}

@media (max-width:767px){.ad-hero .wp-block-cover__background,.ad-page-hero .wp-block-cover__background{background:linear-gradient(0deg,rgba(0,44,119,.97) 0%,rgba(0,44,119,.88) 55%,rgba(0,44,119,.7) 100%)!important}.ad-hero.wp-block-cover{align-items:center}.ad-hero .ad-trust{font-size:13px!important}}

.site-footer .widget_block{margin:0;padding:0}
#flexBook-Div{position:fixed!important;inset:0!important;height:100vh!important}


/* header pills: Emergency? and Book Online, same size */
.main-navigation .primary-menu-container>ul>li.ad-nav-em>a,.site-header .header-button{font-size:15px!important;line-height:24px!important;padding:8px 20px!important;letter-spacing:.03em!important;min-height:40px!important;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center!important;text-align:center}
.main-navigation .primary-menu-container>ul>li.ad-nav-em>a .dropdown-nav-special-toggle,.main-navigation .primary-menu-container>ul>li.ad-nav-em>a:after{display:none!important}
.main-navigation .primary-menu-container>ul>li.ad-nav-em{margin-right:8px!important}

/* top bar centered */
.site-top-header-wrap .site-header-row{display:flex!important;justify-content:center!important}
.site-top-header-wrap .site-header-section{flex:1 1 100%!important;justify-content:center!important}
.ad-topbar{justify-content:center!important;text-align:center}
.site-top-header-wrap .site-header-section:not(:has(.header-html)){display:none!important}