/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --red:      #B5001E;
  --red-dark: #8D0017;
  --black:    #111111;
  --gray-90:  #1c1c1c;
  --gray-70:  #444444;
  --gray-50:  #767676;
  --gray-20:  #d1d1d1;
  --gray-10:  #f0f0f0;
  --gray-05:  #f7f7f7;
  --white:    #ffffff;
  --serif:    'Playfair Display', Georgia, serif;
  --body-serif: 'Source Serif 4', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --max:      1080px;
  --pad:      16px;
}

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Topbar ───────────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid var(--gray-20);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--gray-50);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar-nav { display: flex; gap: 18px; list-style: none; }
.topbar-nav a { text-transform: uppercase; transition: color .15s; }
.topbar-nav a:hover { color: var(--red); }

/* ── Masthead ─────────────────────────────────────────────── */
.masthead {
  text-align: center;
  border-bottom: 3px solid var(--black);
  padding: 24px var(--pad) 16px;
}
.masthead-logo {
  font-family: 'Fragment Mono', Consolas, monospace;
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: -.01em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.masthead-logo .art  { font-style: italic; color: var(--red); }
.masthead-logo .sep  { font-style: normal; color: var(--gray-20); margin: 0 .12em; }
.masthead-logo .sent { font-style: normal; color: var(--black); }
.masthead-tagline {
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-top: 7px;
}

/* ── Primary Nav ──────────────────────────────────────────── */
.primary-nav {
  border-bottom: 1px solid var(--gray-20);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
.primary-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.primary-nav .container::-webkit-scrollbar { display: none; }
.primary-nav a {
  display: block;
  padding: 11px 13px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-70);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.primary-nav a:hover,
.primary-nav a.aktif { color: var(--black); border-bottom-color: var(--red); }

/* ── Shared typography atoms ──────────────────────────────── */
.kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 7px;
}
.label-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 2px 7px;
  margin-bottom: 9px;
}
.headline-xl {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: 11px;
}
.headline-lg {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--black);
  margin-bottom: 9px;
}
.headline-md {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--black);
  margin-bottom: 6px;
}
.headline-sm {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 5px;
}
.deck {
  font-family: var(--body-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray-70);
  margin-bottom: 12px;
}
.deck-sm {
  font-size: 12.5px;
  color: var(--gray-70);
  line-height: 1.5;
  margin-bottom: 6px;
}
.byline {
  font-size: 11px;
  color: var(--gray-50);
  letter-spacing: .03em;
}
.byline strong { color: var(--gray-70); font-weight: 600; }
.read-more {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .04em;
  transition: color .15s;
}
.read-more:hover { color: var(--red-dark); }

/* ── Section Header ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--gray-20);
  padding: 8px 0;
  margin-bottom: 0;
}
.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
}
.section-more {
  font-size: 11px;
  color: var(--red);
  margin-left: auto;
  transition: color .15s;
}
.section-more:hover { color: var(--red-dark); }

/* ── Dividers & spacing ───────────────────────────────────── */
.hr { border: none; border-top: 1px solid var(--gray-20); }
.spacer-sm { height: 16px; }
.spacer-md { height: 24px; }
.spacer-lg { height: 32px; }

/* ── Hero Grid (latest edition) ───────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 0;
  border-bottom: 1px solid var(--gray-20);
  padding: 26px 0;
}
.hero-main {
  display: block;
  padding-right: 26px;
  border-right: 1px solid var(--gray-20);
}
.hero-main:hover .headline-xl { text-decoration: underline; }
.hero-sidebar { padding-left: 26px; }
.sidebar-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-50);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-20);
  margin-bottom: 4px;
}
.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-20);
  text-decoration: none;
  color: inherit;
}
.sidebar-item:hover .sidebar-judul { text-decoration: underline; }
.sidebar-rubrik {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sidebar-judul {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
  color: var(--black);
}
.sidebar-tanggal {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray-50);
  margin-top: 2px;
}

/* decorative edition number in hero */
.hero-nomor {
  font-family: var(--serif);
  font-size: clamp(60px, 12vw, 110px);
  font-weight: 900;
  line-height: 1;
  color: var(--gray-10);
  margin-bottom: 12px;
  letter-spacing: -.04em;
  user-select: none;
}

