/* The Signal (news.tarkika.com) on the Tarkika system (system.css). Pages come from site/news/render.js.
   Lives under /assets/ because the news domain rewrites every other path to /news/*. */

.read { max-width: 692px; margin: 0 auto; padding: 0 var(--gut); }
.lhero { padding: 72px 0 64px; }
.lhero .hero-title { font-size: clamp(48px, 13vw, 96px); }

/* topic chip: the one small coloured label on a story */
.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 980px; background: rgba(0,113,227,.12); color: var(--blue); font-size: 13px; font-weight: 600; }
.tile-dark .chip { background: rgba(41,151,255,.14); color: var(--mint); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--ink-48); }

/* the lead story */
.nlead { display: grid; gap: 24px; align-items: center; }
.nlead .pic { display: block; overflow: hidden; border-radius: 22px; }
.nlead .pic img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .6s var(--ease); }
.nlead .pic:hover img { transform: scale(1.02); }
.nlead h2 { margin-top: 12px; font-size: clamp(26px, 4.4vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -0.006em; text-wrap: balance; }
.nlead h2 a:hover { color: var(--blue); }
.nlead .why { margin-top: 14px; font-size: 19px; line-height: 1.4; color: var(--ink-48); }
.nlead .why b { color: var(--ink); font-weight: 600; }
.nlead .pills { margin-top: 20px; }
@media (min-width: 900px) { .nlead { grid-template-columns: 1.25fr 1fr; gap: 48px; } }

/* story cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.ncard { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--canvas); }
.bg-white .ncard { background: var(--parchment); }
.ncard .pic { display: block; overflow: hidden; }
.ncard .pic img { display: block; width: 100%; aspect-ratio: 600 / 315; object-fit: cover; transition: transform .6s var(--ease); }
.ncard:hover .pic img { transform: scale(1.03); }
.ncard .tx { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.ncard h3 { font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.ncard h3 a:hover { color: var(--blue); }
.ncard .why { font-size: 15px; line-height: 1.45; color: var(--ink-48); }
.ncard .src { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--ink-48); }

/* days */
.day + .day { margin-top: 48px; }
.dh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--hairline); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.dh i { font-style: normal; font-size: 14px; font-weight: 400; color: var(--ink-48); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
.chips button { flex-shrink: 0; min-height: 36px; padding: 0 16px; border: 1px solid var(--hairline); border-radius: 980px; background: #fff; font-size: 14px; color: var(--ink-80); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[hidden] { display: none !important; }

/* a story */
.shead { padding-top: 48px; }
.shead h1 { margin-top: 14px; font-weight: 600; font-size: clamp(30px, 6.2vw, 48px); line-height: 1.1; letter-spacing: -0.012em; text-wrap: balance; }
.shead .meta { margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.shero { margin: 32px auto 0; max-width: 980px; padding: 0 var(--gut); }
.shero img { display: block; width: 100%; border-radius: 22px; aspect-ratio: 1200 / 630; object-fit: cover; }
.sbody { margin-top: 32px; }
.sbody p { font-size: 17px; line-height: 1.6; color: var(--ink-80); text-wrap: pretty; }
.sbody p + p { margin-top: 1.1em; }
.sbody a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .sbody p { font-size: 19px; line-height: 1.58; } }
.sowhat { margin-top: 32px; padding: 22px 24px; border-radius: 18px; background: var(--tile); color: var(--ink-on-dark); }
.sowhat .k { font-size: 14px; font-weight: 600; color: var(--mint); }
.sowhat p { margin-top: 6px; font-size: clamp(19px, 2.6vw, 21px); line-height: 1.42; letter-spacing: -0.004em; }
.linkcard { display: grid; gap: 2px; margin-top: 16px; padding: 18px 48px 18px 22px; position: relative; border-radius: 18px; background: var(--parchment); transition: background .2s; }
.linkcard:hover { background: #ebebf0; }
.linkcard .k { font-size: 13px; font-weight: 600; color: var(--teal); }
.linkcard b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.linkcard .u { font-size: 14px; color: var(--ink-48); overflow-wrap: anywhere; }
.linkcard .ar { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 20px; }
.disc { margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--ink-48); }
.disc a { color: var(--blue); }
