/* Final shared hierarchy: one navigation, quiet cards, explicit dialog visibility. */
[hidden]{display:none!important}dialog:not([open]){display:none!important}dialog[open]{visibility:visible}
.home-search-results[hidden]{display:none!important}.home-search-label,.home-search-box>kbd{display:none!important}
.ref-footer-inner{grid-template-columns:1.4fr 1fr 1fr!important;gap:40px}
.neo-site-header{display:grid!important;grid-template-columns:minmax(160px,1fr) auto;align-items:center;gap:12px 24px;padding-block:18px!important}
.neo-site-header>.neo-site-logo{grid-column:1;grid-row:1}.neo-site-header>.neo-header-actions{grid-column:2;grid-row:1}
.neo-site-header>.nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:8px!important;position:relative}
.neo-site-header>.nav>a,.neo-site-header>.nav>details>summary{font-size:15px!important;line-height:22px;font-weight:700;padding:10px 11px!important;white-space:nowrap}
.neo-site-header .neo-site-logo img{width:210px;max-width:100%}.neo-directory-panel{z-index:200!important}
.editorial-card{display:flex;flex-direction:column;color:inherit;text-decoration:none;overflow:hidden;cursor:pointer}
.editorial-card .editorial-cover{display:block}.editorial-card .editorial-cover img{display:block;width:100%;object-fit:cover}
.editorial-card .editorial-card-body{flex:1}.editorial-card:focus-visible,.neo-catalog-card:focus-visible,.ref-service-card:focus-visible,.neo-popular-card:focus-visible{outline:3px solid #77B6E3;outline-offset:4px}
.neo-catalog-card{color:inherit;text-decoration:none;cursor:pointer}.neo-catalog-card:hover,.editorial-card:hover{box-shadow:0 10px 28px #00379612}
.ref-service-row{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.ref-service-card{min-height:195px!important;padding:22px 14px!important}.ref-service-more{display:none!important}
#ref-doctors-rail .specialist-card{display:flex;flex-direction:column}
#ref-doctors-rail .specialist-copy{flex:1;gap:9px;min-height:105px!important}
#ref-doctors-rail .specialist-copy>p.neo-doctor-description{display:block!important;font-size:14px!important;line-height:21px!important;margin:0!important;color:#354a60}
#ref-doctors-rail .specialist-photo img,#doctors .doctor-image img{object-fit:cover!important;object-position:center top!important;width:100%;height:100%}
#ref-doctors-rail .specialist-tags,#ref-doctors-rail .specialist-copy>.eyebrow{display:none!important}
.neo-doctors-cta{display:flex;justify-content:center;margin:24px 0 0}.neo-doctors-cta>.button{min-height:46px}
.neo-guide-intro{padding:30px!important;border-radius:26px;background:#fff}.neo-guide-intro h2{margin-top:0;font-size:30px}.neo-guide-intro p{font-size:17px;line-height:1.7;color:#354a60;max-width:750px}.neo-guide-intro .text-link{display:inline-flex;align-items:center;gap:10px;font-weight:700}
.neo-guide-page .information-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.neo-guide-page .patient-information{padding-inline:0}
.neo-carousel-controls{display:flex!important;justify-content:flex-end;padding:8px 0!important;margin:0!important;min-height:40px}
.neo-carousel-controls>.neo-carousel-arrows,.neo-carousel-controls>.neo-carousel-dots,.neo-carousel-controls>.neo-slide-count{display:none!important}
.neo-carousel-controls>[data-slide-pause]{display:inline-flex!important;align-items:center;gap:8px;font-size:13px;padding:9px 14px!important;min-height:40px;border:1px solid #d4e2f0;border-radius:24px;background:white;color:#003796}
.neo-ui-icon{display:inline-block!important;width:20px;height:20px;min-width:20px;vertical-align:middle;flex:none}
.ref-location-detail>span .neo-ui-icon,.ref-map-message>span .neo-ui-icon{width:28px;height:28px}
#motion-toggle{display:none!important}.neo-site-header .menu-toggle .neo-ui-icon{width:24px;height:24px}
@media(min-width:900px){.neo-site-header .nav{display:flex!important;flex-wrap:nowrap!important}.neo-site-header .menu-toggle{display:none!important}}
@media(max-width:1100px) and (min-width:900px){.neo-site-header>.nav{gap:0!important}.neo-site-header>.nav>a,.neo-site-header>.nav>details>summary{font-size:13px!important;padding:9px 7px!important}}
@media(max-width:899px){
 .neo-site-header{display:flex!important;justify-content:space-between;padding-block:16px!important;gap:10px!important}
 .neo-site-header>.neo-site-logo img{width:175px}.neo-site-header>.nav:not(.open){display:none!important}
 .neo-site-header>.nav.open{position:fixed!important;inset:0 0 0 auto!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;width:min(360px,88vw)!important;max-height:100dvh!important;overflow-y:auto!important;padding:80px 22px 30px!important;z-index:500!important;gap:8px!important;background:white!important;box-shadow:-20px 0 50px #14203030}
 .neo-site-header>.nav .neo-directory-menu{width:100%!important;flex:none!important}
 .neo-site-header>.nav .neo-directory-panel{position:static!important;display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-height:none!important;box-shadow:none!important;margin:6px 0!important;padding:10px!important}
 .neo-site-header>.nav details:not([open])>.neo-directory-panel{display:none!important}
 .neo-site-header .menu-toggle{position:relative;z-index:510!important;display:flex!important;align-items:center;justify-content:center}
 .ref-service-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ref-service-row .ref-service-card:first-child{grid-column:1/-1}
 .ref-footer-inner{grid-template-columns:1fr 1fr!important;gap:25px}.ref-footer-brand{grid-column:1/-1}
 .neo-guide-page .information-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .neo-site-header>.neo-site-logo img{width:150px}.neo-site-header .neo-header-actions{gap:7px!important}.neo-site-header .neo-language-trigger{min-width:0;padding:9px!important}.neo-site-header .neo-language-current{font-size:12px}
 main h1{font-size:28px!important;line-height:1.16!important;letter-spacing:-.7px!important}
 #main-content>.neo-carousel h1,#main-content>.neo-carousel h2{font-size:23px!important;line-height:1.15!important}
 .section-head h2,.neo-section-heading h2,.neo-guide-intro h2,#patient-journey h2{font-size:27px!important;line-height:1.2!important}
 .ref-service-card{min-height:170px!important}.neo-guide-intro{padding:23px!important}.neo-doctors-cta>.button{width:100%;justify-content:center}
}
body.neo-clinic .neo-site-header .neo-header-actions{display:flex!important;position:static!important;gap:12px!important;align-items:center}
body.neo-clinic .neo-site-header .neo-language{position:relative!important;inset:auto!important}
body.neo-clinic .neo-carousel.ref-banner-carousel .neo-carousel-controls{display:flex!important;position:static!important;justify-content:flex-end;padding:8px 0!important}
@media(max-width:600px){body.neo-clinic .neo-site-header .neo-header-actions{gap:6px!important}}
body.neo-clinic .neo-carousel .neo-autoplay{display:inline-flex!important;width:auto!important;min-width:0!important;max-width:100%;gap:7px;font-size:12px!important;line-height:20px;padding:8px 12px!important;overflow:hidden;white-space:nowrap}
body.neo-clinic .neo-carousel .neo-autoplay::before,body.neo-clinic .neo-carousel .neo-autoplay::after{display:none!important;content:none!important}
@media(max-width:600px){.editorial-card h3{font-size:22px!important;line-height:1.25!important}}

/* verified business map */
.ref-map-preview iframe{display:block;width:100%;height:390px;border:0}.neo-map-open{display:block;padding:12px 18px;background:#fff;font-weight:700;color:#003796}.neo-business-source{font-size:12px!important}.neo-business-source a{color:#003796}.contact-list a.contact-row{color:inherit;text-decoration:none}.contact-list a.contact-row:hover{background:#e6f0fa}.ref-footer-socials a{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:600px){.ref-map-preview iframe{height:330px}.contact-row{gap:12px;flex-wrap:wrap}.contact-row small{overflow-wrap:anywhere}}



/* Compact fertility tile and AKFA-style rounded detail affordances. */
body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"]{grid-column:auto!important;min-height:195px!important;padding:22px 14px!important}
.neo-card-detail{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:10px 21px;border-radius:999px;background:#f2f4f6;color:#172c46;font-size:14px;font-weight:500;line-height:22px;white-space:nowrap;transition:background .2s,transform .2s}
.ref-service-card>.neo-card-detail,.neo-popular-card>.neo-card-detail,.neo-catalog-card>.neo-card-detail{width:100%;margin-top:auto;box-sizing:border-box}
.ref-service-card,.neo-popular-card,.neo-catalog-card{display:flex;flex-direction:column}
.neo-card-detail-light,.ref-service-card[href*="farzandsizlik"]>.neo-card-detail,.neo-popular-card:first-child>.neo-card-detail{background:#fff;color:#003796}
a:hover>.neo-card-detail,a:hover>div>.neo-card-detail{background:#e2eaf3;transform:translateY(-1px)}
.neo-numbers-intro>a.neo-card-detail{display:inline-flex!important;width:auto!important;color:#003796!important;text-decoration:none;font-size:14px!important}
.ref-patient-tools-grid>a>strong.neo-card-detail{display:inline-flex!important;width:auto!important;align-self:flex-start;background:#f2f4f6!important;color:#172c46!important;padding:10px 21px!important;border:0!important;font-size:14px!important;font-weight:500!important;text-decoration:none;margin-top:auto}.ref-patient-tools-grid>a{display:flex;flex-direction:column}.ref-news-card .neo-card-detail{margin-top:14px}.editorial-card .neo-card-detail{margin-top:auto}
@media(max-width:899px){body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"]{min-height:170px!important}.ref-service-row .ref-service-card:first-child{grid-column:auto!important}.ref-service-card>.neo-card-detail{min-height:38px;font-size:13px;padding:8px 12px}.ref-service-card{gap:0}body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"] .ref-service-icon{width:70px;height:70px;margin:0 auto 18px}body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"]>strong{font-size:14px;line-height:1.4}body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"]>small{font-size:12px;margin-bottom:18px}body.neo-clinic .ref-service-row>.ref-service-card[href*="farzandsizlik"]:after{width:170px;height:170px;right:-90px;bottom:-45px}}
/* Keep the desktop navigation inside its container at tablet landscape widths. */
@media (min-width:900px) and (max-width:1100px){
 html body.neo-clinic header.neo-site-header>.nav{flex-wrap:wrap!important;justify-content:center!important;row-gap:4px!important;max-width:100%;min-width:0}
}



/* Size service columns to the space available for translated labels. */
@media(min-width:600px){body.neo-clinic .ref-service-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))!important}}
.ref-service-row .ref-service-card>:is(strong,small){white-space:normal;overflow-wrap:anywhere;line-height:1.45}
/* Allow long translated appointment labels to wrap on narrow phones. */
@media (max-width:400px){
 body.neo-clinic .doctor-actions .button{white-space:normal!important;height:auto!important;min-height:44px!important;line-height:1.3!important;padding:10px!important;text-align:center;overflow-wrap:normal}
 body.neo-reference header:has(>.identity){gap:6px!important}
 body.neo-reference header>.identity{min-width:0;gap:6px;font-size:12px}
 body.neo-reference header>.identity>span{min-width:0;overflow-wrap:anywhere}
}
