/* insights.css — the public Blogs pages (served by the backend).
   Header, footer and the Blogs home follow the reference design
   (adalatiq-blog-home.html) closely: same spacing, sizes, radii, shadows and
   behaviour. Colours are theme.css tokens (dark mode for these pages is
   there too). Article typography is article.css. */

/* ── base ─────────────────────────────────────────────────────────────── */
body.ins-body *, body.ins-body *::before, body.ins-body *::after { box-sizing: border-box; }
body.ins-body [hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body.ins-body { background: var(--bg-page); color: var(--text-dark); font: 15px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; }
body.ins-body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg-white); }
body.ins-body a { color: inherit; text-decoration: none; }
body.ins-body button { font: inherit; color: inherit; }
body.ins-body :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ── header ───────────────────────────────────────────────────────────── */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg-white) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -.3px; }
.logo img { width: 24px; height: 24px; object-fit: contain; mix-blend-mode: multiply; }
/* the logo file is black on white: blend the white away, and flip it in dark mode */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo img { filter: invert(1); mix-blend-mode: screen; } }
:root[data-theme="dark"] .logo img { filter: invert(1); mix-blend-mode: screen; }
.logo b { color: var(--orange); font-weight: 700; }
.head-r { display: flex; align-items: center; gap: 8px; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-white); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
/* the real <select> sits invisibly on top of the pill, so it stays a native, accessible control */
.lang-pill select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; }
.lang-pill:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--orange); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
body.ins-body .btn { color: #fff; }
.btn:hover { background: var(--orange-strong); }
body.ins-body .btn.ghost { background: transparent; color: var(--text-dark); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink-3); background: transparent; }
/* the shared login button (auth-widget.js) dressed as the design's .btn */
.head-r .aw-trigger { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border-radius: 10px; background: var(--orange); color: #fff; font: 600 14px var(--font-ui); }
.head-r .aw-trigger:hover { background: var(--orange-strong); }

/* ── hero + search ────────────────────────────────────────────────────── */
.hero { padding-block: 52px 28px; text-align: center; }
.hero .kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.hero h1 { font-family: var(--font-read); font-weight: 700; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 10px; text-wrap: balance; }
.hero p { color: var(--text-mid); font-size: 16.5px; max-width: 560px; margin: 0 auto 28px; text-wrap: balance; }
.search { position: relative; max-width: 640px; margin: 0 auto; }
.search-box { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 20px; background: var(--bg-white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-soft); transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-wash), var(--shadow-soft); }
.search-box > svg { width: 20px; height: 20px; flex: none; stroke: var(--ink-3); fill: none; stroke-width: 2; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px var(--font-ui); color: var(--text-dark); outline: none; padding: 0; }
body.ins-body .search-box input:focus-visible { outline: none; }   /* the box shows the focus ring */
.search-box input::placeholder { color: var(--ink-3); }
.search-box input::-webkit-search-cancel-button, .search-box input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: var(--ink-3); flex: none; }
.icon-btn:hover { background: var(--chip); color: var(--text-dark); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.search-go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--orange); color: #fff; cursor: pointer; flex: none; }
.search-go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--bg-white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 6px; text-align: left; z-index: 30; }
html[dir="rtl"] .suggest { text-align: right; }
.suggest button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; text-align: inherit; }
.suggest button:hover, .suggest button.on { background: var(--chip); }
.suggest .s-thumb { width: 48px; height: 27px; border-radius: 5px; flex: none; background-size: cover; background-position: center; }
.suggest .s-t { font-family: var(--font-read); font-weight: 600; font-size: 15px; line-height: 1.3; display: block; }
.suggest .s-m { font-size: 12.5px; color: var(--ink-3); }
.suggest mark { background: var(--orange-wash); color: inherit; border-radius: 3px; padding: 0 1px; }
.suggest .all { justify-content: center; font-weight: 600; color: var(--orange); font-size: 13.5px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chip { position: relative; }
.chip > button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-white); font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--text-mid); }
body.ins-body .chip > button { color: var(--text-mid); }
.chip > button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
body.ins-body .chip > button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: min(220px, calc(100vw - 16px)); max-width: calc(100vw - 16px); max-height: 300px; overflow: auto; background: var(--bg-white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); padding: 6px; z-index: 30; text-align: left; }
html[dir="rtl"] .menu { text-align: right; }
.menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 12px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; font-size: 14px; text-align: inherit; }
.menu button:hover { background: var(--chip); }
body.ins-body .menu button[aria-checked="true"] { font-weight: 600; color: var(--orange); }
.clear-f { border: 0; background: transparent; color: var(--orange); font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 0 8px; height: 36px; display: inline-flex; align-items: center; }
body.ins-body .clear-f { color: var(--orange); }

