/* ========== Reaksiyoner — Republik-inspired magazine ========== */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f6f8f7;
  --text:      #020202;
  --text-soft: #757575;
  --divider:   #DBDCDD;
  --primary:   #00AA00;
  --primary-hover: #008800;
  --accent:    #00AA00;

  --serif:     "Source Serif 4", "Source Serif Pro", "Newsreader", Georgia, serif;
  --serif-display: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans:      "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:      "IBM Plex Mono", Menlo, monospace;

  --max-w:     1280px;
  --reading-w: 695px;
  --text-w:    672px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
img { display: block; max-width: 100%; }

/* Republik-ish link underline */
.linkish:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

/* ============== Header ============== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  transition: transform .3s ease-out;
}
.mast-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  min-height: 60px;
}
.mast-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.mast-icon:hover { color: var(--primary); }
.mast-icon-left  { justify-self: start; }
.mast-icon-right { justify-self: end; }

.wordmark {
  display: block;
  font-family: var(--serif-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-align: center;
}
.wordmark .wmtxt {
  font-size: 26px;
  color: var(--text);
}
@media (min-width: 768px) {
  .wordmark .wmtxt { font-size: 32px; }
  .mast-top { min-height: 70px; }
}

.mast-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-top: 1px solid var(--divider);
  height: 40px;
}
.mast-nav .navlink {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  line-height: 40px;
  font-weight: 400;
}
.mast-nav .navlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.mast-nav .navlink.is-active { font-weight: 500; }
.mast-nav .navlink.is-active::after {
  content: "";
}

/* ============== Magazine front ============== */

.mag-front { background: var(--bg); }

/* Issue band — small */
.issue-band {
  text-align: center;
  padding: 32px 16px 24px;
  border-bottom: 1px solid var(--divider);
}
.issue-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.issue-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 auto;
  max-width: 880px;
  text-wrap: balance;
  color: var(--text);
}
.issue-edits {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
}

/* ===== Teaser shared ===== */
.teaser {
  position: relative;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
}
.teaser:hover { /* no global hover */ }
.teaser a { color: inherit; }

.t-format {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 18px 0;
  letter-spacing: 0;
}
@media (min-width: 640px) {
  .t-format { font-size: 20px; margin: 0 0 28px 0; }
}

.t-title {
  font-family: var(--serif-display);
  font-weight: 900;
  font-style: normal;
  margin: 18px 0 15px 0;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
@media (min-width: 640px) {
  .t-title { margin: 30px 0; }
}

/* Title sizes — match Republik (loosened line-height for Source Serif 4 Black descenders) */
.t-title.size-default {
  font-size: 38px;
  line-height: 48px;
}
.t-title.size-medium {
  font-size: 38px;
  line-height: 48px;
}
.t-title.size-large {
  font-size: 44px;
  line-height: 54px;
}
.t-title.size-small {
  font-size: 30px;
  line-height: 38px;
}
@media (min-width: 640px) {
  .t-title.size-default { font-size: 72px; line-height: 86px; }
  .t-title.size-medium  { font-size: 84px; line-height: 100px; }
  .t-title.size-large   { font-size: 84px; line-height: 100px; }
  .t-title.size-small   { font-size: 44px; line-height: 54px; }
}
@media (min-width: 1174px) {
  .t-title.size-default { font-size: 84px; line-height: 100px; }
  .t-title.size-medium  { font-size: 104px; line-height: 120px; }
  .t-title.size-large   { font-size: 116px; line-height: 132px; }
  .t-title.size-small   { font-size: 56px; line-height: 68px; }
}
@media (min-width: 1400px) {
  .t-title.size-large { font-size: 140px; line-height: 160px; }
}

.t-subtitle {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  margin: -8px 0 14px;
  letter-spacing: -0.005em;
}
@media (min-width: 640px) {
  .t-subtitle { font-size: 34px; margin-top: -20px; margin-bottom: 24px; }
}

.t-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 14px 0;
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .t-lead { font-size: 23px; margin: 0 0 22px 0; line-height: 1.4; }
}

.t-byline {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
  color: inherit;
}
.t-byline em { font-style: italic; color: var(--text-soft); }
.t-byline a, .t-byline .by-name { font-weight: 500; }
.t-byline a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Typo teaser (text-only) ===== */
.t-typo {
  padding: 36px 16px 56px;
}
@media (min-width: 640px) {
  .t-typo {
    padding: 60px 0 80px;
  }
}
@media (min-width: 1174px) {
  .t-typo { padding: 80px 0 100px; }
}
.t-typo-inner {
  max-width: 70%;
  margin: 0 auto;
}
@media (max-width: 639px) {
  .t-typo-inner { max-width: 100%; padding: 0 4px; }
}
.t-typo.center .t-typo-inner { text-align: center; }
.t-typo.closing .t-title { font-style: italic; font-weight: 500; }

