/* weekly.css — the news-item format used by every /blog/weekly/ issue.
   Linked into each issue by scripts/roundup.mjs. Uses the same custom
   properties as the post template, so it follows the site theme. */

/* --- section header ------------------------------------------------- */
.wk_sec {
  margin: 46px 0 0;
  padding-top: 26px;
  border-top: 2px solid var(--border);
}
.wk_sec > h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.wk_sec__n {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
}

/* --- one news item --------------------------------------------------- */
.item {
  padding: 18px 0 4px;
  border-top: 1px solid var(--border);
}
.wk_sec > .item:first-of-type { border-top: 0; }
.item > h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}
.item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.item__meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.item__meta a:hover { color: var(--primary); }
.item p { margin-bottom: 10px; }

/* --- source image ------------------------------------------------------ */
/* Hotlinked from the publisher, credited in the figcaption. A fixed aspect
   ratio holds the space before load, so nothing below it jumps (CLS) even
   though the real dimensions are unknown. */
.item__fig {
  margin: 0 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.item__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--primary-soft);
}
.item__fig figcaption {
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.item__fig figcaption a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.item__fig figcaption a:hover { color: var(--primary); }

.item__why {
  border-left: 3px solid var(--primary);
  padding: 2px 0 2px 14px;
  color: var(--text);
  font-size: 15.5px;
}
.item__why strong { color: var(--primary-hover); }

/* --- evidence labels -------------------------------------------------- */
.ev {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}
.ev.-confirmed { background: var(--primary-soft); border-color: rgba(16,185,129,.35); color: var(--primary-hover); }
.ev.-reported  { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.ev.-observed  { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.ev.-speculation { background: var(--danger-soft); border-color: rgba(220,38,38,.25); color: var(--danger); }

/* --- quiet section note ------------------------------------------------ */
.wk_quiet {
  margin: 6px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

/* --- top-5 list --------------------------------------------------------- */
.wk_top { counter-reset: wktop; list-style: none; margin: 0; padding: 0; }
.wk_top li {
  counter-increment: wktop;
  position: relative;
  padding: 0 0 12px 40px;
  margin: 0 0 12px;
  border-bottom: 1px solid rgba(203,213,225,.35);
}
.wk_top li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.wk_top li::before {
  content: counter(wktop);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--primary-light);
  color: var(--heading);
}

/* --- issue navigation --------------------------------------------------- */
.wk_nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 2px solid var(--border);
  font-size: 15px;
}

@media (max-width: 640px) {
  .item > h3 { font-size: 18px; }
  .wk_sec { margin-top: 36px; }
}
