/* ═══════════════════════════════════════════════════════════════
   VITARK.AI — blog (index + articles). Loaded after styles.css on
   /blog, /blog/hi and every /blog/<slug> page (WP4, 2026-10).
     0  Mascot figures (.fig, .loop), base rules first
     1  Briefing cards (index, related)
     2  Index: hero, group chips, groups, rights grid
     3  Article: head, summary, prose, citations, share, note
     4  Closing panel (index + article)
     5  Hindi
   ═══════════════════════════════════════════════════════════════ */

/* ── 0 MASCOT FIGURES ────────────────────────────────────────
   .fig is a box sized by its height and --ar (the loop's aspect, set
   by build-blog.js), so the still and the video both fit inside it and
   nothing spills sideways. The still shows first; pages.js fades the
   .webm/.mp4 loop in over it once it plays on screen. Reduced motion
   (or no JS) keeps the still. Decorative: aria-hidden, alt="". */
.fig { position: relative; display: block; aspect-ratio: var(--ar, 0.5); pointer-events: none; }
.fig > img, .fig > .loop {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
}
.fig .loop { aspect-ratio: var(--ar, 0.5); }
.fig .loop > img {
  position: absolute; bottom: 0; left: 50%;
  height: 100%; width: auto; max-width: none;
  transform: translateX(-50%);
  transition: opacity 300ms ease;
}
.fig .loop > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%;
  opacity: 0; transition: opacity 300ms ease;
}
.fig .loop.is-playing > video { opacity: 1; }
.fig .loop.is-playing > img { opacity: 0; }

/* ── 1 BRIEFING CARDS (design: home "Know where you stand") ── */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.brief-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-md);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.brief-card:hover { box-shadow: var(--shadow-lg); }
.brief-card:active { transform: scale(0.98); }
.brief-card:focus-within { outline: 2px solid var(--color-navy); outline-offset: 2px; }
.brief-card__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-gold-ink);
}
/* The duration badge sits at the end of the kicker line and never drops under it. */
.brief-card__kicker .play-badge { margin-left: auto; flex: none; }
.brief-card__title {
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.76vw, 23px);
  line-height: 1.14;
  text-wrap: pretty;
}
.brief-card__link { color: var(--color-ink); text-decoration: none; }
.brief-card__link:hover { color: var(--color-ink); }
.brief-card__link:focus-visible { outline: none; }
/* The title link covers the card; the language link sits above it. */
.brief-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.brief-card__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.brief-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}
.brief-card__read img { width: 18px; height: 18px; transition: transform 150ms ease; }
.brief-card:hover .brief-card__read img { transform: translate(2px, -2px); }
.brief-card__alt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.brief-card__alt:hover { border-color: var(--color-navy); color: var(--color-navy); }
.brief-card__alt[lang="hi"] { font-family: 'Noto Sans Devanagari', var(--font-sans); }

/* ── 2 INDEX ─────────────────────────────────────────────── */
/* Compact hero: the three people stand on the hero's bottom rule beside
   the copy from 52em; phones show the copy only and the cards carry the art. */
.blog-hero { padding-top: clamp(16px, 3vw, 32px); padding-bottom: 0; overflow: hidden; overflow: clip; border-bottom: 1px solid var(--color-rule); }
.blog-hero__inner { display: grid; gap: 28px; align-items: end; }
.blog-hero__text { padding-bottom: 28px; }
.blog-hero__text > * + * { margin-top: 14px; }
.blog-hero__text .t-page { max-width: 14ch; }
.blog-hero__stat { font-size: var(--text-md); color: var(--fg-secondary); max-width: 46ch; }
.blog-hero__people { position: relative; height: clamp(240px, 64vw, 300px); }
.blog-hero__fig { position: absolute; bottom: 0; transform: translateX(-50%); }
.blog-hero__fig--v { left: 21%; height: 86%; z-index: 1; }
.blog-hero__fig--k { left: 50%; height: 100%; z-index: 3; }
.blog-hero__fig--t { left: 79%; height: 90%; z-index: 2; }
@media (min-width: 52em) {
  .blog-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .blog-hero__text { padding-bottom: clamp(32px, 4vw, 48px); }
  .blog-hero__people { height: clamp(260px, 24vw, 310px); }
}