/* ===== Image teaser (full-bleed image background w/ overlaid text) ===== */
.t-image-wrap {
  position: relative;
  width: 100%;
  min-height: 60vh;
  overflow: hidden;
}
@media (min-width: 640px) {
  .t-image-wrap { min-height: 78vh; }
}
.t-image-bg {
  position: absolute;
  inset: 0;
  background: #333;
}
.t-image-text {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  padding: 24px;
  min-height: inherit;
}
@media (min-width: 640px) {
  .t-image-text { padding: 50px; }
}

.t-image-wrap { display: grid; }
.t-image-text-cell {
  align-self: var(--pos-y, end);
  justify-self: var(--pos-x, start);
  max-width: min(720px, 90%);
}
.t-image-byline {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ===== Split teaser (image + text 50/50) ===== */
.t-split {
  display: block;
  overflow: hidden;
}
.t-split-inner {
  display: block;
  padding: 24px 16px 36px;
}
@media (min-width: 640px) {
  .t-split-inner {
    display: grid;
    grid-template-areas: "image content";
    grid-template-columns: 50% 1fr;
    gap: 5%;
    align-items: center;
    justify-content: center;
    padding: 70px 5%;
  }
  .t-split.reverse .t-split-inner {
    grid-template-areas: "content image";
    grid-template-columns: 1fr 50%;
  }
}
.t-split-image { grid-area: image; margin: 0 0 24px; }
.t-split-content { grid-area: content; }
@media (min-width: 640px) {
  .t-split-image { margin: 0; }
}

/* ===== Tile (used in TileRow) ===== */
.t-tile {
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
}
.t-tile-image {
  width: 100%;
  margin: 0 auto 22px;
  max-width: 360px;
  display: block;
}
.t-tile-text { padding: 0; }
.t-tile .t-title {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 36px;
  margin: 0 0 14px;
}
@media (min-width: 640px) {
  .t-tile .t-title { font-size: 34px; line-height: 42px; }
}
@media (min-width: 1174px) {
  .t-tile .t-title { font-size: 42px; line-height: 50px; }
}
.t-tile .t-lead {
  font-size: 17px;
  line-height: 1.4;
}
@media (min-width: 640px) {
  .t-tile .t-lead { font-size: 19px; }
}
.t-tile .t-format { font-size: 15px; margin-bottom: 12px; }
@media (min-width: 640px) {
  .t-tile .t-format { font-size: 17px; margin-bottom: 16px; }
}
.t-tile-byline {
  font-family: var(--sans);
  font-size: 13px;
  margin-top: 12px;
  opacity: 0.85;
}

/* TileRow grid */
.tile-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--divider);
}
.tile-row.cols-2 { grid-template-columns: 1fr; }
.tile-row.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .tile-row.cols-2 { grid-template-columns: 1fr 1fr; }
  .tile-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.tile-row .t-tile + .t-tile { border-top: 1px solid rgba(0,0,0,0.08); }
@media (min-width: 640px) {
  .tile-row .t-tile + .t-tile { border-top: 0; border-left: 1px solid rgba(0,0,0,0.08); }
}

/* ===== Briefing (articleTile list) ===== */
.t-briefing {
  padding: 40px 16px 48px;
}
@media (min-width: 640px) {
  .t-briefing { padding: 60px 0 70px; }
}
.t-briefing-inner {
  max-width: 70%;
  margin: 0 auto;
}
@media (max-width: 639px) {
  .t-briefing-inner { max-width: 100%; }
}
.t-briefing .t-title {
  font-size: 30px;
  line-height: 38px;
  margin: 14px 0 28px;
}
@media (min-width: 640px) {
  .t-briefing .t-title {
    font-size: 52px;
    line-height: 62px;
    margin: 24px 0 40px;
  }
}
.t-briefing .t-lead { font-size: 18px; max-width: 60ch; }
@media (min-width: 640px) { .t-briefing .t-lead { font-size: 22px; } }

.brief-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  margin-top: 18px;
}
.brief-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  align-items: baseline;
  cursor: pointer;
}
.brief-item:hover .bi-title { text-decoration: underline; text-underline-offset: 3px; }
.bi-date {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(0,0,0,0.55);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.bi-fmt {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.bi-title {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 26px;
  margin: 0;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .bi-title { font-size: 24px; line-height: 30px; }
}
.bi-arrow { font-size: 18px; opacity: 0.6; }

/* ===== Section heading ===== */
.section-head {
  text-align: center;
  padding: 48px 16px 24px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg);
}
.section-head .sh-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
@media (min-width: 640px) {
  .section-head .sh-title { font-size: 40px; }
}
.section-head .sh-note {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
}

/* ===== Cover placeholder ===== */
.cover {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #333;
}
.cover-cap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-style: italic;
}

/* ============== Article page ============== */
.article {
  max-width: 695px;
  margin: 0 auto;
  padding: 32px 18px 64px;
  background: var(--bg);
}
.art-format {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (min-width: 640px) {
  .art-format { font-size: 20px; margin-bottom: 28px; }
}
.art-format .art-fmt-link { color: var(--primary); }
.art-format .art-fmt-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.art-format .art-fmt-sep { opacity: 0.4; font-weight: 400; }

.art-title {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .art-title { font-size: 54px; line-height: 64px; }
}
.art-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 27px;
  margin: 0 0 24px;
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .art-lead { font-size: 23px; line-height: 30px; }
}
.art-credit {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 18px;
}
.art-credit a { color: var(--text); font-weight: 500; }
.art-credit a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.art-cover {
  margin: 0 0 32px;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  padding: 0;
}
.article .art-cover {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.art-cover figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
  padding: 8px 18px;
  max-width: 695px;
  margin: 0 auto;
  font-style: italic;
}

