:root {
  --background: #eee2e0;
  --text: #452945;
  --primary: #6e0c70;
  --accent: #1a6350;
  --paper: #faf5f2;
  --soft: #e3d2df;
  --green-tint: #dce7df;
  --border: #ac8eaa;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-weight: 500;
}

strong,
b {
  font-weight: 700;
}

cite,
em,
i,
address {
  font-style: normal;
}

a {
  color: var(--primary);
  text-underline-offset: 4px;
}

button {
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.page-width,
.content-frame {
  width: calc(100% - 36px);
  max-width: 1056px;
  margin-inline: auto;
  padding-inline: 0;
}

.masthead {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  column-gap: 34px;
  align-items: center;
  min-height: 96px;
  border-bottom: 4px double var(--primary);
}

.identity {
  min-width: 0;
  max-width: 100%;
}

.site-title {
  display: inline-block;
  max-width: 100%;
  border-bottom: 2px solid transparent;
  color: var(--primary);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 400ms ease;
}

.site-title:hover {
  border-color: var(--accent);
}

.site-note {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 14px;
}

.jump {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.jump:focus {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 20px;
  z-index: 30;
  width: auto;
  height: auto;
  padding: 12px 18px;
  overflow: visible;
  clip-path: none;
  background: var(--paper);
  color: var(--primary);
  white-space: normal;
}

.menu-panel {
  position: relative;
  z-index: 5;
  align-self: center;
  width: 210px;
  height: 0;
  min-width: 0;
}

.nav-button {
  display: none;
}

#navigation {
  position: absolute;
  inset-inline: 0;
  top: 100px;
  border-top: 4px double var(--accent);
  padding-top: 18px;
}

.navigation-title {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li + li::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 10px auto;
  background: var(--accent);
}

.nav-list a {
  display: block;
  max-width: 100%;
  border: 1px solid var(--border);
  padding: 11px 12px;
  background: var(--soft);
  text-align: center;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 400ms ease;
}

.nav-list a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--paper);
}

.nav-list a:hover {
  border-color: var(--accent);
}

.content-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  column-gap: 34px;
  row-gap: 52px;
  min-width: 0;
  margin-block-start: 52px;
}

.content-frame > * {
  grid-column: 1;
  min-width: 0;
}

.lead {
  max-width: 720px;
}

.topics {
  display: grid;
  gap: 20px;
  border-block: 4px double var(--accent);
  padding-block: 24px;
}

.topics h2 {
  font-size: 24px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.story-label .mark {
  background: var(--accent);
  color: var(--paper);
}

.stories-section {
  display: grid;
  gap: 24px;
}

.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  border-bottom: 4px double var(--accent);
  padding-bottom: 16px;
}

.section-top p {
  color: var(--accent);
}

#stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  min-width: 0;
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  padding: 26px;
  background: var(--paper);
  transition: border-color 400ms ease;
}

.story:first-child {
  grid-column: 1 / -1;
}

.story:nth-child(2) {
  background: var(--green-tint);
}

.story:hover,
.story:focus-within {
  border-color: var(--primary);
}

.story-preview {
  align-self: center;
  width: 128px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--accent);
  background: var(--soft);
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.story h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 400;
}

.duration {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.duration .mark {
  background: var(--green-tint);
  color: var(--accent);
}

.summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5;
}

.action {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border: 2px solid var(--primary);
  padding: 9px 14px;
  background: var(--primary);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 400ms ease;
}

.action:hover {
  border-color: var(--accent);
}

.slider {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--accent);
  border-top: 4px double var(--accent);
  background: var(--paper);
}

.slider-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-bottom: 4px double var(--accent);
  padding: 22px 26px;
}

.slider-controls h2 {
  margin-inline-end: auto;
  font-size: 26px;
}

.slide-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.number-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  padding: 4px;
  background: var(--paper);
  color: var(--primary);
  font-size: 20px;
  transition: border-color 400ms ease;
}