/* Search and the life-event chips sit on top of the one grid they filter. */
.blog-guides.section { padding: clamp(24px, 3.5vw, 40px) 0 clamp(56px, 7vw, 88px); border-top: 0; }
.blog-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(20px, 3vw, 32px); }
.blog-search { max-width: 520px; }
.blog-search__input { width: 100%; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--color-navy); border-radius: var(--radius-pill); background: var(--color-white); font: inherit; font-size: 16px; color: var(--color-ink); }
.blog-search__empty { margin: -8px 0 20px; font-size: 16px; color: var(--fg-secondary); }
.blog-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: var(--text-ui);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}
.blog-chips a:hover { border-color: var(--color-navy); color: var(--color-navy); }
.blog-chips span { font-weight: 600; font-size: var(--text-sm); color: var(--color-gold-ink); }
.blog-chips a[aria-current="true"] { border-color: var(--color-navy); background: var(--color-navy); color: var(--color-paper); }
.blog-chips a[aria-current="true"] span { color: var(--color-gold); }
/* Phones: one row of chips that scrolls sideways inside the page, not seven wrapped rows. */
@media (max-width: 47.49em) {
  .blog-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-x)); padding: 2px var(--gutter-x) 4px; scroll-padding-inline: var(--gutter-x); }
  .blog-chips::-webkit-scrollbar { display: none; }
  .blog-chips span { font-size: 16px; }
}