/* ── section heads ────────────────────────────────────────────────────── */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 8px 0 16px; }
.sec-head h2 { font-family: var(--font-read); font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.sec-head .sub { color: var(--ink-3); font-size: 13.5px; }
.arrows { display: flex; gap: 8px; }
.arrows button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-white); cursor: pointer; }
.arrows button:disabled { opacity: .35; cursor: default; }
.arrows svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
html[dir="rtl"] .arrows svg { transform: scaleX(-1); }

/* ── carousel ─────────────────────────────────────────────────────────── */
.featured { padding-block: 20px 8px; }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 min(80%, 840px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; aspect-ratio: 16/8.4; max-width: 100%; background: var(--navy); color: #fff; isolation: isolate; }
body.ins-body a.slide { color: #fff; }
.slide .cover { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.slide:hover .cover { transform: scale(1.03); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 22, 0) 30%, rgba(10, 14, 22, .55) 62%, rgba(10, 14, 22, .86) 100%); z-index: 1; }
.slide .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 30px; z-index: 2; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.slide h3 { font-family: var(--font-read); font-weight: 700; font-size: clamp(21px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; max-width: 30ch; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
.av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.verified { display: inline-flex; align-items: center; gap: 4px; }
.verified svg { width: 15px; height: 15px; flex: none; }
.dot-sep { opacity: .6; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.dots button.on { width: 22px; background: var(--orange); }

/* ── feed + rail ──────────────────────────────────────────────────────── */
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-block: 36px 64px; }
@media (min-width: 1040px) { .main { grid-template-columns: minmax(0, 1fr) 300px; } }
.feed { min-width: 0; }
.result-line { font-size: 14px; color: var(--text-mid); margin: -4px 0 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); }
.row:first-of-type { padding-top: 8px; }
.row-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); margin-bottom: 10px; flex-wrap: wrap; }
.row-meta .av { width: 22px; height: 22px; font-size: 9.5px; }
.row h3 { font-family: var(--font-read); font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 6px; text-wrap: pretty; }
.row:hover h3 { color: var(--orange); }
.row p { margin: 0 0 12px; color: var(--text-mid); font-family: var(--font-read); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.row-foot .t { background: var(--chip); color: var(--text-mid); padding: 3px 10px; border-radius: 999px; font-weight: 500; }
.likes { display: inline-flex; align-items: center; gap: 4px; }
.likes svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.thumb { aspect-ratio: 16/9; max-width: 100%; border-radius: 10px; background-size: cover; background-position: center; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--line); border-radius: 18px; margin-top: 8px; }
.empty h3 { font-family: var(--font-read); font-size: 22px; margin: 0 0 6px; }
.empty p { color: var(--text-mid); margin: 0 0 18px; }

