*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --light-gray: #e8e5df;
  --mid-gray: #999;
  --red: #46296e;
  --text: #222;
  --meta: #888;
  --border: #ddd;
  --font-display: "Roboto", "Spectral", Georgia, serif;
  --font-body: "Roboto", "Source Sans 3", sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ─── PLACEHOLDER IMAGE UTILITY ─── */
.img-ph {
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}
.img-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.img-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ddd 25%, #c8c4bc 50%, #ddd 75%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite linear;
}
.img-ph.has-thumb::after {
  display: none;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Coloured hero illus */
.img-hero {
  background: linear-gradient(160deg, #6cb4c4 0%, #3a7fa0 40%, #e8734a 100%);
}
.img-hero::after {
  display: none;
}
.img-c1 {
  background: linear-gradient(135deg, #c47a5a, #8b3a2c);
}
.img-c1::after {
  display: none;
}
.img-c2 {
  background: linear-gradient(135deg, #a8c4d4, #4a7a9b);
}
.img-c2::after {
  display: none;
}
.img-c3 {
  background: linear-gradient(135deg, #e4b870, #b8722a);
}
.img-c3::after {
  display: none;
}
.img-c4 {
  background: linear-gradient(135deg, #d4687a, #8b3050);
}
.img-c4::after {
  display: none;
}
.img-c5 {
  background: linear-gradient(135deg, #7ab87a, #2e6e4e);
}
.img-c5::after {
  display: none;
}
.img-c6 {
  background: linear-gradient(135deg, #c4a8d4, #7a4a9b);
}
.img-c6::after {
  display: none;
}
.img-c7 {
  background: linear-gradient(135deg, #e8d068, #b89420);
}
.img-c7::after {
  display: none;
}
.img-c8 {
  background: linear-gradient(135deg, #68b4d4, #2a6a8c);
}
.img-c8::after {
  display: none;
}

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--black);
  padding-bottom: 6px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.view-all {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}
.view-all:hover {
  color: var(--black);
  border-color: var(--black);
}

/* ─── TOP BAR ─── */
.top-bar {
  background: var(--red);
  text-align: center;
  padding: 6px 20px;
  font-size: 0.80rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ─── HEADER / NAV ─── */
/* Hanya masthead situs (anak langsung body), bukan <header class="article-header"> di single post */
body > header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

body.single > header {
  transition: transform 0.28s ease;
  will-change: transform;
}

body.single > header.is-hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
  max-width: 1040px;
  margin: 0 auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions-right {
  justify-content: flex-end;
}
.site-logo {
  font-family: "Lora";
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.nav-search-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 4px 2px 10px;
  background: var(--white);
}

.nav-search-input {
  width: 160px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.nav-search-input::placeholder {
  color: var(--meta);
}

.nav-search-submit {
  width: 30px;
  height: 30px;
  justify-content: center;
}
.btn-subscribe {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-subscribe:hover {
  background: #c0251a;
}
.btn-signin {
  font-size: 0.8rem;
  color: var(--mid-gray);
}
.btn-signin:hover {
  color: var(--black);
}

/* ─── PRIMARY NAV ─── */
nav.primary-nav {
  border-top: 1px solid var(--border);
}
.primary-nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.primary-nav li a {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--black);
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s;
}
.primary-nav li a:hover,
.primary-nav li.active a {
  border-bottom-color: var(--black);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(240px, 42vw, 340px);
  margin-bottom: 40px;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 40%,
    rgba(0, 0, 0, 0.1) 80%
  );
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 32px 40px;
  max-width: 500px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 14px;
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: background 0.2s, color 0.2s;
}
.btn-read:hover {
  background: var(--red);
  color: var(--white);
}
.btn-read svg {
  width: 14px;
  height: 14px;
}

/* ─── MOST POPULAR ─── */
.most-popular {
  margin-bottom: 44px;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.popular-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.popular-card .thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 2px;
}
.popular-card .info h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.popular-card .info h3:hover {
  text-decoration: underline;
}
.meta-line {
  font-size: 0.67rem;
  color: var(--meta);
}
.meta-line span {
  margin-right: 4px;
}

/* ─── RECENT POSTS ─── */
.recent-posts {
  margin-bottom: 44px;
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.article-card {
}
.article-card .card-image {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 10px;
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
}
.article-card h3:hover {
  text-decoration: underline;
}
.article-card p {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 5px;
}
.article-card .meta-line {
  font-size: 0.67rem;
  color: var(--meta);
}

.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 6px 14px;
  transition: background 0.15s;
}
.see-all-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ─── DEEP DIVES ─── */
.deep-dives {
  margin-bottom: 44px;
}
.deep-dives-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.deep-featured .card-image {
  width: 100%;
  aspect-ratio: 3/4;
  margin-bottom: 14px;
}
.deep-featured h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.deep-featured h3:hover {
  text-decoration: underline;
}
.deep-featured p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.55;
}
.deep-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.deep-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.deep-list-item:first-child {
  border-top: 1px solid var(--border);
}
.deep-list-item .thumb {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
}
.deep-list-item .info h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
}
.deep-list-item .info h3:hover {
  text-decoration: underline;
}
.deep-list-item .info p {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.45;
  margin-bottom: 5px;
}

/* ─── THE PERSONALS ─── */
.the-personals {
  margin-bottom: 44px;
}
.personals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.personals-card .card-image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 9px;
}
.personals-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.personals-card h3:hover {
  text-decoration: underline;
}
.personals-card .meta-line {
  font-size: 0.67rem;
  color: var(--meta);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--off-white);
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner p {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 14px;
}
.cta-banner strong {
  font-weight: 700;
}

/* ─── SECRET LIVES ─── */
.secret-lives {
  margin-bottom: 44px;
}
.secret-lives-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* ─── BOTTOM THREE-COL ─── */
.bottom-cols {
  margin-bottom: 44px;
}
.bottom-cols-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
}
.newsletters-col h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--black);
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.newsletter-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.newsletter-item .thumb {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}
.newsletter-item h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.newsletter-item p {
  font-size: 0.72rem;
  color: #555;
  line-height: 1.4;
}
.true-crime-col {
}
.true-crime-col > .section-header {
  margin-top: 0;
}
.tc-article {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tc-article .thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
}
.tc-article h3 {
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
}
.tc-article h3:hover {
  text-decoration: underline;
}
.tc-article p {
  font-size: 0.73rem;
  color: #555;
  line-height: 1.45;
}
.top-posts-col h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--black);
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.top-post-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.top-post-item .thumb {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
}
.top-post-item h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}
.top-post-item h3:hover {
  text-decoration: underline;
}

/* ─── NRLY x CNF ─── */
.nrly-cnf {
  margin-bottom: 44px;
}
.nrly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.72rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links a:hover {
  color: var(--black);
}
.footer-ctas {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-ctas a {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
}
.footer-ctas a:hover {
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.68rem;
  color: var(--meta);
}

/* ─── SECTION SPACING ─── */
section {
  padding: 0;
}
main > section {
  margin-bottom: 44px;
}

/* ─── SEARCH ICON ─── */
.icon-search {
  font-style: normal;
  font-size: 1rem;
}

/* ══════════════════════════════════════
RESPONSIVE — Tablet  ≤ 1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .recent-grid,
  .personals-grid,
  .nrly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-cols-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  /* Push Top Posts below as full-width row */
  .bottom-cols-inner > aside:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: start;
  }
  .bottom-cols-inner > aside:last-child h2 {
    grid-column: 1 / -1;
  }
  .top-post-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* ══════════════════════════════════════
RESPONSIVE — Mobile  ≤ 640px
══════════════════════════════════════ */
@media (max-width: 640px) {
  /* ── Top Bar ── */
  .top-bar {
    font-size: 0.65rem;
    padding: 5px 12px;
  }

  /* ── Header ── */
  .header-inner {
    /* grid-template-columns: auto a auto; */
    padding: 10px 16px;
    gap: 8px;
  }
  .site-logo {
    font-size: 1.3rem;
    text-align: left;
  }
  .btn-signin {
    display: none;
  } /* hide on small screens */
  .btn-subscribe {
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  .header-inner img {
    width: 45%;
    height: 45%;
  }

  /* ── Primary Nav — horizontal scroll ── */
  .primary-nav ul {
    overflow-x: auto;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .primary-nav ul::-webkit-scrollbar {
    display: none;
  }
  .primary-nav li a {
    padding: 8px 10px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  /* ── Container padding ── */
  .container {
    padding: 24px 14px;
  }

  /* ── Hero ── */
  .hero {
    height: 260px;
    margin-bottom: 28px;
  }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 40%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }
  .hero-content {
    padding: 20px 16px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.15rem;
  }
  .hero p {
    display: none;
  } /* hide excerpt on mobile */

  /* ── Section headers ── */
  .section-header {
    margin-bottom: 14px;
  }
  .section-header h2 {
    font-size: 1.1rem;
  }

  /* ── Most Popular — stack 1 col ── */
  .popular-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .popular-card .thumb {
    width: 60px;
    height: 60px;
  }

  /* ── Recent Posts — 1 col ── */
  .recent-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .article-card .card-image {
    aspect-ratio: 16/9;
  }

  /* ── Deep Dives / Secret Lives ── */
  .deep-dives-inner,
  .secret-lives-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .deep-featured .card-image {
    aspect-ratio: 16/9;
  }
  .deep-featured h3 {
    font-size: 1.15rem;
  }
  .deep-list-item {
    padding: 12px 0;
  }
  .deep-list-item .thumb {
    width: 64px;
    height: 64px;
  }

  /* ── The Personals — 2 col (small thumbs look fine) ── */
  .personals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .personals-card h3 {
    font-size: 0.78rem;
  }

  /* ── CTA Banner ── */
  .cta-banner {
    padding: 22px 16px;
  }
  .cta-banner p {
    font-size: 0.85rem;
  }

  /* ── Bottom 3-col → full stack ── */
  .bottom-cols-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bottom-cols-inner > aside:last-child {
    grid-column: unset;
    display: block;
  }
  .top-post-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  /* Newsletters heading style (no section-header wrapper) */
  .newsletters-col h2,
  .bottom-cols-inner aside h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--black);
    padding-bottom: 6px;
    margin-bottom: 14px;
  }
  .newsletter-item .thumb {
    width: 44px;
    height: 44px;
  }

  /* ── True Crime ── */
  .tc-article .thumb {
    width: 60px;
    height: 60px;
  }

  /* ── NRLY x CNF — 1 col ── */
  .nrly-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* ── Section spacing ── */
  main > section,
  .container > section {
    margin-bottom: 32px;
  }

  /* ── Footer ── */
  .footer-links {
    gap: 10px;
  }
  .footer-links a {
    font-size: 0.65rem;
  }
}

/* ══════════════════════════════════════
RESPONSIVE — Extra small  ≤ 380px
══════════════════════════════════════ */
@media (max-width: 380px) {
  .hero {
    height: 220px;
  }
  .hero h1 {
    font-size: 1rem;
  }
  .site-logo {
    font-size: 1.1rem;
  }
  .personals-grid {
    grid-template-columns: 1fr;
  }
}

/* === WordPress Overrides === */
.article-wrap {
  width: 100%;
  padding-bottom: 60px;
}

.article-header {
  position: static;
  top: auto;
  z-index: auto;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 20px;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.article-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: 10px;
  display: block;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 14px;
}

.article-deck {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

.article-byline {
  margin-bottom: 6px;
}

.author-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--meta);
  margin-bottom: 18px;
}

.article-meta .badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 2px;
}

.engagement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  /* padding: 12px 0; */
  /* border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); */
}

