@import url('./design-v8.css?v=1080');
@import url('./article-v24.css?v=1080');
@import url('./site-v700.css?v=1080');
@import url('./site-v800.css?v=1083');
@import url('./article-premium-v1.css?v=1');
@import url('./article-premium-v1-fixes.css?v=1');
@import url('./calm-v1.css?v=1');
@import url('./kara-v1.css?v=1');
@import url('./disease-template-v1.css?v=1');

/* English type system stays editorial; Persian is owned by kara-v1.css. */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');
html[dir="ltr"] body{font-family:"Instrument Sans",sans-serif}
html[dir="ltr"] h1,html[dir="ltr"] h2,html[dir="ltr"] h3{font-family:"Newsreader",serif;font-weight:500;letter-spacing:-.03em}
html[dir="rtl"] .article-body p,html[dir="rtl"] .article-lead{line-height:2.05}
html[dir="rtl"] .article-body h2{line-height:1.55}
@media(max-width:640px){html[dir="rtl"] .article-body h2{font-size:clamp(22px,6vw,30px)}html[dir="rtl"] .article-lead{font-size:15px}}


/* October 2026: readability, responsive brand system and measured motion */
:root{--reader-ink:#18212e;--reader-text:#3d4c5e;--reader-paper:#fbfcfe;--reader-line:#dce3ec;}
body.v7-page{background:var(--reader-paper);color:var(--reader-ink);}
body.v7-page .prose{max-width:78ch;color:var(--reader-ink);}
body.v7-page .prose p{color:var(--reader-text);font-size:17px;line-height:2.05;letter-spacing:0;}
body.v7-page .prose h2{color:var(--reader-ink);font-size:clamp(27px,3vw,36px);line-height:1.5;letter-spacing:-.02em;margin-block:2em .7em;}
body.v7-page .prose h3{color:#26384d;font-size:clamp(20px,2.2vw,25px);line-height:1.55;}
body.v7-page .prose li{color:var(--reader-text);font-size:16px;line-height:1.95;}
body.v7-page .prose a{color:#174d70;text-decoration-thickness:1px;text-underline-offset:3px;}
body.v7-page .prose strong{color:#223247;}
body.v7-page .article-lead{color:#304155;font-size:18px;line-height:2;}
body.v7-page .article-toc{border-color:var(--reader-line);background:#fff;}
body.v7-page .article-toc a{color:#34465b;font-size:14px;line-height:1.9;}
body.v7-page .hero-art{border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 80px rgba(0,0,0,.20);}
body.v7-page .hero-art img{filter:saturate(.92) contrast(1.04) brightness(.96);}
body.v7-page .v7-header{z-index:90;background:rgba(7,9,14,.96);border-bottom:1px solid rgba(255,255,255,.11);backdrop-filter:blur(18px) saturate(1.1);}
body.v7-page .v7-header-row{height:auto;min-height:88px;padding-block:5px;align-items:center;}
body.v7-page .v7-brand{grid-template-columns:44px max-content;grid-template-rows:auto;column-gap:11px;align-items:center;color:#fff;}
body.v7-page .v7-brand-dot{display:none!important;}
body.v7-page .v7-brand:before{content:"";display:block;width:42px;height:42px;grid-column:1;grid-row:1;background:url("/assets/brand/gholamshahi-mark-v1.svg") center/contain no-repeat;}
body.v7-page .v7-brand .brand-copy{grid-column:2;min-width:0;}
body.v7-page .v7-brand .brand-copy strong.fa{font-size:15px;line-height:1.5;color:#fff;letter-spacing:0;}
body.v7-page .v7-brand .brand-copy strong.en{font-size:14px;line-height:1.45;color:#f2f5f8;}
body.v7-page .v7-brand .brand-copy small{font-size:11px;line-height:1.55;color:#aeb9c8;letter-spacing:0;}
body.v7-page .v7-nav a{font-size:13px;color:#c4ccd7;}
body.v7-page .v7-nav a:hover,body.v7-page .v7-nav a[aria-current=page]{color:#fff;}
body.home-compact:after{display:none!important;}
body.home-compact .wordmark{grid-template-columns:42px auto!important;gap:2px 11px!important;}
body.home-compact .wordmark .brand-symbol{width:42px!important;height:42px!important;}
body.home-compact .brand-primary{font-size:15px!important;line-height:1.35!important;letter-spacing:0!important;}
body.home-compact .brand-specialty{font-size:10px!important;letter-spacing:.025em!important;color:#b2bccb!important;}
body.home-compact .desktop-nav{gap:clamp(16px,2vw,28px);}
body.home-compact .desktop-nav a{font-size:13px;line-height:1.5;}
body.home-compact .compact-rail-deck{display:flex;flex-direction:column;}
body.home-compact .compact-care-rail{order:1;}
body.home-compact .compact-cancer-rail{order:2;}
body.home-compact .compact-hematology-rail{order:3;}
body.home-compact .compact-treatment-rail{order:4;}
body.home-compact .compact-rail a{height:48px;min-height:48px;padding-inline:18px;font-size:13px;line-height:1.5;white-space:nowrap;border-radius:999px;transition:background-color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;}
body.home-compact .compact-rail a:hover{transform:translateY(-2px);background:rgba(255,255,255,.075);border-color:rgba(150,177,255,.36);box-shadow:0 8px 24px rgba(0,0,0,.18);}
body.home-compact .compact-rail a:focus-visible{outline:2px solid #85cfc9;outline-offset:3px;}
body.home-compact .compact-portrait{min-height:590px;}
body.home-compact .compact-portrait figure{inset:8% 1% 9% auto;width:100%;position:absolute;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:32px;background:linear-gradient(145deg,#d6e8f8,#8db9e8);box-shadow:0 30px 80px rgba(0,0,0,.32);}
body.home-compact .compact-portrait figure:before{display:none;}
body.home-compact .compact-portrait img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 12%;filter:none;transform:none;opacity:0;transition:opacity .9s cubic-bezier(.2,.8,.2,1);}
body.home-compact .compact-portrait img.is-loaded{opacity:1;}
body.home-compact .compact-doctor-card{box-shadow:0 26px 70px rgba(0,0,0,.34);}
@media(max-width:760px){
 body.home-compact .masthead{background:rgba(7,9,14,.97)!important;border-bottom:1px solid rgba(255,255,255,.10)!important;backdrop-filter:blur(18px) saturate(1.1)!important;}
 body.home-compact .masthead-row{height:74px!important;gap:10px!important;}
 body.home-compact .wordmark{grid-template-columns:38px minmax(0,1fr)!important;gap:2px 9px!important;min-width:0;max-width:calc(100% - 108px);}
 body.home-compact .wordmark .brand-symbol{width:38px!important;height:38px!important;}
 body.home-compact .brand-primary{font-size:15px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 body.home-compact .brand-specialty{font-size:10px!important;}
 body.home-compact .masthead-tools{gap:7px!important;flex:0 0 auto;}
 body.home-compact .language-switch{width:44px!important;font-size:12px!important;}
 body.home-compact .menu-trigger{width:44px!important;}
 body.home-compact .compact-hero{padding-top:112px!important;}
 body.home-compact .compact-copy h1{font-size:clamp(42px,11vw,58px)!important;line-height:1.1!important;letter-spacing:-.035em!important;}
 body.home-compact .compact-copy>p{font-size:16px!important;line-height:2!important;color:#c0cbd8!important;}
 body.home-compact .compact-portrait{min-height:0!important;height:auto!important;margin-top:8px!important;}
 body.home-compact .compact-portrait figure{position:relative!important;inset:auto!important;width:100%!important;height:clamp(350px,104vw,440px)!important;min-height:0!important;margin:0 auto!important;border-radius:26px!important;}
 body.home-compact .compact-portrait img{max-height:none!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 10%!important;}
 body.home-compact .compact-doctor-card{width:calc(100% - 24px)!important;margin:-62px 12px 12px!important;padding:15px 16px!important;}
 body.home-compact .compact-doctor-card b{font-size:13px!important;}
 body.home-compact .compact-doctor-card small{font-size:10px!important;}
 body.home-compact .rail-head{width:calc(100% - 28px);gap:12px;}
 body.home-compact .rail-head small{font-size:12px!important;color:#e3eaf3!important;letter-spacing:.04em!important;}
 body.home-compact .rail-head>span{font-size:11px!important;color:#aeb9c8!important;}
 body.home-compact .compact-rail{overflow-x:auto!important;scroll-snap-type:x proximity;scrollbar-width:none;mask-image:none!important;}
 body.home-compact .compact-rail-track{width:max-content!important;padding:3px 14px 10px!important;}
 body.home-compact .compact-rail a{height:46px!important;min-height:46px!important;padding-inline:16px!important;font-size:14px!important;scroll-snap-align:start;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.14)!important;}
 body.v7-page .v7-header{position:sticky;top:0;background:rgba(7,9,14,.97);box-shadow:0 4px 18px rgba(5,10,16,.12);}
 body.v7-page .v7-header-row{width:calc(100% - 24px);min-height:72px;padding-block:4px;gap:8px;}
 body.v7-page .v7-brand{grid-template-columns:36px minmax(0,1fr);column-gap:8px;max-width:calc(100% - 96px);}
 body.v7-page .v7-brand:before{width:36px;height:36px;}
 body.v7-page .v7-brand .brand-copy{overflow:hidden;}
 body.v7-page .v7-brand .brand-copy strong.fa,body.v7-page .v7-brand .brand-copy strong.en{font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 body.v7-page .v7-brand .brand-copy small{font-size:9px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 body.v7-page .v7-tools{flex:0 0 auto;}
 body.v7-page .prose{padding-inline:2px;max-width:100%;}
 body.v7-page .prose p{font-size:17px!important;line-height:2.08!important;color:#3d4c5e!important;}
 body.v7-page .prose h2{font-size:clamp(24px,6.5vw,29px)!important;line-height:1.55!important;margin-top:1.9em!important;color:#18212e!important;}
 body.v7-page .prose h3{font-size:21px!important;color:#26384d!important;}
 body.v7-page .prose li{font-size:16px!important;line-height:2!important;color:#3d4c5e!important;}
 body.v7-page .article-lead{font-size:17px!important;line-height:2!important;color:#304155!important;}
 body.v7-page .article-toc a{font-size:14px!important;color:#34465b!important;}
}
@view-transition{navigation:auto;}
::view-transition-old(root){animation:page-leave .18s ease both;}
::view-transition-new(root){animation:page-enter .42s cubic-bezier(.2,.8,.2,1) both;}
@keyframes page-leave{to{opacity:0;}}
@keyframes page-enter{from{opacity:.65;transform:translateY(8px);}to{opacity:1;transform:none;}}
@media(prefers-reduced-motion:reduce){
 body.home-compact .compact-rail{scroll-behavior:auto!important;}
 ::view-transition-old(root),::view-transition-new(root){animation:none!important;}
}

/* High-contrast article reading surface: keep body copy readable after reveal effects. */
body.v7-page:has(article.prose) .section,
body.v7-page:has(article.prose) .section>.shell,
body.v7-page:has(article.prose) .article-layout,
body.v7-page:has(article.prose) article.prose{opacity:1!important;filter:none!important;transform:none!important;}
body.v7-page:has(article.prose) article.prose p,
body.v7-page:has(article.prose) article.prose li,
body.v7-page:has(article.prose) article.prose blockquote{color:#26384a!important;font-size:17px!important;line-height:2.05!important;opacity:1!important;filter:none!important;}
body.v7-page:has(article.prose) article.prose>h2,
body.v7-page:has(article.prose) article.prose>h3{color:#142235!important;opacity:1!important;transform:none!important;}
body.v7-page:has(article.prose) .article-summary,
body.v7-page:has(article.prose) .quick-answer{color:#26384a!important;}
body.v7-page:has(article.prose) .article-summary p,
body.v7-page:has(article.prose) .quick-answer p{color:#3b4c60!important;opacity:1!important;font-size:15px!important;line-height:1.95!important;}
body.v7-page:has(article.prose) .article-toc-links a{color:#35465a!important;}

/* Keep article intro, summary cards, and callouts fully legible. */
body.v7-page:has(article.prose) .article-summary *,
body.v7-page:has(article.prose) .quick-answer *,
body.v7-page:has(article.prose) .article-layout p,
body.v7-page:has(article.prose) .article-toc,
body.v7-page:has(article.prose) .article-toc *{opacity:1!important;filter:none!important;transform:none!important;}
body.v7-page:has(article.prose) .article-summary h2,
body.v7-page:has(article.prose) .quick-answer h2{color:#142235!important;font-size:26px!important;}
body.v7-page:has(article.prose) .article-summary p,
body.v7-page:has(article.prose) .quick-answer p{color:#26384a!important;font-size:16px!important;line-height:1.95!important;}
body.v7-page:has(article.prose) .article-summary,
body.v7-page:has(article.prose) .quick-answer{background:#fff!important;color:#26384a!important;}
body.v7-page:has(article.prose) .article-toc-links a{font-size:14px!important;color:#26384a!important;}
