/* ==========================================================================
   RAVENTIQON.COM - AUSTRALIAN CASINO CHRONICLE & HISTORICAL ARCHIVE
   Design System: Scholarly Prestige, Deep Obsidian, Antique Australian Gold
   Card-under-card elevation, archival timeline, and responsive typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --obsidian-950: #080b11;
  --obsidian-900: #0f141d;
  --obsidian-850: #161c28;
  --obsidian-800: #1d2535;
  --obsidian-700: #293449;

  --parchment-50: #faf8f5;
  --parchment-100: #f4efe6;
  --parchment-200: #e8dfd1;
  --parchment-300: #d6c7b0;

  --gold-300: #f3d489;
  --gold-400: #e5be59;
  --gold-500: #dfa837;
  --gold-600: #b88622;
  --gold-700: #8c6413;

  --text-dark: #1a1f2c;
  --text-muted: #5a6474;
  --text-light: #e2e8f0;
  --text-dim: #94a3b8;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Cinzel', serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 25px -4px rgba(8, 11, 17, 0.12), 0 4px 10px -2px rgba(8, 11, 17, 0.08);
  --shadow-layered: 0 18px 36px -6px rgba(8, 11, 17, 0.22), 0 0 0 1px rgba(223, 168, 55, 0.15);
  
  --max-w: 1220px;
  --header-h: 78px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--obsidian-950);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CONTAINER */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* TOP CHRONICLE STRIP */
.chronicle-strip {
  background-color: #05070a;
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding: 8px 0;
  font-size: 0.78rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chronicle-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HEADER */
.site-header {
  background-color: rgba(15, 20, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-500);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-400);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-500);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-archive {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--obsidian-950);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(223, 168, 55, 0.3);
}

.btn-archive:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold-400);
  cursor: pointer;
  padding: 6px;
}

/* HERO MONOGRAPH */
.hero-monograph {
  background: radial-gradient(circle at 50% 20%, rgba(223, 168, 55, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, var(--obsidian-900) 0%, var(--obsidian-950) 100%);
  border-bottom: 1px solid rgba(223, 168, 55, 0.15);
  padding: 64px 0 80px;
  text-align: center;
}

.monograph-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(223, 168, 55, 0.1);
  border: 1px solid var(--gold-500);
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(223, 168, 55, 0.2);
}

.monograph-crest img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.monograph-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.monograph-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.monograph-desc {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--parchment-200);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 36px;
}

.monograph-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--obsidian-950);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(223, 168, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1px solid rgba(223, 168, 55, 0.4);
  color: var(--gold-400);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: rgba(223, 168, 55, 0.1);
  border-color: var(--gold-400);
}

/* HISTORICAL STATS / MILESTONES BANNER */
.stats-banner {
  background-color: var(--obsidian-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
}

.stat-box:last-child {
  border-right: none;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-txt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* THREE WAVES HIGHLIGHT PANEL */
.three-waves-panel {
  background: linear-gradient(135deg, var(--obsidian-850), var(--obsidian-900));
  border: 1px solid rgba(223, 168, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 56px 0 64px;
  box-shadow: var(--shadow-layered);
}

.panel-header {
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding-bottom: 14px;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-400);
  margin-bottom: 6px;
}

.panel-sub {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--parchment-200);
}

.waves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wave-card {
  background: rgba(15, 20, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wave-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

.wave-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  background: rgba(223, 168, 55, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.wave-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.wave-text {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* SECTION HEADER */
.section-head {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding-bottom: 16px;
}

.section-head-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
}

.section-head-title::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 54px;
  height: 3px;
  background-color: var(--gold-500);
}

/* CARD UNDER CARD & ARCHIVE CHAPTER CARDS */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.chapter-card-outer {
  position: relative;
  background: transparent;
  padding-bottom: 8px; /* space for card under card effect */
}

/* Card-under-card background shadow simulation */
.chapter-card-outer::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: 0px;
  background: rgba(223, 168, 55, 0.12);
  border: 1px solid rgba(223, 168, 55, 0.2);
  border-radius: var(--radius-md);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.chapter-card-outer:hover::before {
  transform: translate(3px, 3px);
  background: rgba(223, 168, 55, 0.22);
}

.chapter-card {
  position: relative;
  z-index: 1;
  background-color: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

.chapter-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--obsidian-950);
}

.chapter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.chapter-card:hover .chapter-thumb img {
  transform: scale(1.05);
}

.chapter-number-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.chapter-era-pill {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 20, 29, 0.9);
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-500);
}