.engagement-bar .article-meta {
  margin: 0;
}

.share-menu {
  position: relative;
  margin-left: auto;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  padding: 5px 14px;
  background: var(--white);
  cursor: pointer;
}

.share-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 20;
}

.share-menu-dropdown a,
.share-menu-dropdown .share-copy-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.share-menu-dropdown a:hover,
.share-menu-dropdown .share-copy-btn:hover {
  background: var(--off-white);
}

.article-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4a3a3 0%, #e8c4b0 18%, #5aab8f 30%, #3d9478 55%, #2e7a60 70%, #1c5c44 85%, #222 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 16 / 7;
}

.article-hero.has-hero-image .hero-scene {
  display: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-scene::before {
  content: "";
  position: absolute;
  left: 5%;
  bottom: 22%;
  width: 22%;
  height: 45%;
  background: #2e8a6e;
}

.hero-scene::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 18%;
  height: 75%;
  background: linear-gradient(170deg, #5a3040 0%, #3a1e2c 100%);
}

.scene-sky-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 10%, rgba(255, 200, 160, 0.5) 0%, transparent 50%);
}

.scene-figures {
  position: absolute;
  left: 28%;
  bottom: 0;
  width: 30%;
  height: 65%;
  display: flex;
  align-items: flex-end;
  gap: 4%;
}

