/* ════════════════════════════════
   List page — category banner
   ════════════════════════════════ */
.cat-banner {
  background: var(--white);
  padding: 18px 16px 14px;
  border-bottom: 3px solid var(--cat-accent, var(--dark));
  margin-bottom: 2px;
}
.cat-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.cat-count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mid);
  margin-top: 3px;
}

/* ── Article cards — direct <body> children on list page ── */
.art-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

/* Featured first card */
.art-card.featured {
  flex-direction: column;
  gap: 0;
  padding: 0 0 14px;
}
.art-card.featured:nth-of-type(odd) {
  width: 92%;
  margin-left: 0;
  margin-right: auto;
}
.art-card.featured:nth-of-type(even) {
  width: 92%;
  margin-left: auto;
  margin-right: 0;
}
.art-feat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.art-feat-body { padding: 12px 16px 0; }
.art-feat-ttl {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
  margin-top: 8px;
}
.art-feat-sub {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.55;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Regular card */
.art-thumb {
  flex: 0 0 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}
.art-info { flex: 1; min-width: 0; }
.art-ttl {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-sub {
  font-size: 12.5px;
  color: var(--mid);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-card:active .art-ttl,
.art-card:hover .art-ttl,
.art-card:active .art-feat-ttl,
.art-card:hover .art-feat-ttl { color: var(--red); }

/* ════════════════════════════════
   Detail page — direct <body> children
   ════════════════════════════════ */
.det-fig {
  margin: 0;
  line-height: 0;
}
.det-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.det-meta {
  background: var(--white);
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.det-ttl {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.28;
  margin-top: 9px;
}
.det-author {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mid);
  margin-top: 8px;
}
.det-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  background: var(--white);
  border-left: 3px solid var(--red);
  margin: 8px 16px 0;
  padding: 6px 0 6px 10px;
}
.cap-text {
  font-family: var(--sans);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mid);
  flex: 1 1 auto;
}
.cap-credit {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #a68f7d;
  white-space: nowrap;
}
.det-body {
  background: var(--white);
  padding: 10px 16px 0;
}
.det-body p {
  font-size: 15.5px;
  line-height: 1.76;
  color: #2b1d17;
  margin-bottom: 16px;
}
.det-body p:last-child { margin-bottom: 0; }
.det-loadmore {
  display: block;
  width: 100%;
  margin: 4px 0 4px;
  padding: 13px;
  background: var(--white);
  border: 1.5px solid var(--red);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--red);
  cursor: pointer;
}
.det-loadmore:hover { background: rgba(193,68,14,.06); }
.det-loadmore:active { background: var(--red); color: #fff; }

/* ── Related news block — single column, 4 rows ── */
.rel-block {
  margin: 14px 0 20px;
  background: var(--light);
  border-radius: var(--r);
  padding: 12px;
}
.rel-hd {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--mid);
  margin-bottom: 10px;
}
.rel-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 10px;
}
.rel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}
.rel-item:active .rel-ttl,
.rel-item:hover .rel-ttl { color: var(--red); }
.rel-thumb {
  flex: 0 0 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}
.rel-ttl {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════
   Legal pages (terms / privacy)
   ════════════════════════════════ */
.legal-hd {
  background: var(--white);
  padding: 22px 16px 16px;
  border-bottom: 3px solid var(--red);
}
.legal-hd h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
}
.legal-hd p {
  font-size: 13px;
  color: var(--mid);
  margin-top: 4px;
}
.legal-body {
  background: var(--white);
  padding: 20px 16px 44px;
  margin-top: 2px;
}
.legal-body h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 24px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  position: relative;
}
.legal-body h2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}
.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-body p {
  font-size: 14px;
  line-height: 1.74;
  color: #3a2c22;
  margin-bottom: 12px;
}
.legal-body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.legal-body li {
  font-size: 14px;
  line-height: 1.72;
  color: #3a2c22;
  margin-bottom: 6px;
}