.art-body { font-family: var(--serif); font-size: 19px; line-height: 30px; }
@media (min-width: 640px) {
  .art-body { font-size: 21px; line-height: 32px; }
}
.art-body p {
  margin: 0 0 22px;
  text-wrap: pretty;
}
.art-body p.first { font-size: 21px; }
.art-body p.first::first-letter {
  float: left;
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 76px;
  line-height: 0.85;
  padding: 8px 10px 0 0;
}
@media (min-width: 640px) {
  .art-body p.first { font-size: 23px; }
  .art-body p.first::first-letter { font-size: 92px; padding: 12px 14px 0 0; }
}

.pullquote {
  margin: 36px 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  padding: 20px 0;
}
.pullquote p {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .pullquote p { font-size: 36px; line-height: 1.15; }
}
.pullquote footer {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
  font-style: normal;
}

.art-foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
}
.art-action {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 26px;
}
.art-action .ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  color: var(--text);
}
.art-action .ab-btn:hover { color: var(--primary); }

.art-author-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--text);
}
.ab-avatar {
  width: 64px; height: 64px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.aac-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.art-author-card h4 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 4px;
}
.art-author-card p {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--text);
}

.art-related {
  margin-top: 48px;
}
.art-related h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  border-top: 1px solid var(--text);
  padding-top: 10px;
  margin: 0 0 18px;
}
.related-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
}
.related-row:hover h4 { text-decoration: underline; text-underline-offset: 3px; }
.related-row .rr-fmt {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.related-row h4 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 28px;
  margin: 0 0 4px;
  text-wrap: balance;
}
.related-row .rr-by {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
}

/* ============== Akış (feed list) ============== */
.feed-page {
  max-width: 695px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}
.feed-head {
  border-bottom: 1px solid var(--text);
  padding-bottom: 20px;
  margin-bottom: 18px;
}
.feed-head h1 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .feed-head h1 { font-size: 68px; }
}
.feed-head p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-soft);
  margin: 0;
  max-width: 60ch;
  line-height: 1.4;
}

.feed-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 8px;
}
.feed-filters .chip {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
  transition: background .15s, color .15s, border-color .15s;
}
.feed-filters .chip:hover { border-color: var(--text); }
.feed-filters .chip.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.feed-filters .chip-label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  padding-right: 6px;
  align-self: center;
  text-transform: uppercase;
}

.feed-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  align-items: start;
}
.feed-row:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.feed-thumb {
  width: 110px;
  aspect-ratio: 1/1;
  background: #ddd;
  position: relative;
  overflow: hidden;
}
.feed-text .feed-fmt {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.feed-text h3 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.008em;
  margin: 0 0 8px;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .feed-text h3 { font-size: 26px; line-height: 32px; }
}
.feed-text .feed-lead {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--text);
}
.feed-text .feed-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 540px) {
  .feed-row { grid-template-columns: 1fr; }
  .feed-thumb { display: none; }
}

/* ============== Diyalog ============== */
.dialog-page {
  max-width: 695px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}
.dialog-head h1 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 44px;
  margin: 0 0 10px;
  line-height: 1;
}
@media (min-width: 640px) {
  .dialog-head h1 { font-size: 68px; }
}
.dialog-head p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 60ch;
  line-height: 1.4;
}
.dlg-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 24px;
}
.dlg-tab {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.dlg-tab.is-active { border-bottom-color: var(--text); }

.dlg-thread {
  border-top: 1px solid var(--text);
  padding-top: 16px;
}
.dlg-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.dlg-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.dlg-meta .dlg-name { color: var(--text); font-weight: 500; }
.dlg-item h3 {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
}
.dlg-item p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.dlg-item .dlg-stats {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
}
.dlg-link {
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 14px;
}

/* ============== Footer ============== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--text);
  margin-top: 24px;
}
.ft-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 18px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 880px) {
  .ft-inner {
    grid-template-columns: 1.2fr 2.4fr;
    padding: 64px 24px 24px;
  }
}
.ft-brand .wordmark { text-align: left; }
.ft-brand .wordmark .wmtxt { font-size: 32px; }
.ft-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-soft);
  margin: 18px 0 0;
  max-width: 30ch;
  line-height: 1.45;
}
.ft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .ft-cols { grid-template-columns: repeat(4, 1fr); }
}
.ft-col h5 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 0;
}
.ft-col a {
  display: block;
  padding: 5px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
}
.ft-col a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.ft-bot {
  border-top: 1px solid var(--divider);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px;
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
}
@media (min-width: 880px) { .ft-bot { padding: 18px 24px; } }
.ft-bot .dot { opacity: 0.4; }

/* ============== Utility ============== */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