.fig {
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.fig-1 {
  width: 35%;
  height: 90%;
  background: linear-gradient(170deg, #d4844a 0%, #e0a060 40%, #f0d040 60%, #f0d040 100%);
}

.fig-2 {
  width: 25%;
  height: 60%;
  background: linear-gradient(170deg, #6aade0 30%, #4a7ab0 100%);
}

.fig-3 {
  width: 32%;
  height: 85%;
  background: linear-gradient(170deg, #8a5090 0%, #6a3870 60%, #9060a0 100%);
}

.scene-girl-fg {
  position: absolute;
  right: 26%;
  bottom: 0;
  width: 12%;
  height: 55%;
  background: linear-gradient(170deg, #d4506a 0%, #b83050 40%, #e07050 80%);
}

.scene-mailbox {
  position: absolute;
  left: 44%;
  bottom: 18%;
  width: 3%;
  height: 12%;
  background: #e8c020;
}

.scene-roof {
  position: absolute;
  left: 4.5%;
  bottom: 62%;
  width: 0;
  height: 0;
  border-left: 6vw solid transparent;
  border-right: 6vw solid transparent;
  border-bottom: 4vw solid #1e6048;
}

.scene-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  background: linear-gradient(0deg, #1a1a1a 0%, #2a2a2a 100%);
}

.scene-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #f0d020 0px, #f0d020 40px, transparent 40px, transparent 80px);
}

.hero-caption {
  display: block;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: #999;
  text-align: center;
  padding: 10px 16px;
  font-style: italic;
}

.article-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 25px 24px 0;
}

.article-body p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.72;
  color: #2a2a2a;
  margin-bottom: 1.5em;
}

.article-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  float: left;
  line-height: 0.82;
  margin: 0.06em 0.08em 0 0;
}

.paywall-box {
  max-width: 620px;
  margin: 8px auto 0;
  padding: 0 24px;
}

.paywall-inner {
  background: var(--red);
  border-radius: 6px;
  padding: 36px 28px;
  text-align: center;
}

.paywall-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.btn-paywall-subscribe {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 36px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.paywall-signin {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.paywall-signin a {
  color: var(--white);
  text-decoration: underline;
}

.article-nav {
  max-width: 620px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  padding: 9px 18px;
}

.nav-btn svg {
  width: 15px;
  height: 15px;
}

.comments-area {
  max-width: 620px;
  margin: 40px auto 0;
  padding: 0 24px;
  font-family: var(--font-body);
}

.comments-area .comments-section-header {
  margin-bottom: 20px;
}

.comments-area .comments-section-header .comments-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.comments-area .comments-count {
  font-size: 0.67rem;
  color: var(--meta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comments-closed {
  font-size: 0.75rem;
  color: var(--meta);
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 0 0 0 16px;
  padding: 0;
  border-left: 2px solid var(--light-gray);
}

.comment-list > .comment {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.comment-list > .comment:first-child {
  border-top: 1px solid var(--border);
}

.comment-body {
  position: relative;
  display: flow-root;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 0.67rem;
  color: var(--meta);
}

.comment-author .fn,
.comment-author .fn a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.comment-author .avatar {
  border-radius: 2px;
  margin-right: 10px;
  float: left;
}

.comment-metadata a {
  color: var(--meta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.62rem;
  font-weight: 600;
}

.comment-metadata a:hover {
  color: var(--black);
}

.comment-content {
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  overflow: hidden;
}

.comment-content p {
  margin-bottom: 0.85em;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

.comment-reply-link:hover {
  color: var(--black);
  border-color: var(--black);
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  padding: 8px 14px;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
  background: var(--off-white);
  border-color: #bbb;
}

.comment-form--theme {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 2px solid var(--black);
}

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.comment-form--theme .logged-in-as,
.comment-form--theme .comment-notes {
  font-size: 0.72rem;
  color: var(--meta);
  margin-bottom: 14px;
}

.comment-form--theme .logged-in-as a {
  color: var(--black);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.comment-form--theme .form-submit {
  margin-top: 16px;
  margin-bottom: 0;
}

.comment-form--theme label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}

.comment-form--theme input[type="text"],
.comment-form--theme input[type="email"],
.comment-form--theme input[type="url"] {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  margin-bottom: 14px;
}

.comment-form--theme input[type="text"]:focus,
.comment-form--theme input[type="email"]:focus,
.comment-form--theme input[type="url"]:focus {
  outline: none;
  border-color: var(--black);
}

.comment-form--theme textarea {
  width: 100%;
  max-width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.65;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  resize: vertical;
}

.comment-form--theme textarea:focus {
  outline: none;
  border-color: var(--black);
}

.comment-form--theme .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--meta);
  margin-top: 8px;
}

.comment-form--theme .comment-form-cookies-consent input {
  margin-top: 3px;
}

.comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.comment-submit:hover {
  background: var(--red);
  color: var(--white);
}

#cancel-comment-reply-link {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

#cancel-comment-reply-link:hover {
  color: var(--black);
  border-color: var(--black);
}

.category-page {
  margin-bottom: 44px;
}

.category-page-header {
  display: block;
  align-items: initial;
  justify-content: initial;
  margin-bottom: 12px;
}

.category-page-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.category-page-description {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.category-page-description p {
  margin-bottom: 0.7em;
}

.category-page-description p:last-child {
  margin-bottom: 0;
}

.category-page-grid {
  margin-bottom: 24px;
}

.category-page-pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.category-page-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
}

.category-page-pagination .page-numbers.current {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.category-page-pagination .page-numbers:hover {
  background: var(--off-white);
}

.search-page {
  margin-bottom: 44px;
}

.search-page-header {
  margin-bottom: 8px;
}

.search-page-summary {
  margin: 0 0 20px;
  font-size: 0.78rem;
  color: var(--meta);
}

.search-page-grid {
  margin-bottom: 24px;
}

.search-page-pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.search-page-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
}

.search-page-pagination .page-numbers.current {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.search-page-pagination .page-numbers:hover {
  background: var(--off-white);
}

@media (max-width: 768px) {
  .nav-search-input {
    width: 120px;
  }
  .search-page-summary {
    font-size: 0.74rem;
  }
  .category-page-title {
    font-size: 1.6rem;
  }
  .category-page-description {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .article-header {
    padding: 32px 20px 16px;
  }
  .article-title {
    font-size: 1.65rem;
  }
  .article-deck {
    font-size: 0.95rem;
  }
  .engagement-bar {
    gap: 12px;
  }
  .article-meta {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .share-btn {
    font-size: 0.74rem;
    padding: 5px 12px;
  }
  .share-menu-dropdown {
    min-width: 156px;
  }
  .article-body {
    padding: 28px 20px 0;
  }
  .article-body p {
    font-size: 0.96rem;
    line-height: 1.68;
  }
  .article-hero {
    aspect-ratio: 16 / 8;
  }
  .hero-caption {
    padding: 8px 12px;
    font-size: 0.68rem;
  }
}


@media (max-width: 640px) {
  .nav-search-form {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
    transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
  }

  .nav-search-form.is-open {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px 4px 2px 8px;
    background: var(--white);
  }

  .nav-search-form.is-open .nav-search-input {
    width: 124px;
    opacity: 1;
    margin-right: 4px;
    pointer-events: auto;
  }
}
@media (max-width: 480px) {
  .nav-search-form.is-open {
    max-width: 144px;
    padding: 2px 4px 2px 8px;
  }
  .nav-search-form.is-open .nav-search-input {
    width: 92px;
    font-size: 0.72rem;
  }
  .search-page-summary {
    margin-bottom: 14px;
    font-size: 0.7rem;
  }
  .search-page-pagination .page-numbers {
    min-width: 30px;
    height: 30px;
    font-size: 0.7rem;
    padding: 0 8px;
  }
  .category-page-title {
    font-size: 1.35rem;
  }
  .category-page-description {
    margin-bottom: 16px;
    font-size: 0.86rem;
  }
  .category-page-pagination ul {
    gap: 6px;
  }
  .category-page-pagination .page-numbers {
    min-width: 30px;
    height: 30px;
    font-size: 0.7rem;
    padding: 0 8px;
  }
  .article-header {
    padding: 28px 16px 16px;
  }
  .article-title {
    font-size: 1.35rem;
  }
  .article-hero {
    aspect-ratio: 4 / 3;
  }
  .engagement-bar {
    align-items: flex-start;
    gap: 10px;
  }
  .article-meta {
    flex: 1;
    min-width: 0;
    margin-right: 8px;
    font-size: 0.7rem;
  }
  .share-menu {
    margin-left: 0;
  }
  .share-btn {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .share-menu-dropdown {
    right: 0;
    min-width: 148px;
  }
  .share-menu-dropdown a,
  .share-menu-dropdown .share-copy-btn {
    font-size: 0.72rem;
    padding: 7px 8px;
  }
  .article-body {
    padding: 24px 16px 0;
  }
  .article-body p {
    font-size: 0.92rem;
    line-height: 1.64;
  }
  .hero-caption {
    font-size: 0.65rem;
    line-height: 1.45;
    padding: 8px 10px;
  }
}
