
:root {
  --primary: #243142;
  --accent: #b96754;
  --secondary: #657f8c;
  --bg: #f8f5ef;
  --paper: #fffdf8;
  --ink: #20252b;
  --muted: rgba(32, 37, 43, 0.66);
  --line: rgba(36, 49, 66, 0.16);
  --mist: #e9eef0;
  --blush: #f0d9d1;
  --sage: #dfe8dd;
  --shadow: 0 18px 44px rgba(36, 49, 66, 0.10);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(101, 127, 140, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 217, 209, 0.24), transparent 420px),
    var(--bg);
  background-size: 96px 96px, auto, auto;
  line-height: 1.62;
}

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

a {
  color: inherit;
}

.ep-header,
.ep-footer,
main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.ep-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.ep-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--primary);
  text-decoration: none;
}

.ep-brand-mark {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
}

.ep-brand-mark svg {
  width: 54px;
  height: 54px;
}

.ep-brand strong,
.ep-brand small {
  display: block;
}

.ep-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.ep-brand small {
  max-width: 300px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ep-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 13px;
  font-weight: 850;
}

.ep-nav a,
.ep-read-link,
.ep-back-link {
  color: var(--primary);
  text-decoration: none;
}

.ep-nav a:hover,
.ep-read-link:hover,
.ep-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ep-kicker {
  display: inline-block;
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
}

h3 {
  margin: 0;
  color: var(--primary);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.ep-front-page {
  padding: 36px 0 28px;
}

.ep-front-title {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: end;
  padding: 26px 0 34px;
  border-bottom: 1px solid var(--line);
}

.ep-front-title .ep-kicker {
  grid-column: 1 / -1;
}

.ep-front-title p:not(.ep-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.ep-front-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.ep-lead-story,
.ep-tonight-list,
.ep-category-tile,
.ep-card,
.ep-letter-section,
.ep-side-story,
.ep-category-note,
.ep-category-lead,
.ep-aside-card,
.ep-source-box,
.ep-soft-panel,
.ep-journal-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.ep-lead-story {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  overflow: hidden;
  min-height: 520px;
}

.ep-lead-image,
.ep-card-image,
.ep-category-image,
.ep-side-image,
.ep-letter-image,
.ep-category-lead-image,
.ep-article-image {
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--mist);
}

.ep-lead-story > a,
.ep-card > a {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.ep-lead-image,
.ep-lead-image img {
  height: 100%;
  min-height: 520px;
}

.ep-lead-image img,
.ep-card-image img,
.ep-category-image img,
.ep-side-image img,
.ep-letter-image img,
.ep-category-lead-image img,
.ep-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.ep-lead-copy h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.ep-lead-copy h2 a,
.ep-card h3 a,
.ep-category-lead h2 a {
  color: inherit;
  text-decoration: none;
}

.ep-lead-copy p:not(.ep-kicker),
.ep-category-cover p:not(.ep-kicker),
.ep-card p,
.ep-letter-copy p,
.ep-category-lead p,
.ep-article-header p {
  color: var(--muted);
  font-size: 18px;
}

.ep-read-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-weight: 900;
}

.ep-tonight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.ep-tonight-list h2 {
  color: #fffdf8;
  font-size: 34px;
}

.ep-tonight-list .ep-kicker {
  color: #f1b8a8;
}

.ep-tonight-list > div {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.ep-side-story {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-height: 142px;
  padding: 14px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
}

.ep-tonight-list .ep-side-story {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.22);
  color: #fff;
}

.ep-side-story .ep-kicker {
  margin-bottom: 5px;
}

.ep-side-story span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--primary);
  font-weight: 950;
}

.ep-side-story strong {
  display: block;
  line-height: 1.13;
}

.ep-side-story em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.ep-tonight-list .ep-side-story em {
  color: rgba(255, 253, 248, 0.72);
}

.ep-side-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 9px;
}