/* sidebar article list */
.sidebar-list { list-style: none; }
.sidebar-item {
  border-bottom: 1px solid var(--gray-20);
  padding: 14px 0;
}
.sidebar-item:first-child { padding-top: 0; }
.sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }

/* ── Archive grid (older editions) ───────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--gray-20);
  padding: 20px 0;
}
.article-card {
  padding: 0 18px 0 0;
  border-right: 1px solid var(--gray-20);
}
.article-card:last-child { padding-right: 0; border-right: none; }
.article-card:not(:first-child) { padding-left: 18px; }

.card-nomor {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--gray-20);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

/* ── Opinion / pull quote ─────────────────────────────────── */
.opinion-pull {
  font-family: var(--serif);
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--black);
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin-bottom: 12px;
}

/* ── Newsletter strip ─────────────────────────────────────── */
.newsletter-strip {
  background: var(--black);
  color: var(--white);
  padding: 40px var(--pad);
  margin-top: 40px;
}
.newsletter-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.newsletter-strip h2 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 6px;
}
.newsletter-strip p { font-size: 13px; color: var(--gray-20); }
.newsletter-strip__form { display: flex; gap: 0; }
.newsletter-strip__form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: none;
  font-size: 13px;
  font-family: var(--sans);
  outline: none;
  background: var(--white);
  color: var(--black);
}
.newsletter-strip__form input[type="email"]::placeholder { color: var(--gray-50); }
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.btn-langganan {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.btn-langganan:hover { background: var(--red-dark); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 3px solid var(--black);
  padding: 28px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-20);
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-20);
  padding-bottom: 7px;
  margin-bottom: 12px;
  color: var(--black);
}
.footer-links { list-style: none; }
.footer-links li { font-size: 12.5px; color: var(--gray-70); padding: 3px 0; }
.footer-links a { color: var(--gray-70); transition: color .15s; }
.footer-links a:hover { color: var(--red); }
.footer-about {
  font-family: var(--body-serif);
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-70);
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  font-size: 11px;
  color: var(--gray-50);
}
.footer-bottom-nav { display: flex; gap: 16px; list-style: none; }
.footer-bottom-nav a { color: var(--gray-50); transition: color .15s; }
.footer-bottom-nav a:hover { color: var(--red); }

/* ── Page header (section intros) ─────────────────────────── */
.page-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--gray-20);
  margin-bottom: 24px;
}
.page-header__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.page-header__title {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 8px;
}
.page-header__desc { font-size: 14px; color: var(--gray-50); }

/* ── Prev / next navigation ───────────────────────────────── */
.edisi-nav, .seniman-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--gray-20);
  margin-top: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.edisi-nav a, .seniman-nav a { color: var(--gray-70); transition: color .15s; }
.edisi-nav a:hover, .seniman-nav a:hover { color: var(--red); }
.edisi-nav span, .seniman-nav span { display: inline-block; width: 80px; }

/* ── Edisi page ───────────────────────────────────────────── */
.edisi-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0 20px;
  border-bottom: 3px solid var(--black);
}
.edisi-header__nomor {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  color: var(--gray-10);
  line-height: 1;
  letter-spacing: -.03em;
}
.edisi-header__meta {
  font-size: 12px;
  color: var(--gray-50);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.artikel { padding: 32px 0; border-bottom: 1px solid var(--gray-20); }
.artikel:last-of-type { border-bottom: none; }
.artikel__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.artikel__judul {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}
.artikel figure { margin: 1.5em 0; }
.artikel figure img { width: 100%; }
.artikel figcaption { font-size: 12px; color: var(--gray-50); font-style: italic; margin-top: 6px; }

/* long-form body text */
.artikel__teks { font-family: var(--body-serif); font-size: 17px; line-height: 1.8; color: var(--gray-90); }
.artikel__teks p { margin-bottom: 1.2em; }
.artikel__teks h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--black); margin: 1.8em 0 0.6em; }
.artikel__teks h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--black); margin: 1.4em 0 0.5em; }
.artikel__teks strong { font-weight: 600; color: var(--black); }
.artikel__teks em { font-style: italic; }
.artikel__teks blockquote { border-left: 3px solid var(--red); padding-left: 16px; margin: 1.5em 0; font-style: italic; color: var(--gray-70); }