.number-button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--paper);
}

.number-button:hover {
  border-color: var(--accent);
}

.playback {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  padding: 9px;
  background: var(--accent);
  color: var(--paper);
  transition: border-color 400ms ease;
}

.playback:hover {
  border-color: var(--primary);
}

.slides {
  display: grid;
  min-width: 0;
  background: var(--primary);
}

.slide {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
}

.slide.is-active {
  z-index: 2;
}

.slide.is-leaving {
  z-index: 1;
  pointer-events: none;
}

.slide-image {
  align-self: start;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 3 / 4;
  background: var(--soft);
  object-fit: cover;
}

.slide-text {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 32px;
  color: var(--paper);
}

.slide-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-width: 0;
}

.slide-copy h3 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.slide-copy .action {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--primary);
}

.slide-copy .action:hover {
  border-color: var(--accent);
}

.slide-copy .action:focus-visible {
  outline-color: var(--paper);
}

.slide.is-entering .slide-image {
  animation: slide-fade-in 400ms ease both;
}

.slide.is-leaving .slide-image {
  animation: slide-fade-out 400ms ease both;
}

.slide.is-entering .slide-copy {
  animation: slide-text-in 400ms ease both;
}

.slide.is-leaving .slide-copy {
  animation: slide-text-out 400ms ease both;
}

.story-page {
  display: flex;
  grid-column: 1;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
}

.story-page > * {
  min-width: 0;
  max-width: 100%;
  margin-block: 0;
}

.story-page .story-meta {
  justify-content: flex-start;
}

.trail {
  font-size: 16px;
  line-height: 1.4;
}

.trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trail li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.trail-divider {
  color: var(--accent);
}

.trail [aria-current="page"] {
  color: var(--text);
}

.cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--accent);
  background: var(--soft);
  object-fit: cover;
}

.story-page h2 {
  border-top: 4px double var(--accent);
  padding-top: 24px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.story-page h3 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
}

.story-page p {
  overflow-wrap: anywhere;
}

.story-page > ul,
.story-page > ol {
  padding-inline-start: 24px;
  list-style-type: disc;
}

.story-page > ul li + li,
.story-page > ol li + li {
  margin-top: 8px;
}

.story-page li::marker {
  color: var(--accent);
}

.story-page blockquote {
  border-left: 4px solid var(--primary);
  padding: 24px;
  background: var(--soft);
}

.story-page blockquote p + p {
  margin-top: 14px;
}

.story-page cite {
  display: block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
}

.story-page table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.story-page th,
.story-page td {
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.story-page th {
  color: var(--primary);
  font-weight: 600;
}

.story-page thead th {
  border-bottom: 2px solid var(--accent);
}

.story-page caption {
  padding-bottom: 12px;
  color: var(--accent);
  font-weight: 600;
  text-align: left;
  caption-side: top;
}

.story-page a {
  overflow-wrap: anywhere;
}

.story-page hr {
  width: 100%;
  border: 0;
  border-top: 4px double var(--accent);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-block-start: 52px;
  border-top: 4px double var(--accent);
  padding-block: 26px;
  color: var(--accent);
  font-size: 14px;
}

.colophon p {
  min-width: 0;
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@keyframes slide-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slide-text-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-text-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-24px);
  }
}

@keyframes menu-height {
  from {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    max-height: 900px;
    padding-top: 18px;
    padding-bottom: 24px;
  }
}

@media (max-width: 1020px) {
  #stories {
    grid-template-columns: minmax(0, 1fr);
  }

  .slider-controls h2 {
    flex-basis: 100%;
  }

  .playback {
    margin-inline-start: auto;
  }

  .slide-copy h3 {
    font-size: 40px;
  }
}

@media (max-width: 800px) {
  .slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .slide-text {
    padding: 26px;
  }
}