.rail { display: none; }
@media (min-width: 1040px) { .rail { display: flex; flex-direction: column; gap: 32px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); align-self: start; } }
.rail h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-list a, .topic-list button { border: 1px solid var(--line); background: var(--bg-white); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; cursor: pointer; }
body.ins-body .topic-list a:hover, .topic-list button:hover { border-color: var(--orange); color: var(--orange); }
.write-card { background: var(--bg-white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.write-card h5 { font-family: var(--font-read); font-size: 19px; margin: 0 0 6px; line-height: 1.25; }
.write-card p { margin: 0 0 14px; color: var(--text-mid); font-size: 14px; }
.rail-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-foot { background: var(--navy); color: #cfd5df; font-size: 13px; }
.site-foot .wrap { padding-block: 28px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
body.ins-body .site-foot nav a, .site-foot nav button { color: #aab3c2; }
.site-foot nav button { border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; }
body.ins-body .site-foot nav a[aria-current] { color: #fff; font-weight: 600; }
.site-foot p { margin: 0; max-width: 680px; color: #95a0b1; }

@media (max-width: 640px) {
  .hero { padding-block: 34px 18px; }
  .hero p { font-size: 15.5px; margin-bottom: 22px; }
  .search-box { height: 52px; padding-left: 16px; }
  .slide { flex-basis: 88%; aspect-ratio: 4/5; }
  .slide .txt { padding: 20px; }
  .row { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding-block: 20px; }
  .row h3 { font-size: 18px; }
  .row p { font-size: 15px; -webkit-line-clamp: 2; }
  .thumb { border-radius: 8px; align-self: start; margin-top: 28px; }
  .arrows { display: none; }
  .head-r .lang-label { display: none; }
  .row-meta .city { display: none; }
  .slide { aspect-ratio: 4/4.4; }
}
@media (prefers-reduced-motion: reduce) { html, .track { scroll-behavior: auto; } .slide .cover { transition: none; } }
[lang="hi"] h3, [lang="hi"] p, [lang="mr"] h3, [lang="mr"] p { line-height: 1.45; }
[lang="ta"] h3, [lang="te"] h3 { line-height: 1.4; letter-spacing: 0; }
[lang="ur"] h3, [lang="ur"] p { font-family: "Noto Naskh Arabic", var(--font-read); line-height: 1.8; }

/* ── post + author pages: the Blogs home look ────────────────────────────
   article.css (shared with the lawyer editor) sets the reading typography;
   these rules only apply on the public pages (body.ins-body). */
.post-main { min-height: 60vh; }
.post, .author-page { padding-block: 40px 64px; }
.post { max-width: 780px; }
.post-kicker { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
body.ins-body .post-kicker { color: var(--orange); }
body.ins-body .post-kicker:hover { color: var(--orange-strong); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; font-family: var(--font-ui); }
.post-tags .t { background: var(--chip); color: var(--text-mid); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
body.ins-body .post-tags a.t { color: var(--text-mid); }
body.ins-body .post-tags a.t:hover { color: var(--orange); }
body.ins-body .ar { max-width: none; color: var(--text-dark); }
body.ins-body .ar-title { font: 700 clamp(30px, 4.4vw, 44px)/1.12 var(--font-read); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
body.ins-body .ar-subtitle { font: 400 20px/1.5 var(--font-read); color: var(--text-mid); margin: 0 0 22px; }
body.ins-body .ar-text { color: var(--text-dark); font-family: var(--font-read); }
body.ins-body .ar-title:lang(ur), body.ins-body .ar-subtitle:lang(ur), body.ins-body .ar-text:lang(ur) { font-family: "Noto Naskh Arabic", var(--font-read); }
body.ins-body .ar-divider { border: 0; border-top: 1px solid var(--line); }
.post-byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; margin: 0 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-ui); }
.post-byline .av { width: 40px; height: 40px; font-size: 14px; }
.post-byline__who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-mid); }
body.ins-body .post-byline .ar-byline__name { font-weight: 600; font-size: 14.5px; color: var(--text-dark); }
body.ins-body .post-byline .ar-byline__name:hover { color: var(--orange); text-decoration: none; }
body.ins-body .post-byline .ar-byline__meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; background: var(--navy) center/cover no-repeat; margin: 0 0 32px; }

.ins-react { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 40px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ins-react__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-white); font: 600 13.5px var(--font-ui); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
body.ins-body .ins-react__btn { color: var(--text-mid); }
.ins-react__btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.ins-react__btn svg.flip { transform: scaleY(-1); }
body.ins-body .ins-react__btn:hover { border-color: var(--ink-3); color: var(--text-dark); }
body.ins-body .ins-react__btn[aria-pressed="true"] { background: var(--orange-wash); border-color: var(--orange); color: var(--orange); }
.ins-react__btn:disabled { opacity: .5; cursor: default; }
.ins-react__count { font-variant-numeric: tabular-nums; }
.ins-react__report { margin-inline-start: auto; background: none; border: 0; padding: 8px 4px; cursor: pointer; font: 500 13px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
body.ins-body .ins-react__report { color: var(--ink-3); }
body.ins-body .ins-react__report:hover { color: var(--text-mid); }
.ins-react__report:disabled { opacity: .5; cursor: default; }
.ins-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.post-more { margin-top: 56px; }

/* AdalatIQ's own AI-assisted posts: logo mark, "AdalatIQ · AI-assisted"
   (grey label, not the advocate tick), Sources, About box, CTA card */
.av--brand { background: var(--bg-white); border: 1px solid var(--line); }
.av--brand img { width: 62%; height: 62%; object-fit: contain; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av--brand img { filter: invert(1); mix-blend-mode: screen; } }
:root[data-theme="dark"] .av--brand img { filter: invert(1); mix-blend-mode: screen; }
.by-adalatiq { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-dark); }
.ai-label { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--chip); color: var(--ink-3); font: 500 11.5px/1.6 var(--font-ui); letter-spacing: .01em; white-space: nowrap; }
body.ins-body .post-byline .ar-byline__name .by-adalatiq { font-size: 14.5px; }
.post-sources { margin: 40px 0 0; font-family: var(--font-ui); }
.post-sources h2 { font: 700 20px/1.3 var(--font-read); margin: 0 0 12px; }
.post-sources ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; }
body.ins-body .post-sources a { color: var(--text-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); overflow-wrap: anywhere; }
body.ins-body .post-sources a:hover { color: var(--orange); text-decoration-color: currentColor; }
.src-site { display: block; font-size: 13px; color: var(--ink-3); }
.about-box { margin: 28px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-inline-start: 4px solid var(--ink-3); border-radius: 12px; background: var(--chip); }
.about-box p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-mid); }
.about-box strong { color: var(--text-dark); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 20px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--orange-wash); border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); }
.cta-card p { margin: 0; flex: 1 1 280px; font-size: 15px; line-height: 1.5; color: var(--text-dark); font-weight: 500; }
.cta-card .btn { flex: none; }