/* ── The guide grid: 1 / 2 / 3 columns; the featured guide spans two. ── */
.guide-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; }
@media (min-width: 40em) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 64em) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 96px;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
.guide-card[hidden] { display: none; }
.guide-card:hover { border-color: var(--color-navy-200); box-shadow: var(--shadow-md); }
.guide-card:focus-within { outline: 2px solid var(--color-navy); outline-offset: 3px; }
/* The cover is the comic's first panel, framed like a panel: an ink rule under it. */
.guide-card__cover { position: relative; display: block; flex: none; aspect-ratio: 600 / 489; overflow: hidden; background: var(--color-gold-100); border-bottom: 2px solid var(--color-ink); }
.guide-card__cover > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* No comic yet: the group's character on the strip's paper tone, the same size as a panel. */
.guide-card__cover--fig { display: flex; align-items: flex-end; justify-content: center; background: var(--color-gold-200); }
.guide-card__fig { height: 88%; }
.guide-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 16px; }
.guide-card__tag { font-size: var(--text-sm); font-weight: 600; color: var(--color-gold-ink); }
.guide-card__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.16; text-wrap: pretty; }
.guide-card__link { color: var(--color-ink); text-decoration: none; }
.guide-card__link:hover { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-card__link:focus-visible { outline: none; }
.guide-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.guide-card__desc { font-size: 15px; line-height: 1.5; color: var(--fg-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-card__alt { flex: none; }
.guide-card__meta { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: var(--text-sm); color: var(--fg-muted); }
.guide-card__mark { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--color-navy); }
.guide-card__mark svg { width: 12px; height: 12px; }
.guide-card__alt {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.guide-card__alt:hover { border-color: var(--color-navy); color: var(--color-navy); }
.guide-card__alt[lang="hi"] { font-family: 'Noto Sans Devanagari', var(--font-sans); }
/* Featured: two columns wide, its cover the strip's first two panels. A
   filtered grid shows it as one card among the rest, keeping the wide cover. */
@media (min-width: 40em) {
  .guide-card__cover--wide { aspect-ratio: 1000 / 397; }
  .guide-grid:not([data-filtered]) .guide-card--feature { grid-column: span 2; }
  .guide-card--feature .guide-card__body { gap: 12px; padding: 22px 26px 20px; }
  .guide-grid:not([data-filtered]) .guide-card--feature .guide-card__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; text-wrap: balance; }
  .guide-grid:not([data-filtered]) .guide-card--feature .guide-card__desc { font-size: var(--text-md); max-width: 62ch; }
}
/* Phones: the featured guide keeps its full cover; every other guide is a
   compact row (panel thumbnail, tag and title, then summary and footer),
   so eleven guides are a short scroll, not eleven posters. */
@media (max-width: 39.99em) {
  .guide-card:not(.guide-card--feature) {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "cover tag" "cover title" "desc desc" "foot foot";
    column-gap: 14px;
    row-gap: 6px;
    padding: 14px;
  }
  .guide-card:not(.guide-card--feature) .guide-card__body { display: contents; }
  .guide-card:not(.guide-card--feature) .guide-card__cover { grid-area: cover; align-self: start; aspect-ratio: 92 / 100; border: 1.5px solid var(--color-ink); border-radius: var(--radius-md); }
  .guide-card:not(.guide-card--feature) .guide-card__cover > img { object-position: 50% 78%; }
  .guide-card:not(.guide-card--feature) .guide-card__tag { grid-area: tag; }
  .guide-card:not(.guide-card--feature) .guide-card__title { grid-area: title; font-size: 19px; }
  .guide-card:not(.guide-card--feature) .guide-card__desc { grid-area: desc; margin-top: 6px; -webkit-line-clamp: 2; }
  .guide-card:not(.guide-card--feature) .guide-card__foot { grid-area: foot; padding-top: 4px; }
  .guide-card__fig { height: 94%; }
}
@media (max-width: 47.49em) {
  .guide-card__tag, .guide-card__desc, .guide-card__meta, .guide-card__alt { font-size: 16px; }
  .guide-card__alt { min-height: 44px; }
}

.blog-rights__grid {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.blog-rights__grid li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}
.blog-rights__grid b { font-family: var(--font-heading); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--color-ink); }
.blog-rights__grid span { font-size: 13px; line-height: 1.55; color: var(--fg-secondary); }

/* ── 3 ARTICLE ───────────────────────────────────────────── */
.blog-article .section--hero { padding-bottom: clamp(56px, 8vw, 96px); }
.article-head { position: relative; margin-bottom: clamp(28px, 4vw, 40px); }
.article-head > * + * { margin-top: 16px; }
/* The group's character beside the kicker, standing on a rule; at wide
   widths it moves into the right margin, clear of the 820px column. */
.article-head__top {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 12px;
  border-bottom: 1px solid var(--color-rule);
}
.article-head__top .t-label { padding-bottom: 12px; }
.article-head__fig { flex: none; height: 112px; }
@media (min-width: 80em) {
  .article-head__top { display: block; margin-top: 0; border-bottom: 0; }
  .article-head__top .t-label { padding-bottom: 0; }
  .article-head__fig { position: absolute; top: -8px; left: calc(100% + 40px); height: 340px; }
}
.article-head__title {
  font-family: var(--font-heading);
  font-size: clamp(29px, 4.16vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.article-byline { font-size: var(--text-md); color: var(--color-ink); }
.article-byline a { color: var(--color-navy); font-weight: 600; }
.article-head__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 0 18px;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.article-head__lang:hover { background: var(--color-gold-100); color: var(--color-navy); }
.article-head__lang img { width: 18px; height: 18px; }
.article-head__lang[lang="hi"] { font-family: 'Noto Sans Devanagari', var(--font-sans); }

.article-summary {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-gold-100);
  border-left: 4px solid var(--color-gold-400);
}
.article-summary__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-gold-ink);
}
.article-summary p + p { margin-top: 8px; }
.article-summary p:not(.article-summary__label) { font-family: var(--font-body-serif); font-size: 15px; line-height: 1.6; color: var(--color-ink); }

.article-lede { display: flex; flex-direction: column; gap: 24px; }
.watch__kicker, .article-seeit__h, .comic__h {
  margin: 0 0 10px; font-family: var(--font-sans); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0; text-transform: none; color: var(--color-gold-ink);
}
@media (min-width: 40.0625em) {
  .article-lede { display: block; }
  .article-lede .article-summary, .article-lede ~ h2, .article-lede ~ .table-scroll { display: flow-root; }
}
.article-seeit { max-width: 68ch; margin-top: clamp(40px, 6vw, 56px); clear: both; }
.article-seeit__h { font-size: var(--text-sm); }
html[lang="hi"] .watch__kicker, html[lang="hi"] .article-seeit__h, html[lang="hi"] .comic__h { letter-spacing: 0; text-transform: none; font-family: 'Noto Sans Devanagari', var(--font-sans); }