@media (max-width: 670px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 34px;
  }

  .masthead {
    display: block;
    min-height: 64px;
  }

  .identity {
    min-height: 60px;
    padding-block: 12px;
    padding-inline-end: 112px;
  }

  .site-title {
    font-size: 30px;
  }

  .site-note {
    display: none;
  }

  .menu-panel {
    position: relative;
    width: 100%;
    height: auto;
  }

  .nav-button {
    position: absolute;
    inset-inline-end: 0;
    top: -52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 2px solid var(--primary);
    border-radius: 0;
    padding: 8px 10px;
    background: var(--primary);
    color: var(--paper);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
    transition: border-color 400ms ease;
  }

  .nav-button::-webkit-details-marker {
    display: none;
  }

  .nav-button:hover {
    border-color: var(--accent);
  }

  #navigation {
    position: static;
    padding-block: 18px 24px;
  }

  .menu-panel[open] #navigation {
    overflow: hidden;
    animation: menu-height 400ms ease;
  }

  .nav-list a {
    padding: 12px 16px;
  }

  .content-frame {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    margin-block-start: 40px;
  }

  .topics {
    gap: 16px;
    padding-block: 20px;
  }

  .topic-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section-top h2 {
    font-size: 26px;
  }

  .story {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
    padding: 24px;
  }

  .story-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .slider-controls {
    padding: 20px;
  }

  .slider-controls h2 {
    flex-basis: 100%;
    font-size: 26px;
  }

  .slide-numbers {
    gap: 6px;
  }

  .slide-text {
    padding: 24px;
  }

  .slide-copy {
    gap: 24px;
  }

  .slide-copy h3 {
    font-size: 36px;
    line-height: 1.12;
  }

  .story-page h2 {
    padding-top: 20px;
    font-size: 26px;
  }

  .story-page h3 {
    font-size: 22px;
  }

  .story-page blockquote {
    padding: 20px;
  }

  .story-page th,
  .story-page td {
    padding: 10px 12px;
  }

  .colophon {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-block-start: 40px;
    padding-block: 24px;
  }
}

@media (max-width: 480px) {
  .page-width,
  .content-frame {
    width: calc(100% - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-title,
  .nav-button,
  .nav-list a,
  .story,
  .action,
  .number-button,
  .playback {
    transition: none;
  }

  .menu-panel[open] #navigation {
    animation: none;
  }

  .slide.is-entering .slide-image,
  .slide.is-leaving .slide-image,
  .slide.is-entering .slide-copy,
  .slide.is-leaving .slide-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .playback {
    display: none;
  }
}




/* Content extension. Original grid, colors, controls and breakpoints retained. */
.story-picture-link {display:block; align-self:center;}
.story-picture-link .story-preview {width:128px;}
.story-title-link {color:inherit;text-decoration:none;}
.story-title-link:hover {text-decoration:underline;}
.topic-list {grid-template-columns:repeat(2,minmax(0,1fr));}
.topic-list a {text-decoration:none;}
.topic-list a:hover {text-decoration:underline;}
.story-byline {display:flex;flex-wrap:wrap;gap:9px;}
.article-category {font-size:14px;color:var(--accent);}
.category-intro {margin-top:14px;max-width:650px;line-height:1.7;}
.table-scroll {overflow-x:auto;max-width:100%;}
.article-sources {font-size:14px;line-height:1.6;color:var(--accent);border-top:1px solid var(--border);padding-top:12px;}
.article-disclaimer {background:var(--green-tint);padding:18px 20px;border-inline-start:4px solid var(--accent);font-size:15px;line-height:1.6;}
.story-page > :is(ul,ol) {padding-inline-start:24px;}
.story-page > ul li {margin-bottom:8px;}
.story-page > .table-scroll {width:100%;}
@media(max-width:670px){.topic-list{grid-template-columns:minmax(0,1fr);}.story-picture-link .story-preview{width:100%;}.story-byline{justify-content:flex-start;}}
