/* Version 3: responsive Persian interface. Theme tokens remain editable. */
:root{--ui-line:#EEEFFD;--ui-muted:#5B65DC;--ui-dark:#003a43;--ui-mint:#EEEFFD;--ui-shadow:0 16px 48px #1220560d}
body.public:not(.solo),body.cms{--site-font:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif}
body.public:not(.solo) h1,body.public:not(.solo) h2,body.public:not(.solo) .brand,body.cms h1{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif}
body.public:not(.solo){background:#f8faf9;color:#122056}
button,a,input,select,textarea{outline-offset:4px}
:focus-visible{outline:3px solid #5B65DC!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field{display:grid;gap:8px;margin-bottom:16px}
.field>span:first-child{font-weight:600;font-size:13px}
.field>small,.toggle small{display:block;font-size:11.5px!important;font-weight:400;line-height:1.9;color:var(--ui-muted);margin:0}
.field input,.field textarea,.field select{max-width:100%;min-width:0;width:100%;padding:13px 14px;border:1px solid var(--ui-line);border-radius:12px;background:#fff;color:#122056;line-height:1.8;font-size:14px!important;font-weight:400;box-shadow:0 2px 3px #003a4302}
.field textarea{resize:vertical;min-height:90px}
.field input::placeholder,.field textarea::placeholder{color:#5B65DC;opacity:1;font-weight:400}
.field select[data-empty="true"]{color:#5B65DC}
.field select option{color:#122056;background:white}
.field select option:first-child{color:#5B65DC}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#5B65DC;box-shadow:0 0 0 4px #5B65DC10}
.field input[readonly]{background:#f3f7f7}
.password-control{display:block!important;position:relative;font-weight:400}
.password-control input{padding-right:50px!important;direction:ltr;text-align:left}
.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%)!important;width:40px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:#5B65DC;border-radius:8px;cursor:pointer;padding:0}
.password-toggle:hover,.password-toggle[aria-pressed="true"]{background:#EEEFFD;color:#4D57C9}
.password-toggle[aria-pressed="true"]::after{content:"";position:absolute;width:21px;height:2px;background:currentColor;transform:rotate(-45deg);box-shadow:0 1px #fff}
.auth-card .password-toggle{width:40px}
textarea[name="schema_json"]{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important;font-size:12px!important;line-height:1.8;background:#f5f8f9;min-height:240px;text-align:left}
.form-grid{gap:18px 22px}
.button{font-weight:600;min-height:46px;border-radius:12px;padding:11px 19px}
.button.primary{box-shadow:0 5px 14px #12205612}
.button.outline:hover{background:#eef5f4}
.row-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.public .container{width:min(1240px,calc(100% - 64px))}
.announce{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:12px;background:var(--ui-dark);color:#EEEFFD;padding:7px 18px}
.upgraded-header{position:sticky;top:0;z-index:60;border-bottom:1px solid #e2e9e7;background:#ffffffed;backdrop-filter:blur(18px);box-shadow:0 6px 24px #12205610}
.upgraded-header .header-inner{min-height:90px;display:flex;gap:30px;flex-wrap:nowrap}
.brand{font-size:21px;flex-shrink:0;gap:12px}
.brand small{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:10px;letter-spacing:0;font-weight:400;color:#5B65DC;white-space:nowrap}
.brand-icon{width:46px;height:46px;border-radius:15px;background:var(--brand,#122056);box-shadow:0 5px 15px #12205612}
.brand-icon img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.upgraded-header .public-menu{display:flex;align-items:center;gap:4px;flex:1;justify-content:flex-end;margin:0;min-width:0}
.public-menu>a,.cities-dropdown>summary{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;white-space:nowrap;padding:12px 10px;color:#4D57C9;font-weight:500;border-radius:10px;cursor:pointer}
.public-menu>a:hover,.public-menu>a[aria-current="page"],.cities-dropdown>summary:hover{color:#4D57C9;background:var(--ui-mint)}
.public-menu .register-link{color:white;background:var(--brand,#122056);padding:12px 17px;margin-inline:6px}
.public-menu .register-link:hover{background:var(--brand-strong,#122056);color:white}
.public-menu .header-account{border:1px solid var(--ui-line);padding:9px 12px;gap:5px;margin-inline-start:7px}
.public-menu-button{display:none}
.cities-dropdown{position:relative}
.cities-dropdown>summary{list-style:none}
.cities-dropdown>summary::-webkit-details-marker{display:none}
.cities-dropdown[open]>summary>svg:last-child{transform:rotate(180deg)}
.cities-menu{position:absolute;right:0;top:calc(100% + 16px);background:white;width:360px;padding:22px;border:1px solid #EEEFFD;border-radius:20px;box-shadow:0 24px 64px #12205626;z-index:65}
.cities-menu-heading{display:grid;gap:3px;padding-bottom:14px;border-bottom:1px solid #edf1f0}
.cities-menu-heading b{font-size:15px;color:#122056}
.cities-menu-heading small{font-size:11px;color:#5B65DC}
.cities-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:14px 0}
.cities-menu-grid a{display:flex;gap:7px;align-items:center;padding:8px 10px;font-size:13px;border-radius:9px;color:#5B65DC}
.cities-menu-grid a:hover{background:#EEEFFD;color:#4D57C9}
.all-cities{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid #edf1f0;font-size:12px;color:#5B65DC}
.medical-hero{background:radial-gradient(ellipse at 12% 30%,#EEEFFD,transparent 46%),linear-gradient(120deg,#edf5f0,#f7f9f6);position:relative;padding:70px 0 115px;border-bottom:1px solid #EEEFFD;overflow:hidden}
.medical-hero::before{content:"";position:absolute;width:650px;height:650px;border:1px solid #12205610;border-radius:50%;left:-180px;top:-200px;box-shadow:0 0 0 75px #12205604,0 0 0 150px #12205603;pointer-events:none}
.medical-hero-grid{gap:70px;grid-template-columns:1.15fr .9fr;position:relative;align-items:center}
.medical-hero-copy .eyebrow{width:fit-content;padding:7px 13px;border:1px solid #CDD1F4;border-radius:30px;color:#5B65DC;font-size:11px;margin-bottom:20px;background:#ffffff66}
.medical-hero h1{font-size:clamp(30px,3.25vw,47px);line-height:1.65;letter-spacing:-1px;color:#122056;max-width:610px;text-wrap:balance}
.medical-hero-copy>p{font-size:15px;line-height:2.25;color:#5B65DC;margin-top:22px;max-width:560px}
.hero-links{margin-top:30px;gap:20px}
.hero-links>a:not(.button){font-size:12px;color:#5B65DC}
.medical-hero-marks{margin-top:28px;gap:16px;font-size:11px;color:#5B65DC}
.medical-hero-art{min-height:350px}
.main-medical-image{border-radius:100px 28px 28px 28px;border:9px solid #ffffffb3;box-shadow:0 25px 60px #1220561a;max-height:430px;object-fit:cover}
.care-art{height:365px;min-height:0;background:linear-gradient(155deg,#fff,#EEEFFD);border:9px solid #ffffff8c;border-radius:120px 26px 26px 26px;box-shadow:0 24px 52px #12205618;overflow:visible;position:relative}
.care-core{width:104px;height:104px;background:#4D57C9;border-radius:30px;right:auto;left:50%;top:50%;transform:translate(-50%,-35%);box-shadow:0 16px 38px #4D57C92e;color:#e3f5dd}
.care-orbit{border-color:#5B65DC19;left:50%;top:50%;transform:translate(-50%,-50%)}
.care-orbit.one{width:260px;height:260px}.care-orbit.two{width:330px;height:330px}
.care-note{background:#ffffffed;border:1px solid #EEEFFD;border-radius:16px;box-shadow:0 10px 24px #12205610;padding:13px 17px;gap:12px;z-index:2}
.care-note b{font-size:13px;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;color:#4D57C9}
.care-note small{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:10px;color:#5B65DC}
.care-note.top{right:-25px;top:35px}.care-note.bottom{left:-20px;bottom:20px}
.care-word{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.7;left:22px;bottom:92px;top:auto;letter-spacing:-.5px;color:#5B65DC;opacity:.45}
.elevated-search{position:relative;margin-top:-53px;padding:25px 32px;background:#fff;border:1px solid #EEEFFD;border-radius:22px;box-shadow:0 18px 55px #003a4312;z-index:3}
.search-caption{font-size:13px;color:#4D57C9;margin-bottom:15px;display:flex;align-items:center;gap:8px}
.elevated-search .search-box{box-shadow:none;border:0;padding:0;background:transparent}
.elevated-search .search-row{grid-template-columns:1fr 1fr auto;gap:20px;align-items:start}
.elevated-search .search-row>.button{margin-top:29px;min-width:180px}
.search-box details summary{font-size:12px;color:#5B65DC;padding-top:5px;cursor:pointer}
.public-sections{padding-top:38px;gap:66px}
.public-sections>section{margin-bottom:12px}
.section-heading{margin-bottom:24px;align-items:center}
.section-heading h2{font-size:25px;color:#122056}
.section-heading h2::before{height:23px;width:4px;background:#5B65DC;border-radius:2px}
.section-sub{font-size:13px;color:#5B65DC;line-height:2}
.trust-grid{gap:18px}.trust-item{background:#fff;border:1px solid #e4ebe6;padding:24px;border-radius:17px;box-shadow:none}
.trust-item i{background:#eef5ee;color:#5B65DC;font-size:23px}
.trust-item b{font-size:14px;color:#4D57C9;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif}.trust-item small{font-size:12px;color:#5B65DC;line-height:1.9}
.doctor-card{border:1px solid #e0e9e4;border-radius:20px;background:#fff;padding:24px;box-shadow:0 4px 20px #12205604;transition:transform .2s,box-shadow .2s}
.doctor-card:hover{transform:translateY(-4px);box-shadow:0 14px 36px #12205610}
.doctor-name{font-size:16px;color:#122056}.doctor-card .avatar{background:#f0f5ef;border:1px solid #e2eadf;color:#8ba98b;border-radius:18px}
.doctor-details{margin-block:15px;font-size:12px}.doctor-card .tags span{font-size:10px;background:#f4f7f3;border:1px solid #edf1ea;color:#5B65DC}
.doctor-bottom{padding-top:17px;margin-top:20px}.doctor-bottom .text-link{font-size:12px;color:#5B65DC}
.city-card{border-radius:18px;padding:20px;border:1px solid #e0e9e2;background:#fff;box-shadow:none}.city-symbol{background:#eef4eb;color:#829b71}
.carousel-track{grid-auto-columns:min(320px,84vw);gap:20px;padding:4px 2px 16px}
.carousel-controls{justify-content:flex-end;margin-top:-7px}
.cta-band{background:linear-gradient(115deg,#122056,#003a43);border-radius:24px;min-height:190px;padding:42px;box-shadow:0 14px 38px #12205621}
.cta-band h2{color:#fff;font-size:25px}.cta-band p{color:#CDD1F4;font-size:13px}.cta-band .button{background:#e5f0cd;color:#122056;padding:13px 24px}
.step-card{background:#fff;border:1px solid #e1e9e1;border-radius:18px;padding:28px}.step-card b{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:15px}.step-card small{font-size:12px;color:#81917e}
.public .empty{border:1px dashed #EEEFFD;background:#ffffff7a;border-radius:20px;max-width:100%;padding:42px 24px}
.public .empty h3{font-size:17px}.public .empty p{font-size:13px}
.page-banner{background:linear-gradient(115deg,#edf5ef,#f3f6f2);padding:55px 0;border-bottom:1px solid #e0e8df}
.page-banner h1{font-size:38px;color:#122056}.page-banner p{font-size:14px;color:#5B65DC;margin-top:14px}
.info-page{max-width:960px;min-height:340px}.info-page>.prose-text{font-size:15px;line-height:2.4}
.contact-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:30px}
.contact-options article{background:white;border:1px solid #e0e9e3;border-radius:20px;padding:32px;display:grid;gap:14px;justify-items:start}
.contact-options article>svg{color:#5B65DC}.contact-options h2{font-size:20px}.contact-options p{font-size:13px;color:#5B65DC}
.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.editorial-card{background:#fff;border:1px solid #e3e9e2;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #12205607}
.editorial-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.editorial-card a>div:not(.editorial-art){padding:25px}.editorial-card h2{font-size:19px;line-height:1.9}
.editorial-card p{font-size:13px;line-height:2;color:#5B65DC;margin:12px 0 20px}.editorial-art{height:150px;display:grid;place-items:center;background:linear-gradient(120deg,#EEEFFD,#d4e4d5);color:#5B65DC}
.article-detail{max-width:860px!important}.article-detail h1{font-size:36px;line-height:1.8}.article-lede{font-size:17px;line-height:2.2;color:#5B65DC;margin:20px 0}
.article-cover{width:100%;max-height:460px;object-fit:cover;border-radius:20px;margin-top:26px}.article-body{font-size:15px;line-height:2.5;margin:36px 0}
.rich-footer{position:relative;isolation:isolate;overflow:hidden;background:#003a43;color:#AEB4F4;padding:0;margin-top:44px;text-align:right}
.footer-watermark{position:absolute;bottom:10px;left:-10px;right:-10px;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;font-size:clamp(80px,16vw,250px);font-weight:900;line-height:1.1;white-space:nowrap;text-align:center;color:#ffffff04;z-index:-1;pointer-events:none}
.rich-footer>.container{display:block;text-align:right;padding-top:26px;padding-bottom:28px}



.footer-grid{display:grid;grid-template-columns:1.5fr .85fr .85fr 1fr;gap:40px;padding:42px 0 38px}
.footer-brand .brand{color:#f3f8ee}.footer-brand .brand small{color:#AEB4F4}.footer-brand .brand-icon{background:#ffffff0e;color:#d0e7c1}
.footer-brand p{max-width:330px;font-size:12px;line-height:2.2;margin:20px 0}
.rich-footer .social-row{justify-content:flex-start}.rich-footer .social-row a{padding:5px 9px;font-size:10px;border-radius:9px;display:flex;align-items:center;gap:7px;background:#ffffff05}
.footer-column h3{color:#e3eedb;font-size:14px;font-weight:600;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;margin-bottom:18px}
.footer-column nav{display:grid;justify-content:start;gap:14px;font-size:12px}
.footer-column nav a{display:block;text-align:right}.footer-column a:hover{color:#d7edb5}
.footer-contact p{font-size:12px;line-height:2.2;margin-bottom:15px}.footer-contact>a{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:10px}
.footer-contact .footer-phone{font-size:17px;direction:ltr;justify-content:flex-end;letter-spacing:.8px;color:#e0ecd4}
.footer-chat{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #b8d39b3b;background:#b7d49c0e;border-radius:10px;color:#cce3b6;font-size:11px;cursor:pointer}


.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:24px}.footer-bottom small{font-size:10px;color:#5B65DC}.footer-bottom nav{display:flex;gap:22px;font-size:10px;color:#AEB4F4}
.solo .similar-section{border-top:1px solid var(--line);padding-top:36px}.similar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.similar-section .doctor-card{padding:20px}.similar-section .doctor-top{flex-wrap:wrap}.similar-section .doctor-name{font-size:15px}.similar-section .section-sub{font-size:12px}
.solo .solo-hero{background:radial-gradient(ellipse at 15% 40%,var(--brand-mist),transparent 60%),var(--surface)}
.solo .solo-portrait{box-shadow:0 20px 70px #12205618;border-width:8px}.solo .hero-marks span{font-size:11px;border-radius:10px;background:var(--card);border:1px solid var(--line)}
.solo .rich-footer .container{width:min(var(--content-width),calc(100% - 64px))}
body.cms{background:#f3f7f7;--ink:#122056;--brand:#4D57C9;--line:#EEEFFD}
.cms .sidebar{background:#122056;border-left:1px solid #122056;color:#CDD1F4;width:240px}
.cms .sidebar .brand{color:#f2faf7;font-size:20px}.cms .sidebar .brand small{color:#AEB4F4}.cms .sidebar .brand-icon{background:#ffffff10}
.cms .sidebar nav a{color:#CDD1F4;padding:12px 15px;border-radius:10px;font-size:12px;margin-bottom:3px}
.cms .sidebar nav a.active{color:#ecf8ed;background:#ffffff15;box-shadow:inset -3px 0 #afcfb2}.cms .sidebar nav a:hover{background:#ffffff0b;color:white}
.cms .sidebar-user{border-color:#ffffff12;color:#CDD1F4}.cms .menu-caption{font-size:10px;color:#5B65DC}
.cms .workspace{margin-right:240px}.cms .admin-topbar{background:#ffffffed;border-bottom:1px solid #EEEFFD;min-height:80px}
.cms .admin-main{padding:32px}.cms .page-heading h1{font-size:28px}.cms .page-heading p{font-size:13px;color:#5B65DC}
.cms .panel{border-radius:18px;border:1px solid #e0e9e9;box-shadow:0 5px 20px #12205604}.cms .panel-heading{padding:21px 25px;background:#fbfdfd}.cms .panel-heading h2{font-size:16px;color:#4D57C9}
.cms .panel-body{padding:26px}.cms .stat-card{border-radius:17px;border:1px solid #EEEFFD;padding:24px}.cms .stat-card strong{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;color:#4D57C9}
.cms .welcome{background:linear-gradient(110deg,#122056,#5B65DC);color:#EEEFFD;border:0;border-radius:20px;padding:32px}
.cms .welcome h2{color:#EEEFFD}.cms .welcome p{color:#CDD1F4;font-size:13px}.cms .welcome .button{border-color:#ffffff44;color:#EEEFFD}
.cms table th{background:#f2f7f7;color:#5B65DC;font-size:11px;padding:15px 18px}.cms table td{padding:17px 18px;font-size:12px;border-color:#eef3f3}.cms table tbody tr:hover{background:#f8fbfb}
.cms .editor-form .panel+.panel{margin-top:22px}.cms .form-actions{padding:20px 0;gap:12px}
.doctor-main{background:#f5f8f7}.doctor-main .panel{box-shadow:0 4px 18px #12205608}.doctor-sidebar{border-color:#EEEFFD;background:#fff}
.doctor-sidebar nav a.active{background:#e9f2ee;color:#4D57C9}.workspace-hero{background:linear-gradient(115deg,#122056,#4D57C9);border-radius:24px}.doctor-main input,.doctor-main textarea,.doctor-main select{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important;font-size:13px!important}
.import-intro{display:flex;align-items:center;gap:22px;margin-bottom:26px;padding:30px;border:1px solid #CDD1F4;border-radius:20px;background:linear-gradient(100deg,#EEEFFD,#f3f8f5)}
.import-intro .button{margin-inline-start:auto;flex-shrink:0}.import-intro h2{font-size:20px}.import-intro p{font-size:13px;color:#5B65DC;margin-top:10px}.import-icon{display:grid;place-items:center;background:#fff;border:1px solid #EEEFFD;border-radius:18px;min-width:64px;height:64px;font-size:32px;color:#5B65DC}
.import-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-bottom:20px}.import-summary>div{display:grid;gap:6px;padding:18px;background:#f4f8f7;border:1px solid #EEEFFD;border-radius:12px}.import-summary b{font-size:22px;color:#4D57C9}.import-summary small{font-size:11px;color:#5B65DC}
.support-widget{position:fixed;right:24px;bottom:24px;z-index:90;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important;line-height:1.8;color:#122056}
.support-launcher{display:flex;align-items:center;gap:12px;border:1px solid #ffffff2e;border-radius:20px;background:#122056;color:#fff;padding:12px 15px;box-shadow:0 12px 35px #003a4338;cursor:grab;touch-action:none;user-select:none;min-height:66px;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important;font-size:14px;text-align:right;max-width:calc(100vw - 24px)}
.support-launcher small{display:block;color:#CDD1F4;font-size:9px;margin-top:2px}.support-launcher:hover{background:#4D57C9;transform:none}.support-launcher.is-dragging{cursor:grabbing;box-shadow:0 20px 45px #12205640}
.support-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#ffffff13;color:#d5e6c2;flex-shrink:0;overflow:hidden}.support-logo img{width:100%;height:100%;object-fit:contain}.support-grip{font-size:22px;color:#AEB4F4;line-height:1}
.support-panel{position:fixed;right:24px;bottom:104px;width:min(390px,calc(100vw - 24px));height:min(560px,calc(100dvh - 28px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #EEEFFD;border-radius:22px;box-shadow:0 22px 80px #003a4330;z-index:95}
.support-header{display:flex;align-items:center;gap:10px;background:#122056;color:white;padding:17px 18px;flex-shrink:0}.support-header b{font-size:13px}.support-header small{display:flex;align-items:center;gap:5px;color:#CDD1F4;font-size:10px}.support-header small::before{content:"";width:5px;height:5px;background:#bed2a1;border-radius:50%}
.support-close{margin-right:auto;border:0;background:#ffffff0a;color:#EEEFFD;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;cursor:pointer}
.support-messages{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:100px;background:linear-gradient(#f6f9f5,#fff)}
.support-bubble{border-radius:14px;padding:12px 14px;font-size:12px;line-height:2.05;max-width:91%;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400;text-align:right}
.support-bubble.assistant{background:#eaf1e8;align-self:flex-start;border-top-right-radius:4px;color:#5B65DC}.support-bubble.user{background:#4D57C9;color:#fff;align-self:flex-end;border-bottom-left-radius:4px}.support-bubble.error{background:#fff1ec;color:#914827;align-self:flex-start}.support-bubble.pending{color:#72866a;font-size:11px}
.support-bubble nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.support-bubble nav a{font-size:10px;padding:4px 9px;border:1px solid #9eb89e;border-radius:7px;background:#ffffff77;color:#5B65DC;white-space:normal}
.support-suggestions{padding:4px 16px 12px;display:flex;gap:7px;flex-wrap:wrap}.support-suggestions button{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important;font-size:10px;background:#fff;border:1px solid #dbe6d7;border-radius:20px;padding:6px 10px;color:#5c785a;cursor:pointer}
.support-compose{display:flex;gap:9px;margin:0 14px;padding:11px 0;border-top:1px solid #e6ece2;align-items:flex-end}
.support-compose textarea{width:100%;resize:none;max-height:90px;border:1px solid #dbe5d5;border-radius:12px;background:#f8faf7;color:#4D57C9;font-size:12px;padding:11px;min-height:46px;line-height:1.9;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important}.support-compose textarea::placeholder{color:#859781}
.support-compose button{width:44px;height:44px;flex-shrink:0;border:0;border-radius:12px;background:#4D57C9;color:#fff;display:grid;place-items:center;cursor:pointer}
.support-footnote{padding:0 16px 12px;display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;color:#859480;font-size:9px}.support-footnote button{border:0;background:transparent;color:#4D57C9;cursor:pointer;font-size:9px;padding:0}.support-footnote a{color:#4D57C9}
@media(min-width:961px) and (max-width:1180px){.public-menu .nav-secondary{display:none}.upgraded-header .header-inner{gap:18px}.public-menu>a,.cities-dropdown>summary{font-size:12px;padding:10px 8px}}
@media(max-width:1100px){.similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{gap:26px}.medical-hero-grid{gap:40px}.care-note.top{right:-10px}.care-note.bottom{left:-10px}}
@media(max-width:960px){
 .public-menu-button{display:grid;margin-inline-start:auto}.upgraded-header .header-inner{min-height:78px}.upgraded-header .public-menu{display:none;position:absolute;top:100%;left:18px;right:18px;background:white;border:1px solid #EEEFFD;border-radius:0 0 18px 18px;padding:18px;box-shadow:0 25px 40px #003a4317;max-height:calc(100dvh - 95px);overflow:auto}
 .upgraded-header .public-menu.is-open{display:flex;flex-direction:column;align-items:stretch;gap:5px}.public-menu>a,.cities-dropdown>summary{justify-content:flex-start;font-size:14px;padding:12px}.public-menu .register-link{margin:8px 0;justify-content:center}.public-menu .header-account{margin:5px 0 0;justify-content:center}
 .cities-menu{position:static;width:100%;box-shadow:none;margin:8px 0;background:#f5f9f6;border-radius:13px}.public-menu .nav-secondary{display:flex}.cities-menu-grid{grid-template-columns:repeat(3,1fr)}
 .medical-hero{padding:45px 0 105px}.medical-hero-grid{grid-template-columns:1fr 1fr;gap:25px}.medical-hero h1{font-size:31px}.medical-hero-copy>p{font-size:13px}.medical-hero-art{min-height:290px}.care-art{height:290px}.care-word{font-size:14px}.care-note small{display:none}.care-note b{font-size:10px}.care-note{padding:10px}.care-orbit.one{width:220px;height:220px}.care-orbit.two{width:270px;height:270px}
 .elevated-search .search-row{grid-template-columns:1fr 1fr}.elevated-search .search-row>.button{grid-column:1/-1;margin-top:0}.elevated-search .form-grid{grid-template-columns:1fr 1fr}.elevated-search{padding:22px}
 .footer-grid{grid-template-columns:1.3fr 1fr;gap:35px}.editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cms .workspace{margin-right:0}.cms .sidebar{transform:translateX(100%);z-index:70}.cms.nav-open .sidebar{transform:translateX(0)}.cms .admin-main{padding:24px}.cms .admin-topbar{padding:16px 24px}
 .import-intro{flex-wrap:wrap}.import-intro .button{margin-inline-start:0}.import-summary{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:640px){
 .public .container,.solo .rich-footer .container{width:calc(100% - 32px)}.brand{font-size:18px}.brand-icon{width:40px;height:40px;border-radius:12px}.brand small{font-size:8px}
 .medical-hero{padding:30px 0 90px}.medical-hero-grid{grid-template-columns:1fr;gap:25px}.medical-hero h1{font-size:29px;line-height:1.75;letter-spacing:-.8px}.medical-hero-copy>p{font-size:13px;margin-top:15px}.hero-links{gap:14px;margin-top:22px}.hero-links>a:not(.button){font-size:10px}.medical-hero-marks{font-size:10px;gap:12px;margin-top:22px}
 .medical-hero-art{min-height:210px;padding:0 12px}.care-art{height:210px;border-radius:65px 20px 20px 20px;margin-top:8px}.care-core{width:70px;height:70px;border-radius:23px}.care-core svg{width:47px}.care-orbit.one{width:145px;height:145px}.care-orbit.two{width:185px;height:185px}.care-note.top{right:-10px;top:14px}.care-note.bottom{left:-10px;bottom:8px}.care-word{left:12px;bottom:70px;font-size:11px}
 .main-medical-image{max-height:290px;width:100%;border-radius:50px 20px 20px 20px}.elevated-search{padding:20px;margin-top:-47px;border-radius:18px}.elevated-search .search-row,.elevated-search .form-grid{grid-template-columns:1fr;gap:4px}.elevated-search .field{margin-bottom:12px}.elevated-search .search-row>.button{margin:4px 0 12px}
 .public-sections{gap:38px}.section-heading h2{font-size:22px}.section-sub{font-size:11px}.trust-grid,.steps-grid{grid-template-columns:1fr}.trust-item{padding:20px}.cta-band{padding:27px;display:grid;gap:22px}.cta-band h2{font-size:21px}.cta-band p{font-size:12px}.cta-band .button{width:100%}
 .footer-grid{grid-template-columns:1fr 1fr;gap:30px 20px;padding:30px 0}.footer-brand,.footer-contact{grid-column:1/-1}.footer-brand p{max-width:none;margin:14px 0}.footer-contact .footer-phone{justify-content:flex-end}.footer-bottom{display:grid;gap:16px}.footer-bottom nav{justify-content:flex-start;gap:20px}.footer-watermark{bottom:150px;font-size:24vw}.rich-footer{margin-top:30px}
 .similar-grid,.editorial-grid{grid-template-columns:1fr}.similar-section .doctor-top{flex-wrap:nowrap}.page-banner{padding:34px 0}.page-banner h1{font-size:29px}.page-banner p{font-size:12px}.article-detail h1{font-size:28px}.article-lede{font-size:14px}
 .cms .admin-main{padding:18px 14px}.cms .panel-body,.doctor-main .panel-body{padding:20px}.cms .page-heading h1{font-size:24px}.cms .admin-topbar{padding:12px 14px}.cms .welcome{padding:23px}.cms .form-grid{grid-template-columns:1fr}.import-summary{grid-template-columns:1fr 1fr}.import-intro{padding:22px}.import-intro p{font-size:12px}
 .support-launcher{padding:10px 13px;border-radius:17px;min-height:60px;font-size:13px}.support-launcher small{display:none}.support-launcher .support-logo{width:32px;height:32px}.support-panel{border-radius:18px}.support-widget{right:16px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{transition:none!important;animation:none!important}}
.rich-editor{display:block}.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.rich-toolbar button{border:1px solid #EEEFFD;background:#fff;border-radius:8px;padding:6px 10px;cursor:pointer;font:inherit}.rich-editor textarea{width:100%;font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.9}
.city-search-helper{margin-bottom:7px}
.directory-page{display:grid;gap:38px}.directory-hero{background:linear-gradient(135deg,#EEEFFD,#fff);border:1px solid #EEEFFD;border-radius:24px;padding:34px}.directory-hero h1{font-size:clamp(28px,4vw,44px);color:#122056}.directory-search{display:grid;grid-template-columns:1fr 1fr 1fr auto auto;gap:10px;align-items:end;margin-top:24px}.directory-search label,.directory-filters label{display:grid;gap:6px;font-size:12px}.directory-search input,.directory-filters input,.directory-filters select,.results-bar select{border:1px solid #EEEFFD;border-radius:10px;padding:11px;background:#fff;font:inherit}.directory-stat{margin-top:16px;font-size:12px;color:#5B65DC}.directory-layout{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}.directory-filters{position:sticky;top:90px;border:1px solid #EEEFFD;border-radius:18px;padding:18px;background:#fff;display:grid;gap:13px}.directory-filters h2{font-size:18px}.directory-filters .check{display:flex;align-items:center;grid-template-columns:auto 1fr}.directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.directory-doctor-card{position:relative;border:1px solid #EEEFFD;border-radius:18px;background:#fff;padding:18px}.paid-badge{display:inline-flex;background:#fff4d8;border:1px solid #f0d38a;color:#775916;padding:4px 9px;border-radius:30px;font-size:10px;margin-bottom:10px}.insurance-line{display:block;margin-top:10px;color:#5B65DC}.active-filter-chips{display:flex;flex-wrap:wrap;gap:5px}.doctor-map{border:1px solid #EEEFFD;border-radius:18px;padding:18px}.map-canvas{height:460px;position:relative;border-radius:16px;background:linear-gradient(30deg,#eef5f2 25%,transparent 25%) 0 0/36px 36px,linear-gradient(150deg,#f7faf8 25%,transparent 25%) 0 0/36px 36px,#EEEFFD;overflow:hidden}.map-canvas [data-map-pin]{position:absolute;transform:translate(-50%,-50%);border:0;background:#fff;border-radius:50%;width:38px;height:38px;box-shadow:0 5px 18px #12205630;color:#4D57C9;cursor:pointer}.directory-content,.doctor-detail-section{border:1px solid #EEEFFD;border-radius:18px;padding:24px;background:#fff;line-height:2}.province-city-links{margin:18px 0}.province-city-links h3{font-size:15px}.doctor-reference{display:grid;gap:20px}.doctor-profile-hero{display:grid;grid-template-columns:180px 1fr;gap:26px;border:1px solid #EEEFFD;border-radius:24px;padding:26px;background:#fff}.profile-photo img{width:180px;height:210px;object-fit:cover;border-radius:18px}.profile-trust,.profile-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:13px 0}.doctor-jump-links{position:sticky;top:64px;z-index:5;display:flex;gap:8px;overflow:auto;padding:10px;background:#ffffffee;border:1px solid #EEEFFD;border-radius:14px}.doctor-jump-links a{white-space:nowrap;font-size:11px;padding:7px 10px;border-radius:8px;background:#f3f7f5}.quick-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-summary>div{background:#f5f8f7;border-radius:12px;padding:13px;display:grid;gap:5px}.patient-review{border-top:1px solid #EEEFFD;padding:15px 0}.patient-review>div{display:flex;justify-content:space-between}.doctor-reply{background:#f6f9f8;padding:12px;border-radius:10px}.office-card{padding:14px;border:1px solid #e2ebe7;border-radius:12px;margin:10px 0}.related-doctor-link{display:inline-flex;margin:5px;padding:7px 10px;border:1px solid #EEEFFD;border-radius:10px}.mobile-sticky-actions{display:none}.home-bottom-rich{margin-top:28px;padding:24px;border-top:1px solid #EEEFFD}.prose h2,.directory-content h2,.doctor-detail-section h2{font-size:22px;margin:12px 0}.prose h3,.directory-content h3,.doctor-detail-section h3{font-size:17px}.prose ul,.directory-content ul,.doctor-detail-section ul{padding-right:22px;list-style:disc}
@media(max-width:900px){.directory-search{grid-template-columns:1fr 1fr}.directory-layout{grid-template-columns:1fr}.directory-filters{position:static}.directory-list{grid-template-columns:1fr}.doctor-profile-hero{grid-template-columns:110px 1fr}.profile-photo img{width:110px;height:140px}.quick-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-sticky-actions{display:grid;grid-template-columns:1fr 1fr;position:fixed;right:0;left:0;bottom:0;z-index:30;background:#fff;padding:10px;box-shadow:0 -8px 25px #0001}.mobile-sticky-actions a{text-align:center;background:#122056;color:#fff;padding:12px;border-radius:10px}.doctor-reference{padding-bottom:80px}}
@media(max-width:560px){.directory-search{grid-template-columns:1fr}.doctor-profile-hero{grid-template-columns:1fr}.quick-summary{grid-template-columns:1fr 1fr}.doctor-jump-links{top:0}}

/* Doctor directory v5 */
.directory-hero-copy{max-width:860px}.directory-search select{border:1px solid #EEEFFD;border-radius:10px;padding:11px;background:#fff;font:inherit;min-width:0}.directory-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.directory-stat-grid>div{background:#ffffffb8;border:1px solid #EEEFFD;border-radius:14px;padding:12px 14px;display:grid;gap:3px}.directory-stat-grid b{font-size:20px;color:#122056}.directory-stat-grid small{font-size:11px;color:#5B65DC}.city-count-chips .chip{display:inline-flex;gap:7px;align-items:center}.city-count-chips small{color:#5B65DC}.filter-title{display:flex;align-items:center;justify-content:space-between}.filter-close{display:none;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-checks{display:grid;gap:8px;padding-top:4px;border-top:1px solid #edf2f0}.filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.directory-filters .button{text-align:center;justify-content:center}.mobile-filter-button{display:none}.directory-results-bar{display:grid;grid-template-columns:minmax(140px,auto) 1fr auto auto;align-items:center}.directory-results-bar>div:first-child{display:flex;align-items:center;gap:10px}.clear-filters{font-size:11px;color:#7d3d3d}.sort-form label{display:flex;gap:8px;align-items:center;font-size:11px;white-space:nowrap}.sponsored-note{font-size:11px;color:#786328;background:#fff8e7;border:1px solid #f0dfa9;border-radius:10px;padding:8px 10px;margin:-4px 0 14px}.doctor-domain{display:block;margin-top:8px;color:#5B65DC;font-size:10px;direction:ltr;text-align:left}.site-pending{display:block;margin-top:8px;color:#8c7767;font-size:10px}.directory-empty{grid-column:1/-1;min-height:240px}.directory-doctor-card .doctor-bottom{gap:8px}.directory-doctor-card .doctor-bottom .button{flex:1;text-align:center;justify-content:center}.map-canvas [data-map-pin]{overflow:visible}.map-canvas [data-map-pin] span{display:none;position:absolute;bottom:44px;right:50%;transform:translateX(50%);white-space:nowrap;background:#122056;color:#fff;padding:5px 8px;border-radius:7px;font-size:10px}.map-canvas [data-map-pin]:hover span,.map-canvas [data-map-pin]:focus span{display:block}.map-canvas [data-map-pin]:disabled{opacity:.45;cursor:not-allowed}.filter-lock{overflow:hidden}
@media(max-width:1100px){.directory-results-bar{grid-template-columns:1fr auto;gap:10px}.directory-results-bar .active-filter-chips{grid-column:1/-1;order:3}.directory-results-bar .sort-form{justify-self:end}.directory-results-bar>[data-map-toggle]{justify-self:end}}
@media(max-width:900px){.directory-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-filter-button{display:inline-flex;width:max-content}.directory-layout>aside{position:fixed!important;z-index:80;inset:0;background:#0006;padding:0;display:none}.directory-layout>aside.mobile-open{display:block}.directory-layout>aside .directory-filters{position:absolute;top:0;bottom:0;right:0;width:min(92vw,390px);border-radius:0;overflow:auto;padding:20px;box-shadow:-10px 0 30px #0002}.filter-close{display:block}.directory-results-bar{grid-template-columns:1fr auto}.directory-results-bar .sort-form{grid-column:1/2}.directory-results-bar>[data-map-toggle]{grid-column:2/3}.directory-results-bar .active-filter-chips{grid-column:1/-1}.filter-actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0 4px}}
@media(max-width:560px){.directory-stat-grid{grid-template-columns:1fr 1fr}.filter-pair{grid-template-columns:1fr}.directory-results-bar{grid-template-columns:1fr}.directory-results-bar .sort-form,.directory-results-bar>[data-map-toggle]{grid-column:auto;justify-self:stretch}.sort-form label{justify-content:space-between}.sort-form select{flex:1}.directory-results-bar>[data-map-toggle]{width:100%;justify-content:center}.directory-doctor-card .doctor-bottom{flex-direction:column}.directory-doctor-card .doctor-bottom .button{width:100%}}


/* Doctors page — matched to previous project redesign */
.doctors-directory{display:grid;gap:28px}.directory-hero{padding:32px;border:1px solid #EEEFFD;border-radius:24px;background:linear-gradient(135deg,#f7fbf8,#EEEFFD)}.directory-hero h1{font-size:34px;margin:16px 0 8px}.directory-hero>p{max-width:850px;color:#5B65DC}.directory-search{display:grid;grid-template-columns:1.2fr 1fr 1.2fr auto auto;gap:10px;align-items:end;margin-top:24px}.directory-search .field{margin:0}.directory-stat{margin:14px 0 0!important;font-size:12px}.directory-section{scroll-margin-top:95px}.directory-city-chips,.active-filters{display:flex;gap:9px;flex-wrap:wrap}.directory-city-chip,.filter-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #EEEFFD;border-radius:999px;padding:8px 13px;background:#fff}.directory-city-chip small{opacity:.65}.directory-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.directory-filters{position:sticky;top:90px;border:1px solid #EEEFFD;border-radius:18px;background:#fff;padding:18px}.directory-filters form{display:grid;gap:10px}.directory-filters .field{margin:0}.filter-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.filter-heading h2{margin:0}.filter-heading [data-close-filters]{display:none}.directory-results{min-width:0}.directory-results-bar{display:grid;grid-template-columns:minmax(190px,1fr) auto auto;gap:14px;align-items:center;margin-bottom:18px;border:1px solid #e0e9e5;background:#fff;border-radius:16px;padding:12px 14px}.directory-sort{display:flex;align-items:end;gap:8px}.directory-sort .field{margin:0;min-width:170px}.view-toggle{display:flex;border:1px solid #EEEFFD;border-radius:10px;overflow:hidden}.view-toggle button{border:0;background:#fff;padding:9px 12px;cursor:pointer}.view-toggle button[aria-pressed="true"]{background:#EEEFFD;font-weight:700}.mobile-filter-button{display:none}.directory-doctor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-card{position:relative}.doctor-card-title{min-width:0}.doctor-card-title .premium-label{margin-bottom:5px}.premium-label{display:inline-flex;align-items:center;border:1px solid #dfbd72;background:#fff8e7;color:#765511;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700}.premium-card{box-shadow:0 9px 28px #92722312}.doctor-rating{font-weight:700}.doctor-rating small{font-weight:400}.doctor-insurance,.next-slot{font-size:11px;color:#5B65DC;margin:8px 0}.doctor-bottom{gap:8px}.doctor-bottom .button{flex:1;justify-content:center}.directory-map{scroll-margin-top:90px;border:1px solid #EEEFFD;border-radius:18px;background:#f5f8f6;padding:14px;margin-top:20px}.map-canvas{height:430px;position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(45deg,#edf2ef 25%,transparent 25%) 0 0/28px 28px,linear-gradient(45deg,transparent 75%,#edf2ef 75%) 0 0/28px 28px,#f8faf9}.map-canvas::before,.map-canvas::after{content:"";position:absolute;background:#EEEFFD;border-radius:999px;transform:rotate(-14deg)}.map-canvas::before{width:120%;height:28px;left:-10%;top:45%}.map-canvas::after{width:80%;height:16px;left:8%;top:20%;transform:rotate(25deg)}.map-pin{position:absolute;z-index:2;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff;background:#4D57C9;color:#fff;box-shadow:0 4px 14px #12205640;cursor:pointer}.map-empty{position:absolute;inset:0;display:grid;place-items:center;z-index:3}.map-popups{padding-top:10px}.map-popups article{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#fff;padding:12px;border-radius:12px}.map-popups article span{flex:1}.all-city-groups{display:grid;gap:18px}.all-city-groups>div{border-top:1px solid #e3ebe7;padding-top:15px}.all-city-groups h3{margin:0 0 10px}
.doctors-directory{max-width:1240px;gap:22px;padding-top:28px}.doctors-directory .directory-hero{position:relative;overflow:hidden;padding:30px;border:1px solid #EEEFFD;border-radius:26px;background:#fff;box-shadow:0 20px 55px rgba(0,87,100,.07)}.doctors-directory .directory-hero::before{content:"";position:absolute;width:340px;height:340px;border-radius:50%;left:-120px;top:-180px;background:radial-gradient(circle,rgba(0,131,150,.12),rgba(0,131,150,0) 70%);pointer-events:none}.doctors-directory .directory-hero .breadcrumb{position:relative;margin:0 0 18px;font-size:11px;color:#AEB4F4}.doctors-directory .directory-hero .breadcrumb span{display:inline-block;margin-inline:4px}.directory-hero-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}.directory-hero-copy{min-width:0}.directory-kicker{display:inline-flex;align-items:center;gap:7px;width:max-content;margin-bottom:7px;padding:5px 10px;border-radius:999px;background:#EEEFFD;color:#5B65DC;font-size:10px;font-weight:700}.doctors-directory .directory-hero h1{max-width:780px;margin:4px 0 8px;font-size:32px;line-height:1.7;letter-spacing:-.8px;color:#122056}.doctors-directory .directory-hero>p,.directory-hero-copy>p{max-width:790px;color:#5B65DC;font-size:13px;line-height:2}.directory-trust-card{display:flex;align-items:center;gap:12px;min-width:205px;padding:16px 17px;border:1px solid #e3ece8;border-radius:18px;background:#f8fbfa}.directory-trust-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#EEEFFD;color:#5B65DC}.directory-trust-card div{display:grid;line-height:1.55}.directory-trust-card strong{font-size:21px;color:#4D57C9}.directory-trust-card b{font-size:11px}.directory-trust-card small{color:#5B65DC;font-size:9px}.doctors-directory .directory-search{position:relative;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;margin-top:24px;padding:17px;border:1px solid #e3ebe8;border-radius:20px;background:#f8faf9}.directory-search-fields{display:grid;grid-template-columns:1.05fr .9fr 1.1fr;gap:11px;align-items:end;min-width:0}.doctors-directory .directory-search .field{gap:5px}.doctors-directory .directory-search .field>span{font-size:10px;color:#5B65DC}.doctors-directory .directory-search .field>small{display:none}.doctors-directory .directory-search input:not([type=hidden]),.doctors-directory .directory-search select{min-height:45px;border-color:#dfe7e4;border-radius:11px;background:#fff;font-size:12px}.directory-search-actions{display:flex;gap:8px;align-items:center}.directory-search-actions .button{min-height:45px;padding-inline:16px;border-radius:11px;font-size:11px}.directory-search-actions .primary{min-width:105px}.directory-search-actions .outline{background:#fff}.directory-city-section{padding:4px 2px 2px}.directory-mini-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:13px}.directory-mini-heading span{display:block;color:#AEB4F4;font-size:9px;margin-bottom:2px}.directory-mini-heading h2{font-size:16px;color:#4D57C9}.directory-mini-heading>a{display:inline-flex;align-items:center;gap:5px;color:#5B65DC;font-size:10px;font-weight:700}.doctors-directory .directory-city-chips{gap:7px;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}.doctors-directory .directory-city-chip{flex:0 0 auto;padding:7px 12px;border-color:#EEEFFD;border-radius:10px;background:#fff;color:#5B65DC;font-size:10px;box-shadow:0 4px 15px rgba(0,109,125,.025)}.doctors-directory .directory-city-chip:hover{border-color:#AEB4F4;background:#f7fbf9;color:#4D57C9}.doctors-directory .directory-city-chip small{padding-inline-start:3px;color:#AEB4F4}.doctors-directory .directory-layout{grid-template-columns:248px minmax(0,1fr);gap:18px}.doctors-directory .directory-filters{top:84px;padding:0;border:1px solid #EEEFFD;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 36px rgba(0,87,100,.045)}.doctors-directory .filter-heading{margin:0;padding:17px 18px 14px;border-bottom:1px solid #edf1ef}.filter-kicker{display:block;margin-bottom:2px;font-size:9px;color:#AEB4F4}.doctors-directory .filter-heading h2{font-size:15px;color:#4D57C9}.doctors-directory .filter-heading h2 small{display:inline-flex;align-items:center;margin-inline-start:5px;padding:2px 6px;border-radius:999px;background:#EEEFFD;color:#5B65DC;font-size:8px}.doctors-directory .directory-filters form{gap:0}.filter-primary{display:grid;gap:10px;padding:16px 18px}.doctors-directory .directory-filters .field{gap:4px}.doctors-directory .directory-filters .field>span{font-size:10px;color:#5B65DC}.doctors-directory .directory-filters .field>small{display:none}.doctors-directory .directory-filters input:not([type=hidden]),.doctors-directory .directory-filters select{min-height:41px;border-color:#e1e8e5;border-radius:10px;background:#fbfcfc;font-size:11px}.filter-more{border-top:1px solid #edf1ef}.filter-more>summary{display:grid;gap:1px;position:relative;padding:14px 18px;cursor:pointer;list-style:none;background:#fcfdfd}.filter-more>summary::-webkit-details-marker{display:none}.filter-more>summary span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;color:#5B65DC}.filter-more>summary small{padding-right:22px;color:#AEB4F4;font-size:8px}.filter-more>summary::after{content:"⌄";position:absolute;left:18px;top:17px;color:#5B65DC;font-size:15px;transition:transform .2s}.filter-more[open]>summary::after{transform:rotate(180deg)}.filter-more-body{display:grid;gap:10px;padding:4px 18px 16px}.doctors-directory .directory-filters .toggle{margin:0;padding:10px 0;border-top:1px solid #f0f3f2}.doctors-directory .directory-filters .toggle b{font-size:10px}.doctors-directory .directory-filters .toggle small{display:none}.doctors-directory .directory-filters .toggle input{width:34px;height:20px}.doctors-directory .directory-filters .toggle input:before{width:14px;height:14px}.doctors-directory .directory-filters .toggle input:checked:before{transform:translateX(-14px)}.filter-actions{display:grid;gap:8px;padding:14px 18px 18px;border-top:1px solid #edf1ef;background:#fcfdfd}.filter-actions .button{width:100%;min-height:41px;border-radius:10px;font-size:10px}.clear-filters{display:block;text-align:center;color:#8a5b5b;font-size:9px}.doctors-directory .directory-results-bar{grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:13px;padding:14px 16px;border-color:#e3eae7;border-radius:17px;box-shadow:none}.directory-result-summary{min-width:0}.directory-result-summary>span{display:block;font-size:12px;color:#5B65DC}.directory-result-summary>span b{font-size:18px;color:#4D57C9}.directory-result-summary>small{display:block;margin-top:2px;color:#AEB4F4;font-size:9px}.doctors-directory .active-filters{gap:5px;margin-top:7px}.doctors-directory .filter-chip{padding:4px 8px;border:0;border-radius:7px;background:#f0f5f3;color:#5B65DC;font-size:8px}.directory-result-tools{display:flex;align-items:end;gap:8px}.doctors-directory .directory-sort{gap:6px}.doctors-directory .directory-sort .field{min-width:145px;gap:4px}.doctors-directory .directory-sort .field>span{font-size:9px}.doctors-directory .directory-sort .field>small{display:none}.doctors-directory .directory-sort select{min-height:38px;border-radius:9px;font-size:10px}.doctors-directory .directory-sort .button{min-height:38px;padding:7px 10px;border-radius:9px;font-size:9px}.doctors-directory .view-toggle{height:38px;border-color:#dde6e2;border-radius:9px}.doctors-directory .view-toggle button{padding:7px 10px;font-size:9px;color:#5B65DC}.doctors-directory .view-toggle button[aria-pressed="true"]{background:#EEEFFD;color:#4D57C9}.doctors-directory .directory-doctor-grid{display:grid;grid-template-columns:1fr;gap:12px}.doctors-directory .doctor-card{display:grid;grid-template-columns:minmax(0,1fr) 150px;grid-template-areas:"top actions" "details actions" "tags actions" "insurance actions" "slot actions";gap:0 18px;padding:18px 20px;border:1px solid #e2e9e6;border-radius:19px;background:#fff;box-shadow:0 8px 26px rgba(0,87,100,.035);transition:border-color .18s,box-shadow .18s,transform .18s}.doctors-directory .doctor-card:hover{border-color:#CDD1F4;box-shadow:0 14px 34px rgba(0,87,100,.07);transform:translateY(-1px)}.doctors-directory .doctor-card.premium-card{border-color:#e6d7b5;background:linear-gradient(90deg,#fffdf8 0,#fff 34%)}.doctors-directory .doctor-top{grid-area:top;align-items:center;gap:13px}.doctors-directory .avatar{width:66px;height:66px;border-radius:17px;background:#f0f5f3;color:#5B65DC}.doctors-directory .doctor-name{display:block;font-size:14px;line-height:1.8;color:#122056}.doctors-directory .doctor-name:hover{color:#5B65DC}.doctors-directory .doctor-top p{margin-top:1px;font-size:10px;color:#5B65DC}.doctors-directory .verified{margin-top:4px;font-size:8px}.doctors-directory .premium-label{margin:0 0 3px!important;padding:2px 7px;font-size:8px}.doctors-directory .doctor-details{grid-area:details;display:flex;flex-direction:row;align-items:center;gap:6px 15px;flex-wrap:wrap;margin:10px 79px 0 0;color:#5B65DC;font-size:9px}.doctors-directory .doctor-details>span{gap:5px}.doctors-directory .doctor-rating{color:#5B65DC}.doctors-directory .doctor-rating::first-letter{color:#c59230}.doctors-directory .doctor-details small{font-size:8px}.doctors-directory .treatment-tags{grid-area:tags;margin:9px 79px 0 0}.doctors-directory .tags{gap:5px}.doctors-directory .tags>span{padding:3px 7px;border-radius:7px;background:#f3f7f5;color:#5B65DC;font-size:8px}.doctors-directory .doctor-insurance{grid-area:insurance;margin:8px 79px 0 0;font-size:8px;color:#5B65DC}.doctors-directory .next-slot{grid-area:slot;margin:5px 79px 0 0;font-size:8px;color:#5B65DC}.doctors-directory .doctor-bottom{grid-area:actions;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:7px;margin:0;padding:0 18px 0 0;border-top:0;border-right:1px solid #edf1ef}.doctors-directory .doctor-bottom .button{flex:0 0 auto;width:100%;min-height:39px;border-radius:10px;padding:7px 10px;font-size:9px}.doctors-directory .pager{margin-top:16px}.doctors-directory .pager .button{min-height:38px;font-size:9px}.doctors-directory .directory-map{margin-top:14px}.doctors-directory #guide,.doctors-directory #methodology,.doctors-directory #faq,.doctors-directory #all-cities,.doctors-directory #join{margin-top:14px;padding:25px;border:1px solid #EEEFFD;border-radius:20px;background:#fff}.doctors-directory #guide>h2,.doctors-directory #methodology>h2,.doctors-directory #faq>h2,.doctors-directory #all-cities>h2{font-size:19px;color:#4D57C9}.doctors-directory #guide,.doctors-directory #methodology{color:#5B65DC;font-size:12px}.doctors-directory .all-city-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.doctors-directory .all-city-groups>div{padding-top:11px}.doctors-directory .all-city-groups h3{font-size:12px}.doctors-directory #all-cities .chip{padding:5px 9px;font-size:9px}.doctors-directory .faq-list details{border-radius:12px}.doctors-directory #join{padding:0;border:0;background:transparent}.doctors-directory #join .cta-band{border-radius:20px}
@media(max-width:1100px){.directory-hero-head{grid-template-columns:1fr}.directory-trust-card{width:max-content}.doctors-directory .directory-search{grid-template-columns:1fr}.directory-search-actions{justify-content:flex-start}.doctors-directory .directory-layout{grid-template-columns:230px minmax(0,1fr)}.doctors-directory .doctor-card{grid-template-columns:minmax(0,1fr) 138px}}
@media(max-width:980px){.doctors-directory{gap:18px}.doctors-directory .directory-layout{grid-template-columns:1fr}.doctors-directory .directory-filters{display:none;position:fixed;inset:76px 12px 12px;top:76px;z-index:80;overflow:auto;box-shadow:0 22px 70px rgba(0,58,67,.18)}.doctors-directory .directory-filters.filters-open{display:block}.doctors-directory .filter-heading [data-close-filters],.doctors-directory .mobile-filter-button{display:inline-flex}.doctors-directory .directory-results-bar{grid-template-columns:auto minmax(0,1fr);align-items:center}.doctors-directory .mobile-filter-button{grid-row:1;grid-column:1}.directory-result-summary{grid-row:1;grid-column:2}.directory-result-tools{grid-column:1/-1;justify-content:flex-start}.doctors-directory .all-city-groups{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.doctors-directory{padding-top:18px}.doctors-directory .directory-hero{padding:21px 17px;border-radius:21px}.doctors-directory .directory-hero .breadcrumb{margin-bottom:13px}.doctors-directory .directory-hero h1{font-size:25px;line-height:1.75}.directory-hero-copy>p{font-size:11px}.directory-trust-card{width:100%;padding:12px 14px}.directory-trust-card strong{font-size:18px}.doctors-directory .directory-search{padding:13px;border-radius:16px}.directory-search-fields{grid-template-columns:1fr}.directory-search-actions{display:grid;grid-template-columns:1fr}.directory-search-actions .button{width:100%}.directory-mini-heading{align-items:center}.directory-mini-heading h2{font-size:14px}.doctors-directory .directory-city-chip{font-size:9px}.doctors-directory .directory-results-bar{grid-template-columns:1fr;padding:12px}.doctors-directory .mobile-filter-button,.directory-result-summary,.directory-result-tools{grid-column:1;grid-row:auto}.doctors-directory .mobile-filter-button{width:100%;justify-content:center}.directory-result-tools{display:grid;grid-template-columns:1fr;align-items:stretch}.doctors-directory .directory-sort{display:grid;grid-template-columns:1fr auto}.doctors-directory .directory-sort .field{min-width:0}.doctors-directory .view-toggle{width:100%}.doctors-directory .view-toggle button{flex:1}.doctors-directory .doctor-card{grid-template-columns:1fr;grid-template-areas:"top" "details" "tags" "insurance" "slot" "actions";padding:16px}.doctors-directory .doctor-details,.doctors-directory .treatment-tags,.doctors-directory .doctor-insurance,.doctors-directory .next-slot{margin-right:0}.doctors-directory .doctor-details{margin-top:11px;padding-top:10px;border-top:1px solid #edf1ef}.doctors-directory .doctor-bottom{flex-direction:row;margin-top:13px;padding:12px 0 0;border-right:0;border-top:1px solid #edf1ef}.doctors-directory .doctor-bottom .button{flex:1}.doctors-directory #guide,.doctors-directory #methodology,.doctors-directory #faq,.doctors-directory #all-cities{padding:19px 17px}.doctors-directory .all-city-groups{grid-template-columns:1fr}.doctors-directory .directory-map{padding:10px}.doctors-directory .map-canvas{height:320px}}

.doctors-directory .site-pending{grid-area:actions;align-self:center;text-align:center;color:#8c7767;font-size:9px;line-height:1.8}.doctors-directory .sponsored-note{margin:-3px 0 12px;padding:8px 11px;border:1px solid #f0dfa9;border-radius:10px;background:#fff8e7;color:#786328;font-size:9px}.doctors-directory .map-pin span{display:none}.doctors-directory .map-pin:disabled{opacity:.45;cursor:not-allowed}


/* Header refresh v7: all primary options stay visible; no "more" dropdown. */
.announce{display:flex;align-items:center;justify-content:center;min-height:32px;text-align:center;letter-spacing:.05px}
.announce a{color:inherit;text-decoration:none}.announce a:hover{text-decoration:underline;color:#fff}
.upgraded-header{border-bottom:1px solid #e4ebe8;background:rgba(255,255,255,.96);box-shadow:0 7px 26px rgba(0,71,82,.055);backdrop-filter:blur(20px) saturate(145%)}
.upgraded-header .container{width:min(1460px,calc(100% - 48px))}
.upgraded-header .header-inner{min-height:84px;gap:18px;position:relative;flex-wrap:nowrap}
.upgraded-header .brand{font-size:19px;gap:10px;min-width:max-content;flex-shrink:0}
.upgraded-header .brand-icon{width:43px;height:43px;border-radius:14px;box-shadow:0 7px 20px rgba(0,71,82,.12)}
.upgraded-header .brand small{margin-top:0;color:#5B65DC;font-size:8.5px}
.upgraded-header .public-menu{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0;margin:0}
.nav-main,.nav-actions{display:flex;align-items:center;min-width:0}
.nav-main{gap:0;flex:1;justify-content:center}
.nav-actions{gap:7px;flex-shrink:0;padding-inline-start:10px;border-inline-start:1px solid #EEEFFD}
.nav-main>a,.header-dropdown>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:8px 8px;border-radius:10px;color:#5B65DC;font-size:11px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}
.nav-main>a:hover,.nav-main>a[aria-current="page"],.header-dropdown>summary:hover,.header-dropdown[data-current="true"]>summary{color:#4D57C9;background:#EEEFFD}
.nav-main .nav-doctors{padding-inline:10px;color:#4D57C9;background:#f4f8f6;border:1px solid #EEEFFD}
.nav-main .nav-doctors:hover,.nav-main .nav-doctors[aria-current="page"]{color:#122056;background:#EEEFFD;border-color:#EEEFFD;box-shadow:0 4px 14px rgba(0,109,125,.06)}
.header-dropdown{position:relative}.header-dropdown>summary{list-style:none}.header-dropdown>summary::-webkit-details-marker{display:none}.header-dropdown[open]>summary>svg:last-child{transform:rotate(180deg)}.header-dropdown>summary>svg:last-child{transition:transform .16s}
.cities-menu{position:absolute;top:calc(100% + 14px);right:0;width:360px;padding:20px;border:1px solid #EEEFFD;border-radius:18px;background:#fff;box-shadow:0 22px 55px rgba(0,71,82,.15);z-index:70}
.cities-menu::before{content:"";position:absolute;top:-7px;right:26px;width:12px;height:12px;background:#fff;border-top:1px solid #EEEFFD;border-right:1px solid #EEEFFD;transform:rotate(-45deg)}
.cities-menu-heading{display:grid;gap:3px;padding:0 2px 13px;border-bottom:1px solid #edf1ef}.cities-menu-heading b{font-size:14px;color:#122056}.cities-menu-heading small{font-size:10px;color:#5B65DC}
.cities-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:12px 0}.cities-menu-grid a{display:flex;gap:7px;align-items:center;padding:8px 9px;border-radius:9px;color:#5B65DC;font-size:12px}.cities-menu-grid a:hover{background:#EEEFFD;color:#4D57C9}.all-cities{display:flex;align-items:center;justify-content:space-between;padding:11px 2px 0;border-top:1px solid #edf1ef;font-size:11px;font-weight:700;color:#4D57C9}
.nav-actions .header-account{display:flex;align-items:center;gap:7px;min-height:43px;padding:7px 9px;border:1px solid #dfe7e4;border-radius:12px;background:#fff;color:#5B65DC;transition:background .16s,border-color .16s,color .16s}
.nav-actions .header-account>span{display:grid;gap:0;line-height:1.25}.nav-actions .header-account b{font-size:10.5px;font-weight:700}.nav-actions .header-account small{font-size:7.5px;color:#AEB4F4}.nav-actions .header-account:hover,.nav-actions .header-account[aria-current="page"]{background:#f5f9f7;border-color:#CDD1F4;color:#4D57C9}
.nav-actions .register-link{display:flex;align-items:center;gap:6px;min-height:43px;margin:0;padding:8px 12px;border:1px solid var(--brand,#122056);border-radius:12px;background:var(--brand,#122056);color:#fff;font-size:10.5px;box-shadow:0 7px 18px rgba(25,61,91,.13)}
.nav-actions .register-link:hover{background:var(--brand-strong,#122056);color:#fff;transform:translateY(-1px)}
.public-menu-button{width:42px;height:42px;border-radius:12px;border-color:#dfe7e4;color:#5B65DC;background:#f8fbf9}
@media(min-width:1021px) and (max-width:1280px){
 .upgraded-header .container{width:calc(100% - 32px)}.upgraded-header .header-inner{gap:11px}.upgraded-header .brand{font-size:17px;gap:8px}.upgraded-header .brand-icon{width:39px;height:39px}.upgraded-header .brand small{display:none}
 .upgraded-header .public-menu{gap:6px}.nav-main>a,.header-dropdown>summary{padding-inline:6px;font-size:9.5px;gap:4px}.nav-main .nav-doctors{padding-inline:7px}.nav-main .nav-doctors svg{display:none}
 .nav-actions{gap:5px;padding-inline-start:7px}.nav-actions .header-account{padding-inline:7px}.nav-actions .header-account small{display:none}.nav-actions .register-link{padding-inline:9px;font-size:9.5px}.nav-actions .register-link svg{display:none}
}
@media(max-width:1020px){
 .public-menu-button{display:grid;margin-inline-start:auto}
 .upgraded-header .container{width:min(100% - 32px,1240px)}.upgraded-header .header-inner{min-height:76px;gap:14px}
 .upgraded-header .public-menu{display:none;position:absolute;top:calc(100% + 1px);right:0;left:0;z-index:80;max-height:calc(100dvh - 92px);overflow:auto;padding:14px;background:#fff;border:1px solid #EEEFFD;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 24px 50px rgba(0,58,67,.16)}
 .upgraded-header .public-menu.is-open{display:grid;gap:13px;align-items:stretch}
 .nav-main{display:grid;gap:3px}.nav-main>a,.header-dropdown>summary{justify-content:flex-start;width:100%;min-height:44px;padding:10px 12px;font-size:12px}
 .nav-main .nav-doctors{justify-content:flex-start}.header-dropdown{width:100%}
 .cities-menu{position:static;width:100%;margin-top:5px;padding:12px;border:0;border-radius:12px;background:#f5f9f7;box-shadow:none}.cities-menu::before{display:none}.cities-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nav-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0 0;border-inline-start:0;border-top:1px solid #EEEFFD}
 .nav-actions .header-account,.nav-actions .register-link{justify-content:center;width:100%;min-height:46px;margin:0}.nav-actions .header-account>span{display:flex;gap:5px;align-items:center}.nav-actions .header-account small{font-size:8px}.nav-actions .header-account small::before{content:"·";margin-inline-end:4px}
}
@media(max-width:640px){
 .upgraded-header .header-inner{min-height:70px;padding:8px 0}.upgraded-header .brand{font-size:16px;gap:8px}.upgraded-header .brand-icon{width:37px;height:37px;border-radius:11px}.upgraded-header .brand small{font-size:7.5px}
 .upgraded-header .public-menu{right:-2px;left:-2px;padding:12px;border-radius:0 0 15px 15px}.cities-menu-grid{grid-template-columns:1fr 1fr}.nav-actions{grid-template-columns:1fr}
 .nav-actions .header-account>span{display:grid;text-align:right}.nav-actions .header-account small::before{display:none}
}
@media(max-width:420px){.upgraded-header .brand small{display:none}.nav-main>a,.header-dropdown>summary{font-size:11px}}

/* Global typography: every visible textual element uses the project's Persian system font stack. */
:root{--site-font:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif}
html body,html body *{font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif!important}


/* SEMANTIC_HEADING_CLEANUP */
.footer-column-title{
  color:#e3eedb;
  font-size:14px;
  font-weight:600;
  font-family:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;
  margin-bottom:18px;
  line-height:1.7;
}

.confirm-dialog-title{
  display:block;
  margin:0 0 .83em;
  font-size:1.5em;
  font-weight:700;
  line-height:1.5;
}


/* Unified city search, horizontal physician rows and categorized editing. */
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.doctor-list,.public .doctor-grid,.public .directory-doctor-grid,.public .similar-grid{display:flex!important;flex-direction:column!important;gap:18px;width:100%}
.public .doctor-card{width:100%;max-width:none;min-width:0;display:grid!important;grid-template-columns:minmax(200px,1.3fr) minmax(180px,1fr) minmax(160px,.9fr);align-items:center;gap:16px 24px;padding:24px;margin:0;box-sizing:border-box}
.public .doctor-card .doctor-top{grid-column:1;grid-row:1 / span 2;align-self:center;margin:0}.public .doctor-card .doctor-details{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0}.public .doctor-card .tags{grid-column:2;grid-row:2;margin:0}.public .doctor-card .doctor-bottom{grid-column:3;grid-row:1 / span 2;border:0;padding:0;margin:0;display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap}.public .doctor-card .avatar{width:80px;height:80px;flex:none}.public .doctor-card .avatar img{width:100%;height:100%;object-fit:cover}.public .doctor-card .doctor-name{font-size:1.18rem}
.city-only-search{display:flex;align-items:stretch;gap:12px;width:100%;margin:0 0 28px;background:#fff;padding:14px;border:1px solid #dce5eb;border-radius:18px;box-sizing:border-box}.city-only-search label{flex:1;min-width:0}.city-only-search input{width:100%;height:52px;border:1px solid #dce5eb;border-radius:10px;padding:0 16px;font:inherit;box-sizing:border-box}.simple-directory{max-width:1120px}.simple-directory .doctor-list{margin-top:24px}.simple-directory .directory-layout{display:block}.hero-links{display:flex;gap:10px;flex-wrap:wrap}
.doctor-gender-filter{flex:0 0 auto!important;max-width:130px}.doctor-gender-filter select{height:52px;min-width:106px;padding:0 11px;border:1px solid #dce5eb;border-radius:10px;background:#fff;color:#193049;font:inherit;font-size:13px}
.doctor-count{font-size:12px!important;font-weight:500;color:#708096}.doctor-bulk-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:14px 0}.doctor-bulk-toolbar .field{min-width:170px;margin:0}.doctor-select-all{display:inline-flex!important;align-items:center;gap:7px!important;flex:0 0 auto!important;padding:10px;color:#52637a;font-size:12px}.doctor-select-all input,[data-doctor-select]{width:17px;height:17px;accent-color:#5b65dc}
.doctor-select-all input[type=checkbox],[data-doctor-select]{appearance:none!important;-webkit-appearance:none!important;position:relative;flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;border:2px solid #738197!important;border-radius:4px!important;background:#e8edf4!important;box-shadow:inset 0 0 0 1px #fff!important;cursor:pointer}.doctor-select-all input[type=checkbox]::before,[data-doctor-select]::before{content:none!important}.doctor-select-all input[type=checkbox]:checked,[data-doctor-select]:checked{border-color:#4d57c9!important;background:#4d57c9!important;box-shadow:none!important}.doctor-select-all input[type=checkbox]:checked::after,[data-doctor-select]:checked::after{content:"";position:absolute;right:4px;top:0;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;border-radius:0;transform:rotate(45deg)}.doctor-select-all input[type=checkbox]:focus-visible,[data-doctor-select]:focus-visible{outline:3px solid #aeb4f5;outline-offset:2px}
.excel-import-report{margin-top:22px}.excel-preview-list{display:grid;gap:10px;padding:16px}.excel-preview-row{border:1px solid #e1e7ee;border-radius:13px;background:#fff}.excel-preview-row details{padding:12px 14px}.excel-preview-row summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.excel-preview-row summary::-webkit-details-marker{display:none}.excel-preview-row dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 4px}.excel-preview-row dl>div{padding:9px 11px;border-radius:9px;background:#f7f8fc;min-width:0}.excel-preview-row dt{font-size:11px;color:#718096}.excel-preview-row dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:13px}.excel-preview-outcome{margin:10px 0 0}.import-progress{display:block;width:100%;height:9px;margin-top:12px}.import-status{font-size:13px;color:#52637a}.excel-import-report .field{max-width:360px;margin:12px 0}
.badge.valid{background:#e8f7ef;color:#187447}.badge.invalid,.badge.failed{background:#fff0f0;color:#b42318}.badge.created{background:#eef1ff;color:#4650bb}
@media(max-width:760px){.city-only-search .doctor-gender-filter{max-width:110px}.city-only-search .doctor-gender-filter select{min-width:96px;padding:0 7px;font-size:12px}.excel-preview-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-bulk-toolbar{align-items:stretch}.doctor-bulk-toolbar .field{flex:1 1 100%}}
@media(max-width:760px){.city-only-search.doctor-name-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px}.city-only-search.doctor-name-search .doctor-search-field{grid-column:1/-1;grid-row:1}.city-only-search.doctor-name-search .doctor-gender-filter{grid-column:1;grid-row:2;width:max-content;max-width:none;flex:none;justify-self:start}.city-only-search.doctor-name-search .doctor-gender-filter select{width:auto;min-width:120px;height:32px;min-height:32px;padding:3px 9px;font-size:11px;border-radius:8px}.city-only-search.doctor-name-search>button{grid-column:2;grid-row:2;min-height:34px;padding:5px 11px;font-size:12px}.doctor-select-all{margin-inline-start:0}}
@media(max-width:480px){.excel-preview-row dl{grid-template-columns:1fr}.doctor-gender-filter select{width:100%}}
.rich-footer::before,.footer-watermark{display:none!important}
.doctor-list-controls{display:grid;grid-template-columns:minmax(360px,1fr) auto;align-items:center;gap:12px;margin-bottom:14px}.doctor-list-controls>.toolbar{margin:0}.doctor-bulk-toolbar{display:flex;align-items:center;gap:8px;padding:0;white-space:nowrap}.doctor-bulk-select{display:flex;align-items:center;gap:7px;font-size:11px;color:#68788a}.doctor-bulk-select select{width:116px;min-height:35px;height:35px;padding:4px 8px;border:1px solid #dce5eb;border-radius:8px;background:#fff;font-size:12px}.doctor-bulk-toolbar .button{min-height:35px;padding:5px 11px;font-size:12px}.doctor-select-all{gap:6px!important;padding:5px!important;font-size:11px!important}.doctor-select-all input,[data-doctor-select]{appearance:auto!important;width:16px!important;height:16px!important;min-height:16px;margin:0!important;border-radius:4px!important;accent-color:#5b65dc}.doctor-bulk-toolbar .form-message{font-size:11px;color:#b42318}.file-drop-active{outline:2px dashed #5b65dc!important;outline-offset:3px;background:#f4f4ff!important}.file-drop-active::after{content:"فایل را اینجا رها کنید";display:block;margin-top:6px;color:#4d57c9;font-size:12px;font-weight:600}
@media(max-width:900px){.doctor-list-controls{grid-template-columns:1fr}.doctor-bulk-toolbar{flex-wrap:wrap}.doctor-select-all{margin-inline-start:auto}}
@media(max-width:540px){.doctor-list-controls{grid-template-columns:minmax(0,1fr)}.doctor-list-controls>.toolbar{display:grid;grid-template-columns:1fr auto;gap:8px}.doctor-list-controls>.toolbar .grow{grid-column:1/-1}.doctor-bulk-toolbar{gap:6px}.doctor-bulk-select{flex:1}.doctor-bulk-select select{flex:1;width:auto;min-width:0}}
.category-editor{min-width:0}.category-tabs{display:flex;flex-wrap:wrap;gap:8px;background:#fff;padding:14px;border:1px solid #dce5eb;border-radius:16px;margin-bottom:22px}.category-tabs button{font:inherit;cursor:pointer;border:1px solid #dce5eb;border-radius:10px;padding:12px 16px;background:#f7fafc;color:#122056}.category-tabs button[aria-selected=true]{color:white;background:#122056;border-color:#122056}.category-tabs button:focus-visible{outline:3px solid #5B65DC;outline-offset:2px}.category-editor [role=tabpanel]{min-width:0}.doctor-portal .doctor-main{min-width:0}.code-editor{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.code-editor>label{display:flex;flex-direction:column;gap:8px}.code-editor textarea{font:13px/1.8 "IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;background:#f8fafc;min-height:110px;width:100%;resize:vertical;border:1px solid #cbd5e1;border-radius:10px;padding:12px;box-sizing:border-box}.code-preview{width:100%;height:420px;border:1px solid #cbd5e1;border-radius:10px;background:white}.authored-content{contain:layout paint;isolation:isolate;overflow:auto;white-space:normal;max-width:100%;overflow-wrap:anywhere}.authored-content img{max-width:100%;height:auto}.authored-content h1,.authored-content h2,.authored-content h3{line-height:1.7}.authored-content p{line-height:2}.media-link-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.media-link-row input{flex:1;min-width:160px;width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px}.image-picker{display:flex;flex-direction:column;gap:10px}.image-picker>select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px}.access-tabs{display:flex;gap:12px;margin:24px 0}.signup-card>h1{font-size:28px}.form-message a{overflow-wrap:anywhere}.public .form-grid{min-width:0}
@media(max-width:760px){.public .doctor-card{grid-template-columns:minmax(0,1fr) minmax(100px,.7fr);gap:12px;padding:18px}.public .doctor-card .doctor-top{grid-column:1 / -1;grid-row:1;flex-direction:row;gap:12px}.public .doctor-card .doctor-details{grid-column:1;grid-row:2}.public .doctor-card .tags{grid-column:1;grid-row:3}.public .doctor-card .doctor-bottom{grid-column:2;grid-row:2 / span 2;flex-direction:column;align-items:flex-end}.public .doctor-card .avatar{width:62px;height:62px}.public .doctor-card .doctor-name{font-size:1.03rem}.city-only-search{gap:8px;padding:10px}.city-only-search .button{padding:10px 12px;min-width:auto}.category-tabs{gap:6px}.category-tabs button{font-size:12px;padding:10px}.hero-links .button{flex:1 1 40%;justify-content:center}}

/* Keep the original .cta-band design; change only its placement. */
.city-autocomplete{position:relative;flex:1;min-width:0}.city-autocomplete label{display:block}.city-suggestions{position:absolute;inset-inline:0;top:calc(100% + 8px);z-index:80;max-height:280px;overflow-y:auto;padding:6px;margin:0;list-style:none;border:1px solid #dce5eb;border-radius:12px;background:white;box-shadow:0 12px 30px #12205624;text-align:start;color:#122056}.city-suggestions [role=option]{padding:12px 14px;border-radius:8px;cursor:pointer;line-height:1.6}.city-suggestions [role=option]:hover,.city-suggestions [aria-selected=true]{background:#EEEFFD;color:#122056}.city-suggestions-empty{padding:14px;font-size:13px;color:#5B65DC}.city-only-search:focus-within{position:relative;z-index:20}
[data-media-upload-results]{border:1px solid #CDD1F4;border-radius:14px;background:#f7fbf9;padding:18px;margin:18px 0}[data-media-urls]{width:100%;box-sizing:border-box;resize:vertical;font:13px/1.8 "IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:white}.media-results-title{font-weight:700;color:#4D57C9}.media-upload-links{padding:0;margin:18px 0 0;list-style:none;display:grid;gap:10px}.media-upload-links a{display:grid;grid-template-columns:48px minmax(0,1fr);gap:2px 12px;align-items:center;padding:10px;border:1px solid #dce5eb;border-radius:10px;background:white}.media-upload-links img{width:48px;height:48px;object-fit:cover;border-radius:7px;grid-row:1 / span 2}.media-upload-links small{overflow-wrap:anywhere;color:#5B65DC;text-align:left;font-size:11px}.media-upload-links span{overflow-wrap:anywhere}
.doctor-select-all,.doctor-row-select{position:relative;cursor:pointer}.doctor-row-select{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px}.doctor-select-all input[type=checkbox],.doctor-row-select input[type=checkbox]{position:absolute!important;inset:50% auto auto 50%!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;opacity:0!important;cursor:pointer}.doctor-select-all>span[aria-hidden=true],.doctor-row-select>span[aria-hidden=true]{position:relative;display:inline-block;flex:0 0 18px;width:18px;height:18px;border:2px solid #738197;border-radius:4px;background:#e8edf4;box-shadow:inset 0 0 0 1px #fff;box-sizing:border-box;pointer-events:none}.doctor-select-all input[type=checkbox]:checked+span[aria-hidden=true],.doctor-row-select input[type=checkbox]:checked+span[aria-hidden=true]{border-color:#4d57c9;background:#4d57c9;box-shadow:none}.doctor-select-all input[type=checkbox]:checked+span[aria-hidden=true]::after,.doctor-row-select input[type=checkbox]:checked+span[aria-hidden=true]::after{content:"";position:absolute;right:4px;top:0;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.doctor-select-all input[type=checkbox]:focus-visible+span[aria-hidden=true],.doctor-row-select input[type=checkbox]:focus-visible+span[aria-hidden=true]{outline:3px solid #aeb4f5;outline-offset:2px}
/* Limited work-sample previews shared by every physician-card list. */
.public .doctor-card .doctor-portfolio{grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:minmax(150px,.55fr) minmax(0,1fr);align-items:center;gap:18px;border-top:1px solid #e5ece8;padding-top:16px;margin-top:2px}.doctor-portfolio-heading{display:grid;gap:8px}.doctor-portfolio-heading b{font-size:13px;color:#122056}.portfolio-more{font-size:11px;color:#4D57C9}.doctor-portfolio-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:450px;width:100%;justify-self:end}.portfolio-image{position:relative;display:block;min-width:0;overflow:hidden;border-radius:12px;border:1px solid #EEEFFD;background:#edf4ef;box-shadow:0 4px 12px #12205610;isolation:isolate}.portfolio-image img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .2s ease}.portfolio-image:hover img{transform:scale(1.04)}.portfolio-image:focus-visible{outline:3px solid #5B65DC;outline-offset:3px}.portfolio-image-zoom{position:absolute;inset-inline-end:6px;bottom:6px;background:#122056d9;color:white;border-radius:6px;line-height:1;padding:5px 7px;font-size:13px}.portfolio-full-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.portfolio-full-grid .portfolio-image img{aspect-ratio:4/3;max-height:300px}.portfolio-detail{scroll-margin-top:100px}.doctor-work-samples{margin:28px 0;padding:26px;border:1px solid #EEEFFD;background:white;border-radius:20px}.doctor-work-samples>h2{font-size:22px;margin:0 0 16px}.portfolio-lightbox{box-sizing:border-box;width:min(1050px,94vw);max-height:94vh;padding:16px;border:0;border-radius:18px;background:#003a43;color:white;box-shadow:0 20px 90px #0005}.portfolio-lightbox::backdrop{background:#00262ddb}.portfolio-lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 4px 8px;gap:12px}.portfolio-close{border:1px solid #5B65DC;border-radius:10px;background:transparent;color:white;font:28px/1.3 "IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;padding:0 12px;cursor:pointer}.portfolio-lightbox figure{margin:0;text-align:center}.portfolio-lightbox [data-portfolio-full]{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:8px;background:#00262d}.portfolio-lightbox figcaption{font-size:13px;padding:12px;line-height:1.8;overflow-wrap:anywhere}.portfolio-lightbox-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.portfolio-lightbox-controls button,.portfolio-lightbox-controls a{font:inherit;font-size:12px;padding:9px 12px;border:1px solid #5B65DC;border-radius:9px;background:#122056;color:white;text-decoration:none;cursor:pointer}.portfolio-lightbox-controls button:disabled{opacity:.45;cursor:default}
@media(max-width:760px){.public .doctor-card .doctor-portfolio{grid-row:4;grid-template-columns:1fr;gap:12px;padding-top:14px}.doctor-portfolio-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.doctor-portfolio-images{max-width:none;gap:8px}.doctor-portfolio-heading b{font-size:12px}.portfolio-more{font-size:10px}.portfolio-full-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.doctor-work-samples{padding:18px}.portfolio-lightbox{padding:12px}.portfolio-lightbox-controls{gap:7px}.portfolio-lightbox-controls button,.portfolio-lightbox-controls a{font-size:10px;padding:8px}.portfolio-lightbox [data-portfolio-full]{max-height:60vh}}
@media(prefers-reduced-motion:reduce){.portfolio-image img{transition:none}.portfolio-image:hover img{transform:none}}

/* Dedicated work-sample editor shared by the physician and administrator. */
.portfolio-editor-intro{line-height:2;margin:0 0 20px;color:#43586b;max-width:850px}
.portfolio-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin:16px 0 24px}
.portfolio-editor-item{min-width:0;border:1px solid #dce5e1;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 14px #12205608}
.portfolio-editor-item>img{display:block;width:100%;height:150px;object-fit:cover;background:#eef4f1}
.portfolio-editor-item>b,.portfolio-editor-item>small{display:block;padding:0 12px;overflow-wrap:anywhere}
.portfolio-editor-item>b{font-size:12px;color:#4D57C9;margin-top:12px}
.portfolio-editor-item>small{color:#5B65DC;margin:7px 0 12px;font-size:11px}
.portfolio-editor-actions{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 14px}
.portfolio-editor-actions button{font:inherit;font-size:11px;cursor:pointer;background:#f3f7f5;color:#122056;border:1px solid #EEEFFD;padding:6px 8px;border-radius:7px}
.portfolio-editor-actions button:disabled{opacity:.4;cursor:default}
.portfolio-editor-actions [data-portfolio-action="remove"]{color:#9c3434;background:#fff7f7}
.portfolio-description{border-top:1px solid #e2e8e5;padding-top:18px}.portfolio-description>summary{cursor:pointer;padding:8px 0 18px;font-weight:600}
[data-portfolio-count]{font-size:13px;color:#5B65DC;line-height:1.9}
@media(max-width:560px){.portfolio-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portfolio-editor-item>img{height:110px}.portfolio-editor-actions{padding:0 8px 10px}.portfolio-editor-item>b,.portfolio-editor-item>small{padding:0 8px}.portfolio-editor-actions button{font-size:10px}}


/* Media-library picker used by portfolio fields. */
html.media-modal-open,body.media-modal-open{overflow:hidden}
.media-picker-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;box-sizing:border-box}
.media-picker-modal[hidden]{display:none!important}
.media-modal-backdrop{position:absolute;inset:0;background:#00262db8;backdrop-filter:blur(3px)}
.media-modal-box{position:relative;z-index:1;width:min(1050px,96vw);max-height:min(820px,92vh);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #EEEFFD;border-radius:18px;box-shadow:0 28px 90px #0004;color:#122056}
.media-modal-header,.media-modal-toolbar,.media-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #EEEFFD}
.media-modal-header h3{margin:0;font-size:18px}.media-modal-header button{border:0;background:transparent;font:26px/1 "IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;cursor:pointer;padding:6px 10px;color:#5B65DC}
.media-modal-toolbar{background:#f8fbf9;flex-wrap:wrap}.media-modal-toolbar input{flex:1;min-width:220px;padding:11px 12px;border:1px solid #CDD1F4;border-radius:9px;background:white;font:inherit}.media-modal-toolbar small{color:#5B65DC}
.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;padding:18px;overflow:auto;min-height:250px}
.media-library-choice{position:relative;text-align:right;border:2px solid transparent;border-radius:13px;background:#f6f9f7;padding:7px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;color:#122056;font:inherit;min-width:0}
.media-library-choice:hover{transform:translateY(-1px);box-shadow:0 7px 20px #12205612}.media-library-choice.selected{border-color:#5B65DC;background:#EEEFFD}.media-library-choice:focus-visible{outline:3px solid #5B65DC;outline-offset:2px}
.media-library-choice img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px;background:#e7efeb}.media-library-choice span{display:block;font-size:11px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-library-choice i{position:absolute;inset-inline-start:13px;top:13px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #CDD1F4;font-style:normal;font-size:13px}.media-library-choice.selected i{background:#5B65DC;color:white;border-color:#5B65DC}
.media-library-empty{grid-column:1/-1;text-align:center;padding:50px 20px;color:#4D57C9}.media-modal-actions{border-top:1px solid #EEEFFD;border-bottom:0;justify-content:flex-end;background:#fff}
@media(max-width:620px){.media-picker-modal{padding:8px}.media-modal-box{width:100%;max-height:96vh;border-radius:14px}.media-modal-header,.media-modal-toolbar,.media-modal-actions{padding:12px}.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.media-modal-actions .button{flex:1;justify-content:center}}

/* v16: full-width, low-emphasis physician strip attached directly above footer */

/* v17: fixed pages editor */
.static-pages-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.static-page-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e1e9f0;border-radius:12px;background:#fff}.static-page-card>div:first-child{min-width:0;display:grid;gap:5px}.static-page-title{font-weight:700;color:#5B65DC;text-decoration:none}.static-page-title:hover{color:#5B65DC}.static-page-card code{font-size:11px;color:#8b9eaa;overflow-wrap:anywhere}.static-page-switcher{margin-bottom:20px}.static-page-switcher .button{font-size:11px}.seo-editor+.panel{margin-top:20px}@media(max-width:800px){.static-pages-grid{grid-template-columns:1fr}.static-page-card{align-items:flex-start;flex-direction:column}.static-page-card .row-actions{width:100%;flex-wrap:wrap}}

/* v18: WordPress-like media library popup for all media picker fields. */
.media-picker-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 10px}.upload-label.compact{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:9px 13px;min-height:39px;border-style:solid;background:#fff}.upload-label.compact input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.media-library-page{width:min(1180px,96vw);height:min(850px,92vh);max-height:92vh}.media-library-page .media-modal-header p{margin:5px 0 0;color:#4D57C9;font-size:12px;line-height:1.8}.media-library-page .media-modal-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center}.media-library-search{display:block}.media-library-search input{width:100%}.media-modal-upload{position:relative;overflow:hidden;white-space:nowrap}.media-modal-upload input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.media-library-page .media-library-grid{flex:1;align-content:start;background:#fbfdfc}.media-modal-selected{display:flex;gap:8px;align-items:center;min-height:74px;padding:10px 18px;overflow-x:auto;border-top:1px solid #EEEFFD;background:#f7faf8}.media-modal-selected-empty{font-size:12px;color:#5B65DC}.media-modal-selected-thumb{width:58px;flex:0 0 58px;display:grid;gap:4px}.media-modal-selected-thumb img{width:58px;height:46px;border-radius:7px;object-fit:cover;background:#EEEFFD;border:1px solid #EEEFFD}.media-modal-selected-thumb small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#5B65DC}.media-picker-selection{margin:12px 0 4px;padding:12px;border:1px solid #EEEFFD;border-radius:12px;background:#fafcfb}.media-picker-selection-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.media-picker-selection-head b{font-size:12px;color:#4D57C9}.media-picker-selection-head small,.media-picker-selection-empty{font-size:10px;color:#5B65DC}.media-picker-selection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px}.media-picker-selection-item{margin:0;min-width:0}.media-picker-selection-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;background:#EEEFFD}.media-picker-selection-item figcaption{font-size:9px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5B65DC}.portfolio-editor .media-picker-selection{display:none}.image-picker>select[hidden],.media-selection>label>select[hidden]{display:none!important}
@media(max-width:760px){.media-library-page .media-modal-toolbar{grid-template-columns:1fr 1fr}.media-library-page .media-library-search{grid-column:1/-1}.media-library-page .media-modal-toolbar>b{font-size:11px}.media-modal-selected{padding:8px 12px}.media-picker-selection-head{align-items:flex-start;flex-direction:column;gap:3px}}
/* v21: physician CTA strip now lives inside <footer>; keep the exact previous look */
.rich-footer.has-physician-cta{margin-top:18px!important}
/* v21: breadcrumb as nav > ol > li (schema.org BreadcrumbList) — same look as before */
.breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;list-style:none}
.breadcrumb li{display:inline-flex;align-items:center;gap:7px;margin:0;padding:0}
.breadcrumb li+li::before{content:"/";opacity:.8}
.breadcrumb[data-sep="›"] li+li::before{content:"›"}
.breadcrumb li meta{display:none}
.doctors-directory .directory-hero .breadcrumb li span{margin-inline:0}

/* SETTINGS_UI_REDESIGN_V1 */

/* =========================================================
   Site settings — calmer, grouped editor
   ========================================================= */

.cms [id^="site-content-"] .settings-modern-panel > .panel-body{
  padding:22px;
}

.settings-cluster-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-items:start;
}

.settings-cluster{
  position:relative;
  min-width:0;
  padding:18px;
  border:1px solid #e4ebf0;
  border-radius:16px;
  background:#fbfcfd;
}

.settings-cluster:hover{
  border-color:#d9e4ea;
}

.settings-cluster[data-layout="wide"],
.settings-cluster[data-layout="stack"],
.settings-cluster[data-layout="editor"],
.settings-cluster[data-layout="media"]{
  grid-column:1 / -1;
}

.settings-cluster[data-tone="accent"]{
  background:
    linear-gradient(145deg,rgba(0,109,125,.045),rgba(255,255,255,.92));
  border-color:#EEEFFD;
}

.settings-cluster[data-tone="soft"]{
  background:#f7f9fb;
}

.settings-cluster-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:15px;
  padding-bottom:12px;
  border-bottom:1px solid #edf1f4;
}

.settings-cluster-title{
  min-width:0;
}

.settings-cluster-kicker{
  display:block;
  margin-bottom:2px;
  color:#82939e;
  font-size:10px;
  line-height:1.7;
}

.settings-cluster h3{
  margin:0;
  color:#253f50;
  font-size:14px;
  line-height:1.8;
}

.settings-cluster-head p{
  max-width:440px;
  margin:2px 0 0;
  color:#8b9aa4;
  font-size:10px;
  line-height:1.9;
}

.settings-cluster-body{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
  min-width:0;
}

.settings-cluster[data-layout="stack"] .settings-cluster-body,
.settings-cluster[data-layout="editor"] .settings-cluster-body,
.settings-cluster[data-layout="media"] .settings-cluster-body{
  grid-template-columns:1fr;
}

.settings-cluster .field{
  margin:0;
  min-width:0;
}

.settings-cluster .field.full,
.settings-cluster .code-editor,
.settings-cluster .image-picker,
.settings-cluster .media-selection,
.settings-cluster .notice,
.settings-cluster .static-pages-grid{
  grid-column:1 / -1;
}

.settings-cluster .field > span{
  font-size:11px;
  color:#405766;
}

.settings-cluster .field > small,
.settings-cluster .code-editor > small{
  margin-top:2px;
  color:#8c9aa4;
  font-size:9px;
  line-height:1.9;
}

.settings-cluster input:not([type=checkbox]):not([type=file]),
.settings-cluster textarea,
.settings-cluster select{
  min-height:43px;
  border-color:#dfe7ec;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}

.settings-cluster textarea{
  min-height:94px;
}

.settings-cluster input:focus,
.settings-cluster textarea:focus,
.settings-cluster select:focus{
  border-color:#AEB4F4;
  outline:3px solid rgba(0,109,125,.08);
}

.settings-cluster .toggle{
  min-height:66px;
  margin:0;
  padding:12px 13px;
  border:1px solid #e4eaee;
  border-radius:11px;
  background:#fff;
}

.settings-cluster .toggle b{
  color:#3d5260;
  font-size:11px;
}

.settings-cluster .toggle small{
  color:#93a0a8;
  font-size:9px;
}

.settings-cluster .code-editor{
  margin:0;
  padding:14px;
  border:1px solid #e5ebef;
  border-radius:12px;
  background:#fff;
}

.settings-cluster .image-picker{
  margin:0;
  padding:14px;
  border:1px solid #e5ebef;
  border-radius:12px;
  background:#fff;
}

.settings-modern-panel{
  overflow:visible;
}

.settings-modern-panel > .panel-heading{
  padding-bottom:15px;
}

.settings-modern-panel > .panel-heading h2{
  font-size:17px;
}

/* Save button gets its own calm footer rather than mixing with fields */
.cms [id^="site-content-"] form.editor-form > .form-actions{
  position:sticky;
  bottom:12px;
  z-index:8;
  width:max-content;
  max-width:100%;
  margin:18px 0 0;
  margin-inline-start:auto;
  padding:7px;
  border:1px solid #dde5ea;
  border-radius:13px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 28px rgba(31,51,67,.08);
  backdrop-filter:blur(8px);
}

.cms [id^="site-content-"] form.editor-form > .form-actions .button{
  min-height:40px;
}

/* Top tabs slightly calmer */
#main > .category-editor > .category-tabs,
#site-content-theme .category-tabs,
#site-content-seo .category-tabs{
  gap:6px;
  padding:9px;
  border-color:#e2e9ee;
  border-radius:14px;
  background:#f7f9fb;
}

#main > .category-editor > .category-tabs button,
#site-content-theme .category-tabs button,
#site-content-seo .category-tabs button{
  min-height:39px;
  padding:8px 13px;
  border-color:transparent;
  background:transparent;
  color:#607480;
  font-size:11px;
}

#main > .category-editor > .category-tabs button[aria-selected=true],
#site-content-theme .category-tabs button[aria-selected=true],
#site-content-seo .category-tabs button[aria-selected=true]{
  background:#fff;
  color:#4D57C9;
  border-color:#dce5ea;
  box-shadow:0 3px 12px rgba(29,55,69,.05);
}

/* Do not visually overload the settings page with nested shadows */
.cms [id^="site-content-"] .panel{
  box-shadow:none;
}

.cms [id^="site-content-"] .settings-cluster .panel{
  border-radius:12px;
}

/* responsive */
@media(max-width:900px){
  .settings-cluster-grid{
    grid-template-columns:1fr;
  }

  .settings-cluster{
    grid-column:1 !important;
  }
}

@media(max-width:650px){
  .cms [id^="site-content-"] .settings-modern-panel > .panel-body{
    padding:14px;
  }
  .html-template-download{align-self:flex-start;min-height:42px;border-color:#ccd2ff!important;background:linear-gradient(135deg,#f9f9ff,#eeefff)!important;color:#26358b!important;font-weight:800!important}
  .html-template-download:before{content:'↓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e1e3ff;color:#4f5bd5;font-size:16px}
  .html-template-download:hover{border-color:#8790ed!important;box-shadow:0 8px 22px -16px #26358b;transform:translateY(-1px)}

  .settings-cluster{
    padding:14px;
    border-radius:14px;
  }

  .settings-cluster-body{
    grid-template-columns:1fr;
    gap:12px;
  }

  .settings-cluster .field,
  .settings-cluster .field.full,
  .settings-cluster .toggle,
  .settings-cluster .code-editor,
  .settings-cluster .image-picker,
  .settings-cluster .media-selection{
    grid-column:1;
  }

  .settings-cluster-head{
    display:block;
  }

  .cms [id^="site-content-"] form.editor-form > .form-actions{
    position:static;
    width:100%;
  }

  .cms [id^="site-content-"] form.editor-form > .form-actions .button{
    width:100%;
  }
}


/* DIRECTORY_CITY_HOME_STRUCTURE_V1 */

.doctor-name-heading{
  margin:0;
  padding:0;
  font:inherit;
  line-height:inherit;
}

  display:block;
}

.location-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 22px;
  padding:10px 14px;
  width:max-content;
  max-width:100%;
  border:1px solid #e1e8ec;
  border-radius:12px;
  background:#fff;
  color:#8998a1;
  font-size:12px;
  line-height:1.8;
}

.location-breadcrumb a{
  color:#5B65DC;
  text-decoration:none;
}

.location-breadcrumb a:hover{
  color:var(--primary);
}

.location-breadcrumb a[aria-current="page"]{
  color:var(--ink);
  font-weight:700;
}

.location-city-head,
.doctors-index-head{
  max-width:900px;
  margin:0 0 30px;
}

.location-city-head h1,
.doctors-index-head h1{
  margin:0;
  color:var(--ink);
  font-size:clamp(28px,4vw,44px);
  line-height:1.5;
}

.location-city-description{
  max-width:850px;
  margin:13px 0 0;
  color:#657986;
  font-size:15px;
  line-height:2;
}

.location-city-doctors,
.doctors-featured-section,
.doctors-cities-section{
  margin-top:34px;
}

.location-city-doctors > h2,
.doctors-featured-section > h2,
.doctors-cities-section > h2,
.city-areas > h2{
  margin:0 0 20px;
  color:var(--ink);
  font-size:clamp(21px,2.6vw,29px);
  line-height:1.7;
}

.city-areas{
  margin-top:38px;
  padding-top:28px;
  border-top:1px solid #e7edf0;
}

.location-extra-content{
  margin-top:36px;
}

.doctors-index-search{
  margin:22px 0 38px;
}

.doctors-city-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}

.doctors-city-grid .city-card{
  width:100%;
  margin:0;
}

@media(max-width:900px){
  .doctors-city-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .location-breadcrumb{
    width:100%;
    padding:9px 11px;
    font-size:11px;
  }

  .doctors-city-grid{
    grid-template-columns:1fr;
  }

  .location-city-head h1,
  .doctors-index-head h1{
    font-size:27px;
  }
}


/* DOCTOR_PHONE_CTA_V1 */

/*
   تماس در سایت اختصاصی پزشک باید مهم‌ترین اکشن صفحه باشد.
   این استایل فقط داخل .solo اعمال می‌شود.
*/

.solo .solo-actions a[href^="tel:"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:56px;
  padding:13px 24px;
  border:2px solid var(--primary);
  border-radius:14px;
  background:var(--primary);
  color:#fff !important;
  font-size:18px;
  font-weight:900;
  line-height:1.3;
  letter-spacing:.15px;
  box-shadow:
    0 12px 28px rgba(0,87,100,.22),
    0 2px 6px rgba(0,87,100,.14);
  transform:translateY(0);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.solo .solo-actions a[href^="tel:"]:hover{
  color:#fff !important;
  filter:brightness(.94);
  transform:translateY(-2px);
  box-shadow:
    0 16px 34px rgba(0,87,100,.29),
    0 4px 8px rgba(0,87,100,.16);
}

.solo .solo-actions a[href^="tel:"] svg{
  width:21px;
  height:21px;
  flex:0 0 21px;
}

/* شماره تماس داخل کارت آدرس */
.solo .info-card a[href^="tel:"],
.solo .contact-card a[href^="tel:"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:7px;
  padding:9px 15px;
  border:1px solid var(--primary);
  border-radius:11px;
  background:rgba(0,109,125,.08);
  color:var(--primary) !important;
  font-size:18px;
  font-weight:900;
  line-height:1.4;
  text-decoration:none !important;
  direction:ltr;
}

/* بنر تماس پایین سکشن‌ها */
.solo .cta-band a[href^="tel:"]{
  min-width:190px;
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:13px;
  background:var(--primary);
  color:#fff !important;
  font-size:18px;
  font-weight:900;
  box-shadow:0 10px 25px rgba(0,87,100,.22);
}

/* CTA رزرو نیز قوی باقی بماند اما تماس گم نشود */
.solo .solo-actions .button.primary{
  min-height:54px;
  padding-inline:22px;
  border-radius:14px;
  font-weight:800;
}

/* نسخه قدیمی/جایگزین صفحه پزشک */
.solo .mobile-sticky-actions{
  box-shadow:0 -8px 28px rgba(25,45,56,.13);
}

.solo .mobile-sticky-actions a[href^="tel:"]{
  background:var(--primary);
  color:#fff !important;
  font-weight:900;
}

@media(max-width:700px){

  .solo .solo-actions{
    gap:10px;
  }

  .solo .solo-actions a[href^="tel:"]{
    width:100%;
    min-height:58px;
    font-size:19px;
  }

  .solo .cta-band a[href^="tel:"]{
    width:100%;
    min-height:56px;
  }

  .solo .info-card a[href^="tel:"],
  .solo .contact-card a[href^="tel:"]{
    width:100%;
  }
}


/* HEADER_CUSTOM_MENU_V1 */

.custom-header-dropdown{
  position:relative;
}

.custom-header-menu{
  position:absolute;
  z-index:80;
  inset-inline-start:0;
  top:calc(100% + 9px);
  display:grid;
  min-width:220px;
  padding:9px;
  border:1px solid #e0e8ec;
  border-radius:14px;
  background:#fff;
  box-shadow:0 15px 42px rgba(28,51,65,.12);
}

.custom-header-menu a{
  display:block;
  padding:10px 12px;
  border-radius:9px;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
}

.custom-header-menu a:hover,
.custom-header-menu a[aria-current="page"]{
  background:rgba(0,109,125,.07);
  color:var(--primary);
}

.custom-header-parent-link{
  margin-bottom:5px;
  border-bottom:1px solid #edf1f3;
  border-radius:8px 8px 0 0 !important;
  color:var(--primary) !important;
  font-weight:700;
}

.treatments-static-content{
  margin-bottom:32px;
  padding:22px;
  border:1px solid #e5ebee;
  border-radius:16px;
  background:#fff;
}

@media(max-width:760px){
  .custom-header-menu{
    position:static;
    min-width:0;
    margin-top:8px;
    box-shadow:none;
  }
}

/* PUBLIC_RESPONSIVE_V3_START */

/* =========================================================
   PUBLIC RESPONSIVE SYSTEM
   فقط صفحات عمومی.
   CMS و Doctor Dashboard تحت تاثیر نیستند.
   ========================================================= */

body.public:not(.doctor-portal),
body.public:not(.doctor-portal) *{
  box-sizing:border-box;
}

body.public:not(.doctor-portal){
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overflow-x:clip;
}

body.public:not(.doctor-portal) main,
body.public:not(.doctor-portal) section,
body.public:not(.doctor-portal) article,
body.public:not(.doctor-portal) nav,
body.public:not(.doctor-portal) form,
body.public:not(.doctor-portal) header,
body.public:not(.doctor-portal) footer,
body.public:not(.doctor-portal) div{
  min-width:0;
}

body.public:not(.doctor-portal) img,
body.public:not(.doctor-portal) video,
body.public:not(.doctor-portal) canvas,
body.public:not(.doctor-portal) iframe{
  max-width:100%;
}

body.public:not(.doctor-portal) img,
body.public:not(.doctor-portal) video{
  height:auto;
}

body.public:not(.doctor-portal) iframe{
  width:100%;
}

body.public:not(.doctor-portal) pre,
body.public:not(.doctor-portal) code{
  max-width:100%;
  overflow-x:auto;
}

body.public:not(.doctor-portal) h1,
body.public:not(.doctor-portal) h2,
body.public:not(.doctor-portal) h3,
body.public:not(.doctor-portal) h4,
body.public:not(.doctor-portal) p,
body.public:not(.doctor-portal) li{
  overflow-wrap:break-word;
}

body.public:not(.doctor-portal) .container{
  width:min(1180px,calc(100% - 40px));
  max-width:100%;
  margin-inline:auto;
}


/* =========================================================
   DOCTOR PHONE CTA — PREMIUM
   ========================================================= */

body.solo a[href^="tel:"]{
  font-variant-numeric:tabular-nums;
  text-decoration:none !important;
}

/* شماره تماس داخل Header پزشک */
body.solo header a[href^="tel:"]{
  position:relative;
  isolation:isolate;
  overflow:hidden;

  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:9px;

  min-height:48px;
  padding:10px 18px !important;

  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:13px !important;

  background:
    linear-gradient(
      135deg,
      #102f49 0%,
      #4D57C9 54%,
      #5B65DC 100%
    ) !important;

  color:#fff !important;

  font-size:15px !important;
  font-weight:900 !important;
  line-height:1 !important;

  direction:ltr;
  unicode-bidi:isolate;

  box-shadow:
    0 10px 26px rgba(0,87,100,.22),
    inset 0 1px 0 rgba(255,255,255,.16) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

body.solo header a[href^="tel:"]:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);

  box-shadow:
    0 15px 34px rgba(0,87,100,.3),
    inset 0 1px 0 rgba(255,255,255,.2) !important;
}


/* همه شماره‌های تماس مهم در محتوای پزشک */
body.solo main a[href^="tel:"]{
  position:relative;
  isolation:isolate;
  overflow:hidden;

  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:12px;

  min-width:220px;
  min-height:60px;

  padding:14px 24px !important;

  border:0 !important;
  border-radius:16px !important;

  background:
    linear-gradient(
      135deg,
      #0e314e 0%,
      #4D57C9 45%,
      #5B65DC 100%
    ) !important;

  color:#fff !important;

  font-size:19px !important;
  font-weight:950 !important;
  line-height:1 !important;

  direction:ltr;
  unicode-bidi:isolate;

  letter-spacing:.35px;

  box-shadow:
    0 16px 38px rgba(0,87,100,.28),
    0 4px 10px rgba(0,87,100,.16),
    inset 0 1px 0 rgba(255,255,255,.18) !important;

  transform:translateY(0);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

body.solo main a[href^="tel:"]::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(255,255,255,.17) 45%,
      transparent 70%
    );

  transform:translateX(120%);
  pointer-events:none;

  animation:doctorCallShine 4.2s ease-in-out infinite;
}

body.solo main a[href^="tel:"]::after{
  content:"";
  position:absolute;
  inset:-5px;

  border:1px solid rgba(0,131,150,.25);
  border-radius:20px;

  pointer-events:none;

  animation:doctorCallPulse 2.6s ease-out infinite;
}

body.solo main a[href^="tel:"]:hover{
  transform:translateY(-3px) scale(1.015);
  filter:brightness(1.05);

  box-shadow:
    0 20px 44px rgba(0,87,100,.34),
    0 6px 14px rgba(0,87,100,.18),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

body.solo main a[href^="tel:"] svg{
  width:33px !important;
  height:33px !important;

  flex:0 0 33px;

  padding:7px;

  border-radius:50%;

  background:rgba(255,255,255,.15);

  color:#fff !important;
  stroke:#fff !important;
}


/* سایر CTAهای اصلی پزشک */
body.solo main .button.primary{
  min-height:56px;

  padding:13px 23px !important;

  border-radius:15px !important;

  font-size:16px;
  font-weight:850;

  box-shadow:
    0 11px 26px rgba(0,87,100,.16);
}


/* Phone card */
body.solo .info-card a[href^="tel:"],
body.solo .contact-card a[href^="tel:"],
body.solo .office-card a[href^="tel:"]{
  width:auto;
  min-width:190px;

  background:
    linear-gradient(
      135deg,
      #113d59,
      #5B65DC
    ) !important;

  color:#fff !important;
}


/* =========================================================
   DOCTOR HERO — CLEANER / STRONGER
   ========================================================= */

body.solo main{
  overflow:hidden;
}

body.solo main h1{
  text-wrap:balance;
}

body.solo main
:is(
  .solo-hero,
  .doctor-hero,
  .doctor-profile-hero,
  [class*="hero-grid"]
){
  max-width:100%;
}

body.solo main
:is(
  .hero-media,
  .solo-hero-media,
  .profile-photo,
  [class*="hero-image"],
  [class*="hero-media"]
)
img{
  display:block;
  width:100%;
  max-width:100%;
  object-fit:cover;
}


/* =========================================================
   GENERAL PUBLIC GRIDS
   ========================================================= */

body.public:not(.doctor-portal)
:is(
  .doctor-list,
  .similar-grid,
  .doctors-city-grid,
  .city-grid,
  .articles-grid,
  .article-grid,
  .treatments-grid,
  .treatment-grid,
  .trust-grid,
  .stats-grid,
  .chip-grid,
  .footer-grid
){
  min-width:0;
}

body.public:not(.doctor-portal) .doctor-card,
body.public:not(.doctor-portal) .city-card{
  width:100%;
  max-width:100%;
  min-width:0;
}

body.public:not(.doctor-portal)
:is(
  input,
  select,
  textarea,
  button
){
  max-width:100%;
}

body.public:not(.doctor-portal)
:is(
  input,
  select,
  textarea
){
  font-size:16px;
}


/* =========================================================
   TABLE / RICH CONTENT
   ========================================================= */

body.public:not(.doctor-portal) .prose table,
body.public:not(.doctor-portal) .prose-text table,
body.public:not(.doctor-portal) .rich-content table{
  max-width:100%;
}

body.public:not(.doctor-portal)
:is(
  .prose,
  .prose-text,
  .rich-content,
  .home-bottom-rich
)
img{
  height:auto !important;
}

body.public:not(.doctor-portal)
:is(
  .prose,
  .prose-text,
  .rich-content,
  .home-bottom-rich
)
iframe{
  width:100% !important;
  max-width:100% !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1024px){

  body.public:not(.doctor-portal) .container{
    width:min(100% - 32px,940px);
  }

  body.public:not(.doctor-portal)
  :is(
    .medical-hero-grid,
    .solo-hero-grid,
    .doctor-hero-grid,
    .doctor-profile-hero,
    [class*="hero-grid"]
  ){
    grid-template-columns:1fr !important;
  }

  body.public:not(.doctor-portal)
  :is(
    .doctor-list,
    .similar-grid,
    .doctors-city-grid,
    .city-grid,
    .articles-grid,
    .article-grid,
    .treatments-grid,
    .treatment-grid
  ){
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }

  body.public:not(.doctor-portal) .footer-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }

  body.public:not(.doctor-portal)
  :is(
    .page-heading,
    .section-heading
  ){
    gap:15px;
  }

  body.solo main
  :is(
    .hero-media,
    .solo-hero-media,
    .profile-photo,
    [class*="hero-image"],
    [class*="hero-media"]
  ){
    width:min(100%,520px);
    margin-inline:auto;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

  body.public:not(.doctor-portal){
    --mobile-edge:14px;
  }

  body.public:not(.doctor-portal) .container{
    width:calc(100% - 28px);
  }


  /* typography */

  body.public:not(.doctor-portal) h1{
    font-size:
      clamp(28px,8.6vw,38px) !important;

    line-height:1.45 !important;
  }

  body.public:not(.doctor-portal) h2{
    font-size:
      clamp(21px,6.2vw,28px);

    line-height:1.55;
  }

  body.public:not(.doctor-portal) h3{
    line-height:1.6;
  }


  /* page spacing */

  body.public:not(.doctor-portal) .page-space{
    padding-top:24px !important;
    padding-bottom:40px !important;
  }

  body.public:not(.doctor-portal) section{
    max-width:100%;
  }


  /* all main grids */

  body.public:not(.doctor-portal)
  :is(
    .doctor-list,
    .similar-grid,
    .doctors-city-grid,
    .city-grid,
    .articles-grid,
    .article-grid,
    .treatments-grid,
    .treatment-grid,
    .trust-grid,
    .stats-grid,
    .chip-grid,
    .footer-grid
  ){
    grid-template-columns:1fr !important;
  }


  /* Doctor card */

  body.public:not(.doctor-portal) .doctor-card{
    padding:16px !important;
    border-radius:16px;
  }

  body.public:not(.doctor-portal) .doctor-top{
    align-items:flex-start;
  }

  body.public:not(.doctor-portal) .doctor-bottom{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:9px !important;
  }

  body.public:not(.doctor-portal) .doctor-bottom .button{
    width:100%;
    justify-content:center;
    min-height:48px;
  }


  /* breadcrumbs */

  body.public:not(.doctor-portal)
  :is(
    .breadcrumb,
    .location-breadcrumb
  ){
    width:100%;
    max-width:100%;

    flex-wrap:wrap;

    overflow:hidden;
  }


  /* chips */

  body.public:not(.doctor-portal)
  :is(
    .chips,
    .tags,
    .hero-links,
    .profile-trust
  ){
    max-width:100%;
    flex-wrap:wrap !important;
  }


  /* forms / search */

  body.public:not(.doctor-portal)
  :is(
    .search-form,
    .toolbar,
    .form-grid
  ){
    grid-template-columns:1fr !important;
  }

  body.public:not(.doctor-portal)
  :is(
    .search-form,
    .toolbar
  )
  .button{
    width:100%;
    justify-content:center;
  }


  /* buttons */

  body.public:not(.doctor-portal) .button{
    min-height:44px;
  }


  /* public header */

  body.public:not(.doctor-portal) .header-inner{
    min-height:64px;
    gap:10px;
  }

  body.public:not(.doctor-portal) .nav-main{
    max-width:100%;
  }

  body.public:not(.doctor-portal)
  .cities-menu-grid{
    grid-template-columns:1fr !important;
  }

  body.public:not(.doctor-portal)
  .custom-header-menu{
    max-width:100%;
  }


  /* footer */

  body.public:not(.doctor-portal)
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start !important;
    gap:12px;
  }

  body.public:not(.doctor-portal)
  .footer-bottom nav{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }


  /* rich content tables */

  body.public:not(.doctor-portal)
  :is(
    .prose,
    .prose-text,
    .rich-content
  )
  table{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }


  /* ============================================
     DOCTOR MOBILE HERO
     ============================================ */

  body.solo main
  :is(
    .solo-hero,
    .doctor-hero,
    .doctor-profile-hero,
    [class*="hero-grid"]
  ){
    grid-template-columns:1fr !important;
    flex-direction:column !important;

    gap:24px !important;

    text-align:center;
  }

  body.solo main
  :is(
    .hero-media,
    .solo-hero-media,
    .profile-photo,
    [class*="hero-image"],
    [class*="hero-media"]
  ){
    width:min(100%,360px) !important;
    margin-inline:auto !important;
  }

  body.solo main
  :is(
    .hero-media,
    .solo-hero-media,
    .profile-photo,
    [class*="hero-image"],
    [class*="hero-media"]
  )
  img{
    width:100% !important;
    max-height:450px;
    object-fit:cover;
  }

  body.solo main h1{
    margin-inline:auto;
    text-align:center;
  }

  body.solo main
  :is(
    .breadcrumb,
    .profile-trust,
    .solo-actions,
    .profile-actions
  ){
    justify-content:center;
  }


  /* ============================================
     DOCTOR PHONE ON MOBILE:
     شماره Header تبدیل به CTA ثابت می‌شود
     ============================================ */

  body.solo{
    padding-bottom:
      calc(82px + env(safe-area-inset-bottom));
  }

  body.solo header a[href^="tel:"]{
    position:fixed !important;

    z-index:950;

    left:14px;
    right:14px;

    bottom:
      calc(10px + env(safe-area-inset-bottom));

    width:auto !important;
    min-width:0 !important;
    max-width:none !important;

    min-height:58px !important;

    padding:13px 18px !important;

    border-radius:17px !important;

    font-size:18px !important;

    box-shadow:
      0 17px 40px rgba(0,71,82,.34),
      0 4px 12px rgba(0,71,82,.18) !important;

    backdrop-filter:blur(12px);
  }

  body.solo main a[href^="tel:"]{
    width:100% !important;
    min-width:0 !important;

    min-height:60px;

    font-size:19px !important;
  }

  body.solo main
  :is(
    .solo-actions,
    .profile-actions
  ){
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100%;
    gap:10px !important;
  }

  body.solo main
  :is(
    .solo-actions,
    .profile-actions
  )
  .button{
    width:100%;
    justify-content:center;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:420px){

  body.public:not(.doctor-portal) .container{
    width:calc(100% - 22px);
  }

  body.public:not(.doctor-portal) h1{
    font-size:
      clamp(26px,9vw,34px) !important;
  }

  body.public:not(.doctor-portal)
  :is(
    .doctor-card,
    .panel,
    .content-card,
    .section-card
  ){
    border-radius:14px;
  }

  body.solo header a[href^="tel:"]{
    left:10px;
    right:10px;

    font-size:17px !important;
  }
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes doctorCallShine{
  0%,65%{
    transform:translateX(120%);
  }

  82%,100%{
    transform:translateX(-130%);
  }
}

@keyframes doctorCallPulse{
  0%{
    opacity:.35;
    transform:scale(.99);
  }

  70%{
    opacity:0;
    transform:scale(1.07);
  }

  100%{
    opacity:0;
    transform:scale(1.07);
  }
}

@media(prefers-reduced-motion:reduce){

  body.solo main a[href^="tel:"]::before,
  body.solo main a[href^="tel:"]::after{
    animation:none !important;
  }

  body.solo a[href^="tel:"]{
    transition:none !important;
  }
}

/* PUBLIC_RESPONSIVE_V3_END */

/* MOBILE_BOTTOM_NAV_V1_START */

/* =========================================================
   MOBILE BOTTOM NAV V2
   Search / Support / Cities
   ========================================================= */

.mobile-bottom-nav{
  display:none;
}


@media(max-width:700px){

  /* -------------------------------------------------------
     page safe spacing
     ------------------------------------------------------- */

  body.public:not(.doctor-portal){
    padding-bottom:
      calc(88px + env(safe-area-inset-bottom));
  }


  /* -------------------------------------------------------
     Search + cities no longer duplicated in header
     ------------------------------------------------------- */

  body.public:not(.doctor-portal)
  .site-header
  .nav-main
  > .nav-doctors,

  body.public:not(.doctor-portal)
  .site-header
  .nav-main
  > a[href="/doctors"],

  body.public:not(.doctor-portal)
  .site-header
  .nav-main
  > .cities-dropdown{
    display:none !important;
  }


  /* =======================================================
     MAIN NAV CONTAINER
     ======================================================= */

  body.public:not(.doctor-portal)
  .mobile-bottom-nav{

    position:fixed;

    z-index:900;

    left:12px;
    right:12px;

    bottom:
      calc(10px + env(safe-area-inset-bottom));

    display:grid;

    grid-template-columns:
      1fr 1fr 1fr;

    align-items:end;

    min-height:68px;

    padding:
      7px 8px 6px;

    border:
      1px solid rgba(30,54,68,.10);

    border-radius:22px;

    background:
      rgba(255,255,255,.94);

    box-shadow:
      0 18px 48px rgba(21,42,55,.16),
      0 4px 12px rgba(21,42,55,.08),
      inset 0 1px 0 rgba(255,255,255,.9);

    backdrop-filter:
      blur(22px)
      saturate(160%);

    -webkit-backdrop-filter:
      blur(22px)
      saturate(160%);

    isolation:isolate;
  }


  /* subtle top shine */
  body.public:not(.doctor-portal)
  .mobile-bottom-nav::before{

    content:"";

    position:absolute;

    inset:
      0 18px auto;

    height:1px;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(0,131,150,.26),
        transparent
      );

    pointer-events:none;
  }


  /* =======================================================
     NORMAL ITEMS
     ======================================================= */

  body.public:not(.doctor-portal)
  .mobile-bottom-item{

    position:relative;

    appearance:none;

    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:4px;

    min-width:0;
    min-height:54px;

    padding:5px 6px;

    border:0;

    border-radius:15px;

    background:transparent;

    color:#5B65DC;

    font:inherit;

    font-size:11px;
    font-weight:750;

    line-height:1.25;

    text-align:center;

    text-decoration:none;

    cursor:pointer;

    -webkit-tap-highlight-color:transparent;

    transition:
      background .18s ease,
      color .18s ease,
      transform .18s ease;
  }

  body.public:not(.doctor-portal)
  .mobile-bottom-item:active{
    transform:scale(.96);
  }


  /* active item */
  body.public:not(.doctor-portal)
  .mobile-bottom-item.active{

    color:
      var(--primary,#122056);

    background:
      rgba(0,131,150,.065);
  }


  /* bottom active dot */
  body.public:not(.doctor-portal)
  .mobile-bottom-item.active::after{

    content:"";

    position:absolute;

    bottom:2px;

    width:5px;
    height:5px;

    border-radius:50%;

    background:
      var(--primary,#122056);

    box-shadow:
      0 0 0 4px rgba(0,131,150,.08);
  }


  /* =======================================================
     ICONS
     ======================================================= */

  body.public:not(.doctor-portal)
  .mobile-bottom-icon{

    display:grid;

    place-items:center;

    width:31px;
    height:29px;

    color:currentColor;
  }

  body.public:not(.doctor-portal)
  .mobile-bottom-icon svg{

    width:22px;
    height:22px;

    stroke:currentColor;

    transition:
      transform .18s ease;
  }

  body.public:not(.doctor-portal)
  .mobile-bottom-item.active
  .mobile-bottom-icon svg{

    transform:
      translateY(-1px)
      scale(1.06);
  }


  /* =======================================================
     CENTER SUPPORT BUTTON
     ======================================================= */

  body.public:not(.doctor-portal)
  .mobile-bottom-support{

    overflow:visible;

    color:
      var(--primary,#122056);

    transform:
      translateY(-5px);
  }

  body.public:not(.doctor-portal)
  .mobile-bottom-support:active{

    transform:
      translateY(-5px)
      scale(.95);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-support-orb{

    position:relative;

    display:grid;

    place-items:center;

    width:47px;
    height:47px;

    margin-top:-16px;

    border:
      4px solid rgba(255,255,255,.96);

    border-radius:17px;

    background:
      linear-gradient(
        145deg,
        #123d59 0%,
        #5B65DC 58%,
        #5B65DC 100%
      );

    color:#fff;

    box-shadow:
      0 10px 24px rgba(0,87,100,.28),
      0 3px 8px rgba(0,87,100,.15),
      inset 0 1px 0 rgba(255,255,255,.22);

    transition:
      transform .2s ease,
      box-shadow .2s ease;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-support:hover
  .mobile-bottom-support-orb{

    transform:
      translateY(-2px);

    box-shadow:
      0 14px 28px rgba(0,87,100,.32),
      0 4px 10px rgba(0,87,100,.17),
      inset 0 1px 0 rgba(255,255,255,.25);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-support-orb::after{

    content:"";

    position:absolute;

    inset:-7px;

    border:
      1px solid rgba(0,131,150,.14);

    border-radius:22px;

    pointer-events:none;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-support-orb svg{

    width:22px;
    height:22px;

    stroke:#fff;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-support > span:last-child{

    margin-top:1px;

    color:
      var(--primary,#122056);

    font-weight:850;
  }


  /* =======================================================
     CITIES DETAILS
     ======================================================= */

  body.public:not(.doctor-portal)
  details.mobile-bottom-item{

    position:static;
  }


  body.public:not(.doctor-portal)
  details.mobile-bottom-item
  > summary{

    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:4px;

    width:100%;
    min-height:54px;

    list-style:none;

    cursor:pointer;
  }


  body.public:not(.doctor-portal)
  details.mobile-bottom-item
  > summary::-webkit-details-marker{

    display:none;
  }


  body.public:not(.doctor-portal)
  details.mobile-bottom-item[open]{

    color:
      var(--primary,#122056);

    background:
      rgba(0,131,150,.065);
  }


  /* =======================================================
     CITY BOTTOM SHEET
     ======================================================= */

  body.public:not(.doctor-portal)
  .mobile-city-sheet{

    position:fixed;

    z-index:920;

    left:12px;
    right:12px;

    bottom:
      calc(
        94px +
        env(safe-area-inset-bottom)
      );

    max-height:
      min(61vh,540px);

    overflow-y:auto;

    overscroll-behavior:contain;

    padding:
      17px 14px 14px;

    border:
      1px solid rgba(24,52,68,.10);

    border-radius:
      23px;

    background:
      rgba(255,255,255,.985);

    box-shadow:
      0 24px 70px rgba(20,42,56,.24),
      0 6px 18px rgba(20,42,56,.1);

    backdrop-filter:
      blur(24px)
      saturate(160%);

    -webkit-backdrop-filter:
      blur(24px)
      saturate(160%);

    animation:
      mobileCitySheetV2In
      .22s ease both;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet::before{

    content:"";

    display:block;

    width:42px;
    height:4px;

    margin:
      -7px auto 13px;

    border-radius:999px;

    background:#EEEFFD;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-head{

    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:12px;

    padding:
      0 4px 13px;

    border-bottom:
      1px solid #edf1f3;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-head > div{

    display:grid;

    gap:2px;

    text-align:right;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-head b{

    color:
      var(--ink,#0e2233);

    font-size:17px;
    font-weight:900;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-head small{

    color:#7b8b93;

    font-size:11px;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid{

    display:grid;

    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:8px;

    margin-top:13px;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid a{

    display:grid;

    grid-template-columns:
      29px
      minmax(0,1fr)
      17px;

    align-items:center;

    gap:8px;

    min-height:50px;

    padding:8px 10px;

    border:
      1px solid #e8edef;

    border-radius:13px;

    background:#fff;

    color:
      var(--ink,#0e2233);

    text-align:right;

    text-decoration:none;

    transition:
      border-color .18s ease,
      background .18s ease,
      transform .18s ease;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid a:active{

    transform:scale(.98);
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid a
  > span{

    display:grid;

    place-items:center;

    width:29px;
    height:29px;

    border-radius:9px;

    background:
      rgba(0,131,150,.075);

    color:
      var(--primary,#122056);
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid a
  > b{

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    font-size:13px;
    font-weight:850;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid
  a[aria-current="page"]{

    border-color:
      rgba(0,131,150,.3);

    background:
      rgba(0,131,150,.055);
  }


  body.public:not(.doctor-portal)
  .mobile-city-all{

    display:flex;

    align-items:center;
    justify-content:center;

    gap:8px;

    width:100%;
    min-height:47px;

    margin-top:11px;

    border-radius:13px;

    background:
      linear-gradient(
        135deg,
        #153d58,
        #5B65DC
      );

    color:#fff !important;

    font-size:13px;
    font-weight:850;

    text-decoration:none;

    box-shadow:
      0 8px 20px rgba(0,87,100,.15);
  }


  /* =======================================================
     SUPPORT WIDGET
     ======================================================= */

  /*
     خود widget باقی می‌ماند تا پنجره Chat کار کند.
     فقط launcher شناور قدیمی در موبایل مخفی می‌شود.
  */

  body.public:not(.doctor-portal)
  .support-widget
  > button[data-open-support],

  body.public:not(.doctor-portal)
  .support-widget
  .support-launcher,

  body.public:not(.doctor-portal)
  .support-widget
  .support-fab,

  body.public:not(.doctor-portal)
  .support-widget
  .support-trigger{

    display:none !important;
  }


  /*
     خود پنجره پشتیبانی باید بالای Bottom Navigation باز شود.
  */

  body.public:not(.doctor-portal)
  .support-widget{

    bottom:
      calc(
        92px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  /* =======================================================
     DOCTOR PAGE CTA POSITION
     ======================================================= */

  body.solo{

    padding-bottom:
      calc(
        162px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  body.solo
  header
  a[href^="tel:"]{

    bottom:
      calc(
        96px +
        env(safe-area-inset-bottom)
      ) !important;

    left:12px !important;
    right:12px !important;
  }


  body.public:not(.doctor-portal)
  .mobile-sticky-actions{

    bottom:
      calc(
        94px +
        env(safe-area-inset-bottom)
      ) !important;
  }

}


@media(max-width:390px){

  body.public:not(.doctor-portal)
  .mobile-bottom-nav{

    left:8px;
    right:8px;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet{

    left:8px;
    right:8px;
  }


  body.public:not(.doctor-portal)
  .mobile-city-sheet-grid{

    grid-template-columns:1fr;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-item{

    font-size:10.5px;
  }

}


@keyframes mobileCitySheetV2In{

  from{
    opacity:0;

    transform:
      translateY(15px)
      scale(.985);
  }

  to{
    opacity:1;

    transform:
      translateY(0)
      scale(1);
  }

}


@media(prefers-reduced-motion:reduce){

  body.public:not(.doctor-portal)
  .mobile-city-sheet{

    animation:none;
  }

}

/* MOBILE_BOTTOM_NAV_V1_END */

/* SETTINGS_BOX_SPACING_V2_START */

/* =========================================================
   SITE SETTINGS — VISUAL SEPARATION
   ========================================================= */

.cms .settings-content-spaced{
  position:relative;
  padding:10px 3px 32px;
}


/* ---------------------------------------------------------
   Main grouped boxes
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box{

  position:relative;

  margin:0 0 28px;

  padding:24px 24px 26px;

  border:
    1px solid
    #d9e2e7;

  border-radius:20px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fdfefe 100%
    );

  box-shadow:
    0 2px 4px rgba(26,45,58,.025),
    0 10px 30px rgba(26,45,58,.045);

  isolation:isolate;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}


/* A little more breathing room between cards */
.cms .settings-content-spaced
.settings-visual-box
+
.settings-visual-box{

  margin-top:32px;
}


/* subtle accent strip */
.cms .settings-content-spaced
.settings-visual-box::before{

  content:"";

  position:absolute;

  z-index:-1;

  top:16px;
  bottom:16px;

  inset-inline-start:-1px;

  width:4px;

  border-radius:
    0 5px 5px 0;

  background:
    linear-gradient(
      180deg,
      var(--primary,#122056),
      var(--accent,#5B65DC)
    );

  opacity:.72;
}


/* slightly stronger card on hover */
.cms .settings-content-spaced
.settings-visual-box:hover{

  border-color:#CDD1F4;

  box-shadow:
    0 3px 7px rgba(26,45,58,.035),
    0 14px 36px rgba(26,45,58,.065);
}


/* ---------------------------------------------------------
   Card heading separation
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box
:is(
 .settings-group-head,
 .settings-card-head,
 .settings-box-head
){

  margin:
    -2px 0 22px;

  padding-bottom:16px;

  border-bottom:
    1px solid #edf1f3;
}


.cms .settings-content-spaced
.settings-visual-box
:is(
 h2,
 h3
):first-child{

  margin-top:0;
}


/* ---------------------------------------------------------
   Fields inside each card
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box
.form-grid{

  gap:19px 18px;
}


.cms .settings-content-spaced
.settings-visual-box
.field{

  margin-bottom:4px;
}


.cms .settings-content-spaced
.settings-visual-box
.field > span:first-child{

  display:inline-block;

  margin-bottom:7px;

  color:#334b59;

  font-weight:700;
}


/* Controls become visually cleaner */
.cms .settings-content-spaced
.settings-visual-box
:is(
 input,
 textarea,
 select
){

  border-color:#EEEFFD;

  background:#fbfcfd;
}


.cms .settings-content-spaced
.settings-visual-box
:is(
 input,
 textarea,
 select
):focus{

  border-color:
    rgba(0,131,150,.55);

  background:#fff;

  box-shadow:
    0 0 0 3px
    rgba(0,131,150,.08);
}


/* ---------------------------------------------------------
   Give special/accent cards a bit more identity
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box[data-tone="accent"],
.cms .settings-content-spaced
.settings-visual-box.tone-accent{

  border-color:
    rgba(0,131,150,.22);

  background:
    linear-gradient(
      180deg,
      rgba(0,131,150,.035),
      #fff 34%
    );
}


/* ---------------------------------------------------------
   Prevent nested cards from becoming too heavy
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box
.settings-visual-box{

  margin-top:18px;
  margin-bottom:0;

  padding:19px;

  border-radius:15px;

  border-color:#e6ecef;

  box-shadow:none;

  background:#fafcfc;
}


.cms .settings-content-spaced
.settings-visual-box
.settings-visual-box::before{

  display:none;
}


/* ---------------------------------------------------------
   Last card
   --------------------------------------------------------- */

.cms .settings-content-spaced
.settings-visual-box:last-child{

  margin-bottom:10px;
}


/* =========================================================
   RESPONSIVE ADMIN SETTINGS
   ========================================================= */

@media(max-width:900px){

  .cms .settings-content-spaced
  .settings-visual-box{

    margin-bottom:22px;

    padding:20px;
  }

  .cms .settings-content-spaced
  .settings-visual-box
  +
  .settings-visual-box{

    margin-top:25px;
  }

}


@media(max-width:600px){

  .cms .settings-content-spaced{

    padding-inline:0;
  }

  .cms .settings-content-spaced
  .settings-visual-box{

    padding:17px 15px 19px;

    margin-bottom:18px;

    border-radius:16px;
  }

  .cms .settings-content-spaced
  .settings-visual-box
  +
  .settings-visual-box{

    margin-top:21px;
  }

  .cms .settings-content-spaced
  .settings-visual-box::before{

    top:14px;
    bottom:14px;

    width:3px;
  }

}

/* SETTINGS_BOX_SPACING_V2_END */

/* SETTINGS_DOCTORCARD_UI_V3_START */


/* =========================================================
   SETTINGS DASHBOARD — CLEANER CARD SEPARATION
   ========================================================= */

/*
   Remove the large white surface behind all setting cards.
   Cards themselves remain white and separated.
*/
.cms .settings-shell-transparent{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

.cms .settings-content-spaced{
  width:100%;
  max-width:none;
  padding:6px 0 34px !important;
  background:transparent !important;
}


/* Main cards */
.cms .settings-content-spaced
.settings-visual-box-v3{
  width:100%;
  max-width:none;

  margin:0 0 32px !important;

  padding:26px !important;

  border:1px solid #EEEFFD !important;
  border-radius:20px !important;

  background:#fff !important;

  box-shadow:
    0 1px 2px rgba(20,42,55,.025),
    0 9px 28px rgba(20,42,55,.045) !important;
}


/* Stronger separation between cards */
.cms .settings-content-spaced
.settings-visual-box-v3
+
.settings-visual-box-v3{
  margin-top:36px !important;
}


/* Keep the accent subtle */
.cms .settings-content-spaced
.settings-visual-box-v3::before{
  opacity:.82 !important;
}


/* =========================================================
   SETTINGS FIELD GRID
   ========================================================= */

.cms .settings-form-grid-v3{
  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:22px 20px !important;

  width:100%;
}


/* Large fields should NEVER waste half the card */
.cms .settings-form-grid-v3
.settings-field-wide{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
}


/* Textareas / code areas always use entire width */
.cms .settings-form-grid-v3
.field:has(textarea),

.cms .settings-form-grid-v3
:has(> .code-editor),

.cms .settings-form-grid-v3
:has(> [data-code-editor]),

.cms .settings-form-grid-v3
:has(> .static-page-card),

.cms .settings-form-grid-v3
:has(> table){
  grid-column:1 / -1 !important;
  width:100% !important;
}


/* Static pages specifically */
.cms [id^="site-content-pages"]
.settings-visual-box,

.cms [id^="site-content-pages"]
.settings-visual-box-v3,

.cms [id^="site-content-pages"]
.form-grid,

.cms [id^="site-content-pages"]
.field{
  max-width:none !important;
}


/*
 Static pages have long content fields.
 Let them use 100% of the available card.
*/
.cms [id^="site-content-pages"]
.settings-form-grid-v3{
  grid-template-columns:1fr !important;
}

.cms [id^="site-content-pages"]
.settings-form-grid-v3
> *{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
}


/* Other naturally large tabs */
.cms [id^="site-content-directory"]
textarea,

.cms [id^="site-content-sections"]
textarea,

.cms [id^="site-content-menu"]
textarea,

.cms [id^="site-content-footer"]
textarea{
  width:100% !important;
  max-width:none !important;
}


/* Better breathing room inside cards */
.cms .settings-visual-box-v3
.field{
  min-width:0;
}

.cms .settings-visual-box-v3
.field > span:first-child{
  margin-bottom:8px !important;
}

.cms .settings-visual-box-v3
:is(
 input,
 select,
 textarea
){
  width:100%;
}


/* No nested white sea */
.cms .settings-visual-box-v3
.settings-visual-box-v3{
  margin-top:20px !important;
  margin-bottom:0 !important;

  padding:20px !important;

  border-color:#EEEFFD !important;
  border-radius:15px !important;

  background:#f9fbfc !important;

  box-shadow:none !important;
}


/* =========================================================
   MOBILE DOCTOR CARD V3
   ========================================================= */

@media(max-width:700px){

  /*
   Entire list gets enough breathing room
  */
  body.public:not(.doctor-portal)
  .doctor-list{
    display:grid !important;

    grid-template-columns:1fr !important;

    gap:16px !important;

    width:100%;
  }


  /*
   Premium mobile card
  */
  body.public:not(.doctor-portal)
  .doctor-card{
    position:relative;

    overflow:hidden;

    width:100%;
    min-width:0;

    padding:15px !important;

    border:
      1px solid rgba(29,61,78,.10) !important;

    border-radius:21px !important;

    background:
      linear-gradient(
        160deg,
        #ffffff 0%,
        #ffffff 72%,
        rgba(0,131,150,.035) 100%
      ) !important;

    box-shadow:
      0 12px 32px rgba(24,48,62,.09),
      0 2px 7px rgba(24,48,62,.035) !important;
  }


  /*
   Premium top accent
  */
  body.public:not(.doctor-portal)
  .doctor-card::before{
    content:"";

    position:absolute;

    top:0;
    right:22px;
    left:22px;

    height:3px;

    border-radius:
      0 0 999px 999px;

    background:
      linear-gradient(
        90deg,
        transparent,
        #5B65DC,
        #122056,
        transparent
      );

    opacity:.72;
  }


  /* =======================================================
     Doctor identity
     ======================================================= */

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-top{
    display:grid !important;

    grid-template-columns:
      76px minmax(0,1fr);

    align-items:center !important;

    gap:13px !important;

    margin-bottom:13px;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .avatar{
    width:76px !important;
    height:76px !important;

    min-width:76px;

    overflow:hidden;

    border:
      3px solid #fff;

    border-radius:18px !important;

    background:
      linear-gradient(
        145deg,
        #edf6f5,
        #e8eef2
      );

    box-shadow:
      0 7px 18px rgba(0,87,100,.11),
      0 0 0 1px rgba(0,131,150,.10);
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .avatar img{
    width:100% !important;
    height:100% !important;

    object-fit:cover;

    border-radius:15px;
  }


  /* Doctor name */
  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-name-heading{
    margin:0 0 4px !important;

    font-size:17px !important;
    line-height:1.55 !important;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-name{
    color:#102c3f !important;

    font-size:17px !important;
    font-weight:900 !important;

    text-decoration:none;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-top p{
    margin:3px 0 0 !important;

    color:#667a85;

    font-size:12px;
    line-height:1.7;
  }


  /* verified badge */
  body.public:not(.doctor-portal)
  .doctor-card
  .verified{
    display:inline-flex;

    align-items:center;

    gap:4px;

    margin-top:7px;

    padding:4px 7px;

    border-radius:8px;

    background:
      rgba(0,131,150,.075);

    color:#4D57C9;

    font-size:10px;
    font-weight:800;
  }


  /* =======================================================
     Details become compact information pills
     ======================================================= */

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-details{
    display:flex !important;

    flex-wrap:wrap;

    gap:6px !important;

    margin:2px 0 11px;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-details > span{
    display:inline-flex;

    align-items:center;

    gap:4px;

    min-height:29px;

    padding:5px 8px;

    border:
      1px solid #e8edef;

    border-radius:9px;

    background:#f8fafb;

    color:#5B65DC;

    font-size:10.5px;
    font-weight:650;

    line-height:1.4;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-details svg{
    width:13px;
    height:13px;

    color:#5B65DC;
  }


  /* =======================================================
     Treatment tags
     ======================================================= */

  body.public:not(.doctor-portal)
  .doctor-card
  .tags{
    display:flex !important;

    flex-wrap:nowrap !important;

    gap:6px !important;

    width:100%;

    margin:0 0 14px;

    padding-bottom:2px;

    overflow-x:auto;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .tags::-webkit-scrollbar{
    display:none;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .tags > span{
    flex:0 0 auto;

    padding:5px 8px;

    border-radius:8px;

    background:
      rgba(25,61,91,.055);

    color:#526873;

    font-size:10px;
  }


  /* =======================================================
     CONTACT + VIEW BUTTONS SIDE BY SIDE
     ======================================================= */

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom{
    display:grid !important;

    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;

    gap:8px !important;

    width:100%;

    margin-top:4px;

    padding-top:13px;

    border-top:
      1px solid #edf1f3;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  .button{
    width:100% !important;

    min-width:0;

    min-height:46px !important;

    margin:0 !important;

    padding:9px 8px !important;

    border-radius:12px !important;

    font-size:12px !important;
    font-weight:850 !important;

    justify-content:center !important;

    white-space:nowrap;
  }


  /*
   CALL button
  */
  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  a[href^="tel:"]{
    order:1;

    border:
      1px solid transparent !important;

    background:
      linear-gradient(
        135deg,
        #113d59 0%,
        #5B65DC 60%,
        #5B65DC 100%
      ) !important;

    color:#fff !important;

    box-shadow:
      0 8px 18px rgba(0,87,100,.18) !important;
  }


  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  a[href^="tel:"] svg{
    width:17px;
    height:17px;

    color:#fff !important;
    stroke:#fff !important;
  }


  /*
   VIEW button
  */
  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  a:not([href^="tel:"]){
    order:2;

    border:
      1px solid #EEEFFD !important;

    background:#fff !important;

    color:#122056 !important;

    box-shadow:
      0 4px 11px rgba(25,61,91,.04);
  }


  /*
   Doctor has no phone:
   View button uses full width.
  */
  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  .button:only-child{
    grid-column:1 / -1;

    order:1;
  }


  /* Remove any excessive portfolio spacing */
  body.public:not(.doctor-portal)
  .doctor-card
  .portfolio-card{
    margin-top:12px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:390px){

  body.public:not(.doctor-portal)
  .doctor-card{
    padding:13px !important;

    border-radius:18px !important;
  }

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-top{
    grid-template-columns:
      68px minmax(0,1fr);

    gap:11px !important;
  }

  body.public:not(.doctor-portal)
  .doctor-card
  .avatar{
    width:68px !important;
    height:68px !important;

    min-width:68px;

    border-radius:16px !important;
  }

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-name,

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-name-heading{
    font-size:16px !important;
  }

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom{
    gap:7px !important;
  }

  body.public:not(.doctor-portal)
  .doctor-card
  .doctor-bottom
  .button{
    min-height:44px !important;

    font-size:11.5px !important;
  }

}


/* =========================================================
   ADMIN RESPONSIVE
   ========================================================= */

@media(max-width:800px){

  .cms .settings-form-grid-v3{
    grid-template-columns:1fr !important;
  }

  .cms .settings-form-grid-v3 > *{
    grid-column:1 / -1 !important;
    width:100% !important;
  }

  .cms .settings-content-spaced
  .settings-visual-box-v3{
    padding:19px !important;

    margin-bottom:24px !important;
  }

}

/* SETTINGS_DOCTORCARD_UI_V3_END */


/* doctor-card mobile row fix v4 */
@media (max-width:760px){
  .public .doctor-card{
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    padding:18px !important;
  }

  .public .doctor-card .doctor-top{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
  }

  .public .doctor-card .doctor-details{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:2px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .public .doctor-card .doctor-details::-webkit-scrollbar{
    display:none;
  }

  .public .doctor-card .doctor-details > span{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }

  .public .doctor-card .tags{
    grid-column:1 / -1 !important;
    grid-row:3 !important;
  }

  .public .doctor-card .doctor-bottom{
    grid-column:1 / -1 !important;
    grid-row:4 !important;
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    border-top:1px solid #edf1f5;
    padding-top:14px !important;
    margin-top:4px !important;
  }

  .public .doctor-card .doctor-bottom .button{
    width:100% !important;
    min-width:0 !important;
    min-height:46px !important;
    justify-content:center !important;
    padding-inline:12px !important;
  }

  .public .doctor-card .doctor-portfolio{
    grid-row:5 !important;
  }
}

/* SETTINGS_LAYOUT_V4_CSS_START */


/* =========================================================
   SETTINGS TOP MENU — RESTORED
   ========================================================= */

.cms .category-editor{
  width:100%;
  max-width:none;
  background:transparent;
}


/*
 Main settings navigation:
 one clean horizontal bar, like before.
*/
.cms .category-editor
> .category-tabs,

.cms .settings-main-tabs-v4{

  display:flex !important;

  flex-wrap:nowrap !important;

  align-items:center;

  gap:7px !important;

  width:100% !important;
  max-width:100% !important;

  margin:0 0 26px !important;

  padding:10px !important;

  overflow-x:auto;
  overflow-y:hidden;

  border:
    1px solid #dce5eb !important;

  border-radius:15px !important;

  background:#fff !important;

  box-shadow:
    0 2px 8px rgba(24,49,65,.025) !important;

  scrollbar-width:thin;

  position:relative;

  z-index:2;
}


.cms .category-editor
> .category-tabs
> button,

.cms .settings-main-tabs-v4
> button{

  flex:0 0 auto;

  min-height:42px;

  padding:9px 15px !important;

  border:
    1px solid transparent !important;

  border-radius:9px !important;

  background:transparent !important;

  color:#687f8e !important;

  font-size:12px !important;

  font-weight:650 !important;

  white-space:nowrap;

  box-shadow:none !important;

  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}


.cms .category-editor
> .category-tabs
> button:hover,

.cms .settings-main-tabs-v4
> button:hover{

  background:#f3f7f9 !important;

  color:#5B65DC !important;
}


.cms .category-editor
> .category-tabs
> button[aria-selected="true"],

.cms .settings-main-tabs-v4
> button[aria-selected="true"]{

  border-color:#122056 !important;

  background:#122056 !important;

  color:#fff !important;

  box-shadow:
    0 5px 12px rgba(25,61,91,.12) !important;
}


/* =========================================================
   TAB CONTENT — FULL DASHBOARD WIDTH
   ========================================================= */

.cms [id^="site-content-"],
.cms .settings-tab-panel-v4{

  width:100% !important;
  max-width:none !important;

  margin:0 !important;

  padding:0 !important;

  background:transparent !important;

  border:0 !important;

  box-shadow:none !important;
}


/*
 app.css has .editor-form{max-width:920px}
 This is the main reason for the empty half of the page.
*/
.cms [id^="site-content-"]
> form.editor-form,

.cms .settings-fullwidth-form-v4{

  width:100% !important;

  max-width:none !important;

  min-width:0;

  margin:0 !important;

  background:transparent !important;

  border:0 !important;

  box-shadow:none !important;
}


/* =========================================================
   REMOVE THE LARGE WHITE OUTER SHELL
   ========================================================= */

.cms .settings-outer-shell-v4{

  width:100% !important;

  max-width:none !important;

  margin:0 !important;

  padding:0 !important;

  overflow:visible !important;

  border:0 !important;

  border-radius:0 !important;

  background:transparent !important;

  box-shadow:none !important;
}


/*
 Keep title but don't draw a giant white strip around it.
*/
.cms .settings-outer-shell-v4
> .panel-heading{

  margin:0 0 18px !important;

  padding:0 2px 14px !important;

  border:0 !important;

  border-bottom:
    1px solid rgba(130,151,163,.18) !important;

  background:transparent !important;

  box-shadow:none !important;
}


.cms .settings-outer-shell-v4
> .panel-heading h2{

  color:#183c4f;

  font-size:17px;
}


/*
 The body is only a transparent holder.
 Actual grouped cards remain white.
*/
.cms .settings-outer-shell-v4
> .panel-body{

  width:100% !important;

  max-width:none !important;

  margin:0 !important;

  padding:0 !important;

  background:transparent !important;

  border:0 !important;

  box-shadow:none !important;
}


/* =========================================================
   GROUP CARDS — FULL WIDTH, ON DASHBOARD BACKGROUND
   ========================================================= */

.cms .settings-content-spaced{

  width:100% !important;

  max-width:none !important;

  margin:0 !important;

  padding:0 0 32px !important;

  background:transparent !important;
}


.cms .settings-content-spaced
.settings-visual-box,

.cms .settings-content-spaced
.settings-visual-box-v3{

  width:100% !important;

  max-width:none !important;

  box-sizing:border-box;
}


/*
 If a grouped settings card sits inside a two-column grid,
 the CARD spans the full row.
 Fields inside that card may still be arranged in columns.
*/
.cms .settings-form-grid-v3
> .settings-visual-box,

.cms .settings-form-grid-v3
> .settings-visual-box-v3{

  grid-column:1 / -1 !important;

  width:100% !important;

  max-width:none !important;
}


/* =========================================================
   HERO / IDENTITY TAB — SPECIFIC FIX FROM SCREENSHOT
   ========================================================= */

.cms #site-content-hero,
.cms #site-content-hero
> form,

.cms #site-content-hero
.panel,

.cms #site-content-hero
.panel-body{

  width:100% !important;

  max-width:none !important;
}


/*
 Main grouped blocks in this tab must span all available width.
*/
.cms #site-content-hero
.settings-visual-box,

.cms #site-content-hero
.settings-visual-box-v3{

  width:100% !important;

  max-width:none !important;

  grid-column:1 / -1 !important;
}


/* Logo/image picker also uses full card width */
.cms #site-content-hero
.image-picker{

  width:100% !important;

  max-width:none !important;

  box-sizing:border-box;
}


/* =========================================================
   STATIC PAGES
   ========================================================= */

.cms #site-content-pages,
.cms #site-content-pages
> form,

.cms #site-content-pages
.panel,

.cms #site-content-pages
.panel-body{

  width:100% !important;

  max-width:none !important;
}


.cms #site-content-pages
.static-pages-grid{

  width:100% !important;

  max-width:none !important;
}


/* =========================================================
   SAVE BAR
   ========================================================= */

/*
 Sticky save bar remains functional, but does not create
 another white outer container.
*/
.cms [id^="site-content-"]
.editor-form
> .form-actions{

  width:100%;

  box-sizing:border-box;
}


/* =========================================================
   RESPONSIVE CMS
   ========================================================= */

@media(max-width:900px){

  .cms .category-editor
  > .category-tabs{

    margin-bottom:20px !important;

    padding:8px !important;
  }


  .cms .category-editor
  > .category-tabs
  > button{

    min-height:39px;

    padding:8px 12px !important;

    font-size:11px !important;
  }

}


/* SETTINGS_LAYOUT_V4_CSS_END */

/* SETTINGS_TOPMENU_FIX_START */

/* منوی اصلی تنظیمات سایت - حالت باکس‌های کنار هم بدون اسکرول */
.cms .category-editor > .category-tabs,
.cms .settings-main-tabs-v4{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  gap:12px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 26px !important;
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* هر آیتم منو مثل قبل داخل یک باکس مستقل */
.cms .category-editor > .category-tabs > button,
.cms .settings-main-tabs-v4 > button{
  flex:1 1 0 !important;
  min-width:0 !important;
  min-height:52px !important;
  padding:12px 14px !important;
  border:1px solid #d8e1e8 !important;
  border-radius:14px !important;
  background:#ffffff !important;
  color:#35505f !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  white-space:normal !important;
  text-align:center !important;
  box-shadow:0 4px 14px rgba(17,44,62,.05) !important;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

/* هاور */
.cms .category-editor > .category-tabs > button:hover,
.cms .settings-main-tabs-v4 > button:hover{
  background:#f5f9fb !important;
  color:#183c4f !important;
  border-color:#b8cad6 !important;
  box-shadow:0 8px 18px rgba(17,44,62,.08) !important;
  transform:translateY(-1px) !important;
}

/* آیتم فعال */
.cms .category-editor > .category-tabs > button[aria-selected="true"],
.cms .settings-main-tabs-v4 > button[aria-selected="true"]{
  background:#1d4668 !important;
  color:#ffffff !important;
  border-color:#1d4668 !important;
  box-shadow:0 10px 24px rgba(29,70,104,.16) !important;
}

/* حذف اسکرول بار اگر از استایل قبلی مانده باشد */
.cms .category-editor > .category-tabs::-webkit-scrollbar,
.cms .settings-main-tabs-v4::-webkit-scrollbar{
  display:none !important;
}

/* اگر تعداد تب‌ها زیاد شد در عرض‌های کمتر، فقط در داشبوردهای کوچک کمی فشرده‌تر شود */
@media (max-width: 1280px){
  .cms .category-editor > .category-tabs > button,
  .cms .settings-main-tabs-v4 > button{
    font-size:12px !important;
    padding:11px 10px !important;
  }
}

/* در موبایل داشبورد اگر جا نشد، اجازه‌ی رفتن به دو ردیف داشته باشد */
@media (max-width: 900px){
  .cms .category-editor > .category-tabs,
  .cms .settings-main-tabs-v4{
    flex-wrap:wrap !important;
  }

  .cms .category-editor > .category-tabs > button,
  .cms .settings-main-tabs-v4 > button{
    flex:1 1 calc(50% - 8px) !important;
  }
}

/* SETTINGS_TOPMENU_FIX_END */

/* CMS_TOGGLE_SWITCH_V1_START */

/* =========================================================
   CMS SETTINGS TOGGLE / SWITCH
   ========================================================= */

/*
   Toggle row:
   text on one side, fixed-size switch on the other.
*/
.cms [id^="site-content-"] .toggle{
  display:grid !important;

  grid-template-columns:
    minmax(0,1fr) 46px !important;

  align-items:center !important;

  column-gap:18px !important;
  row-gap:4px !important;

  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;

  min-height:54px;

  margin:8px 0 !important;

  padding:8px 4px !important;

  box-sizing:border-box;
}


/* text container */
.cms [id^="site-content-"] .toggle > :not(input){
  min-width:0 !important;
  max-width:100% !important;

  grid-column:1 !important;

  overflow-wrap:anywhere;
}


/* title */
.cms [id^="site-content-"] .toggle b{
  display:block !important;

  margin:0 !important;

  color:#294757;

  font-size:13px !important;
  font-weight:750 !important;

  line-height:1.8 !important;
}


/* help text */
.cms [id^="site-content-"] .toggle small{
  display:block !important;

  margin-top:3px !important;

  color:#80919b !important;

  font-size:10.5px !important;
  font-weight:400 !important;

  line-height:1.9 !important;
}


/* =========================================================
   SWITCH ITSELF
   Overrides previous width:100% input rules.
   ========================================================= */

.cms [id^="site-content-"]
.toggle
input[type="checkbox"]{

  appearance:none !important;
  -webkit-appearance:none !important;

  position:relative !important;

  grid-column:2 !important;
  grid-row:1 !important;

  justify-self:end !important;
  align-self:center !important;

  flex:0 0 46px !important;

  width:46px !important;
  min-width:46px !important;
  max-width:46px !important;

  height:26px !important;
  min-height:26px !important;
  max-height:26px !important;

  margin:0 !important;
  padding:0 !important;

  border:1px solid #cbd6dc !important;
  border-radius:999px !important;

  background:#EEEFFD !important;

  box-shadow:
    inset 0 1px 3px rgba(22,46,60,.08) !important;

  cursor:pointer;

  outline:none;

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease !important;
}


/* knob */
.cms [id^="site-content-"]
.toggle
input[type="checkbox"]::before{

  content:"" !important;

  position:absolute !important;

  top:3px !important;
  right:3px !important;

  width:18px !important;
  height:18px !important;

  border-radius:50% !important;

  background:#fff !important;

  box-shadow:
    0 2px 5px rgba(20,42,55,.18) !important;

  transform:translateX(0) !important;

  transition:
    transform .18s ease !important;
}


/* ON */
.cms [id^="site-content-"]
.toggle
input[type="checkbox"]:checked{

  border-color:#5B65DC !important;

  background:
    linear-gradient(
      135deg,
      #5B65DC,
      #5B65DC
    ) !important;

  box-shadow:
    inset 0 1px 2px rgba(0,0,0,.06),
    0 0 0 1px rgba(0,131,150,.05) !important;
}


.cms [id^="site-content-"]
.toggle
input[type="checkbox"]:checked::before{

  transform:translateX(-20px) !important;
}


/* keyboard accessibility */
.cms [id^="site-content-"]
.toggle
input[type="checkbox"]:focus-visible{

  outline:
    3px solid rgba(0,131,150,.18) !important;

  outline-offset:3px !important;
}


/* disabled */
.cms [id^="site-content-"]
.toggle
input[type="checkbox"]:disabled{

  opacity:.55;

  cursor:not-allowed;
}


/* Don't allow generic full-width input CSS to stretch checkboxes */
.cms .settings-visual-box
input[type="checkbox"],

.cms .settings-visual-box-v3
input[type="checkbox"],

.cms .settings-form-grid-v3
input[type="checkbox"]{

  width:46px !important;
  min-width:46px !important;
  max-width:46px !important;

  height:26px !important;
}


/* =========================================================
   SMALL ADMIN SCREENS
   ========================================================= */

@media(max-width:700px){

  .cms [id^="site-content-"] .toggle{

    grid-template-columns:
      minmax(0,1fr) 44px !important;

    column-gap:12px !important;

    min-height:52px;

    padding-block:7px !important;
  }


  .cms [id^="site-content-"]
  .toggle
  input[type="checkbox"]{

    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;

    height:25px !important;
    min-height:25px !important;
    max-height:25px !important;
  }


  .cms [id^="site-content-"]
  .toggle
  input[type="checkbox"]::before{

    width:17px !important;
    height:17px !important;
  }


  .cms [id^="site-content-"]
  .toggle
  input[type="checkbox"]:checked::before{

    transform:translateX(-19px) !important;
  }

}

/* CMS_TOGGLE_SWITCH_V1_END */



/* BLEPHAROPLASTY_MASHHAD_RESPONSIVE_REFINEMENT_V4 */

.solo-menu-button{
  display:none;
}


/* ================================================
   TABLET / SMALL DESKTOP
   ================================================ */

@media(max-width:900px){

  body.solo .site-header .header-inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px 12px;
    position:relative;
  }

  body.solo .site-header .brand,
  body.solo .site-header .brand>*{
    min-width:0;
    max-width:100%;
  }

  body.solo .solo-menu-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    min-width:44px;
    height:44px;
    padding:0;
    justify-self:end;
  }

  body.solo .solo-nav{
    display:none!important;
    grid-column:1/-1;
    width:100%;
    min-width:0;
    margin:0;
    padding:8px;
    border:1px solid var(--line,#e5e7eb);
    border-radius:16px;
    background:var(--surface,#fff);
    box-shadow:0 18px 42px rgba(15,23,42,.12);
    overflow:hidden;
  }

  body.solo .solo-nav.is-open{
    display:grid!important;
    grid-template-columns:1fr;
    gap:4px;
  }

  body.solo .solo-nav a{
    display:flex;
    align-items:center;
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border-radius:10px;
    white-space:normal;
  }

  body.solo .site-header .header-actions{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

}


/* ================================================
   PHONE
   ================================================ */

@media(max-width:700px){

  body.public{
    max-width:100%;
    overflow-x:hidden;
    padding-bottom:0!important;
  }


  /* ----------------------------------------------
     REMOVE BOTTOM FIXED CONTROLS
     ---------------------------------------------- */

  body.public .mobile-bottom-nav,
  body.public .mobile-sticky-actions{
    display:none!important;
  }


  /* ----------------------------------------------
     SOLO DOCTOR HEADER
     ---------------------------------------------- */

  body.solo .site-header .header-actions{
    display:none!important;
  }

  body.solo header a[href^="tel:"]{
    position:static!important;
    inset:auto!important;
    width:auto!important;
    height:auto!important;
    transform:none!important;
    box-shadow:none!important;
  }


  /* ----------------------------------------------
     SOLO DOCTOR HERO

     Final mobile visual order:
     heading
     image
     description
     information cards
     contact/actions
     ---------------------------------------------- */

  body.solo .solo-hero>.container{
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    min-width:0;
  }

  body.solo .solo-hero-copy{
    display:contents;
  }

  body.solo .solo-hero-copy>.eyebrow{
    order:1;
  }

  body.solo .solo-hero-copy>.breadcrumb,
  body.solo .solo-hero-copy>nav.breadcrumb{
    order:2;
  }

  body.solo .solo-hero-copy>h1{
    order:3;
    margin:0;
    font-size:clamp(1.8rem,8vw,2.65rem);
    line-height:1.2;
    overflow-wrap:anywhere;
  }

  body.solo .solo-portrait{
    order:4;
    width:100%;
    min-width:0;
    margin:0;
  }

  body.solo .solo-portrait>img,
  body.solo .solo-portrait>.portrait-placeholder{
    display:block;
    width:100%;
    max-width:520px;
    height:auto;
    max-height:520px;
    margin-inline:auto;
    object-fit:cover;
  }

  body.solo .solo-hero-copy>p{
    order:5;
    margin:0;
    max-width:none;
    font-size:1rem;
    line-height:1.9;
  }

  body.solo .solo-hero-copy>.hero-marks{
    order:6;
    width:100%;
    min-width:0;
  }

  body.solo .solo-hero-copy>.portrait-cards{
    order:7;
  }

  body.solo .portrait-cards{
    position:static!important;
    inset:auto!important;
    transform:none!important;

    display:grid!important;
    grid-template-columns:1fr!important;

    gap:10px;

    width:100%!important;
    max-width:none!important;

    margin:0!important;
  }

  body.solo .portrait-cards>*{
    width:100%;
    min-width:0;
    margin:0;
  }

  body.solo .solo-actions{
    order:8;

    display:grid!important;
    grid-template-columns:1fr;

    gap:10px;

    width:100%;
    margin:0;
  }

  body.solo .solo-actions .button,
  body.solo .solo-actions a,
  body.solo .solo-actions button{
    width:100%;
    min-height:46px;
    justify-content:center;
  }


  /* ----------------------------------------------
     GENERAL DOCTOR / CONTENT RESPONSIVENESS
     ---------------------------------------------- */

  .doctor-reference,
  .doctor-profile-hero,
  .doctor-card,
  .doctor-details,
  .quick-summary,
  .office-card,
  .prose-text,
  .article-body{
    min-width:0;
    max-width:100%;
  }

  .doctor-profile-hero{
    grid-template-columns:1fr!important;
  }

  .profile-actions,
  .doctor-bottom,
  .row-actions,
  .form-actions{
    flex-wrap:wrap;
  }


  /* ----------------------------------------------
     /DOCTORS LOAD MORE
     ---------------------------------------------- */

  .load-more-pager:not([hidden]){
    display:grid!important;
    grid-template-columns:1fr;

    gap:10px;

    width:100%;
    margin-top:18px;

    text-align:center;
  }

  .load-more-pager [data-load-more]{
    width:100%;
    min-height:46px;
    justify-content:center;
  }

  .doctors-index-page,
  .doctors-directory{
    min-width:0;
  }

  .doctors-index-page .doctor-list,
  .doctors-directory .doctor-list{
    gap:12px;
  }


  /* ----------------------------------------------
     MOBILE FOOTER
     ---------------------------------------------- */

  .rich-footer,
  .rich-footer .container,
  .rich-footer .footer-grid,
  .rich-footer .footer-brand,
  .rich-footer .footer-column,
  .rich-footer .footer-contact,
  .rich-footer .footer-bottom{
    min-width:0;
    max-width:100%;
  }

  .rich-footer{
    overflow:hidden;
  }

  .rich-footer>.container{
    padding-top:28px!important;
    padding-bottom:22px!important;
  }

  .rich-footer .footer-grid{
    display:grid!important;
    grid-template-columns:1fr!important;

    gap:22px!important;

    padding-block:24px!important;
  }

  .rich-footer .footer-column nav,
  .rich-footer .social-row,
  .rich-footer .footer-bottom nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
  }

  .rich-footer .footer-bottom{
    display:grid!important;
    grid-template-columns:1fr;

    gap:12px;

    padding-top:18px!important;
  }

  .rich-footer a,
  .rich-footer p,
  .rich-footer small,
  .rich-footer .footer-phone{
    overflow-wrap:anywhere;
  }

}


/* ================================================
   SMALL PHONES
   ================================================ */

@media(max-width:420px){

  body.solo .solo-hero>.container{
    gap:13px;
  }

  body.solo .solo-hero-copy>h1{
    font-size:clamp(1.65rem,9vw,2.15rem);
  }

  .rich-footer>.container{
    padding-inline:16px!important;
  }

  .rich-footer .footer-grid{
    gap:18px!important;
  }

}

/* BLEPHAROPLASTY_MASHHAD_MOBILE_APP_DOCK_V1 */


/*
 * Desktop / tablet:
 * app dock remains a mobile-only UI.
 */
.mobile-bottom-nav{
  --dock-primary:var(--primary,#063b5c);
  --dock-accent:var(--accent,#0797a8);
}


/* =================================================
   MOBILE APPLICATION DOCK
   ================================================= */

@media(max-width:700px){

  /*
   * V4 deliberately disabled the old mobile bar.
   * V5 turns the single shared bar back on with
   * one unified implementation.
   */
  body.public:not(.doctor-portal)
  .mobile-bottom-nav{
    display:grid!important;

    grid-template-columns:
      repeat(3,minmax(0,1fr));

    align-items:end;

    position:fixed!important;

    left:50%!important;
    right:auto!important;

    bottom:
      max(
        8px,
        env(safe-area-inset-bottom)
      )!important;

    transform:
      translateX(-50%)!important;

    width:
      min(
        calc(100vw - 20px),
        480px
      )!important;

    min-height:72px;

    padding:
      7px
      8px
      8px!important;

    margin:0!important;

    border:
      1px solid
      rgba(7,54,78,.12);

    border-radius:24px;

    background:
      rgba(255,255,255,.94);

    box-shadow:
      0 15px 50px
      rgba(5,34,52,.18),
      0 2px 10px
      rgba(5,34,52,.08);

    backdrop-filter:
      blur(18px)
      saturate(1.35);

    -webkit-backdrop-filter:
      blur(18px)
      saturate(1.35);

    direction:rtl;

    overflow:visible!important;

    z-index:1005!important;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav::before{
    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    pointer-events:none;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,.75),
        rgba(255,255,255,.08)
      );

    opacity:.65;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-item{
    position:relative;
    z-index:1;

    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:3px;

    min-width:0;
    min-height:56px;

    padding:5px 4px;

    border:0;

    border-radius:17px;

    background:transparent;

    color:#60717b;

    text-decoration:none;

    font:inherit;

    cursor:pointer;

    -webkit-tap-highlight-color:
      transparent;

    touch-action:manipulation;

    transition:
      color .18s ease,
      background .18s ease,
      transform .18s ease;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-item:active{
    transform:scale(.94);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-item.is-active{
    color:
      var(--dock-primary);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-item.is-active:not(
    .mobile-dock-support
  ){
    background:
      rgba(7,151,168,.08);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-icon{
    position:relative;

    display:grid;

    place-items:center;

    width:29px;
    height:29px;

    flex:0 0 auto;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-icon svg{
    display:block;

    width:23px;
    height:23px;

    fill:none;

    stroke:currentColor;

    stroke-width:1.9;

    stroke-linecap:round;

    stroke-linejoin:round;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-label{
    display:block;

    width:100%;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    text-align:center;

    font-size:.72rem;

    line-height:1.2;

    font-weight:800;
  }


  /*
   * Support is the primary action.
   * It is elevated from the dock like an app action.
   */
  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support{
    transform:
      translateY(-8px);

    overflow:visible;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support:active{
    transform:
      translateY(-8px)
      scale(.94);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon{
    width:48px;
    height:48px;

    margin-top:-10px;

    border:
      4px solid
      rgba(255,255,255,.96);

    border-radius:17px;

    background:
      linear-gradient(
        145deg,
        var(--dock-primary),
        var(--dock-accent)
      );

    color:#fff;

    box-shadow:
      0 8px 24px
      rgba(7,85,112,.30);
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon svg{
    width:24px;
    height:24px;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon::before,
  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon::after{
    content:"";

    position:absolute;

    inset:-4px;

    border:
      1px solid
      rgba(7,151,168,.32);

    border-radius:20px;

    pointer-events:none;

    animation:
      blepharoplasty-mashhadDockSupportPulse
      2.6s ease-out
      infinite;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon::after{
    animation-delay:1.3s;
  }


  @keyframes
  blepharoplasty-mashhadDockSupportPulse{

    0%{
      transform:scale(.86);
      opacity:.68;
    }

    75%,
    100%{
      transform:scale(1.28);
      opacity:0;
    }

  }


  @media(
    prefers-reduced-motion:
    reduce
  ){

    body.public:not(.doctor-portal)
    .mobile-bottom-nav
    .mobile-dock-support
    .mobile-dock-icon::before,

    body.public:not(.doctor-portal)
    .mobile-bottom-nav
    .mobile-dock-support
    .mobile-dock-icon::after{
      animation:none;
    }

  }


  /*
   * Original draggable launcher is replaced by
   * the center dock action on phones.
   *
   * Support panel itself stays intact.
   */
  body.public:not(.doctor-portal)
  [data-support-widget]
  >[data-support-launcher]{
    display:none!important;
  }


  /*
   * Support dialog must open ABOVE the app dock.
   */
  body.public:not(.doctor-portal)
  [data-support-widget]
  .support-panel{
    z-index:1015!important;

    inset-inline:
      10px!important;

    left:10px!important;
    right:10px!important;

    bottom:
      calc(
        94px +
        env(safe-area-inset-bottom)
      )!important;

    width:auto!important;

    max-width:none!important;

    max-height:
      min(
        72dvh,
        620px
      )!important;
  }


  /*
   * Keep the end of the footer accessible above
   * the fixed dock, without creating a white gap.
   */
  body.public:not(.doctor-portal)
  .rich-footer>
  .container{
    padding-bottom:
      calc(
        112px +
        env(safe-area-inset-bottom)
      )!important;
  }


  /*
   * Doctor profile's old contact bar remains off.
   * There is only one fixed bar on screen.
   */
  body.public
  .mobile-sticky-actions{
    display:none!important;
  }

}


/* =================================================
   VERY SMALL DEVICES
   ================================================= */

@media(max-width:370px){

  body.public:not(.doctor-portal)
  .mobile-bottom-nav{
    width:
      calc(100vw - 12px)!important;

    border-radius:21px;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-label{
    font-size:.66rem;
  }


  body.public:not(.doctor-portal)
  .mobile-bottom-nav
  .mobile-dock-support
  .mobile-dock-icon{
    width:44px;
    height:44px;
  }

}

/* DOCTOR_FOOTER_DESKTOP_BALANCE_V1
   Doctor profile footer:
   brand/content on the right,
   quick access + contact as two columns on the left.
*/
@media (min-width:961px){
  body.solo .doctor-footer .footer-grid{
    grid-template-columns:
      minmax(0,2fr)
      minmax(0,1fr)
      minmax(0,1fr) !important;
    align-items:start;
  }
}

/* ADMIN_MEDIA_METADATA_V1 */
.inline-action-form{display:inline-flex;align-items:center;margin:0}
.inline-action-form .form-message{max-width:240px}
.media-meta-dialog{width:min(920px,calc(100vw - 32px));max-height:90vh;border:0;border-radius:18px;padding:0;box-shadow:0 28px 80px #0d263a40;background:#fff;color:var(--ink,#193049)}
.media-meta-dialog::backdrop{background:#10283b99;backdrop-filter:blur(2px)}
.media-meta-dialog-box{margin:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:90vh}
.media-meta-dialog-box>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e5edf2}
.media-meta-dialog-box>header h3{margin:0 0 4px;font-size:17px}.media-meta-dialog-box>header p{margin:0;color:#7890a0;font-size:12px;line-height:1.9}
.media-meta-list{overflow:auto;padding:18px 22px;display:grid;gap:16px}.media-meta-card{border:1px solid #dfe8ee;border-radius:13px;padding:16px;background:#fbfdfe}.media-meta-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.media-meta-head b{font-size:12px;overflow-wrap:anywhere}.media-meta-head small{color:#8297a5;white-space:nowrap}.media-meta-grid{gap:14px}.media-meta-dialog-box>footer{padding:14px 22px;border-top:1px solid #e5edf2;background:#fff;margin:0}
[data-media-batch-meta]{display:grid;gap:14px;margin:16px 0}[data-media-batch-meta]:empty{display:none}
@media(max-width:640px){.media-meta-dialog{width:calc(100vw - 20px)}.media-meta-grid{grid-template-columns:1fr}.media-meta-dialog-box>header,.media-meta-list,.media-meta-dialog-box>footer{padding-inline:14px}}


/* =========================================================
   PUBLIC CONTENT EXPERIENCE V12
   Designed landing pages, static pages and authored articles.
   ========================================================= */

.content-landing,
.static-page-shell,
.medical-article-page{
  --content-navy:#122056;
  --content-accent:#5B65DC;
  --content-soft:#EEEFFD;
  --content-bg:#FAFAFD;
  --content-line:#E2E5F5;
  --content-muted:#68729a;
}

.content-landing-hero,
.static-page-hero,
.medical-article-hero{
  position:relative;
  overflow:hidden;
  border:1px solid var(--content-line);
  background:
    radial-gradient(circle at 8% 12%,rgba(91,101,220,.13),transparent 28%),
    linear-gradient(135deg,#fff 0%,#FAFAFD 54%,#F0F1FD 100%);
  box-shadow:0 20px 60px rgba(18,32,86,.08);
}

.content-landing-hero::after,
.static-page-hero::after,
.medical-article-hero::after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  inset-inline-start:-90px;
  bottom:-135px;
  border:1px solid rgba(91,101,220,.17);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(91,101,220,.035),0 0 0 58px rgba(91,101,220,.025);
  pointer-events:none;
}

.content-landing .breadcrumb,
.static-page-shell .breadcrumb,
.medical-article-page .breadcrumb{
  margin:0 0 18px;
}

.content-landing-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:24px;
  min-height:235px;
  padding:38px 42px;
  border-radius:28px;
}

.content-landing-kicker{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:7px 11px;
  border:1px solid rgba(91,101,220,.18);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:var(--content-accent);
  font-size:11px;
}

.content-landing-hero h1,
.static-page-hero h1,
.medical-article-hero h1{
  margin:0;
  color:var(--content-navy);
  letter-spacing:-.025em;
  text-wrap:balance;
}

.content-landing-hero h1{font-size:clamp(30px,4vw,50px);line-height:1.5}
.content-landing-hero>p{grid-column:1;max-width:760px;margin:10px 0 0;color:var(--content-muted);font-size:14px;line-height:2.2}
.content-landing-stat{grid-column:2;grid-row:2/4;display:grid;place-items:center;min-width:150px;padding:20px;border:1px solid rgba(91,101,220,.16);border-radius:22px;background:rgba(255,255,255,.82);backdrop-filter:blur(12px)}
.content-landing-stat b{color:var(--content-accent);font-size:34px;line-height:1}
.content-landing-stat span{margin-top:8px;color:var(--content-muted);font-size:10px}

.landing-authored-intro,
.static-custom-intro{
  margin-top:22px;
  padding:24px 28px;
  border:1px solid var(--content-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 35px rgba(18,32,86,.045);
}

.content-landing-list{margin-top:38px}
.content-landing-list .section-heading{margin-bottom:18px}
.content-landing-list .section-heading h2{color:var(--content-navy);font-size:22px}
.content-landing-list .section-heading p{margin:4px 0 0;color:var(--content-muted);font-size:11px}

.editorial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.editorial-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.editorial-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  border:1px solid var(--content-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 38px rgba(18,32,86,.055);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.editorial-card:hover{transform:translateY(-3px);border-color:#cfd3f6;box-shadow:0 20px 48px rgba(18,32,86,.09)}
.editorial-card-featured{grid-column:span 2;display:grid;grid-template-columns:42% minmax(0,1fr)}
.editorial-card-media{display:grid;place-items:center;min-height:170px;background:linear-gradient(145deg,#EEF0FF,#FAFAFD);color:var(--content-accent);text-decoration:none}
.editorial-card-media img{display:block;width:100%;height:100%;min-height:170px;object-fit:cover}
.editorial-card-symbol span{display:grid;place-items:center;width:70px;height:70px;border:1px solid rgba(91,101,220,.18);border-radius:24px;background:#fff;box-shadow:0 16px 34px rgba(91,101,220,.12);transform:rotate(-5deg)}
.editorial-card-body{display:flex;flex:1;flex-direction:column;padding:20px}
.editorial-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--content-muted);font-size:9px}
.editorial-card-meta span{padding:4px 8px;border-radius:999px;background:var(--content-soft);color:var(--content-accent)}
.editorial-card h2{margin:12px 0 8px;font-size:17px;line-height:1.9}
.editorial-card h2 a{color:var(--content-navy);text-decoration:none}
.editorial-card p{margin:0 0 15px;color:var(--content-muted);font-size:11px;line-height:2.05;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.editorial-card-link{display:inline-flex;align-items:center;gap:6px;margin-top:auto;color:var(--content-accent);font-size:10px;font-weight:800;text-decoration:none}

.content-empty-state{
  display:grid;
  place-items:center;
  gap:8px;
  min-height:260px;
  margin-top:28px;
  padding:34px;
  border:1px dashed #cfd3f1;
  border-radius:24px;
  background:#fff;
  color:var(--content-muted);
  text-align:center;
}
.content-empty-state svg{color:var(--content-accent)}
.content-empty-state h2{margin:0;color:var(--content-navy);font-size:20px}
.content-empty-state p{margin:0;font-size:11px}

/* static pages */
.static-page-hero{
  min-height:190px;
  padding:36px 40px;
  border-radius:28px;
}
.static-page-hero .eyebrow{display:inline-flex;margin-bottom:12px;padding:5px 10px;border-radius:999px;background:var(--content-soft);color:var(--content-accent);font-size:9px}
.static-page-hero h1{max-width:920px;font-size:clamp(30px,4vw,48px);line-height:1.55}
.static-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;margin-top:22px}
.static-page-main{
  min-width:0;
  padding:30px 34px;
  border:1px solid var(--content-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 44px rgba(18,32,86,.055);
}
.static-page-main .authored-content>section:first-child{margin-top:0}
.static-page-main .authored-content h1{display:none}
.static-page-main .authored-content h2{margin:2.25rem 0 .8rem;color:var(--content-navy);font-size:22px;line-height:1.8}
.static-page-main .authored-content h3{margin:1.6rem 0 .7rem;color:#343f7e;font-size:17px}
.static-page-main .authored-content p,
.static-page-main .authored-content li{color:#4f5b83;font-size:13px;line-height:2.25}
.static-page-main .authored-content a{color:var(--content-accent);font-weight:800;text-underline-offset:4px}
.static-page-main .authored-content ul,
.static-page-main .authored-content ol{padding-inline-start:22px}
.static-page-main .authored-content blockquote{margin:20px 0;padding:16px 20px;border-inline-start:4px solid var(--content-accent);border-radius:14px;background:#F7F7FE;color:#46527b}

.static-page-side{position:sticky;top:96px;display:grid;gap:14px}
.side-action-card,
.side-link-card,
.side-stats-card{
  padding:20px;
  border:1px solid var(--content-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 36px rgba(18,32,86,.045);
}
.side-action-card>svg{color:var(--content-accent)}
.side-action-card h2{margin:10px 0 6px;color:var(--content-navy);font-size:16px}
.side-action-card p{margin:0 0 14px;color:var(--content-muted);font-size:10px;line-height:2}
.side-action-card .button{width:100%}
.side-action-primary{background:linear-gradient(145deg,#F7F7FF,#fff)}
.side-phone{display:block;margin-top:12px;color:var(--content-navy);font-size:18px;font-weight:900;text-decoration:none}
.side-link-card{display:grid;gap:4px}
.side-link-card>b{margin-bottom:7px;color:var(--content-navy);font-size:12px}
.side-link-card a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 6px;border-bottom:1px solid #EFF0F8;color:#4d5784;font-size:10px;text-decoration:none}
.side-link-card a:last-child{border-bottom:0}
.side-link-card a:hover{color:var(--content-accent)}
.side-stats-card{display:grid;gap:10px}
.side-stats-card>div{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #EFF0F8}
.side-stats-card>div:last-child{border-bottom:0}
.side-stats-card b{color:var(--content-accent);font-size:21px}
.side-stats-card span{color:var(--content-muted);font-size:9px}

/* FAQ sourced from the provided articles */
.faq-source-page .static-page-hero{margin-bottom:22px}
.source-faq-list{display:grid;gap:12px;max-width:1040px;margin-inline:auto}
.source-faq-list details{overflow:hidden;border:1px solid var(--content-line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(18,32,86,.04)}
.source-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;color:var(--content-navy);font-size:13px;font-weight:900;line-height:2}
.source-faq-list summary::-webkit-details-marker{display:none}
.source-faq-list summary svg{flex:0 0 auto;color:var(--content-accent);transition:transform .2s}
.source-faq-list details[open] summary{background:#F8F8FE}
.source-faq-list details[open] summary svg{transform:rotate(45deg)}
.source-faq-list details>div{padding:0 20px 18px;border-top:1px solid #F0F1F8}
.source-faq-list p{margin:14px 0;color:#566188;font-size:11px;line-height:2.25}
.source-faq-list a{display:inline-flex;align-items:center;gap:5px;color:var(--content-accent);font-size:9px;font-weight:800;text-decoration:none}

/* authored medical articles */
.medical-article-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  gap:32px;
  align-items:center;
  min-height:285px;
  padding:40px 44px;
  border-radius:30px;
}
.medical-article-hero-copy{position:relative;z-index:1}
.medical-article-hero .eyebrow{display:inline-flex;margin-bottom:12px;padding:5px 10px;border-radius:999px;background:var(--content-soft);color:var(--content-accent);font-size:9px}
.medical-article-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.65}
.medical-article-hero-copy>p{max-width:860px;margin:14px 0 0;color:#5b668c;font-size:13px;line-height:2.15}
.medical-article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;color:#7d85a5;font-size:9px}
.medical-article-meta span{display:inline-flex;align-items:center;gap:6px}
.medical-article-mark{position:relative;z-index:1;display:grid;place-items:center;width:154px;height:154px;margin-inline:auto;border:1px solid rgba(91,101,220,.18);border-radius:44px;background:rgba(255,255,255,.85);box-shadow:0 26px 60px rgba(91,101,220,.16);color:var(--content-accent);transform:rotate(-5deg)}
.medical-article-cover{position:relative;z-index:1;width:190px;height:190px;border-radius:36px;object-fit:cover;box-shadow:0 22px 55px rgba(18,32,86,.14)}
.medical-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start;margin-top:24px}
.medical-article-main{min-width:0}
.article-authored-surface{padding:34px 38px;border:1px solid var(--content-line);border-radius:24px;background:#fff;box-shadow:0 14px 44px rgba(18,32,86,.055)}
.article-authored-surface .authored-content{max-width:100%;color:#46527b}
.article-authored-surface .authored-content h2{scroll-margin-top:105px;margin:2.8rem 0 1rem;padding-top:.25rem;color:var(--content-navy);font-size:23px;line-height:1.8}
.article-authored-surface .authored-content h3{margin:2rem 0 .8rem;color:#343f7e;font-size:18px;line-height:1.9}
.article-authored-surface .authored-content p,
.article-authored-surface .authored-content li{font-size:13px;line-height:2.35}
.article-authored-surface .authored-content p{margin:.95rem 0}
.article-authored-surface .authored-content li{margin:.5rem 0}
.article-authored-surface .authored-content a{color:var(--content-accent);font-weight:850;text-decoration-thickness:1px;text-underline-offset:4px}
.article-authored-surface .doc-table-wrap{margin:1.5rem -4px;overflow:auto;border:1px solid var(--content-line);border-radius:16px}
.article-authored-surface .doc-source-table{min-width:720px;margin:0;background:#fff}
.article-authored-surface .doc-source-table td{padding:12px 14px;border-color:#E8EAF7;color:#525d84;font-size:11px;line-height:2}
.article-authored-surface .doc-source-table tr:first-child td{background:#F2F3FD;color:var(--content-navy);font-weight:900}
.medical-content-disclaimer{margin:0 0 14px;padding:13px 16px;border:1px solid #E0E3F5;border-radius:14px;background:#F8F8FE;color:#606b91;font-size:10px;line-height:2}
.medical-editorial-trust{margin-bottom:14px}
.article-end-action{display:flex;justify-content:center;margin-top:16px}
.medical-article-aside{position:sticky;top:96px;display:grid;gap:14px}
.article-toc,
.article-side-links{display:grid;gap:3px;padding:18px;border:1px solid var(--content-line);border-radius:18px;background:#fff;box-shadow:0 10px 34px rgba(18,32,86,.04)}
.article-toc>b,
.article-side-links>b{margin-bottom:8px;color:var(--content-navy);font-size:11px}
.article-toc a,
.article-side-links a{padding:7px 8px;border-radius:9px;color:#667093;font-size:9px;line-height:1.9;text-decoration:none}
.article-toc a:hover,
.article-side-links a:hover{background:#F2F3FD;color:var(--content-accent)}
.article-related{margin-top:38px}
.article-related .section-heading h2{color:var(--content-navy);font-size:21px}

@media(max-width:1000px){
  .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .editorial-card-featured{grid-column:span 2}
  .static-page-layout{grid-template-columns:minmax(0,1fr) 250px}
  .medical-article-layout{grid-template-columns:minmax(0,1fr)}
  .medical-article-aside{position:static;grid-template-columns:1fr 1fr}
  .article-toc{max-height:320px;overflow:auto}
}

@media(max-width:760px){
  .content-landing,
  .static-page-shell,
  .medical-article-page{padding-top:18px}
  .content-landing-hero{grid-template-columns:1fr;min-height:0;padding:25px 21px;border-radius:22px}
  .content-landing-hero>p{grid-column:1}
  .content-landing-stat{grid-column:1;grid-row:auto;display:flex;justify-content:flex-start;gap:10px;min-width:0;padding:13px 15px}
  .content-landing-stat b{font-size:24px}.content-landing-stat span{margin:0}
  .editorial-grid,.editorial-grid.compact{grid-template-columns:1fr}
  .editorial-card-featured{grid-column:auto;display:flex}
  .editorial-card-media{min-height:140px}.editorial-card-media img{min-height:140px;max-height:210px}
  .static-page-hero{min-height:0;padding:26px 21px;border-radius:22px}
  .static-page-layout{grid-template-columns:1fr;gap:14px}
  .static-page-main{padding:22px 19px;border-radius:20px}
  .static-page-side{position:static}
  .medical-article-hero{grid-template-columns:1fr;padding:27px 21px;border-radius:22px}
  .medical-article-mark{width:105px;height:105px;border-radius:30px;margin:0}
  .medical-article-cover{width:100%;height:auto;max-height:260px;border-radius:22px}
  .medical-article-layout{gap:14px;margin-top:14px}
  .article-authored-surface{padding:22px 18px;border-radius:20px}
  .article-authored-surface .authored-content h2{font-size:20px}
  .article-authored-surface .authored-content h3{font-size:16px}
  .article-authored-surface .authored-content p,.article-authored-surface .authored-content li{font-size:12px}
  .medical-article-aside{grid-template-columns:1fr}
  .source-faq-list summary{padding:15px 16px;font-size:12px}
  .source-faq-list details>div{padding:0 16px 16px}
}

/* =========================================================
   STRICT VERBATIM SOURCE CONTENT V13
   Source wording from the supplied DOCX files is never rewritten.
   ========================================================= */
.source-verbatim-page{--source-navy:#122056;--source-accent:#5B65DC;--source-soft:#EEEFFD;--source-line:#E2E5F5;--source-muted:#59658d}
.source-verbatim-hero{min-height:0;padding:34px 38px;background:radial-gradient(circle at 10% 20%,rgba(91,101,220,.10),transparent 28%),linear-gradient(135deg,#fff,#FAFAFD 64%,#F0F1FD);border-radius:28px}
.source-verbatim-hero h1{max-width:1000px;font-size:clamp(28px,3.8vw,46px);line-height:1.7}
.source-verbatim-hero .medical-article-hero-copy>p{max-width:920px;margin-top:14px;color:var(--source-muted);font-size:13px;line-height:2.2}
.source-verbatim-layout{grid-template-columns:minmax(0,1fr) 320px;gap:24px}
.article-source-outline{position:sticky;top:96px;display:grid;gap:10px;padding:20px;border:1px solid var(--source-line);border-radius:22px;background:linear-gradient(160deg,#fff,#FAFAFD);box-shadow:0 14px 42px rgba(18,32,86,.05)}
.article-source-outline>b{color:var(--source-navy);font-size:12px;line-height:2}
.article-source-outline ol{display:grid;gap:5px;margin:0;padding:0 18px 0 0}
.article-source-outline li{color:#7781a4;font-size:9.5px;line-height:2.05}
.article-source-outline a,.article-source-outline span{color:inherit;text-decoration:none}
.article-source-outline a:hover{color:var(--source-accent)}
.source-verbatim-page .article-authored-surface{padding:38px 42px;border-radius:26px}
.source-verbatim-page .article-authored-surface .authored-content{color:#46527b}
.source-verbatim-page .article-authored-surface .authored-content h1{display:none}
.source-verbatim-page .article-authored-surface .authored-content h2{margin-top:3rem;padding-bottom:.6rem;border-bottom:1px solid #EFF0F8;font-size:23px;line-height:1.9}
.source-verbatim-page .article-authored-surface .authored-content h3{font-size:18px}
.source-verbatim-page .article-authored-surface .authored-content p,.source-verbatim-page .article-authored-surface .authored-content li{font-size:13px;line-height:2.4}
.source-verbatim-page .doc-table-wrap{box-shadow:0 10px 34px rgba(18,32,86,.04)}
.source-verbatim-page .doc-source-table tr:nth-child(even) td{background:#FCFCFF}
.source-verbatim-page .doc-source-table tr:first-child td{background:linear-gradient(135deg,#EEEFFD,#F7F7FE);color:#122056}
.source-collection-hero{display:block;min-height:0;padding:30px 36px}
.source-collection-hero h1{font-size:clamp(28px,3.6vw,44px)}
.source-collection-list{margin-top:24px}
.source-editorial-card .editorial-card-body{padding:22px}
.source-editorial-card h2{margin:0 0 10px;font-size:17px;line-height:2}
.source-editorial-card p{display:block;margin:0;color:#5f698e;font-size:11px;line-height:2.2;overflow:visible;-webkit-line-clamp:unset}
.source-verbatim-static{margin-top:22px;max-width:100%;padding:34px 38px}
.source-verbatim-static .authored-content>.source-derived-static{display:grid;gap:16px}
.source-verbatim-static .authored-content>.source-derived-static>p{margin:0;padding:18px 20px;border:1px solid #E6E8F6;border-radius:18px;background:linear-gradient(150deg,#fff,#FAFAFD);box-shadow:0 10px 32px rgba(18,32,86,.04);color:#4f5b83;font-size:13px;line-height:2.3}
.source-verbatim-static .authored-content>.source-derived-contact>p:first-of-type{background:#EEEFFD;color:#122056;font-weight:800}
.faq-source-page.source-verbatim-page .static-page-hero{margin-bottom:20px}
.faq-source-page.source-verbatim-page .source-faq-list{max-width:1080px}
.faq-source-page.source-verbatim-page .source-faq-list details>div{padding:0 20px 20px}
.faq-source-page.source-verbatim-page .source-faq-list p{font-size:12px;line-height:2.3}
@media(max-width:1000px){.source-verbatim-layout{grid-template-columns:1fr}.article-source-outline{position:static}.source-verbatim-page .medical-article-aside{display:block}}
@media(max-width:760px){.source-verbatim-hero{padding:24px 20px;border-radius:22px}.source-verbatim-page .article-authored-surface,.source-verbatim-static{padding:22px 18px;border-radius:20px}.source-verbatim-page .article-authored-surface .authored-content h2{font-size:20px}.source-verbatim-page .article-authored-surface .authored-content h3{font-size:16px}.source-verbatim-page .article-authored-surface .authored-content p,.source-verbatim-page .article-authored-surface .authored-content li{font-size:12px}.article-source-outline{padding:16px;border-radius:18px}.source-collection-hero{padding:24px 20px}}

/* =========================================================
   SETTINGS BREATHING ROOM + ARTICLES LANDING V16
   ========================================================= */

/* The first settings panel used to place controls directly against the card edge.
   Give the card a little more physical width and restore a generous internal gutter. */
.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4{
  width:calc(100% + 28px) !important;
  max-width:none !important;
  margin-inline:-14px !important;
  border:1px solid #e3e8ef !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 32px rgba(18,32,86,.035) !important;
  overflow:hidden !important;
}

.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-heading{
  margin:0 !important;
  padding:20px 30px 18px !important;
  border:0 !important;
  border-bottom:1px solid #edf0f5 !important;
  background:#fff !important;
}

.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-body{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:28px 30px 34px !important;
  background:#fff !important;
  border:0 !important;
  box-shadow:none !important;
}

.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 .form-grid{
  column-gap:26px;
  row-gap:24px;
}

.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 .field,
.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 .toggle,
.cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 .code-editor{
  min-width:0;
}

/* /articles is now an authored landing page. Its HTML/CSS owns the visible canvas. */
.articles-index-authored{
  width:100%;
  min-height:48vh;
}

@media(max-width:900px){
  .cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4{
    width:100% !important;
    margin-inline:0 !important;
  }
  .cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-heading{
    padding:18px 22px 16px !important;
  }
  .cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-body{
    padding:22px !important;
  }
}

@media(max-width:650px){
  .cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-heading{
    padding:16px 18px 14px !important;
  }
  .cms [id^="site-content-"] form.editor-form > .settings-outer-shell-v4 > .panel-body{
    padding:18px !important;
  }
}

/* BLEPHARO24_CONTACT_HOTLINE_V1 */
/* Blepharo24 public inquiry hotline v1 — only loaded on marketing pages */
body.public.has-hotline .bleph-hotline-header { text-decoration:none; }
.bleph-hotline-header{margin-inline-start:auto;display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:7px 13px;border-radius:14px;background:#eaf7ee;border:1px solid #b8e6c3;color:#146b37;font-size:12px;font-weight:900;line-height:1.35;white-space:nowrap;box-shadow:0 5px 14px rgba(18,93,47,.08)}
.bleph-hotline-header svg{flex:0 0 auto}.bleph-hotline-header span{display:grid;gap:3px}.bleph-hotline-header small{font-weight:800;font-size:12px;letter-spacing:.3px}
.bleph-hotline-header:hover,.bleph-hotline-hero:hover,.bleph-hotline-promo-button:hover{background:#d5f0df;color:#0d5a2c}
.bleph-hotline-hero{display:inline-flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:18px;min-height:49px;padding:11px 19px;border-radius:15px;background:#168145;color:#fff;font-size:13px;font-weight:900;text-decoration:none;box-shadow:0 12px 30px rgba(22,129,69,.18);width:fit-content;max-width:100%}
.bleph-hotline-hero:hover{background:#116b39;color:#fff}
.bleph-hotline-doctor-cta{display:inline-flex!important;align-items:center;gap:8px;min-height:48px;border-color:#168145!important;color:#116b39!important;font-weight:900!important}
.bleph-hotline-doctor-cta span{font-size:13px;white-space:nowrap}
.bleph-hotline-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px auto 35px;padding:23px 26px;width:min(calc(100% - 36px),1120px);border:1px solid #d0eadd;border-radius:23px;background:linear-gradient(130deg,#f1faf4,#fff 68%);box-shadow:0 9px 30px rgba(12,87,43,.045)}
.bleph-hotline-promo b{font-size:18px;color:#1c5036}.bleph-hotline-promo p{margin:6px 0;color:#496353;font-size:12px;line-height:2}.bleph-hotline-promo [dir="ltr"]{display:inline-block;color:#116b39;font-weight:900;font-size:18px}
.bleph-hotline-promo-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:145px;min-height:47px;padding:10px 14px;border:0;border-radius:13px;background:#168145;color:white;font-size:13px;font-weight:900;text-decoration:none;white-space:nowrap}
.bleph-hotline-promo-button:hover{background:#116b39;color:white}
.bleph-hotline-dock{display:none}
@media(max-width:1120px){body.public .bleph-hotline-header{display:none!important}}
@media(max-width:760px){
 body.public.has-hotline{padding-bottom:calc(103px + env(safe-area-inset-bottom))!important}
 body.public.has-hotline .bleph-hotline-dock{position:fixed!important;z-index:1150!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px;bottom:calc(8px + env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:min(calc(100% - 18px),520px);min-height:76px;padding:9px 11px;background:rgba(255,255,255,.97);border:1px solid #cfe6d9;border-radius:21px;box-shadow:0 9px 34px rgba(18,52,35,.17);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);direction:rtl}
 .bleph-hotline-dock-copy{min-width:0;display:grid;gap:4px;padding-inline-start:3px}
 .bleph-hotline-dock-copy b{font-weight:900;font-size:12px;line-height:1.5;color:#203f31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .bleph-hotline-dock-copy span{font-size:16px;font-weight:950;line-height:1.2;color:#14753d;white-space:nowrap;text-align:right}
 .bleph-hotline-dock-action{flex:0 0 auto;min-width:126px;min-height:53px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border-radius:15px;background:#157e42;color:#fff!important;font-weight:900;font-size:13px;text-decoration:none!important;box-shadow:0 7px 18px rgba(18,122,60,.22)}
 .bleph-hotline-dock-action:active{transform:scale(.97)}
 body.public.has-hotline .mobile-bottom-nav,body.public.has-hotline .mobile-sticky-actions{display:none!important}
 body.public.has-hotline .support-widget{bottom:calc(103px + env(safe-area-inset-bottom))!important}
 .bleph-hotline-promo{margin:22px auto;padding:17px;flex-direction:column;align-items:stretch;gap:14px;border-radius:18px}
 .bleph-hotline-promo b{font-size:15px}.bleph-hotline-promo p{font-size:11.5px}
 .bleph-hotline-promo-button{width:100%;min-height:48px}
 .bleph-hotline-hero{width:100%;padding:12px 10px;gap:8px;white-space:normal;text-align:center}
 .bleph-hotline-doctor-cta{min-height:48px}
}
@media(max-width:355px){.bleph-hotline-dock-copy b{font-size:10.5px}.bleph-hotline-dock-copy span{font-size:14px}.bleph-hotline-dock-action{min-width:114px;padding:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.bleph-hotline-dock-action{transition:none}}

@font-face{font-family:"IRANBlack";src:url("/assets/IRANBlack.woff2?v=s1") format("woff2");font-style:normal;font-weight:100 900;font-display:swap;}
/* Corporate identity: Blepharoplasty in Mashhad
   Palette supplied by the project owner:
   text #122056 · accent #5B65DC · soft #EEEFFD · page #FAFAFD · white #FFFFFF */
:root{
  --font-ui:"IRANBlack",Tahoma,"Segoe UI",Arial,sans-serif;
  --corp-ink:#122056;
  --corp-accent:#5B65DC;
  --corp-soft:#EEEFFD;
  --corp-bg:#FAFAFD;
  --corp-white:#FFFFFF;
  --corp-line:#DDE0F6;
  --corp-accent-strong:#4D57C9;
  --corp-shadow:0 18px 50px rgba(18,32,86,.08);
  --brand:#5B65DC;
  --brand-strong:#4D57C9;
  --brand-deep:#122056;
  --brand-soft:#EEEFFD;
  --brand-mist:#F5F5FE;
  --brand-line:#DDE0F6;
  --brand-glow:rgba(91,101,220,.22);
  --on-brand:#fff;
  --accent:#5B65DC;
  --accent-soft:#EEEFFD;
  --accent-strong:#4D57C9;
  --on-accent:#fff;
  --ink:#122056;
  --ink-soft:#58618A;
  --ink-mute:#7780A4;
  --ink-faint:#E9EAF4;
  --surface:#FAFAFD;
  --surface-alt:#FFFFFF;
  --card:#FFFFFF;
  --line:#E2E4F1;
  --line-strong:#CDD1E7;
}
html[dir="rtl"] body,html[dir="rtl"] body :is(#iranblack-font-force,*),html[dir="rtl"] body :is(#iranblack-font-force,*)::before,html[dir="rtl"] body :is(#iranblack-font-force,*)::after,button,input,textarea,select,option,optgroup{font-family:var(--font-ui)!important}
body{color:var(--corp-ink);background:var(--corp-bg)}
a{color:inherit}.text-link,a:hover{color:var(--corp-accent)}

/* Main brand */
.brand-platform{min-width:0;color:var(--corp-ink)}
.brand-wordmark-link{display:inline-flex;align-items:center;padding:4px 0;line-height:1}
.brand-wordmark{display:block;width:auto;height:58px;max-width:273px;object-fit:contain}
.brand-cms{color:#fff}.brand-cms .brand-icon{background:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.brand-cms .brand-icon img{object-fit:contain;padding:3px}.brand-cms small{color:#C9CDF6!important}
.site-footer .brand-wordmark-link{display:inline-flex;background:#fff;padding:7px 10px;border-radius:14px;width:max-content}
.site-footer .brand-wordmark{height:48px}
.support-logo img{width:100%;height:100%;object-fit:contain}

/* Controls */
.button.primary,.public .button.primary,.cms .button.primary{background:var(--corp-accent)!important;border-color:var(--corp-accent)!important;color:#fff!important;box-shadow:0 8px 22px rgba(91,101,220,.16)}
.button.primary:hover,.public .button.primary:hover,.cms .button.primary:hover{background:var(--corp-accent-strong)!important;border-color:var(--corp-accent-strong)!important}
.button.outline,.public .button.outline,.cms .button.outline{background:#fff;color:var(--corp-ink);border-color:var(--corp-line)}
.button.outline:hover{background:var(--corp-soft);border-color:#C9CDF6;color:var(--corp-accent)}
.text-button,.text-link{color:var(--corp-accent)}
.icon-button{color:var(--corp-accent);border-color:var(--corp-line);background:#fff}
input:not([type=checkbox]):not([type=file]),textarea,select{border-color:var(--corp-line);color:var(--corp-ink);background:#fff}
input:focus,textarea:focus,select:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--corp-accent)!important;outline-color:rgba(91,101,220,.28)!important;box-shadow:0 0 0 4px rgba(91,101,220,.09)!important}
input[type=checkbox]:checked{background:var(--corp-accent)!important}
.chip,.tags>span,.doctor-card .tags span{background:var(--corp-soft);border-color:transparent;color:var(--corp-ink)}
.section-tabs .chip.active,.admin-subtabs .button.primary{background:var(--corp-accent)!important;color:#fff!important}
.badge,.verified{color:var(--corp-accent)}

/* Public shell */
.public{background:var(--corp-bg)}
.site-header,.upgraded-header{background:rgba(255,255,255,.97)!important;border-color:var(--corp-line)!important;box-shadow:0 8px 28px rgba(18,32,86,.05)!important}
.public-menu>a,.cities-dropdown>summary,.custom-header-dropdown>summary{color:var(--corp-ink)!important}
.public-menu>a:hover,.public-menu>a[aria-current="page"],.cities-dropdown>summary:hover,.header-dropdown[data-current="true"]>summary{background:var(--corp-soft)!important;color:var(--corp-accent)!important}
.cities-menu,.custom-header-menu,.mobile-city-sheet{border-color:var(--corp-line)!important;box-shadow:var(--corp-shadow)!important}
.cities-menu-heading b,.custom-header-menu a,.mobile-city-sheet-head b{color:var(--corp-ink)!important}
.cities-menu-grid a,.all-cities,.mobile-city-sheet-grid a{color:var(--corp-accent)!important}
.cities-menu-grid a:hover,.mobile-city-sheet-grid a:hover{background:var(--corp-soft)!important}
.announce{background:var(--corp-ink)!important;color:#fff!important}

.medical-hero{background:radial-gradient(900px 480px at 12% 0%,rgba(91,101,220,.14),transparent 64%),linear-gradient(180deg,#fff,var(--corp-bg))!important}
.medical-hero h1,.page-banner h1,.section-heading h2,.doctor-name,.location-city-head h1{color:var(--corp-ink)!important}
.medical-hero-copy .eyebrow,.eyebrow,.search-caption,.verified{color:var(--corp-accent)!important}
.medical-hero-copy .eyebrow{border-color:#C9CDF6!important;background:var(--corp-soft)!important}
.medical-hero-copy>p,.section-sub,.page-banner p,.editorial-card p{color:#626B95!important}
.care-core{background:var(--corp-accent)!important;color:#fff!important;box-shadow:0 16px 38px rgba(91,101,220,.22)!important}
.care-orbit{border-color:rgba(91,101,220,.16)!important}
.care-note b{color:var(--corp-ink)!important}.care-note small,.care-word{color:var(--corp-accent)!important}
.elevated-search,.search-box,.doctor-card,.city-card,.panel,.editorial-card,.location-group,.prose,.empty{border-color:var(--corp-line)!important;box-shadow:0 10px 34px rgba(18,32,86,.045)!important}
.city-symbol,.doctor-card .avatar,.trust-item i{background:var(--corp-soft)!important;color:var(--corp-accent)!important;border-color:#E0E2F7!important}
.doctor-card:hover,.city-card:hover{border-color:#BFC4F2!important}
.results-bar b,.doctor-bottom .text-link{color:var(--corp-accent)!important}

/* Footer */
.rich-footer,.site-footer{background:var(--corp-ink)!important;color:#E7E9FF!important}

.footer-column-title,.footer-column h3{color:#fff!important}.footer-column a,.footer-brand p,.footer-contact p,.footer-bottom small,.footer-bottom nav{color:#BCC1EA!important}
.footer-column a:hover,
.footer-chat{border-color:rgba(255,255,255,.18)!important;color:#fff!important;background:rgba(255,255,255,.06)!important}


/* Support */
.support-launcher{background:var(--corp-ink)!important;color:#fff!important;border-color:var(--corp-ink)!important;box-shadow:0 14px 34px rgba(18,32,86,.2)!important}
.support-logo{background:#fff!important;color:var(--corp-accent)!important}
.support-header{background:var(--corp-ink)!important;color:#fff!important}.support-bubble.assistant{background:var(--corp-soft)!important;color:var(--corp-ink)!important}.support-compose button{background:var(--corp-accent)!important;color:#fff!important}

/* Doctor/public portal */
.doctor-portal{background:var(--corp-bg)!important}.workspace-hero{background:linear-gradient(135deg,var(--corp-ink),#273A91)!important;color:#fff!important}.workspace-orbit{background:rgba(255,255,255,.1)!important}.workspace-stats article,.workspace-shortcuts a,.wizard-card{border-color:var(--corp-line)!important;box-shadow:0 10px 30px rgba(18,32,86,.05)!important}
.setup-roadmap li button span{background:var(--corp-soft)!important;color:var(--corp-accent)!important}.setup-roadmap li.active button span,.setup-roadmap li.done button span{background:var(--corp-accent)!important;color:#fff!important}

/* CMS */
body.cms{background:var(--corp-bg)!important;--ink:var(--corp-ink);--brand:var(--corp-accent);--line:var(--corp-line)}
.cms .sidebar{background:var(--corp-ink)!important;border-color:#202F73!important;color:#E7E9FF!important}
.cms .sidebar .brand{color:#fff!important}.cms .sidebar nav a{color:#CFD3F6!important}.cms .sidebar nav a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.cms .sidebar nav a.active{background:var(--corp-accent)!important;color:#fff!important;box-shadow:inset -3px 0 #fff!important}
.cms .menu-caption,.cms .sidebar-user,.cms .sidebar-user small{color:#AEB5E8!important;border-color:rgba(255,255,255,.12)!important}
.cms .admin-topbar{background:#fff!important;border-color:var(--corp-line)!important}.cms .admin-topbar b,.cms .page-heading h1,.cms .panel-heading h2{color:var(--corp-ink)!important}.cms .page-heading p{color:#6D769E!important}
.cms .panel,.cms .toolbar,.cms .category-tabs{border-color:var(--corp-line)!important;background:#fff!important;box-shadow:0 8px 28px rgba(18,32,86,.045)!important}
.cms .panel-heading{background:#FCFCFF!important;border-color:var(--corp-line)!important}
.cms table th{color:#687198!important;background:#F7F7FD!important}.cms table td{border-color:#ECECF6!important}
.cms .category-tabs button.active,.cms .category-tabs a.active{background:var(--corp-soft)!important;color:var(--corp-accent)!important;border-color:#CDD1F4!important}
.cms .notice{background:var(--corp-soft)!important;border-color:#D7DAF6!important;color:#434D83!important}
.cms .form-message.success{color:#3D4989!important;background:#F1F2FF!important;border-color:#D9DCF8!important}
.cms .seo-analysis-header strong,.cms .seo-preview-title{color:var(--corp-accent)!important}
.cms progress{accent-color:var(--corp-accent)!important}

/* Responsive logo */
@media(max-width:960px){.brand-wordmark{height:50px;max-width:220px}.header-inner{min-height:78px!important}}
@media(max-width:560px){.brand-wordmark{height:44px;max-width:180px}.site-footer .brand-wordmark{height:40px}.brand-cms>span:last-child{display:none}}

/* ==========================================================================
   BLEPHAROPLASTY HERO — BRAND EYE RELIEF
   Pure HTML/CSS/SVG. A coded 3D relief inspired directly by the brand logo:
   dotted brow, layered eyelid arcs, concentric iris and clean medical geometry.
   ========================================================================== */
.medical-hero-art{position:relative;min-width:0}
.bleph-brand-scene{
  --brand-rx:-2deg;
  --brand-ry:5deg;
  --brand-x:0px;
  --brand-y:0px;
  position:relative;
  width:min(100%,570px);
  height:430px;
  margin-inline:auto;
  direction:ltr;
  perspective:1400px;
  isolation:isolate;
  user-select:none;
  -webkit-user-select:none;
}
.bleph-brand-stage{
  position:absolute;
  inset:8px 0 2px;
  transform-style:preserve-3d;
  transform:translate3d(var(--brand-x),var(--brand-y),0) rotateX(var(--brand-rx)) rotateY(var(--brand-ry));
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
  will-change:transform;
}
.bleph-brand-stage::before{
  content:"";
  position:absolute;
  left:76px;
  right:58px;
  bottom:14px;
  height:54px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(18,32,86,.18),rgba(18,32,86,0) 72%);
  filter:blur(18px);
  transform:translateZ(-90px) rotateX(78deg);
}
.bleph-brand-aura{position:absolute;display:block;border-radius:50%;pointer-events:none}
.bleph-brand-aura.aura-one{width:320px;height:320px;left:-40px;top:24px;background:radial-gradient(circle,rgba(91,101,220,.15),rgba(91,101,220,0) 70%);filter:blur(2px);transform:translateZ(-94px)}
.bleph-brand-aura.aura-two{width:270px;height:270px;right:-18px;bottom:8px;background:radial-gradient(circle,rgba(238,239,253,.98),rgba(238,239,253,0) 72%);transform:translateZ(-70px)}
.bleph-brand-orbit{position:absolute;left:50%;top:50%;display:block;border-radius:50%;pointer-events:none}
.bleph-brand-orbit.orbit-one{width:390px;height:230px;margin:-112px 0 0 -195px;border:1px solid rgba(91,101,220,.10);transform:translateZ(-34px) rotateX(68deg) rotateZ(-7deg)}
.bleph-brand-orbit.orbit-two{width:322px;height:188px;margin:-93px 0 0 -161px;border:1px solid rgba(18,32,86,.055);transform:translateZ(-18px) rotateX(66deg) rotateZ(11deg)}
.bleph-brand-plaque{
  position:absolute;
  width:430px;
  height:286px;
  left:50%;
  top:50%;
  transform:translate3d(-50%,-50%,58px) rotateZ(-1.2deg);
  transform-style:preserve-3d;
  border:1px solid rgba(255,255,255,.98);
  border-radius:46px;
  background:linear-gradient(145deg,rgba(255,255,255,.985),rgba(250,250,253,.91) 58%,rgba(238,239,253,.82));
  box-shadow:26px 34px 66px rgba(18,32,86,.12),-10px -12px 28px rgba(255,255,255,.88),inset 0 1px 0 #fff;
  overflow:hidden;
}
.bleph-brand-plaque::before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  left:-112px;
  top:-112px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(238,239,253,.98),rgba(238,239,253,0) 72%);
}
.bleph-brand-plaque::after{
  content:"";
  position:absolute;
  right:-84px;
  bottom:-102px;
  width:230px;
  height:230px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(91,101,220,.11),rgba(91,101,220,0) 72%);
}
.bleph-brand-emblem{
  position:absolute;
  z-index:4;
  left:50%;
  top:47%;
  width:350px;
  height:232px;
  transform:translate3d(-50%,-50%,34px);
  border-radius:40px;
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.16));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 28px rgba(18,32,86,.045);
}
.bleph-brand-eye{position:absolute;inset:4px 1px 0;width:100%;height:100%;overflow:visible}
.bleph-brand-brow{fill:none;stroke:#5B65DC;stroke-width:3.2;stroke-linecap:round;opacity:.36}
.bleph-brand-dots circle{fill:#3344C0;opacity:.92}
.bleph-brand-lid-top{fill:rgba(255,255,255,.56);stroke:url(#blephEyeStroke);stroke-width:9;stroke-linecap:round;stroke-linejoin:round}
.bleph-brand-lid-cut{fill:none;stroke:#5B65DC;stroke-width:4.2;stroke-linecap:round;opacity:.92}
.bleph-brand-lid-bottom{fill:rgba(238,239,253,.48);stroke:#122056;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round;opacity:.92}
.bleph-brand-iris-ring{fill:rgba(255,255,255,.93);stroke:#5B65DC;stroke-width:4.5}
.bleph-brand-iris{fill:url(#blephIrisFill);stroke:rgba(255,255,255,.94);stroke-width:2}
.bleph-brand-pupil{fill:#122056}
.bleph-brand-glint{fill:rgba(255,255,255,.92)}
.bleph-brand-lower-dots circle{fill:#5B65DC;opacity:.34}
.bleph-brand-shine{
  position:absolute;
  z-index:7;
  width:78px;
  height:28px;
  left:146px;
  top:74px;
  border-radius:50%;
  background:rgba(255,255,255,.68);
  filter:blur(10px);
  transform:rotate(-15deg) translateZ(58px);
  pointer-events:none;
}
.bleph-brand-caption{position:absolute;z-index:5;left:50%;bottom:18px;display:flex;align-items:center;gap:7px;transform:translateX(-50%) translateZ(24px)}
.bleph-brand-caption i{display:block;height:3px;border-radius:999px;background:rgba(91,101,220,.16)}
.bleph-brand-caption i:nth-child(1){width:46px}.bleph-brand-caption i:nth-child(2){width:22px;background:rgba(91,101,220,.30)}.bleph-brand-caption i:nth-child(3){width:10px;background:#5B65DC}
.bleph-brand-chip{
  position:absolute;
  z-index:10;
  border:1px solid rgba(255,255,255,.94);
  background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(238,239,253,.60));
  box-shadow:0 18px 40px rgba(18,32,86,.09),inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.bleph-brand-chip.chip-eye{right:18px;top:54px;width:108px;height:126px;border-radius:28px;transform:translateZ(112px) rotateY(-14deg) rotateZ(4deg)}
.chip-eye-mark{position:absolute;left:24px;top:20px;width:56px;height:38px;border:3px solid #5B65DC;border-radius:52% 48% 50% 50% / 60% 60% 42% 42%;transform:rotate(-2deg)}
.chip-eye-mark::before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#122056;box-shadow:0 0 0 5px rgba(91,101,220,.22)}
.bleph-brand-chip.chip-eye>i{position:absolute;left:23px;height:4px;border-radius:999px;background:rgba(91,101,220,.18)}
.bleph-brand-chip.chip-eye>i:nth-of-type(1){width:60px;top:83px}.bleph-brand-chip.chip-eye>i:nth-of-type(2){width:39px;top:101px;opacity:.7}
.bleph-brand-chip.chip-dots{left:26px;bottom:38px;width:154px;height:70px;border-radius:22px;transform:translateZ(94px) rotateY(9deg) rotateZ(-3deg)}
.chip-dot-row{position:absolute;left:19px;top:18px;display:flex;gap:5px;align-items:flex-end;height:15px}
.chip-dot-row b{display:block;width:5px;height:5px;border-radius:50%;background:#5B65DC;opacity:.88}
.chip-dot-row b:nth-child(2),.chip-dot-row b:nth-child(6){transform:translateY(-3px)}
.chip-dot-row b:nth-child(3),.chip-dot-row b:nth-child(5){transform:translateY(-6px)}
.chip-dot-row b:nth-child(4){width:6px;height:6px;transform:translateY(-8px);background:#122056}
.bleph-brand-chip.chip-dots>i{position:absolute;left:20px;right:20px;bottom:17px;height:4px;border-radius:999px;background:linear-gradient(90deg,#122056 0 34%,#5B65DC 34% 73%,rgba(91,101,220,.16) 73%)}
.bleph-brand-pearl{position:absolute;z-index:12;display:block;border-radius:50%;background:radial-gradient(circle at 31% 27%,#fff 0 20%,#F7F8FF 40%,#D9DDF8 70%,#9AA2EA 100%);border:1px solid rgba(255,255,255,.9);box-shadow:0 14px 28px rgba(18,32,86,.14),inset 4px 4px 7px rgba(255,255,255,.85)}
.bleph-brand-pearl.pearl-one{width:22px;height:22px;left:61px;top:86px;transform:translateZ(128px)}
.bleph-brand-pearl.pearl-two{width:11px;height:11px;right:72px;bottom:65px;background:#5B65DC;border-color:#7E87E8;box-shadow:0 0 0 7px rgba(91,101,220,.055);transform:translateZ(110px)}

@media(max-width:1100px){
 .bleph-brand-scene{height:360px}
 .bleph-brand-stage{transform:translate3d(var(--brand-x),var(--brand-y),0) scale(.86) rotateX(var(--brand-rx)) rotateY(var(--brand-ry));transform-origin:center}
}
@media(max-width:900px){
 .bleph-brand-scene{height:318px}
 .bleph-brand-stage{transform:translate3d(var(--brand-x),var(--brand-y),0) scale(.75) rotateX(var(--brand-rx)) rotateY(var(--brand-ry));transform-origin:center}
}
@media(max-width:600px){
 .bleph-brand-scene{height:250px;max-width:430px}
 .bleph-brand-stage{inset:-36px -56px -46px;transform:translate3d(var(--brand-x),var(--brand-y),0) scale(.58) rotateX(-1deg) rotateY(3deg);transform-origin:center}
 .bleph-brand-chip.chip-eye{right:38px}
 .bleph-brand-chip.chip-dots{left:50px}
}
@media(prefers-reduced-motion:reduce){
 .bleph-brand-stage{transition:none!important;transform:rotateX(-1deg) rotateY(3deg)!important}
}

/* v14 — city-wide footer: only brand + contact columns */
.rich-footer .footer-grid.footer-grid-minimal{grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr)!important;gap:clamp(32px,7vw,96px)!important;align-items:start!important}
.rich-footer .footer-grid.footer-grid-minimal .footer-brand,
.rich-footer .footer-grid.footer-grid-minimal .footer-contact{grid-column:auto!important}
@media(max-width:760px){.rich-footer .footer-grid.footer-grid-minimal{grid-template-columns:1fr!important;gap:28px!important}.rich-footer .footer-grid.footer-grid-minimal .footer-brand,.rich-footer .footer-grid.footer-grid-minimal .footer-contact{grid-column:1!important}}

/* Unified header menu — one authored HTML/CSS document from Site Settings. */
.header-menu-authored{display:flex;align-items:center;min-width:0}
.header-menu-authored>nav,.header-menu-authored .brand-menu{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.header-menu-authored a{display:inline-flex;align-items:center;min-height:42px;padding:.55rem .78rem;border-radius:14px;color:var(--brand-ink,#122056);text-decoration:none;font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease}
.header-menu-authored a:hover,.header-menu-authored a:focus-visible{background:var(--brand-soft,#EEEFFD);color:var(--brand-accent,#5B65DC);transform:translateY(-1px)}
.header-inner-brand-only{justify-content:flex-start}
@media(max-width:900px){.header-menu-authored{display:block;width:100%}.header-menu-authored>nav,.header-menu-authored .brand-menu{display:grid;gap:.25rem}.header-menu-authored a{width:100%;justify-content:flex-start}}

/* Blepharo24 · Blue/Green UI System V4 · 2026-10-23
   Public pages only. Single consolidated replacement for visual-refresh.css.
   Tokens: blue for headings/identity, high-contrast green for phone CTAs.
   No CMS styles, no content, SEO, route, or database changes.
*/
@font-face{font-family:Vazirmatn;src:url("/assets/IRANBlack.woff2?v=s1") format("woff2");font-style:normal;font-weight:100 900;font-display:swap;}

/* 01 — One source of truth. Body-level overrides intentionally win over
   the generated :root theme without modifying database-backed settings. */
html[dir='rtl'] body.public {
  --font-ui: Vazirmatn,Tahoma,sans-serif;
  --site-font: Vazirmatn,Tahoma,sans-serif;
  --ui-heading:#1D4ED8;
  --ui-blue:#2478E5;
  --ui-blue-dark:#175DBB;
  --ui-green:#087F5B;
  --ui-green-hover:#066747;
  --ui-text:#122056;
  --ui-muted:#405571;
  --ui-border:#DAE7F5;
  --ui-page:#F8FBFF;
  --ui-soft:#EAF3FF;
  --ui-shadow:0 8px 26px rgba(18,32,86,.065);
  --primary:var(--ui-blue);
  --accent:var(--ui-blue);
  --accent-strong:var(--ui-blue-dark);
  --accent-soft:var(--ui-soft);
  --brand:var(--ui-blue);
  --brand-strong:var(--ui-blue-dark);
  --brand-deep:var(--ui-text);
  --brand-soft:var(--ui-soft);
  --brand-mist:#F5F9FF;
  --brand-line:#D7E7FB;
  --brand-glow:rgba(36,120,229,.16);
  --corp-ink:var(--ui-text);
  --corp-accent:var(--ui-blue);
  --corp-accent-strong:var(--ui-blue-dark);
  --corp-soft:var(--ui-soft);
  --corp-bg:var(--ui-page);
  --corp-line:var(--ui-border);
  --ink:var(--ui-text);
  --ink-soft:#52657F;
  --ink-mute:#647791;
  --bg:var(--ui-page);
  --soft:var(--ui-soft);
  --line:var(--ui-border);
  --surface:var(--ui-page);
  --surface-alt:#fff;
  --card:#fff;
  color:var(--ui-text);
  background:var(--ui-page);
  font:400 16px/1.9 Vazirmatn,Tahoma,sans-serif;
}
/* Existing brand-system.css and upgrade.css force IRANBlack with !important;
   matching specificity here is needed until a separate legacy-CSS cleanup. */
html[dir='rtl'] body.public,
html[dir='rtl'] body.public :is(#iranblack-font-force,*):not(pre):not(code):not(kbd):not(samp),
html[dir='rtl'] body.public :is(#iranblack-font-force,*)::before,
html[dir='rtl'] body.public :is(#iranblack-font-force,*)::after {
  font-family:Vazirmatn,Tahoma,sans-serif !important;
}
body.public :is(pre,code,kbd,samp),
body.public :is(pre,code,kbd,samp) * {font-family:ui-monospace,SFMono-Regular,Consolas,monospace !important}

/* 02 — Type hierarchy: visually consistent H1–H6 across all public templates.
   Intentional text contrast: blue on light surfaces, navy/white elsewhere. */
body.public main :is(h1,h2,h3,h4,h5,h6) {
  color:var(--ui-heading) !important;
  text-wrap:pretty;
  overflow-wrap:break-word;
  letter-spacing:0;
}
body.public main h1 {font-size:clamp(28px,3.3vw,42px);line-height:1.52;font-weight:780}
body.public main h2 {font-size:clamp(21px,2.4vw,29px);line-height:1.6;font-weight:740}
body.public main h3 {font-size:clamp(18px,1.8vw,22px);line-height:1.65;font-weight:700}
body.public main h4 {font-size:17px;line-height:1.7;font-weight:700}
body.public main :is(h5,h6) {font-size:16px;line-height:1.75;font-weight:680}
body.public main :is(.doctor-name,.doctor-name-heading) {color:var(--ui-heading) !important}
body.public main :is(.authored-content,.medical-article-main,.static-page-main,.article-authored-surface,.prose-text) :is(p,li,blockquote,dd,td) {
  font-size:16px;
  line-height:2.05;
  color:var(--ui-muted);
  overflow-wrap:break-word;
}
body.public main :is(.authored-content,.medical-article-main,.static-page-main,.article-authored-surface) :is(h2,h3,h4) {
  margin-block-start:1.5em;
  margin-block-end:.65em;
}
body.public :is(.section-sub,.medical-hero-copy>p,.medical-article-hero-copy>p) {color:var(--ui-muted);line-height:1.95}
body.public main a:not(.button):focus-visible,
body.public :is(a,button,input,textarea,select,summary):focus-visible {
  outline:3px solid #83BAFF;
  outline-offset:3px;
}

/* 03 — Shared controls. Phone CTAs are GREEN; other primary actions BLUE. */
body.public :is(.button,.btn,.primary-button,.btn-primary,.cta-button) {
  min-height:44px;
  border-radius:12px;
  font-weight:700;
  line-height:1.5;
  text-decoration:none;
}
body.public :is(input[type='search'],input[type='text'],input[type='email'],input[type='tel'],select,textarea) {
  font-size:16px;
  min-height:44px;
  line-height:1.7;
  border-radius:12px;
  border-color:var(--ui-border);
}
body.public :is(.button.primary,.btn-primary,.primary-button,.cta-button):not([href^='tel:']) {
  background:#206FD8;
  background-image:none;
  border-color:#206FD8;
  color:#fff;
}
body.public :is(.button.primary,.btn-primary,.primary-button,.cta-button):not([href^='tel:']):hover {
  background:var(--ui-blue-dark);
  border-color:var(--ui-blue-dark);
}
body.public a.button[href^='tel:'],
body.public:not(.doctor-portal) .doctor-card .doctor-bottom a[href^='tel:'],
body.public .doctor-bottom a[href^='tel:'],
body.public .solo-actions a[href^='tel:'],
body.public .cta-band a[href^='tel:'],
body.public .mobile-sticky-actions a[href^='tel:'] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  background:var(--ui-green) !important;
  background-color:var(--ui-green) !important;
  background-image:none !important;
  border:1px solid var(--ui-green) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(8,127,91,.14);
  text-decoration:none;
}
body.public a.button[href^='tel:']:hover,
body.public:not(.doctor-portal) .doctor-card .doctor-bottom a[href^='tel:']:hover,
body.public .doctor-bottom a[href^='tel:']:hover,
body.public .solo-actions a[href^='tel:']:hover,
body.public .cta-band a[href^='tel:']:hover,
body.public .mobile-sticky-actions a[href^='tel:']:hover {
  background:var(--ui-green-hover) !important;
  background-color:var(--ui-green-hover) !important;
  background-image:none !important;
  border-color:var(--ui-green-hover) !important;
  color:#fff !important;
}
body.public :is(.button.outline,.button.ghost):not([href^='tel:']) {
  background:#fff;
  background-image:none;
  color:var(--ui-blue-dark);
  border:1px solid var(--ui-border);
}
body.public :is(.button.outline,.button.ghost):not([href^='tel:']):hover {
  background:var(--ui-soft);
  border-color:#ABCDF4;
}

/* 04 — Cards/containers used across home, directory, articles and trust pages. */
body.public main :is(.doctor-card,.editorial-card,.article-card,.trust-item,.step-card,.feature-card,.info-card,.static-page-main,.medical-article-main,.side-link-card) {
  border-color:var(--ui-border);
  border-radius:18px;
  box-shadow:var(--ui-shadow);
}
body.public main :is(.medical-hero,.doctors-index-head,.medical-article-hero,.content-landing-hero,.static-page-hero) {
  border-color:var(--ui-border);
}
body.public main :is(.eyebrow,.content-kicker) {
  color:var(--ui-blue-dark);
  border-color:#BAD7F8;
}
body.public main :is(.medical-hero-marks,.hero-marks) {color:var(--ui-blue-dark)}
body.public .breadcrumb {color:#5C718C}
body.public main :is(.text-link,.breadcrumb a) {color:var(--ui-blue-dark)}
body.public main :is(.trust-item,.step-card,.feature-card) :is(p,small) {color:var(--ui-muted);line-height:1.85}

/* 05 — Doctor listing, all locations where doctorCard() is reused.
   Desktop layout remains horizontal, mobile changes to ONE readable column. */
body.public .doctor-list,
body.public .doctor-grid,
body.public .directory-doctor-grid,
body.public .similar-grid {min-width:0}
body.public .doctor-card {
  min-width:0;
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:20px;
  box-shadow:var(--ui-shadow);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.public .doctor-card:hover {border-color:#B7D5F6;box-shadow:0 12px 30px rgba(18,32,86,.095)}
body.public .doctor-card .doctor-top {min-width:0;gap:14px}
body.public .doctor-card .doctor-top>div:last-child {min-width:0}
body.public .doctor-card .avatar {border:2px solid #DDEDFD;border-radius:17px;box-shadow:0 4px 14px rgba(18,32,86,.07)}
body.public .doctor-card .doctor-name-heading {margin:0;line-height:1.55}
body.public .doctor-card .doctor-name {font-size:18px !important;font-weight:760;line-height:1.55}
body.public .doctor-card .doctor-top p {font-size:14px !important;line-height:1.75;color:var(--ui-muted)}
body.public .doctor-card .doctor-details {min-width:0;gap:8px}
body.public .doctor-card .doctor-details>span {
  color:#365675;
  font-size:13px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
body.public .doctor-card .tags {min-width:0;gap:8px}
body.public .doctor-card .tags>span {
  font-size:12.5px;
  line-height:1.7;
  padding:5px 10px;
  border:1px solid #DBEAF8;
  background:#F2F8FF;
  color:#365675;
  overflow-wrap:anywhere;
}
body.public .doctor-card .doctor-bottom {min-width:0}
body.public .doctor-card .doctor-bottom .button {
  min-height:46px;
  padding:10px 15px;
  font-size:14px;
  white-space:normal;
}
body.public .doctor-card .doctor-bottom .button svg {flex:none}

/* 06 — Editorial, static pages and articles. */
body.public .editorial-card {overflow:hidden;background:#fff}
body.public .editorial-card .editorial-card-body {min-width:0}
body.public .editorial-card .editorial-card-body h2 {font-size:clamp(18px,1.9vw,22px);line-height:1.65}
body.public .editorial-card .editorial-card-body p {font-size:15px;line-height:1.95;color:var(--ui-muted)}
body.public .editorial-card .editorial-card-symbol {background:#EAF3FF;color:var(--ui-blue)}
body.public .medical-article-page :is(.bleph-table-scroll,.article-authored-surface) {max-width:100%}
body.public .medical-article-page .bleph-table-scroll {overflow-x:auto;-webkit-overflow-scrolling:touch}
body.public .medical-article-page :is(th,td) {font-size:14px;line-height:1.9}
body.public main :is(.authored-content,.medical-article-main,.static-page-main) a:not(.button) {text-underline-offset:3px}
body.public main .cta-band :is(h1,h2,h3,h4,h5,h6) {color:#fff !important}
body.public footer :is(p,li,a,small) {line-height:1.9}

/* 07 — Responsive: critical fix for the former 3-column mobile doctor card.
   Scope and !important compensate for legacy revision.css grid rules. */
@media (max-width:860px) {
  body.public .doctor-list,
  body.public .doctor-grid,
  body.public .directory-doctor-grid,
  body.public .similar-grid {display:flex !important;flex-direction:column !important;gap:16px;width:100%;min-width:0}
  body.public .doctor-card {
    display:grid !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto auto auto !important;
    align-items:stretch !important;
    gap:13px !important;
    padding:18px !important;
  }
  body.public .doctor-card .doctor-top,
  body.public .doctor-card .doctor-details,
  body.public .doctor-card .tags,
  body.public .doctor-card .doctor-bottom {
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    margin:0 !important;
    min-width:0 !important;
    width:100% !important;
    align-self:stretch !important;
  }
  body.public .doctor-card .doctor-top {display:flex !important;align-items:center !important;gap:14px !important}
  body.public .doctor-card .avatar {width:76px !important;height:76px !important;flex:0 0 76px !important}
  body.public .doctor-card .doctor-details {display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;align-items:center !important;gap:8px !important}
  body.public .doctor-card .doctor-details>span {padding:5px 9px;background:#F5F9FF;border:1px solid #E1ECF8;border-radius:999px}
  body.public .doctor-card .tags {display:flex !important;flex-wrap:wrap !important;align-items:center !important}
  body.public .doctor-card .doctor-bottom {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:stretch !important;
    gap:10px !important;
    padding:14px 0 0 !important;
    border-top:1px solid #E5EDF7 !important;
    justify-content:stretch !important;
    flex-wrap:nowrap !important;
  }
  body.public .doctor-card .doctor-bottom .button {width:100% !important;min-width:0 !important;display:flex !important;justify-content:center !important;align-items:center !important;gap:7px !important}
  body.public .editorial-grid {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px) {
  body.public:not(.doctor-portal) main h1,body.public.solo main h1 {font-size:clamp(26px,6.8vw,31px) !important;line-height:1.54}
  body.public main h2 {font-size:clamp(20px,4.8vw,23px);line-height:1.63}
  body.public main h3 {font-size:clamp(17px,4vw,19px);line-height:1.7}
  body.public main :is(.authored-content,.medical-article-main,.static-page-main,.article-authored-surface,.prose-text) :is(p,li,blockquote,dd,td) {font-size:16px;line-height:2.05}
  body.public .doctor-card {padding:16px !important;border-radius:18px}
  body.public .doctor-card .doctor-name {font-size:18px !important}
  body.public .doctor-card .doctor-details>span {font-size:12.5px}
  body.public .doctor-card .doctor-bottom .button {min-height:46px;font-size:14px}
  body.public:not(.doctor-portal) .doctor-card .doctor-bottom a[href^='tel:'] {min-height:46px !important}
  body.public :is(.section-heading,.page-heading) {gap:10px}
  body.public .editorial-card .editorial-card-body p {font-size:15px;line-height:1.95}
  body.public footer :is(p,li,a,small) {font-size:13px;line-height:1.85}
}
@media (max-width:380px) {
  body.public .doctor-card .doctor-bottom {gap:8px !important}
  body.public .doctor-card .doctor-bottom .button {font-size:13px;padding:9px 6px;white-space:normal}
  body.public .doctor-card .doctor-details {gap:6px !important}
}
@media (prefers-reduced-motion:reduce) {
  body.public .doctor-card,body.public :is(.button,a,button) {transition:none !important}
}

