/* Anantam Tech — layout modelled on the Newsreader news demo (sticky nav, ticker,
   overlay hero, tabbed sidebar, category blocks), with its own type and colour. */
:root {
  --bg: #ffffff; --bg-soft: #f4f5f7; --ink: #15171c; --ink-2: #4b5160; --ink-3: #7a8091;
  --line: #e3e5ea; --brand: #D11A1F; --brand-ink: #ffffff; --card: #ffffff;
  --red: #D11A1F; --orange: #F26B1D; --orange-ink: #C2410C; --blue: #0F4C81; --link: #0F4C81;
  --overlay: linear-gradient(180deg, rgba(10,12,20,0) 30%, rgba(10,12,20,.88) 100%);
  --radius: 4px; --maxw: 1240px;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] {
  --bg: #0e1015; --bg-soft: #171a21; --ink: #eef0f4; --ink-2: #b4bac8; --ink-3: #8189a0;
  --line: #262a35; --brand: #FF6B6F; --brand-ink: #ffffff; --link: #7DB2E8; --orange-ink: #FF9A5C; --card: #12151b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1015; --bg-soft: #171a21; --ink: #eef0f4; --ink-2: #b4bac8; --ink-3: #8189a0;
    --line: #262a35; --brand: #FF6B6F; --brand-ink: #ffffff; --link: #7DB2E8; --orange-ink: #FF9A5C; --card: #12151b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--head);
  font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover .t, a.t:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- top strip + header ---- */
.strip { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.strip .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); margin-right: 8px; vertical-align: 1px; }
.strip .links { display: flex; gap: 18px; }
.strip button, .iconbtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 4px; }
header.site { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; display: block; }
.logo .on-dark { display: none; }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .on-light { display: none; }
  :root:not([data-theme="light"]) .logo .on-dark { display: block; }
}
nav.main { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { padding: 8px 10px; font-weight: 600; font-size: 15px; white-space: nowrap; border-radius: var(--radius); }
nav.main a:hover, nav.main a[aria-current] { background: var(--bg-soft); }
.searchbtn { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; color: var(--ink-2); font-size: 14px; background: var(--bg); }
.searchbtn svg { width: 16px; height: 16px; }
.ticker { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.ticker .wrap { display: flex; gap: 10px; align-items: center; height: 42px; overflow-x: auto; scrollbar-width: none; }
.ticker .lbl { font-weight: 700; font-size: 13px; color: var(--brand); white-space: nowrap; padding-right: 6px; }
.ticker a.tag { white-space: nowrap; font-size: 14px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg); }
.ticker a.tag:hover { border-color: var(--brand); color: var(--brand); }

/* ---- cards ---- */
.cat { font-size: 12.5px; font-weight: 700; color: var(--c, var(--brand)); letter-spacing: .01em; }
.meta { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.meta b { color: var(--ink-2); font-weight: 600; }
.ph { background: var(--c, var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 800;
  font-size: 20px; letter-spacing: -.02em; opacity: .92; }
.thumb { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: var(--bg-soft); border-radius: var(--radius); }
.h1c { font-size: 34px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 8px 0 0; }
.h2c { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 6px 0 0; }
.h3c { font-size: 17px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; margin: 4px 0 0; }
.sum { font-family: var(--serif); color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 8px 0 0; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px;
  background: var(--bg-soft); color: var(--ink-2); }
.badge.fmt { background: var(--blue); color: #fff; }
.badge.india { background: #FDE7D6; color: #9A3A07; }
:root[data-theme="dark"] .badge.india { background: #3a2214; color: #FFB27A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.india { background: #3a2214; color: #FFB27A; } }

.ov { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #1b1f2a; color: #fff; min-height: 220px; }
.ov > img, .ov > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; font-size: 40px; }
.ov::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.ov .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.ov .cat { color: #fff; background: var(--c, var(--brand)); display: inline-block; padding: 2px 8px; border-radius: 3px; }
.ov .meta { color: rgba(255,255,255,.78); margin-top: 10px; }
.ov .meta b { color: #fff; }
.ov .sum { color: rgba(255,255,255,.86); }

/* ---- home hero ---- */
.hero { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; padding: 24px 0; }
.hero .main.ov { min-height: 520px; }
.hero .main .h1c { font-size: 40px; max-width: 24ch; }
.picks { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-width: 0; }
.hero > * { min-width: 0; }
.pick { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.pick:last-child { border-bottom: 0; padding-bottom: 0; }
.pick .thumb, .pick .ph { aspect-ratio: 1; width: 120px; height: 120px; }
.picks-h { font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin: 0; border-bottom: 3px solid var(--red); padding-bottom: 8px; }

/* ---- layout ---- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding: 8px 0 24px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; border-top: 3px solid var(--red);
  padding-top: 10px; margin: 28px 0 18px; }
.sec-h h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.sec-h a { font-size: 14px; font-weight: 600; color: var(--link); }
.list-item { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-item:first-of-type { padding-top: 0; }
.list-item .ph { aspect-ratio: 16/10; border-radius: var(--radius); }
.also { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.side .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 24px; background: var(--card); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: -4px 0 14px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-weight: 700;
  font-size: 14px; padding: 8px 10px; cursor: pointer; color: var(--ink-3); margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--brand); }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.ranked li:last-child { border: 0; }
.ranked li::before { content: counter(r); font-weight: 800; font-size: 22px; color: var(--ink-3); line-height: 1; }
.note { font-size: 12px; color: var(--ink-3); margin-top: 10px; }



.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.block .lead .thumb, .block .lead .ph { aspect-ratio: 16/9; border-radius: var(--radius); }
.block ul { list-style: none; margin: 14px 0 0; padding: 0; }
.block li { padding: 11px 0; border-top: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.three .ph { aspect-ratio: 16/10; border-radius: var(--radius); }

.band { background: var(--blue); color: #fff; padding: 44px 0; margin: 36px 0 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; max-width: 18ch; line-height: 1.1; }
.band p { margin: 8px 0 0; opacity: .9; max-width: 46ch; }
.sub { display: flex; gap: 8px; flex-wrap: wrap; }
.sub input[type=email], .field { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); min-width: 260px; }
.btn { font: inherit; font-weight: 700; padding: 12px 20px; border: 0; border-radius: var(--radius); background: var(--red);
  color: #fff; cursor: pointer; }
.band .btn { background: var(--orange); color: #1b1206; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 10px 14px; border-radius: var(--radius); font-weight: 600; margin: 10px 0; }
.flash.ok { background: #d9f5e5; color: #0d5c33; } .flash.err { background: #fde2e1; color: #8a1c17; }

/* ---- listing / search / story ---- */
.pagehead { padding: 30px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pagehead h1 { margin: 6px 0 0; font-size: 44px; letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.pagehead p { color: var(--ink-2); font-family: var(--serif); font-size: 18px; margin: 10px 0 0; max-width: 60ch; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 6px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.chips a[aria-current], .chips a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager { display: flex; gap: 8px; justify-content: center; margin: 30px 0; }
.pager a, .pager span { border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius); font-weight: 600; }
.pager span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 0; }
.filters select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); }

.story { max-width: 760px; margin: 0 auto; padding: 36px 0 20px; }
.story h1 { font-size: 44px; letter-spacing: -.035em; line-height: 1.06; font-weight: 800; margin: 12px 0 0; }
.story .hero-img { margin: 24px 0; border-radius: var(--radius); aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.story .lede { font-family: var(--serif); font-size: 21px; line-height: 1.6; margin: 20px 0; }
.story .ai { font-size: 13px; color: var(--ink-3); border-left: 3px solid var(--line); padding-left: 12px; margin: 18px 0; }
.cta { display: inline-block; background: var(--red); color: #fff; padding: 14px 22px; font-weight: 700; border-radius: var(--radius); }
.also-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 28px 0; }
.also-box h2 { font-size: 16px; margin: 0 0 8px; }
.also-box li { margin: 6px 0; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tagrow a { background: var(--bg-soft); padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }

.brief ol { list-style: none; padding: 0; margin: 0; counter-reset: b; }
.brief li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: b; }
.brief li::before { content: counter(b); font-size: 44px; font-weight: 800; color: var(--orange-ink); line-height: 1; letter-spacing: -.04em; }

.prose { max-width: 720px; padding: 10px 0 40px; }
.prose h2 { margin: 28px 0 6px; font-size: 20px; letter-spacing: -.02em; }
.prose p { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.formgrid { display: grid; gap: 12px; max-width: 520px; margin-top: 24px; }
.formgrid .field { width: 100%; }
textarea.field { min-height: 130px; resize: vertical; }

footer.site { position: relative; margin-top: 56px; background: var(--ink); color: #c9cdd8; padding: 48px 0 28px; font-size: 14px; }
:root[data-theme="dark"] footer.site { background: #07080b; }
footer.site .cols4 { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer.site h3 { color: #fff; font-size: 14px; margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2b303c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8f96a8; }
.foryou { display: none; }
.foryou.on { display: block; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; } .hero .main.ov { min-height: 420px; }
  .cols { grid-template-columns: 1fr; }
  .three { grid-template-columns: repeat(2, 1fr); } footer.site .cols4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; } .grid { grid-template-columns: 1fr; gap: 28px; }
  .list-item { grid-template-columns: 1fr; gap: 10px; } .hero .main .h1c { font-size: 30px; }
  .pagehead h1, .story h1 { font-size: 32px; } .strip .links { display: none; }
  .searchbtn span { display: none; } .bar { gap: 14px; } .three { grid-template-columns: 1fr; }
  .band h2 { font-size: 24px; } .sub input[type=email] { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- Anantam Tech brand layer ---- */
/* three-colour rule at the top of the footer */
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 34%, var(--orange) 34% 67%, var(--blue) 67% 100%); }
/* category labels: lighten the section colour on dark backgrounds so it stays readable */
:root[data-theme="dark"] .cat { color: color-mix(in srgb, var(--c, var(--brand)) 55%, #fff); }
:root[data-theme="dark"] .ov .cat { color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cat { color: color-mix(in srgb, var(--c, var(--brand)) 55%, #fff); }
  :root:not([data-theme="light"]) .ov .cat { color: #fff; }
}
@media (max-width: 640px) { .logo img { height: 30px; } }

/* ---- visitor counter, More menu, Trends, media, events ---- */
.strip .right { display: flex; align-items: center; gap: 18px; }
.visits { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 11px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; background: var(--bg-soft); }
.visits b { color: var(--ink); font-variant-numeric: tabular-nums; }
.visits::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
details.more { position: relative; }
details.more summary { list-style: none; cursor: pointer; padding: 8px 10px; font-weight: 600; font-size: 15px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 4px; user-select: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary:hover, details.more[open] summary { background: var(--bg-soft); }
details.more .menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 190px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.14); padding: 6px; z-index: 60; }
details.more .menu a { display: block; padding: 9px 12px; border-radius: 3px; font-weight: 600; font-size: 15px; }
details.more .menu a:hover { background: var(--bg-soft); }
.note { color: var(--ink-3); font-size: 13.5px; margin: 10px 0 0; }
.seeall { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--link); }
.trendgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 8px; }
.trend { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 14px 16px; background: var(--card); }
.trend:hover { border-color: var(--orange); }
.trend .rank { grid-row: span 2; font-weight: 800; font-size: 26px; color: var(--orange-ink); line-height: 1; align-self: center; }
.trend .tname { font-weight: 800; font-size: 19px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.trend .tmeta { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.trend em { font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--ink-2); }
.trend em.up { color: #0b7a3b; } .trend em.down { color: #b42318; }
:root[data-theme="dark"] .trend em.up { color: #5fd38d; } :root[data-theme="dark"] .trend em.down { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trend em.up { color: #5fd38d; } :root:not([data-theme="light"]) .trend em.down { color: #ff8a80; } }
.momentum { display: grid; gap: 4px; margin: 10px 0 18px; }
.mrow { display: grid; grid-template-columns: 210px 1fr 170px; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mrow:hover .mname { text-decoration: underline; }
.mname { font-weight: 700; } .mval { font-variant-numeric: tabular-nums; font-size: 14px; text-align: right; }
.mval small { color: var(--ink-3); } .mval small.upc { color: #0b7a3b; } .mval small.downc { color: #b42318; }
.mbar { background: var(--bg-soft); height: 12px; border-radius: 999px; overflow: hidden; }
.mbar i { display: block; height: 100%; background: var(--c, var(--blue)); border-radius: 999px; min-width: 3px; }
.media .mthumb { position: relative; display: block; }
.media .thumb, .media .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.kindtag { position: absolute; left: 8px; bottom: 8px; background: rgba(10,12,20,.82); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 3px; }
.media audio { width: 100%; margin-top: 10px; height: 36px; }
.event { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.event .when b { color: var(--orange-ink); font-size: 15px; }
.event h3 { margin: 0 0 4px; }
.event .meta { display: flex; gap: 12px; flex-wrap: wrap; }
.evsrc { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.evsrc a { color: var(--link); text-decoration: underline; }
.evmini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.evmini li { display: grid; gap: 2px; } .evmini span { font-size: 13px; color: var(--ink-2); }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .trendgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .trendgrid { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 1fr auto; } .mbar { grid-column: 1 / -1; grid-row: 2; }
  .event { grid-template-columns: 1fr; gap: 6px; }
  .strip .right { gap: 8px; margin-left: auto; }
}

.three3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .three3 { grid-template-columns: 1fr; } }

/* ---- story page: source line, key points, licensed full text ---- */
.srcline { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-top: 16px;
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.srcline .meta { margin: 0; }
.srcline .cta { margin: 0; }
.keypts { background: var(--bg-soft); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.keypts h2 { margin: 0 0 8px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--orange-ink); }
.keypts ul { margin: 0; padding-left: 20px; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.keypts li { margin: 4px 0; }
.story .body { font-family: var(--serif); font-size: 19px; line-height: 1.7; }
.story .body h2, .story .body h3, .story .body h4 { font-family: var(--head); letter-spacing: -.02em; margin: 28px 0 8px; }
.story .body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.story .body blockquote { margin: 18px 0; padding-left: 18px; border-left: 3px solid var(--line); color: var(--ink-2); }
.story .body pre { overflow-x: auto; background: var(--bg-soft); padding: 12px; border-radius: var(--radius); font-size: 14px; }
.licence { margin: 28px 0 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.licence a { color: var(--link); text-decoration: underline; }
.srcline .cta { padding: 10px 16px; font-size: 15px; }
.cta2 { margin-top: 8px; }

.story .body img { max-width: 100%; height: auto; display: inline-block; border-radius: var(--radius); margin: 10px 0; }
.story .body u { text-underline-offset: 3px; }

/* ---- reports store ---- */
.rtrust { list-style: none; display: flex; gap: 8px 22px; flex-wrap: wrap; margin: 14px 0 6px; padding: 0; font-size: 14px; color: var(--ink-2); }
.rtrust li::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 6px; }
.rtools { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.rtools .field { min-width: 0; padding: 10px 12px; }
.rtools input[type=search] { flex: 1 1 220px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin: 10px 0 24px; }
.rcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.rcard:hover { box-shadow: 0 6px 22px rgba(0,0,0,.12); transform: translateY(-2px); }
.rc-cover { aspect-ratio: 3/4; background: var(--bg-soft); overflow: hidden; }
.rc-img { width: 100%; height: 100%; object-fit: cover; }
.rc-ph { height: 100%; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--c); color: #fff; }
.rc-ph span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.rc-ph b { font-size: 20px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.rc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rc-meta { display: flex; gap: 8px; align-items: center; }
.rc-tag { font-size: 12px; font-weight: 700; color: #0d5c33; background: #d9f5e5; padding: 2px 7px; border-radius: 3px; }
.rcard h3 { margin: 0; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.rc-sub { margin: 0; font-size: 14px; color: var(--ink-2); }
.rc-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); }
.rc-info { font-size: 12.5px; color: var(--ink-3); }
.rc-price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.rnote { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 0; }
.rcrumb { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }
.rdetail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding: 10px 0 30px; }
.rmain h1 { margin: 6px 0 0; font-size: 40px; letter-spacing: -.03em; line-height: 1.08; font-weight: 800; }
.rsubtitle { font-family: var(--serif); font-size: 20px; color: var(--ink-2); margin: 10px 0 0; }
.rby { color: var(--ink-3); font-size: 14.5px; margin: 10px 0 0; }
.rbody h2, .rrequest h2 { font-size: 22px; letter-spacing: -.02em; margin: 30px 0 8px; }
.rbody p, .rbody li { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.rbody p { margin: 0 0 12px; }
.rtoc { padding-left: 22px; } .rtoc li { margin: 4px 0; }
.rside { position: sticky; top: 16px; }
.rbuy { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--card); display: grid; gap: 12px; }
.rbuy-cover { aspect-ratio: 3/4; max-height: 320px; margin: 0 auto; width: 70%; overflow: hidden; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.rbuy-cover .rc-img, .rbuy-cover .rc-ph { height: 100%; }
.rbuy-price span { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.rbuy-price small { display: block; color: var(--ink-3); font-size: 13px; }
.rbuy-alt { font-size: 14.5px; color: var(--ink-2); }
.rbuy-btn { display: block; text-align: center; }
.rbuy-sample { text-align: center; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.rbuy-facts { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.rrequest { margin-top: 36px; padding-top: 6px; border-top: 3px solid var(--red); scroll-margin-top: 20px; }
.rform { display: grid; gap: 12px; max-width: 560px; }
.rform label { display: grid; gap: 4px; font-size: 14.5px; font-weight: 600; }
.rform .field { width: 100%; min-width: 0; font-weight: 400; }
.rlic { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 8px; }
.rlic label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.rcheck { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; }
@media (max-width: 860px) { .rdetail { grid-template-columns: 1fr; } .rside { position: static; order: -1; } .rmain h1 { font-size: 32px; } }