.chapter-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
  flex-grow: 1;
}

.chapter-title a:hover {
  color: var(--gold-400);
}

.chapter-summary {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chapter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.chapter-read-link {
  color: var(--gold-400);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chapter-read-link:hover {
  color: var(--gold-300);
  gap: 9px;
}

/* ==========================================================================
   PRESENTATION SHOWCASE (CHESSBOARD / ZIGZAG FULL-WIDTH LAYOUT)
   ========================================================================== */
.presentation-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}

.presentation-row {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--obsidian-900);
  border: 1px solid rgba(223, 168, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-layered);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

/* Card-under-card offset effect for presentation rows */
.presentation-row::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  background: rgba(223, 168, 55, 0.08);
  border: 1px solid rgba(223, 168, 55, 0.16);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
  transition: all 0.25s ease;
}

.presentation-row:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
}

.presentation-row:hover::before {
  background: rgba(223, 168, 55, 0.16);
  transform: translate(3px, 3px);
}

/* Chessboard / Zigzag alternation */
.presentation-row.reverse {
  grid-template-columns: 1fr 1.12fr;
}

.presentation-row.reverse .presentation-media {
  order: 2;
}

.presentation-row.reverse .presentation-content {
  order: 1;
}

.presentation-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(223, 168, 55, 0.25);
  background-color: var(--obsidian-950);
}

.presentation-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.presentation-row:hover .presentation-media img {
  transform: scale(1.04);
}

.presentation-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presentation-content {
  display: flex;
  flex-direction: column;
}

.presentation-era-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gold-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.presentation-era-pill {
  background: rgba(223, 168, 55, 0.15);
  border: 1px solid rgba(223, 168, 55, 0.3);
  color: var(--gold-300);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.presentation-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.presentation-title a:hover {
  color: var(--gold-400);
}

.presentation-summary {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 22px;
}

.presentation-milestones-snippet {
  background: rgba(8, 11, 17, 0.6);
  border-left: 3px solid var(--gold-500);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.presentation-milestone-item {
  display: flex;
  gap: 10px;
  font-size: 0.825rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.presentation-milestone-item:last-child {
  margin-bottom: 0;
}

.presentation-milestone-year {
  font-family: var(--font-display);
  color: var(--gold-400);
  font-weight: 800;
  flex-shrink: 0;
}

.presentation-btn-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-read-monograph {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--obsidian-950);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(223, 168, 55, 0.25);
  transition: all 0.2s ease;
}

.btn-read-monograph:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.presentation-readtime {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* BIG CENTERED CTA BUTTON UNDER PRESENTATION SECTION */
.all-articles-cta-block {
  text-align: center;
  padding: 44px 24px;
  margin: 16px 0 64px;
  background: radial-gradient(circle at 50% 50%, rgba(223, 168, 55, 0.08) 0%, transparent 70%);
  border-top: 1px solid rgba(223, 168, 55, 0.2);
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  border-radius: var(--radius-md);
}

.btn-all-articles {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--obsidian-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(223, 168, 55, 0.35);
  transition: all 0.25s ease;
}

.btn-all-articles:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(223, 168, 55, 0.5);
  filter: brightness(1.1);
}

.all-articles-caption {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--parchment-200);
  margin-top: 14px;
}

/* CHAPTER DETAIL PAGE - SCHOLARLY MONOGRAPH */
.monograph-page-header {
  background: linear-gradient(180deg, var(--obsidian-900) 0%, var(--obsidian-950) 100%);
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding: 48px 0 36px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--gold-400);
}

