:root {
  --eroll-primary: #162a2c;
  --eroll-secondary: #3e5c5a;
  --eroll-accent: #c88d3e;
  --eroll-surface: #f8f6f0;
  --eroll-ink: #1a1918;

  --eroll-font-heading: 'Playfair Display', Georgia;
  --eroll-font-body: 'Lora', Georgia;
}

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

html {
  font-size: 16px;
  background-color: var(--eroll-surface);
  color: var(--eroll-ink);
}

body.eroll-body-frame {
  margin: 0;
  padding: 0;
  font-family: var(--eroll-font-body);
  line-height: 1.8;
  color: var(--eroll-ink);
  background-color: var(--eroll-surface);
  -webkit-font-smoothing: antialiased;
}

/* App Layout Frame */
.eroll-app-layout {
  display: flex;
  min-height: 100vh;
}

.eroll-sidebar {
  width: 290px;
  min-width: 290px;
  background-color: var(--eroll-primary);
  color: var(--eroll-surface);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.eroll-brand-link {
  font-family: var(--eroll-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: block;
}

.eroll-brand-link:hover {
  color: var(--eroll-accent);
}

.eroll-nav-box {
  margin: 3rem 0;
}

.eroll-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.eroll-nav-link {
  font-family: var(--eroll-font-body);
  font-size: 1.1rem;
  color: rgba(248, 246, 240, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.eroll-nav-link:hover {
  color: var(--eroll-accent);
  border-bottom-color: var(--eroll-accent);
}

.eroll-sidebar-footer {
  font-size: 0.85rem;
  color: rgba(248, 246, 240, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: auto;
}

.eroll-copy-note {
  margin: 0;
}

.eroll-main-view {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Split-Screen Hero Opening */
.eroll-hero-duo {
  display: flex;
  min-height: 85vh;
  align-items: stretch;
  border-bottom: 1px solid rgba(22, 42, 44, 0.12);
}

.eroll-duo-prime {
  width: 50%;
  background-color: var(--eroll-primary);
  color: #ffffff;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eroll-hero-title {
  font-family: var(--eroll-font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.eroll-duo-intro {
  width: 50%;
  background-color: var(--eroll-surface);
  color: var(--eroll-ink);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eroll-hero-desc {
  font-family: var(--eroll-font-body);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--eroll-secondary);
  font-style: italic;
  margin: 0 0 2rem 0;
}

.eroll-hero-prose {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--eroll-ink);
}

.eroll-hero-prose p {
  margin: 0 0 1rem 0;
}

/* Pitch Section */
.eroll-pitch-sec {
  padding: 4rem 4rem;
  border-bottom: 1px solid rgba(22, 42, 44, 0.1);
  background-color: #ffffff;
}

.eroll-sec-heading {
  font-family: var(--eroll-font-heading);
  font-size: 2.25rem;
  color: var(--eroll-primary);
  margin: 0 0 2.5rem 0;
  line-height: 1.25;
  position: relative;
}

.eroll-sec-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--eroll-accent);
  margin-top: 0.75rem;
}

.eroll-pitch-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.eroll-pitch-unit {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(22, 42, 44, 0.08);
}

.eroll-pitch-unit:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.eroll-pitch-title {
  font-family: var(--eroll-font-heading);
  font-size: 1.4rem;
  color: var(--eroll-primary);
  margin: 0 0 0.5rem 0;
}

.eroll-pitch-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(26, 25, 24, 0.85);
  margin: 0;
}

/* Article Roster Presentation */
.eroll-roster-sec {
  padding: 4rem;
}

.eroll-roster-wrap {
  width: 100%;
  overflow-x: auto;
}

table.eroll-roster {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-family: var(--eroll-font-body);
}

table.eroll-roster th {
  font-family: var(--eroll-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eroll-primary);
  text-align: left;
  padding: 1.25rem 1rem;
  border-bottom: 2px solid var(--eroll-primary);
  background-color: transparent;
}

table.eroll-roster td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(22, 42, 44, 0.1);
  vertical-align: top;
}

table.eroll-roster tbody tr:nth-child(even) td {
  background-color: rgba(22, 42, 44, 0.02);
}

.eroll-cell-date {
  width: 140px;
  white-space: nowrap;
  font-size: 0.95rem;
  color: var(--eroll-secondary);
}

.eroll-cell-main {
  min-width: 280px;
}

.eroll-item-link {
  font-family: var(--eroll-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eroll-primary);
  text-decoration: none;
  line-height: 1.3;
  display: inline-block;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

.eroll-item-link:hover {
  color: var(--eroll-accent);
}

.eroll-item-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(26, 25, 24, 0.8);
  margin: 0.25rem 0 0 0;
}

.eroll-cell-topic {
  width: 160px;
  font-size: 0.95rem;
  color: var(--eroll-secondary);
  font-style: italic;
}

.eroll-empty-notice {
  font-style: italic;
  color: var(--eroll-secondary);
  margin-top: 1.5rem;
}

/* Single Article View */
.eroll-single-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 3rem;
  width: 100%;
}

.eroll-article-header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(22, 42, 44, 0.12);
}

.eroll-article-meta {
  font-size: 0.95rem;
  color: var(--eroll-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eroll-meta-dot {
  color: var(--eroll-accent);
}

.eroll-section-tag {
  font-style: italic;
}

.eroll-article-title {
  font-family: var(--eroll-font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--eroll-primary);
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.eroll-article-standfirst {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--eroll-secondary);
  font-style: italic;
  margin: 0;
}

.eroll-prose {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--eroll-ink);
}

.eroll-prose p {
  margin-bottom: 1.75rem;
}

.eroll-prose h2 {
  font-family: var(--eroll-font-heading);
  font-size: 2rem;
  color: var(--eroll-primary);
  margin: 3rem 0 1.25rem 0;
  line-height: 1.25;
}

.eroll-prose h3 {
  font-family: var(--eroll-font-heading);
  font-size: 1.5rem;
  color: var(--eroll-primary);
  margin: 2.25rem 0 1rem 0;
  line-height: 1.3;
}

.eroll-prose blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--eroll-accent);
  background-color: rgba(22, 42, 44, 0.03);
  font-style: italic;
  font-size: 1.2rem;
}