/* Readable measure: ~68ch from .prose; the inner column is 820px. */
.article-prose { margin-inline: 0; }
.article-prose h2 { padding-top: 0.6em; border-top: 1px solid var(--color-rule); }
.article-prose ol { padding-left: 1.6em; }
.article-prose ol > li::marker { font-family: var(--font-mono); font-weight: 700; color: var(--color-gold-ink); }
.article-prose ul > li::marker { color: var(--color-gold-ink); }
.article-prose sup { font-size: 0.7em; line-height: 0; vertical-align: super; }
.article-prose sup a { text-decoration: none; font-family: var(--font-mono); }
.article-prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-prose .table-scroll > table { min-width: 28rem; }
/* "Cases that matter": each paragraph is a citation entry. */
.article-cite {
  padding: 16px 18px 16px 20px;
  border-left: 3px solid var(--color-navy);
  background: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
}
.article-cite > strong:first-child {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-navy);
}

.article-share {
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--color-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.article-share__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-gold-ink);
}
.article-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.article-share__btn:hover { border-color: var(--color-navy); color: var(--color-navy); }
.article-share__btn svg:not(.appicon), .article-share__btn img { width: 18px; height: 18px; flex: none; }
.article-share__btn.is-copied { background: var(--color-mint-soft); border-color: var(--color-mint-deep); color: var(--color-mint-deep); }

.article-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-secondary);
}
.article-note strong { color: var(--color-ink); }
.article-note a { color: var(--color-navy); text-decoration: underline; text-decoration-color: var(--color-gold-400); }

.blog-related .t-h2 { margin-bottom: 28px; }

/* ── 4 CLOSING PANEL ─────────────────────────────────────── */
/* The relieved character stands on the panel's bottom edge: under the
   button on a phone, beside the copy from 52em. */
.blog-close { overflow: hidden; overflow: clip; padding-bottom: 0; }
.blog-close__inner { display: grid; gap: 8px; align-items: end; }
.blog-close__text { padding-bottom: 16px; }
.blog-close__text > * + * { margin-top: 18px; }
.blog-close .t-label { color: var(--color-gold-300); }
.blog-close h2 { max-width: 20ch; }
.blog-close h2 em { font-style: italic; }
.blog-close__sub { max-width: 52ch; font-size: var(--text-md); line-height: 1.6; color: var(--color-gold-100); }
.blog-close__persona { max-width: 52ch; font-family: var(--font-body-serif); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--color-gold); }
.blog-close__tark { max-width: 22ch; font-family: var(--font-heading); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--color-gold-300); }
.blog-close__canon { font-family: var(--font-sans); font-size: var(--text-sm); color: var(--color-gold-300); }
.blog-close .btn { margin-top: 28px; }
.blog-close__people { display: flex; justify-content: center; align-items: flex-end; justify-self: center; }
.blog-close__fig { flex: none; height: 168px; }
.blog-close__fig--v { order: 1; margin-right: -14px; z-index: 1; }
.blog-close__fig--k { order: 2; height: 176px; z-index: 2; }
.blog-close__fig--t { order: 3; margin-left: -14px; z-index: 1; }
@media (min-width: 52em) {
  .blog-close__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
  .blog-close__text { padding-bottom: clamp(48px, 8vw, 96px); }
  .blog-close__people { justify-self: end; }
  .blog-close__fig { height: clamp(250px, 24vw, 330px); }
  .blog-close__fig--k { height: clamp(262px, 25vw, 346px); }
  .blog-close__fig--v { margin-right: -28px; }
  .blog-close__fig--t { margin-left: -28px; }
}

/* ── 5 HINDI ─────────────────────────────────────────────────
   Devanagari is self-hosted (assets/fonts, see ASSETS.md). It reads
   larger per em and hangs from the shirorekha, so it gets more leading
   and no tracking on labels. */
html[lang="hi"] body { font-family: 'Noto Sans Devanagari', var(--font-sans); }
html[lang="hi"] .prose { line-height: 1.9; }
/* 68ch of the Devanagari face is ~544px, too narrow beside the Short's phone: use the English measure. */
html[lang="hi"] .article-prose { max-width: 46.6rem; }
/* The Devanagari files carry no Latin or digits, so those fall to DM Serif
   Display / Text, which have 400 only: no faux bold on them (font-synthesis). */