.ep-side-image img {
  aspect-ratio: auto;
}

.ep-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(220px, 0.25fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.ep-section-head .ep-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.ep-section-head h2 {
  grid-column: 1 / 2;
}

.ep-category-band,
.ep-essay-shelf,
.ep-latest-section,
.ep-archive-section,
.ep-other-sections,
.ep-read-next {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.ep-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ep-category-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ep-category-tile {
  display: grid;
  grid-template-rows: 168px minmax(0, 1fr);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}

.ep-category-tile strong {
  display: block;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.02;
}

.ep-category-tile span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.ep-category-tile > div {
  padding: 18px;
}

.ep-card-grid,
.ep-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ep-card {
  display: grid;
  grid-template-rows: 180px minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(36, 49, 66, 0.07);
}

.ep-card > a {
  height: 180px;
}

.ep-card-image {
  height: 100%;
}

.ep-card:nth-child(4n + 2) {
  background: rgba(233, 238, 240, 0.76);
}

.ep-card:nth-child(4n + 3) {
  background: rgba(240, 217, 209, 0.62);
}

.ep-card-copy {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.ep-card h3 {
  font-size: 24px;
}

.ep-card p:not(.ep-kicker) {
  margin: 12px 0 0;
  font-size: 15px;
}

.ep-letter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(300px, 0.48fr);
  gap: 0;
  min-height: 440px;
  overflow: hidden;
  margin: 34px 0 52px;
  background: var(--paper);
}

.ep-letter-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.ep-letter-copy h2 {
  font-size: clamp(36px, 4.8vw, 64px);
}

.ep-button {
  width: fit-content;
  margin-top: 20px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fffdf8;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.ep-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ep-paper-fallback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(185, 103, 84, 0.18), transparent 52%),
    var(--mist);
}

.ep-paper-fallback span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ep-paper-fallback strong {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.05;
}

.ep-category-cover {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.38fr);
  gap: 22px;
  padding: 50px 0 34px;
  align-items: stretch;
}

.ep-category-cover h1,
.ep-article-header h1 {
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 0.96;
}

.ep-category-note {
  padding: 28px;
  background: var(--primary);
  color: #fffdf8;
  box-shadow: none;
}

.ep-category-note h2 {
  color: #fffdf8;
  font-size: 34px;
}

.ep-category-note ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.ep-category-note li + li {
  margin-top: 10px;
}

.ep-category-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(280px, 0.5fr);
  overflow: hidden;
  margin-bottom: 42px;
}

.ep-category-lead-image,
.ep-category-lead-image img {
  min-height: 360px;
}

.ep-category-lead > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
}

.ep-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ep-card.archive {
  grid-template-rows: 210px minmax(0, 1fr);
}

.ep-article {
  padding: 38px 0 70px;
}

.ep-article-header {
  max-width: 960px;
  margin: 0 auto 18px;
  text-align: center;
}

.ep-article-header > p:not(.ep-kicker) {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 21px;
}

.byline,
.fine-print {
  color: var(--muted);
  font-size: 14px;
}

.ep-article-image {
  max-width: 1060px;
  margin: 22px auto 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.ep-article-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
}

.ep-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 36px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.ep-article-copy {
  grid-column: 1;
  grid-row: 1;
}

.ep-article-aside {
  grid-column: 2;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 18px;
}

.ep-article-copy section {
  padding-top: 28px;
}

.ep-article-copy section:first-child {
  padding-top: 0;
}

.ep-article-copy h2 {
  margin-bottom: 16px;
  font-size: 39px;
}

.ep-article-copy p,
.ep-article-copy li {
  font-size: 18px;
  line-height: 1.78;
}

