/*
Theme Name: Dr. Atefe Esfahanian Clinic
Theme URI: https://dresfahanian.com/
Author: OpenAI
Description: Responsive Persian clinic theme for Dr. Atefe Esfahanianian — V1.1
Version: 1.2.0
Text Domain: dresfahanian
*/

/* V1.2: exact YouTube branding, identical desktop/mobile menu source, refined header */
.site-header .nav{position:relative;min-width:0;display:flex;align-items:center;gap:28px}
.site-header .brand{width:285px;height:72px;display:flex;align-items:center;flex:none;text-decoration:none;overflow:hidden}
.site-header .brand-logo{display:block;width:285px;height:auto;max-height:76px;object-fit:contain;object-position:center}
.desktop-menu{flex:1;min-width:0;margin:0!important;display:flex!important;justify-content:center;align-items:center}
.desktop-menu .primary-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:28px;width:auto}
.desktop-menu .primary-menu>li{list-style:none;position:relative;margin:0;padding:0}
.desktop-menu .primary-menu>li>a{display:flex;align-items:center;white-space:nowrap;padding:28px 0 26px;font-size:13px;line-height:1.4;position:relative}
.desktop-menu .primary-menu>li.current-menu-item>a,.desktop-menu .primary-menu>li.current_page_item>a,.desktop-menu .primary-menu>li>a:hover{color:var(--rose-dark)}
.desktop-menu .primary-menu>li.current-menu-item>a:after,.desktop-menu .primary-menu>li.current_page_item>a:after{content:"";position:absolute;right:0;left:0;bottom:15px;margin:auto;width:24px;height:2px;background:var(--rose);border-radius:2px}
.desktop-menu .sub-menu{position:absolute;right:0;top:100%;min-width:190px;padding:8px;margin:0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s ease;z-index:80}
.desktop-menu li:hover>.sub-menu,.desktop-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.desktop-menu .sub-menu a{display:block;padding:8px 12px;white-space:nowrap}
.mobile-menu .mobile-primary-menu{list-style:none;margin:0;padding:0}
.mobile-menu .mobile-primary-menu li{list-style:none;margin:0;padding:0}
.mobile-menu .mobile-primary-menu a{display:block;padding:12px 20px;border-bottom:1px solid #f3eae5;font-weight:600}
.mobile-menu .mobile-primary-menu .sub-menu{list-style:none;margin:0;padding:0 15px 0 0;background:#fbf6f1}
.mobile-menu .mobile-primary-menu .sub-menu a{font-size:13px;font-weight:500}
.mobile-nav-inner{padding-bottom:4px}
.mobile-book{display:block;margin:12px 20px 16px!important;border:0!important;border-radius:999px;text-align:center;background:var(--rose-dark);color:#fff!important;padding:11px 16px!important}
.nav-cta{flex:none}

.hero-grid{grid-template-columns:1.08fr .92fr;min-height:560px}
.hero-doctor{height:560px;overflow:hidden;border-radius:0 0 0 34px}
.hero-doctor img{width:100%;height:560px;object-fit:cover;object-position:center 22%;filter:none}
.hero-copy{z-index:2}
.section-note-inline{font-size:12px;color:var(--muted)}
.mobile-slider-controls{display:none}
.map-box{min-height:310px;border-radius:25px;background:linear-gradient(145deg,#fbf3ed,#f2e3d8);border:1px solid var(--line);display:grid;place-items:center;text-align:center;padding:30px;box-shadow:var(--shadow)}
.map-box h3{margin:6px 0;font-size:23px;color:#4b332a}
.map-box p{max-width:420px;color:var(--muted);font-size:13px;margin:5px auto 18px}
.map-pin{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;margin:auto;background:#fff;border:1px solid #dfb69f;color:var(--rose-dark);font-size:28px}
.content-page{max-width:850px}.content-page h1{font-size:38px;margin-top:0}.entry-content{color:#5e534d}

@media(max-width:1180px){
 .site-header .brand{width:245px}.site-header .brand-logo{width:245px}.desktop-menu .primary-menu{gap:19px}.desktop-menu .primary-menu>li>a{font-size:12px}.nav-cta{font-size:12px;padding-inline:18px}
}
@media(max-width:1000px){
 .site-header .brand{width:220px}.site-header .brand-logo{width:220px}.desktop-menu .primary-menu{gap:13px}.nav-cta{display:none}.hero-grid{grid-template-columns:1fr .82fr}.hero-doctor,.hero-doctor img{height:500px}
}
@media(max-width:760px){
 .site-header{height:72px}.site-header .brand{width:220px;height:64px}.site-header .brand-logo{width:220px}.desktop-menu{display:none!important}.menu-toggle{display:block;margin-inline-start:auto;margin-inline-end:0;padding:5px 8px;color:var(--ink)}
 .hero-grid{grid-template-columns:1fr;min-height:0}.hero-doctor{height:410px;border-radius:0;margin-top:12px}.hero-doctor img{height:410px;object-fit:cover;object-position:center 20%}
 .section-note-inline{display:block;margin-top:7px}.mobile-slider-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px}.mobile-slider-controls .dots{display:flex;margin:0}.mobile-slider-controls .slider-arrow{display:grid;position:static;transform:none;width:38px;height:38px}
 .mobile-slider-controls .slider-arrow.prev{order:3}.mobile-slider-controls .slider-arrow.next{order:1}.mobile-slider-controls .dots{order:2}
 .map-box{min-height:250px}
}
@media(max-width:430px){.site-header .brand{width:205px;max-width:calc(100% - 52px)}.site-header .brand-logo{width:205px}.hero-doctor,.hero-doctor img{height:360px}.mobile-slider-controls{gap:12px}}

/* Refined floating contact actions */
.floating-actions a{transition:transform .2s ease,box-shadow .2s ease}.floating-actions a:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(50,30,20,.16)}.floating-actions svg{width:22px;height:22px}.floating-actions .float-whatsapp{background:var(--navy);color:#fff}.floating-actions .float-book{background:#fff;color:var(--rose-dark)}
@media(max-width:760px){.floating-actions{right:12px;bottom:16px}.floating-actions a{width:46px;height:46px;border-radius:15px}.floating-actions svg{width:21px;height:21px}}