html[lang="hi"] .t-page, html[lang="hi"] .t-h2, html[lang="hi"] .article-head__title,
html[lang="hi"] .brief-card__title, html[lang="hi"] .guide-card__title { font-family: 'Noto Serif Devanagari', var(--font-heading); font-weight: 600; font-synthesis: style; line-height: 1.35; }
html[lang="hi"] .article-head__title { font-size: clamp(24px, 3.52vw, 40px); }
html[lang="hi"] .t-page { font-size: clamp(29px, 4.32vw, 48px); }
html[lang="hi"] .prose h2 { font-family: 'Noto Serif Devanagari', var(--font-heading); font-weight: 600; font-synthesis: style; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.4; }
html[lang="hi"] .brief-card__title, html[lang="hi"] .guide-card__title { font-size: clamp(17px, 1.6vw, 20px); }
html[lang="hi"] .t-label, html[lang="hi"] .brief-card__kicker, html[lang="hi"] .article-summary__label,
html[lang="hi"] .article-share__label, html[lang="hi"] .guide-card__tag, html[lang="hi"] .blog-chips a { letter-spacing: 0; text-transform: none; font-family: 'Noto Sans Devanagari', var(--font-sans); }
html[lang="hi"] .article-summary p:not(.article-summary__label) { font-family: 'Noto Serif Devanagari', var(--font-body-serif); line-height: 1.85; }
html[lang="hi"] .article-cite > strong:first-child { font-family: 'Noto Serif Devanagari', var(--font-body-serif); font-style: normal; font-weight: 600; font-synthesis: style; }
html[lang="hi"] .blog-close__persona { font-family: 'Noto Serif Devanagari', var(--font-body-serif); font-style: normal; line-height: 1.8; }
html[lang="hi"] .crumb { font-family: 'Noto Sans Devanagari', var(--font-sans); }
/* The rights grid and canon line stay English on the Hindi index. */
html[lang="hi"] [lang="en"] { font-family: var(--font-sans); }
html[lang="hi"] [lang="en"] b { font-family: var(--font-heading); font-weight: 400; }


/* Comic strip (content/comics.json) after "What you can do". From 40em the
   whole 4:5 strip; on phones its bubbles would be ~9px, so the same WebP is
   shown as four stacked panel crops (background-size 1080/512 page px, the
   crop window in build-blog.js comicFigure; x 28 and 540 of 1080, y per strip). */
.comic { clear: both; max-width: 720px; margin: 32px auto; }
.comic__strip { display: block; width: 100%; height: auto; border: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent); background: var(--color-paper); }
.comic__panels { display: none; }
/* The strip paints its own legal line; the caption is only for the phone crops, which leave that footer out. */
.comic figcaption { display: none; margin-top: 10px; font-size: var(--text-sm); color: var(--fg-secondary); text-align: center; }
@media (max-width: 40em) {
  .comic__strip { display: none; }
  .comic figcaption { display: block; }
  .comic__panels { display: grid; gap: 12px; }
  .comic__panels > div {
    aspect-ratio: 512 / 464; background: var(--color-paper) var(--comic) no-repeat; background-size: 210.9375% auto;
    border: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent);
  }
  .comic__panels > div:nth-child(1) { background-position: 4.93% var(--comic-y1); }
  .comic__panels > div:nth-child(2) { background-position: 95.07% var(--comic-y1); }
  .comic__panels > div:nth-child(3) { background-position: 4.93% var(--comic-y2); }
  .comic__panels > div:nth-child(4) { background-position: 95.07% var(--comic-y2); }
}

/* --- phone type floor (audit item 3): nothing below 16px on phones --- */
@media (max-width: 47.49em) {
  .brief-card__read,
  .brief-card__alt,
  .blog-rights__grid span,
  .article-summary p:not(.article-summary__label),
  .article-cite,
  .article-cite > strong:first-child,
  .article-share__btn,
  .article-note,
  .blog-close__persona { font-size: 16px; }
}

