html, body { min-height: 100%; background: #050813; color: #f5f8ff; font-family: var(--font-body); }
body { overflow-x: hidden; }
.article-shell { width: min(920px, calc(100% - 96px)); margin: 0 auto; }
.lang-en { display: none; }
html[data-lang="en"] .lang-fa { display: none !important; }
html[data-lang="en"] .lang-en { display: block; }
span.lang-en { display: none; }
html[data-lang="en"] span.lang-en { display: inline; }

.article-header {
  position: relative;
  padding: 150px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(48, 96, 235, 0.18), transparent 34%),
    linear-gradient(180deg, #07102b 0%, #050813 100%);
}
.article-header::before {
  content: ""; position: absolute; inset: 0; opacity: 0.28;
  background-image: linear-gradient(rgba(102, 150, 245, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(102, 150, 245, .08) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.article-header-inner { position: relative; z-index: 1; }
.back-to-blog { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 72px; color: rgba(147, 183, 247, .74); font-size: 12px; letter-spacing: .08em; transition: color .2s ease, gap .2s ease; }
.back-to-blog:hover { color: #fff; gap: 12px; }
html[dir="rtl"] .back-to-blog svg { transform: scaleX(-1); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: rgba(130, 161, 218, .74); font-size: 12px; letter-spacing: .08em; }
.article-category { color: #9bbdff; }
.article-header h1 { max-width: 980px; margin-top: 25px; font-size: clamp(48px, 7vw, 82px); font-weight: 680; line-height: 1.18; letter-spacing: -.045em; }
html[dir="ltr"] .article-header h1 { line-height: 1.02; }
.article-deck { max-width: 760px; margin-top: 28px; color: rgba(191, 211, 248, .82); font-size: clamp(18px, 2vw, 22px); font-weight: 300; line-height: 1.95; }
.author-row { display: flex; align-items: center; gap: 13px; margin-top: 38px; }
.author-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(125, 170, 255, .35); border-radius: 50%; background: rgba(74, 117, 227, .10); color: #bdd2ff; font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: .08em; }
.author-row strong, .author-row span { display: block; }
.author-row strong { color: #eef4ff; font-size: 14px; font-weight: 550; }
.author-row > div:last-child > span { margin-top: 2px; color: rgba(139, 171, 228, .70); font-size: 12px; }

.article-visual { width: min(1240px, calc(100% - 64px)); aspect-ratio: 16 / 8.2; margin: 0 auto; background-image: url("../assets/images/no-show-healthcare.webp"); background-size: cover; background-position: center; border: 1px solid rgba(120, 164, 255, .18); box-shadow: 0 34px 100px rgba(0, 0, 0, .45); }

.article-body { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 130px; }
.article-language { color: rgba(210, 222, 246, .90); font-size: 18px; font-weight: 300; line-height: 2.08; }
.article-language .opening { color: #eaf1ff; font-size: 22px; line-height: 2; }
.article-language strong { color: #fff; font-weight: 600; }
.article-language h2 { margin: 82px 0 22px; color: #f7f9ff; font-size: clamp(30px, 4vw, 43px); font-weight: 640; line-height: 1.45; letter-spacing: -.025em; }
.article-language h3 { margin: 38px 0 12px; color: #e9f0ff; font-size: 23px; font-weight: 590; }
.article-language p + p { margin-top: 22px; }
.article-language ul { margin: 16px 0 30px; }
.article-language ul li { position: relative; padding-inline-start: 24px; margin-top: 8px; }
.article-language ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1em; width: 7px; height: 1px; background: #719eff; }
.article-language a { color: #a9c7ff; text-decoration-color: rgba(142, 182, 255, .4); }

.article-toc { margin: 64px 0 72px; padding: 28px 32px; border: 1px solid rgba(105, 151, 245, .19); background: rgba(12, 22, 52, .52); }
.article-toc > span { color: #87adf7; font-size: 11px; font-weight: 550; letter-spacing: .18em; text-transform: uppercase; }
.article-toc ol { margin-top: 15px; counter-reset: toc; }
.article-toc li { counter-increment: toc; display: flex; gap: 13px; margin-top: 8px; font-size: 14px; line-height: 1.8; }
.article-toc li::before { content: "0" counter(toc); color: rgba(113, 158, 245, .55); font-family: 'Outfit', sans-serif; font-size: 11px; }

.formula { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 34px 0; padding: 28px 32px; border-inline-start: 2px solid #5f8cff; background: linear-gradient(90deg, rgba(49, 82, 173, .20), rgba(16, 26, 60, .38)); color: #dbe8ff; }
.formula span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.formula strong { font-family: 'Outfit', sans-serif; font-size: clamp(18px, 3vw, 25px); }

.pull-quote { margin: 68px -70px; padding: 38px 52px; border-top: 1px solid rgba(110, 157, 250, .25); border-bottom: 1px solid rgba(110, 157, 250, .25); color: #d9e6ff; font-size: clamp(25px, 4vw, 36px); font-weight: 420; line-height: 1.75; }
.pull-quote p { margin: 0 !important; }

.impact-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 38px 0; border-top: 1px solid rgba(107, 150, 237, .16); border-inline-start: 1px solid rgba(107, 150, 237, .16); }
.impact-grid > div { padding: 28px; border-inline-end: 1px solid rgba(107, 150, 237, .16); border-bottom: 1px solid rgba(107, 150, 237, .16); background: rgba(10, 17, 39, .48); }
.impact-grid span { display: block; color: rgba(107, 151, 238, .54); font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: .18em; }
.impact-grid strong { display: block; margin-top: 18px; font-size: 17px; }
.impact-grid p { margin-top: 8px !important; color: rgba(165, 188, 230, .70); font-size: 14px; line-height: 1.85; }

.case-study { margin: 28px 0; padding: 34px; border: 1px solid rgba(112, 158, 249, .20); background: radial-gradient(circle at 100% 0%, rgba(64, 111, 230, .16), transparent 42%), rgba(9, 17, 41, .62); }
.case-label { color: #79a2f7; font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: .18em; }
.case-study h3 { margin-top: 16px; }
.case-study p { margin-top: 12px !important; font-size: 16px; }

.framework-list { margin-top: 38px; border-top: 1px solid rgba(105, 150, 240, .18); }
.framework-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid rgba(105, 150, 240, .18); }
.framework-list > li > span { color: rgba(105, 150, 240, .56); font-family: 'Outfit', sans-serif; font-size: 11px; letter-spacing: .14em; }
.framework-list strong { display: block; font-size: 18px; }
.framework-list p { margin-top: 6px !important; color: rgba(166, 190, 232, .74); font-size: 15px; line-height: 1.85; }

.closing-statement { margin-top: 86px; padding: 44px; background: linear-gradient(135deg, rgba(33, 62, 136, .42), rgba(7, 14, 34, .72)); border: 1px solid rgba(113, 161, 255, .25); }
.closing-statement > span { color: #8bb0fb; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.closing-statement p { margin-top: 17px !important; color: #e2ebff; font-size: 20px; line-height: 1.95; }

.sources { margin-top: 90px; padding-top: 30px; border-top: 1px solid rgba(110, 153, 238, .16); }
.sources h2 { margin: 0 0 20px; font-size: 21px; }
.sources li { font-size: 13px; line-height: 1.65; }
.sources li + li { margin-top: 11px; }
.sources a { text-decoration: underline; text-underline-offset: 4px; }

.article-footer { border-top: 1px solid rgba(102, 147, 238, .14); background: #02040c; }
.article-footer .article-shell { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: rgba(119, 153, 215, .62); font-size: 12px; }
.article-footer a { color: #aac5f9; }
.article-footer > .article-shell > span { font-family: 'Outfit', sans-serif; font-size: 9px; letter-spacing: .18em; }

@media (max-width: 900px) {
  .article-shell { width: calc(100% - 48px); }
  .article-visual { width: calc(100% - 40px); aspect-ratio: 16 / 10; }
  .pull-quote { margin-inline: -20px; }
}
@media (max-width: 600px) {
  .article-header { padding: 112px 0 58px; }
  .article-shell { width: calc(100% - 40px); }
  .back-to-blog { margin-bottom: 54px; }
  .article-header h1 { font-size: 43px; }
  .article-deck { font-size: 17px; line-height: 1.85; }
  .article-visual { width: 100%; aspect-ratio: 4 / 3; border-inline: 0; }
  .article-body { width: calc(100% - 40px); padding: 72px 0 92px; }
  .article-language { font-size: 16px; line-height: 2; }
  .article-language .opening { font-size: 19px; }
  .article-language h2 { margin-top: 64px; font-size: 29px; }
  .article-toc { padding: 24px 20px; }
  .formula { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 20px; }
  .pull-quote { margin: 56px 0; padding: 30px 22px; font-size: 24px; }
  .impact-grid { grid-template-columns: 1fr; }
  .case-study { padding: 25px 22px; }
  .closing-statement { padding: 30px 24px; }
  .closing-statement p { font-size: 18px; }
  .article-footer .article-shell { min-height: 130px; align-items: flex-start; justify-content: center; flex-direction: column; }
}
