:root {
  --ink: #29272c;
  --ink-soft: #5f5960;
  --paper: #f5f1e9;
  --surface: #fffdf9;
  --burgundy: #8f2439;
  --burgundy-dark: #6f1729;
  --gold: #c5a45f;
  --teal: #2f6c70;
  --line: #ded6c8;
  --shadow: 0 24px 70px rgba(45, 37, 37, 0.13);
  --radius: 22px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--burgundy-dark);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: rgba(41, 39, 44, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: grid;
  text-decoration: none;
  line-height: 1.05;
}

.brand strong {
  color: #f0d487;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand span {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav,
.language-nav,
.story-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.site-nav a,
.language-nav a,
.story-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.language-nav a:hover,
.language-nav a:focus-visible,
.story-nav a:hover,
.story-nav a:focus-visible {
  color: var(--ink);
  background: #fff;
}

.hero {
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #e3c77e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

h1,
h2,
h3,
.eyebrow,
.brand span,
.site-nav a,
.language-nav a,
.story-nav a,
.button,
.article-kicker,
.article-meta,
.fiction-note,
.card p,
.story p {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 4.2vw, 4rem);
}

h1 span {
  display: block;
  margin-top: 0.45rem;
  color: #e3c77e;
  font-size: 0.42em;
  line-height: 1.2;
}

.hero-lead {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.story-cover {
  width: min(280px, 100%);
  margin: 0;
}

.story-cover img,
.story-box__cover img,
.story-card__cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-feature__content {
  max-width: 46rem;
}

.story-format {
  margin: -0.45rem 0 1.2rem;
  color: #e3c77e;
  font-weight: 800;
}

.story-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.story-status span {
  padding: 0.4rem 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.story-feature__button {
  margin-top: 0;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure figcaption {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.chronology h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.section-head p,
.card p,
.chronology p {
  color: var(--ink-soft);
}

.language-intro {
  display: grid;
  gap: 0.35rem;
}

.language-intro p {
  margin: 0;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(45, 37, 37, 0.08);
}

.card .language-code {
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.75rem;
}

.card p {
  margin: 0 0 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.75rem 1.1rem;
  color: #fff;
  background: var(--burgundy);
  border: 2px solid var(--burgundy);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

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

.chronology-list li {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-top: 5px solid var(--gold);
  box-shadow: 0 12px 32px rgba(45, 37, 37, 0.07);
}

.chronology-list strong,
.chronology-list span {
  display: block;
}

.chronology-list strong {
  margin-bottom: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.chronology-list span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 3rem;
  color: #fff;
  background: var(--ink);
}

.article-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.article-kicker {
  margin: 0 0 0.9rem;
  color: #e3c77e;
  font-weight: 800;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.language-strip {
  padding: 1rem 0;
  color: #fff;
  background: var(--teal);
}

.language-strip .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.language-strip p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-nav a[aria-current="page"] {
  color: var(--ink);
  background: #fff;
}

.story-image {
  margin: 0;
  padding: 2rem 0 0;
  background: var(--paper);
}

.story-image img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-image figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.context-box,
.fiction-note,
.translation-note {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 5px solid var(--gold);
  background: var(--paper);
}

.translation-note {
  border-left-color: var(--burgundy);
}

.rights-notice {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  color: var(--ink-soft);
  background: #faf7f0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--burgundy);
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
}

.rights-notice h2 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.rights-notice p {
  margin: 0 0 0.55rem;
  overflow-wrap: anywhere;
}

.rights-notice a,
.rights-panel a {
  color: var(--burgundy-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.rights-main {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--paper);
}

.rights-panel {
  max-width: 860px;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rights-panel h1,
.rights-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.rights-panel h1 {
  margin-top: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.08;
}

.rights-language {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}

.rights-language h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.rights-language p {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

.context-box strong,
.fiction-note strong,
.translation-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.reading-shell {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.story {
  padding: 1.5rem 0 clamp(5rem, 10vw, 8rem);
}

.story p {
  margin: 0 0 1.45em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.25rem);
  line-height: 1.75;
  hanging-punctuation: first last;
}

.story .continued {
  margin: 3rem 0 0;
  color: var(--burgundy);
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-box {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin: 0 0 clamp(4rem, 8vw, 6rem);
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story-box__cover {
  width: 80px;
  margin: 0;
}

.story-box__cover img {
  border-color: var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(45, 37, 37, 0.14);
}

.story-box__content > .story-box__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.story-box h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}

.story-box__content > p:not(.story-box__eyebrow) {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.story-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.story-box__links a {
  color: var(--burgundy-dark);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story-card__cover {
  width: 112px;
  margin: 0;
}

.story-card > * {
  min-width: 0;
}

.story-card h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.story-card p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
}

.story-card h2,
.story-card p,
.story-card a,
.story-card span {
  overflow-wrap: anywhere;
}

.story-footer {
  padding: 2.5rem 0;
  color: #fff;
  background: var(--ink);
}

.story-nav {
  justify-content: space-between;
}

.story-nav a {
  border-color: rgba(255, 255, 255, 0.3);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.68);
  background: #17161a;
  font-size: 0.82rem;
}

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

.site-footer a {
  color: #fff;
}

@media (max-width: 840px) {
  .hero-grid,
  .language-grid,
  .chronology-list,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-cover {
    width: 180px;
  }

  .chronology-list li {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .shell,
  .reading-shell {
    width: min(100% - 32px, 1120px);
  }

  .header-inner,
  .language-strip .shell,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    padding: 1rem 0;
  }

  .site-nav,
  .language-nav {
    width: 100%;
  }

  .site-nav a,
  .language-nav a {
    flex: 1 1 auto;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 1rem;
  }

  .story-cover {
    flex: 0 0 112px;
    width: 112px;
  }

  .story-feature__content .eyebrow {
    margin-bottom: 0.55rem;
  }

  .story-feature__content h1 {
    margin-bottom: 1.25rem;
  }

  .story-feature__content {
    flex: 1 1 12rem;
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .hero .story-feature__content h1 {
    overflow-wrap: anywhere;
    hyphens: none;
    word-break: normal;
    font-size: clamp(1.4rem, 6.8vw, 2rem);
  }

  .story-image img {
    min-height: 250px;
  }

  .story-nav {
    align-items: stretch;
    flex-direction: column;
  }

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

  .story-card__cover {
    width: 96px;
  }
}

@media (max-width: 440px) {
  .story-card {
    grid-template-columns: 1fr;
  }
}

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

  .story-cover {
    flex-basis: 96px;
    width: 96px;
  }

  .story-box {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem;
  }

  .story-box__cover {
    width: 72px;
  }

}

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


.episode-links {
  display: grid;
  gap: 0.7rem;
  margin-top: auto;
}

.episode-links .button {
  width: 100%;
  margin-top: 0;
  text-align: center;
}

.button-secondary {
  color: var(--burgundy-dark);
  background: transparent;
  border: 2px solid var(--burgundy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #fff;
}


@media (max-width: 620px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .site-nav a {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 440px) {
  .site-nav {
    grid-template-columns: 1fr;
  }
}

/* Cover lightbox: both published serial novels. */
.cover-zoom {
  position: relative;
  display: block;
  color: inherit;
  border-radius: 8px;
  cursor: zoom-in;
  text-decoration: none;
}

.cover-zoom picture,
.cover-zoom img {
  display: block;
}

.cover-zoom::after {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #fff;
  background: rgba(25, 24, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.cover-zoom:hover img {
  filter: brightness(0.9);
}

.cover-zoom:focus-visible {
  outline: 4px solid #f1d887;
  outline-offset: 5px;
}

.story-box > .cover-zoom {
  width: 80px;
}

.cover-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 4vw, 2.5rem);
  overflow: auto;
  background: transparent;
  border: 0;
}

.cover-lightbox[open] {
  display: grid;
  place-items: center;
}

.cover-lightbox::backdrop {
  background: rgba(10, 12, 13, 0.92);
  backdrop-filter: blur(4px);
}

.cover-lightbox__stage {
  position: relative;
  display: grid;
  max-width: 100%;
  max-height: 100%;
  place-items: center;
}

.cover-lightbox__image {
  width: auto;
  max-width: min(92vw, 1024px);
  height: auto;
  max-height: calc(100dvh - 2rem);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  touch-action: pinch-zoom;
}

.cover-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(25, 24, 28, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  cursor: pointer;
  font: 400 2rem/1 Arial, sans-serif;
}

.cover-lightbox__close:hover,
.cover-lightbox__close:focus-visible {
  background: #8f2439;
}

.cover-lightbox__close:focus-visible {
  outline: 3px solid #f1d887;
  outline-offset: 3px;
}
/* End cover lightbox. */

/* Das Tal der erloschenen Dörfer: eigener, additiver Stilblock. */
.works-index {
  min-height: calc(100vh - 72px);
  background: #f3f0e8;
}

.works-index__head {
  max-width: 820px;
}

.work-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.work-choice {
  display: grid;
  grid-template-columns: minmax(140px, 210px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid #8f2439;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(31, 43, 43, 0.11);
}

.work-choice--tal {
  border-top-color: #53746d;
}

.work-choice__cover {
  margin: 0;
}

.work-choice__cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.work-choice__content {
  min-width: 0;
}

.work-choice__content h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.work-choice__content .button {
  margin-top: 0.5rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.work-choice__content .eyebrow {
  overflow-wrap: anywhere;
  word-break: normal;
}

.tal-feature {
  background:
    linear-gradient(135deg, rgba(15, 27, 29, 0.97), rgba(37, 45, 47, 0.94)),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 64px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tal-feature h2 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
}

.tal-feature .eyebrow,
.tal-feature .story-format,
.tal-genres--hero {
  color: #d7bd7b;
}

.tal-genres {
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tal-button,
.tal-language-card .button:not(.button-secondary) {
  background: #3d6661;
  border-color: #3d6661;
}

.tal-button:hover,
.tal-button:focus-visible,
.tal-language-card .button:not(.button-secondary):hover,
.tal-language-card .button:not(.button-secondary):focus-visible {
  background: #2d514d;
  border-color: #2d514d;
}

.tal-cover img {
  aspect-ratio: auto;
  object-fit: contain;
}

.tal-section {
  background: #e9ece7;
}

.tal-feature,
.tal-section {
  scroll-margin-top: 72px;
}

.tal-section__eyebrow,
.tal-language-card .language-code,
.tal-story-box .story-box__eyebrow {
  color: #315d58;
}

.tal-language-card {
  border-top: 4px solid #53746d;
}

.tal-language-card h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.tal-language-card,
.tal-language-card > *,
.tal-language-card .episode-links,
.tal-language-card .button {
  min-width: 0;
  max-width: 100%;
}

.tal-brand strong {
  font-size: 1.1rem;
}

.tal-brand span {
  max-width: 34rem;
  overflow-wrap: anywhere;
}

.tal-article-hero {
  background: linear-gradient(135deg, #172426, #30383a);
}

.tal-language-strip {
  background: #315d58;
}

.episode-strip {
  padding: 0.9rem 0;
  color: var(--ink);
  background: #e9ece7;
  border-bottom: 1px solid #ccd3cd;
}

.episode-strip .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.episode-strip p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
}

.episode-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.episode-selector a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  color: #264a46;
  background: #fff;
  border: 1px solid #78908a;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.episode-selector a:hover,
.episode-selector a:focus-visible,
.episode-selector a[aria-current="page"] {
  color: #fff;
  background: #315d58;
  border-color: #315d58;
}

.tal-story-image img {
  min-height: 0;
  max-height: none;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.tal-story {
  padding-top: 2.25rem;
}

.tal-story-box {
  border-top: 4px solid #53746d;
}

.tal-story-box .story-box__content {
  min-width: 0;
}

.tal-story-box .story-box__eyebrow {
  overflow-wrap: anywhere;
  word-break: normal;
}

.tal-story-footer {
  background: #172426;
}

@media (max-width: 1120px) {
  .work-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .tal-language-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .work-choice {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }

  .tal-feature,
  .tal-section {
    scroll-margin-top: 0;
  }

  .tal-feature h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: clamp(1.65rem, 7.6vw, 2.35rem);
  }

  .episode-strip .shell {
    align-items: stretch;
    flex-direction: column;
  }

  .episode-selector {
    display: grid;
    grid-template-columns: 1fr;
  }

  .episode-selector a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .work-choice {
    grid-template-columns: 1fr;
  }

  .work-choice__cover {
    width: min(180px, 72%);
    margin-inline: auto;
  }
}

@media (max-width: 360px) {
  .story-box > .cover-zoom {
    width: 72px;
  }

  .tal-story-box {
    grid-template-columns: 1fr;
  }

  .tal-story-box .story-box__cover {
    width: 96px;
  }
}