/* author page */
.author-page { max-width: 860px; }
.author-head { display: flex; gap: 20px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.author-av { width: 76px; height: 76px; font-size: 26px; }
.author-info h1 { font-family: var(--font-read); font-weight: 700; font-size: clamp(28px, 4vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 8px; }
.author-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14px; color: var(--text-mid); }
.author-meta .verified { color: var(--green); font-weight: 600; }
.author-info .post-tags { margin: 0; }
.ins-missing { padding-block: 56px 72px; max-width: 640px; }
.ins-missing .empty .btn { margin-top: 4px; }

/* report dialog */
.ins-reasons { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.ins-radio { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; color: var(--text-dark); }
.ins-radio:hover { background: var(--chip); }
.ins-radio input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex-shrink: 0; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: 50%; background: var(--bg-white); display: grid; place-content: center;
}
.ins-radio input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform var(--dur) var(--ease); }
.ins-radio input:checked { border-color: var(--orange); }
.ins-radio input:checked::after { transform: scale(1); }

@media (max-width: 640px) {
  .post, .author-page { padding-block: 28px 48px; }
  body.ins-body .ar-subtitle { font-size: 18px; }
  body.ins-body .ar-text { font-size: 18px; }
  .post-cover { border-radius: 14px; }
  .author-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .author-av { width: 64px; height: 64px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ins-react__btn, .ins-radio input::after { transition: none; } }
/* on the dark carousel slides */
.slide .by-adalatiq { color: #fff; }
.slide .ai-label { background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); }
.slide .av--brand { background: #fff; border-color: transparent; }
body.ins-body .slide .av--brand img { filter: none; mix-blend-mode: multiply; }
.rail-notes { display: grid; gap: 10px; }

/* Constitution series (ADALATIQ_CONSTITUTION_SERIES_SPEC.md): the Series card
   in the rail and the link above the Constitution topic's results. */
.series-card { display: block; background: var(--navy); color: #fff; border-radius: 16px; padding: 20px; position: relative; overflow: hidden; isolation: isolate; }
body.ins-body a.series-card { color: #fff; }
.series-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--orange); opacity: .9; z-index: -1; }
.series-card__kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.series-card h5 { font-family: var(--font-read); font-size: 19px; margin: 6px 0 6px; line-height: 1.25; max-width: 15ch; }
.series-card p { margin: 0 0 12px; color: #cfd5df; font-size: 14px; }
.series-card__go { font-weight: 600; font-size: 14px; }
.series-card:hover .series-card__go { text-decoration: underline; text-underline-offset: 3px; }
.series-note { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 8px 14px; border-radius: 999px; background: var(--orange-wash); font-size: 14px; font-weight: 600; }
body.ins-body a.series-note { color: var(--orange-strong); }
body.ins-body a.series-note:hover { text-decoration: underline; text-underline-offset: 3px; }