.eroll-prose ul, .eroll-prose ol {
  margin-bottom: 1.75rem;
  padding-left: 2rem;
}

.eroll-prose li {
  margin-bottom: 0.5rem;
}

.eroll-prose a {
  color: var(--eroll-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eroll-prose a:hover {
  color: var(--eroll-accent);
}

/* Section Index View */
.eroll-index-container {
  padding: 4rem;
}

.eroll-index-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(22, 42, 44, 0.12);
}

.eroll-index-title {
  font-family: var(--eroll-font-heading);
  font-size: 3rem;
  color: var(--eroll-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.eroll-index-desc {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--eroll-secondary);
  font-style: italic;
  margin: 0;
}

/* Main Footer */
.eroll-main-footer {
  margin-top: auto;
  background-color: var(--eroll-primary);
  color: rgba(248, 246, 240, 0.7);
  padding: 2.5rem 4rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.eroll-footer-text {
  margin: 0;
}

/* Responsive Behavior */
@media (max-width: 991px) {
  .eroll-app-layout {
    flex-direction: column;
  }

  .eroll-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: static;
    padding: 2rem;
  }

  .eroll-nav-box {
    margin: 1.5rem 0;
  }

  .eroll-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .eroll-sidebar-footer {
    display: none;
  }

  .eroll-hero-duo {
    flex-direction: column;
    min-height: auto;
  }

  .eroll-duo-prime, .eroll-duo-intro {
    width: 100%;
    padding: 3.5rem 2rem;
  }

  .eroll-pitch-sec, .eroll-roster-sec, .eroll-index-container {
    padding: 3rem 2rem;
  }

  .eroll-single-article {
    padding: 3rem 1.5rem;
  }

  .eroll-main-footer {
    padding: 2rem;
  }
}