/* ── Guides index: folded rights ── */
.blog-rights__fold summary { cursor: pointer; display: flex; align-items: center; min-height: 48px; list-style: none; }
.blog-rights__fold summary::after { content: "+"; margin-left: 12px; font-size: 20px; }
.blog-rights__fold[open] summary::after { content: "–"; }
.blog-rights__fold[open] .blog-rights__grid { margin-top: 16px; }
.blog-rights.section { padding: 32px 0; }
@media (max-width: 47.49em) {
  .blog-hero__people { display: none; }
  .brief-grid .brief-card { padding: 18px; min-height: 0; }
}
/* Article: the short answer first, the Short under it and smaller, one inline action. */
.article-lede { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 47.5em) { .article-lede { display: flex; } }
.article-ask { margin: 24px 0 8px; }
.prose .article-ask .btn { text-decoration: none; color: var(--color-ink); }
/* "Get your own situation researched, free" is longer than a small phone: it wraps inside the pill. */
.article-ask .btn, .blog-close .btn { max-width: 100%; white-space: normal; text-align: center; text-wrap: balance; padding-block: 10px; }
.blog-hero__follow { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--fg-secondary); }
.blog-hero__follow a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; vertical-align: middle; font-weight: 600; color: var(--color-navy); }
.article-share--top { margin: 20px 0 8px; }
/* The article's Short as one watch block, the column's full width: the 9:16
   poster (the player takes exactly its box, so playing never moves the page)
   beside its label, title, length and language, one plain line and a play
   button; stacked, poster first, on phones. Overrides the shared .yt card
   rules (styles.css) where they assume a bare poster. */
.article-watch { margin: 36px 0 !important; }
.yt--watch {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-xl);
  background: var(--color-gold-100);
}
.yt--watch .thumb { width: min(100%, 260px); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.yt--watch .thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt--watch .thumb iframe { width: 100%; height: 100%; }
/* The poster's play mark: a 64px disc in the open space between the title card and Kumari's caption. */
.yt--watch .thumb__play { place-items: center; padding-bottom: 4%; background: none; }
.yt--watch .thumb__play svg { width: 28px; height: 28px; padding: 18px; }
.yt--watch figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  color: var(--color-ink);
}
.yt--watch .watch__kicker { margin: 0; }
.yt--watch .watch__title { margin: 0; font-family: var(--font-heading); font-size: clamp(21px, 2vw, 25px); line-height: 1.2; color: var(--color-ink); text-wrap: balance; }
.yt--watch .watch__meta { display: flex; gap: 8px; margin: 0; }
.yt--watch .watch__meta > * { padding: 3px 10px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-white); font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--color-navy); }
.yt--watch .watch__meta time { font-variant-numeric: tabular-nums; }
.yt--watch .watch__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-secondary); }
.yt--watch .watch__play {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin-top: 6px;
  background: var(--color-white);
  text-decoration: none;
}
.yt--watch .watch__play svg { width: 14px; height: 14px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: currentColor; }
.yt--watch .watch__play:hover svg { transform: none; background: none; }
.yt--watch.is-playing .watch__play { visibility: hidden; }
@media (min-width: 40em) {
  .yt--watch { grid-template-columns: 240px minmax(0, 1fr); justify-items: stretch; align-items: center; gap: 28px; padding: 20px; }
  .yt--watch .thumb { width: 100%; }
}
@media (min-width: 60em) {
  .yt--watch { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; padding: 24px 32px 24px 24px; }
}
@media (max-width: 47.49em) {
  .yt--watch .watch__kicker, .yt--watch .watch__meta > *, .yt--watch .watch__note { font-size: 16px; }
}
/* The comic shares the text column's left edge and width. */
.comic { max-width: none; margin: 36px 0; }

/* ── Finish pass (2026-11-10) ───────────────────────────────── */
/* Share buttons are buttons wherever they sit (the top row is inside .prose): no link underline, one size. */
.article-share a.article-share__btn { text-decoration: none; font-size: 14px; }
@media (max-width: 47.49em) { .article-share a.article-share__btn { font-size: 16px; } }
/* Devanagari sits higher in its line box than Latin: lift the stroke to meet the word. */
html[lang="hi"] .swash { background-position: 0 82%; }
/* Phones: no text under 16px (tests/e2e/site.spec.js). */
@media (max-width: 47.49em) {
  .blog-hero__follow, .yt figcaption { font-size: 16px; }
}