.ep-first-paragraph {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.ep-first-paragraph p:first-child {
  margin-top: 0;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.36;
}

.ep-disclaimer {
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  background: rgba(240, 217, 209, 0.58);
  padding: 16px 18px;
}

.ep-aside-card,
.ep-source-box {
  padding: 20px;
  box-shadow: none;
}

.ep-aside-card h2,
.ep-source-box h2 {
  font-family: inherit;
  font-size: 20px;
}

.ep-aside-card ul,
.ep-source-box ul,
.ep-check-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.ep-aside-card li + li,
.ep-source-box li + li,
.ep-check-list li + li {
  margin-top: 9px;
}

.ep-source-box a {
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.ep-source-box a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-soft-panel,
.ep-journal-panel {
  margin: 28px 0 0;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(101, 127, 140, 0.14), rgba(255, 253, 248, 0.94)),
    var(--paper);
}

.ep-field-notes p:not(.ep-kicker) + p {
  margin-top: 16px;
}

.ep-journal-panel {
  background:
    linear-gradient(135deg, rgba(185, 103, 84, 0.14), rgba(255, 253, 248, 0.96)),
    var(--paper);
}

.ep-read-next {
  max-width: 1120px;
  margin: 48px auto 0;
}

.policy-page {
  max-width: 940px;
  margin: 0 auto;
  padding: 60px 0;
}

.policy-page h1 {
  font-size: 62px;
}

.policy-page h2 {
  margin-top: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.policy-page p,
.policy-page li {
  font-size: 18px;
  line-height: 1.76;
}

.ep-footer {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(420px, 1fr) minmax(230px, 0.56fr);
  gap: 42px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.ep-footer strong {
  display: block;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.footer-group {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ep-footer > .footer-group:nth-child(2) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 9px;
}

.ep-footer > .footer-group:nth-child(2) h2 {
  grid-column: 1 / -1;
}

.ep-footer > div:first-child p {
  max-width: 610px;
  margin: 14px 0 0;
}

.ep-footer > div:first-child .fine-print {
  max-width: 660px;
  margin-top: 14px;
}

.footer-group h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
}

.footer-group a {
  color: var(--primary);
  font-weight: 820;
  text-decoration: none;
}

.empty-note {
  color: var(--muted);
}

@media (max-width: 980px) {
  .ep-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .ep-nav {
    justify-content: flex-start;
  }

  .ep-front-title,
  .ep-front-feature,
  .ep-lead-story,
  .ep-section-head,
  .ep-letter-section,
  .ep-category-cover,
  .ep-category-lead,
  .ep-reading-layout,
  .ep-footer {
    grid-template-columns: 1fr;
  }

  .ep-footer {
    gap: 26px;
  }

  .ep-article-copy,
  .ep-article-aside {
    grid-column: 1;
    grid-row: auto;
  }

  .ep-article-aside {
    position: static;
  }

  .ep-category-grid,
  .ep-category-grid.compact,
  .ep-card-grid,
  .ep-archive-grid,
  .ep-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-lead-image,
  .ep-lead-image img {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .ep-header,
  .ep-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  h1,
  .ep-category-cover h1,
  .ep-article-header h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .policy-page h1 {
    font-size: 40px;
    overflow-wrap: anywhere;
  }

  h2,
  .ep-lead-copy h2,
  .ep-letter-copy h2 {
    font-size: 32px;
  }

  .ep-front-title p:not(.ep-kicker),
  .ep-article-header > p:not(.ep-kicker) {
    font-size: 18px;
  }

  .ep-category-grid,
  .ep-category-grid.compact,
  .ep-card-grid,
  .ep-archive-grid,
  .ep-latest-grid {
    grid-template-columns: 1fr;
  }

  .ep-footer > .footer-group:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .ep-footer > .footer-group:nth-child(2) h2 {
    grid-column: 1;
  }

  .ep-side-story {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ep-card {
    grid-template-rows: 210px minmax(0, 1fr);
  }

  .ep-card > a {
    height: 210px;
  }

  .ep-article-copy h2 {
    font-size: 30px;
  }
}