/* ── Seniman page ─────────────────────────────────────────── */
.seniman-header { padding: 28px 0 20px; border-bottom: 3px solid var(--black); margin-bottom: 28px; }
.seniman-header__label { font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.seniman-header__bulan { font-size: 12px; color: var(--gray-50); margin-bottom: 10px; letter-spacing: .05em; }
.seniman-header__nama { font-family: var(--serif); font-size: clamp(28px, 5vw, 44px); font-weight: 900; color: var(--black); line-height: 1.1; margin-bottom: 8px; }
.seniman-header__judul { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gray-70); font-weight: 400; }

/* ── Seniman arsip ─────────────────────────────────────────── */
.seniman-list { list-style: none; }
.seniman-card { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--gray-20); color: inherit; }
.seniman-card:first-child { padding-top: 0; }
.seniman-card:last-child { border-bottom: none; }
.seniman-card:hover .seniman-card__nama { color: var(--red); }
.seniman-card__num { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--gray-20); width: 48px; flex-shrink: 0; text-align: right; line-height: 1; }
.seniman-card__bulan { font-size: 11px; color: var(--gray-50); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.seniman-card__nama { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--black); transition: color .15s; }

/* ── Empty state ──────────────────────────────────────────── */
.edisi-empty { font-size: 14px; color: var(--gray-50); padding: 40px 0; font-style: italic; }

/* ── V2: Rubrik nav (7 items, scroll on mobile) ───────────── */
.nav-rubrik {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-rubrik::-webkit-scrollbar { display: none; }
.primary-nav .nav-rubrik a:hover,
.primary-nav .nav-rubrik a.aktif {
  color: var(--black);
  border-bottom-color: var(--rubrik-color, var(--red));
}

/* fade kanan sebagai indikator nav bisa di-scroll */
.primary-nav::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
}

/* ── V2: Artikel body typography ─────────────────────────── */
.artikel-body {
  font-family: var(--body-serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--black);
}
.artikel-body p {
  margin-bottom: 1.4em;
}
.artikel-body p:last-child { margin-bottom: 0; }

/* ── V2: Arsip list item hover ────────────────────────────── */
.arsip-item { transition: background .1s; }
.arsip-item:hover { background: var(--gray-05); }

/* ── V2: Card meta (deskripsi singkat di article card) ───── */
.card-meta {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--gray-70);
  line-height: 1.5;
  margin-top: 4px;
}

/* ── V2: Article card with foto ───────────────────────────── */
.article-card .card-foto {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card { padding: 0 14px 16px 0; border-right: 1px solid var(--gray-20); }
  .article-card:nth-child(2n) { padding-right: 0; border-right: none; padding-left: 14px; }
  .article-card:nth-child(2n+1):not(:first-child) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--gray-20); padding-bottom: 22px; margin-bottom: 22px; }
  .hero-sidebar { padding-left: 0; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { padding: 0 0 18px 0; border-right: none; border-bottom: 1px solid var(--gray-20); }
  .article-card:last-child { border-bottom: none; padding-bottom: 0; }
  .newsletter-strip__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .topbar .container { flex-direction: column; gap: 6px; }
}

/* ── Sponsor / Iklan ──────────────────────────────────────── */
.sidebar-sponsor {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-20);
}
.sidebar-sponsor img { width: 100%; object-fit: cover; }
.sidebar-sponsor-nama, .artikel-sponsor-nama {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-top: 8px;
}
.sidebar-sponsor-teks, .artikel-sponsor-teks {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gray-50);
  margin-top: 4px;
}
.sidebar-sponsor-label, .artikel-sponsor-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 8px;
}
.artikel-sponsor {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-20);
  padding: 16px;
}
.artikel-sponsor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}