.monograph-chapter-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.monograph-page-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}

.monograph-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.monograph-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 48px;
  padding: 48px 0 72px;
}

.monograph-body {
  background-color: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-layered);
}

.monograph-body .lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--parchment-200);
  margin-bottom: 32px;
  border-left: 3px solid var(--gold-500);
  padding-left: 20px;
}

.monograph-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-400);
  margin: 38px 0 16px;
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding-bottom: 8px;
}

.monograph-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 22px;
}

.monograph-featured-media {
  margin-bottom: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 168, 55, 0.3);
  box-shadow: var(--shadow-layered);
}

.monograph-featured-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* TIMELINE SIDEBAR WIDGET */
.sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.archive-widget {
  background-color: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.archive-widget-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(223, 168, 55, 0.2);
  padding-bottom: 8px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(223, 168, 55, 0.3);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--obsidian-950);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 2px;
}

.timeline-event {
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* CHAPTER NAV PREV/NEXT */
.chapter-nav-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 20px;
}

.chapter-nav-btn {
  background: var(--obsidian-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  max-width: 48%;
  transition: all 0.2s ease;
}

.chapter-nav-btn:hover {
  border-color: var(--gold-500);
  background: var(--obsidian-800);
}

.chapter-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.chapter-nav-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.3;
}

/* EDITORIAL / LEGAL CONTENT BLOCKS */
.scholarly-article {
  background-color: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-layered);
  margin: 48px 0 72px;
}

.scholarly-article h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--gold-400);
  margin-bottom: 24px;
}

.scholarly-article h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin: 32px 0 14px;
}

.scholarly-article p {
  font-size: 1.025rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.scholarly-article ul, .scholarly-article ol {
  margin: 18px 0 24px 24px;
}

.scholarly-article li {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 8px;
}

/* LEGAL SECTIONS WITH EXACTLY 5 NUMBERED SECTIONS */
.legal-box {
  background: var(--obsidian-850);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-box-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 12px;
}

/* FAQ */
.faq-box {
  background: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-q:hover {
  color: var(--gold-400);
}

.faq-a {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin: 48px 0 72px;
}

.contact-card-info {
  background: var(--obsidian-900);
  border: 1px solid rgba(223, 168, 55, 0.25);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.contact-card-info p {
  color: var(--text-dim);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-card-form {
  background: var(--obsidian-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-layered);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background-color: var(--obsidian-950);
  color: var(--white);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(223, 168, 55, 0.15);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.btn-send {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--obsidian-950);
  border: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-send:hover {
  filter: brightness(1.1);
}

/* FOOTER */
.site-footer {
  background-color: #05070a;
  color: var(--text-dim);
  padding: 64px 0 32px;
  border-top: 2px solid var(--gold-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-about .brand-logo img {
  width: 48px;
  height: 48px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 16px 0 24px;
  max-width: 360px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-list a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.rg-card {
  background: rgba(223, 168, 55, 0.05);
  border: 1px solid rgba(223, 168, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.rg-card-title {
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-card strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.footer-legals {
  display: flex;
  gap: 18px;
}

.footer-legals a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & STRICT 20px PADDING REQUIREMENT
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .monograph-title {
    font-size: 2rem;
  }

  .monograph-desc {
    font-size: 1.15rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .waves-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .chapters-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .presentation-row, .presentation-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
  }

  .presentation-row.reverse .presentation-media {
    order: 1;
  }

  .presentation-row.reverse .presentation-content {
    order: 2;
  }

  .presentation-title {
    font-size: 1.5rem;
  }

  .btn-all-articles {
    font-size: 0.95rem;
    padding: 14px 20px;
    width: 100%;
    justify-content: center;
  }

  .monograph-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .monograph-body {
    padding: 24px 20px;
  }

  .monograph-page-title {
    font-size: 1.95rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--obsidian-900);
    border-bottom: 1px solid rgba(223, 168, 55, 0.2);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .main-nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }
}
