:root {
  --red: #e51d43;
  --red-dark: #b80f30;
  --green: #16834c;
  --blue: #294d91;
  --blue-dark: #142b54;
  --ink: #17191b;
  --muted: #5d625f;
  --paper: #f6f0e4;
  --paper-deep: #eadfcf;
  --white: #fffdf8;
  --wood: #e6c18f;
  --wood-dark: #bb8b55;
  --line: rgba(23, 25, 27, 0.16);
  --shadow: 0 18px 50px rgba(24, 19, 13, 0.18);
  --radius: 1.2rem;
  --max: 76rem;
  --font-display: "Arial Black", "Arial Narrow", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid #ffbf3f;
  outline-offset: 0.22rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.content-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 5.6rem;
  margin-inline: auto;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.letter-tiles {
  display: flex;
  gap: 0.12rem;
}

.letter-tiles span {
  display: grid;
  width: 1.45rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid rgba(92, 57, 23, 0.35);
  border-radius: 0.24rem;
  color: var(--ink);
  background:
    linear-gradient(96deg, transparent 35%, rgba(121, 72, 23, 0.08) 36%, transparent 39%),
    linear-gradient(15deg, #efd2a7, var(--wood));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(60, 35, 15, 0.2);
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1;
}

.letter-tiles span:nth-child(3n + 1) { color: var(--blue); }
.letter-tiles span:nth-child(3n + 2) { color: var(--green); }
.letter-tiles span:nth-child(3n) { color: var(--red-dark); }

.brand-subtitle {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  position: relative;
  padding-block: 1.9rem;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.3rem;
  left: 0;
  height: 0.18rem;
  border-radius: 1rem;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  gap: 0.65rem;
  font-weight: 800;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.5rem;
  height: 0.14rem;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before { position: absolute; top: -0.46rem; }
.nav-toggle-lines::after { position: absolute; top: 0.46rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 43rem;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(9, 26, 50, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(9, 26, 50, 0.12) 1px, transparent 1px),
    var(--blue-dark);
  background-size: 2.5rem 2.5rem;
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 38rem;
  height: 38rem;
  border: 8rem solid var(--green);
  border-radius: 50%;
  content: "";
  opacity: 0.82;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.7fr);
  min-height: 43rem;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: 4.5rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffb1c0;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.7rem, 6.2vw, 5.5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  text-decoration: underline;
}

.hero-intro {
  max-width: 36rem;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  padding: 0.72rem 1.1rem;
  cursor: pointer;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  background: #ffe9a9;
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--blue-dark);
}

.button-red {
  color: white;
  background: var(--red);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
  background: transparent;
}

.button-ghost-light:hover {
  color: var(--ink);
  background: white;
}

.button-ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  margin: 2.2rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  gap: 0.8rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.feature-pills span {
  margin-right: 0.3rem;
  color: #ffb1c0;
}

.hero-cover {
  position: relative;
  width: min(100%, 25rem);
  margin-inline: auto;
  transform: rotate(2.2deg);
}

.hero-cover img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 34rem;
  border: 0.55rem solid white;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.cover-shadow {
  position: absolute;
  z-index: 1;
  inset: 1.2rem -1.1rem -1rem 1.1rem;
  background: var(--red);
  transform: rotate(3deg);
}

.cover-sticker {
  position: absolute;
  z-index: 3;
  right: -2rem;
  bottom: 2rem;
  display: grid;
  width: 7.2rem;
  height: 7.2rem;
  place-content: center;
  border: 0.25rem solid white;
  border-radius: 50%;
  color: var(--ink);
  background: #ffd34f;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: rotate(-9deg);
}

.cover-sticker strong,
.cover-sticker span {
  display: block;
}

.cover-sticker strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.cover-sticker span {
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  border-radius: 1rem;
  transform: rotate(12deg);
}

.hero-shape-one {
  top: 10%;
  right: 38%;
  width: 8rem;
  height: 8rem;
  background: var(--red);
  opacity: 0.9;
}

.hero-shape-two {
  bottom: 4%;
  left: -3rem;
  width: 10rem;
  height: 10rem;
  border: 2.5rem solid var(--red);
  border-radius: 50%;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.paper-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(229, 29, 67, 0.06) 0 0.28rem, transparent 0.3rem),
    var(--paper);
  background-size: 2.2rem 2.2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.text-link,
.card-link {
  color: var(--ink);
  font-weight: 850;
  text-decoration-color: var(--red);
}

.text-link {
  flex-shrink: 0;
  margin-bottom: 0.4rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 1.25rem;
}

.story-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0.35rem 0 rgba(23, 25, 27, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  box-shadow: 0 1.25rem 2rem rgba(28, 24, 20, 0.1);
  transform: translateY(-0.35rem);
}

.story-image {
  position: relative;
  display: block;
  height: 16rem;
  overflow: hidden;
  background: var(--blue);
}

.story-card-featured .story-image {
  height: 19.5rem;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.story-image img.provieler-article-preview {
  object-fit: contain;
  background: var(--paper);
}

.story-image-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0 25%, transparent 25% 100%),
    linear-gradient(145deg, #315f91, var(--blue-dark));
}

.story-image-placeholder::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52%, 12rem);
  aspect-ratio: 1;
  border: 1.4rem solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.story-image-placeholder span {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.55rem 0 0.55rem 0;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.podcast-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 25%, transparent 25% 100%),
    linear-gradient(145deg, var(--green), var(--blue-dark));
}

.podcast-placeholder span::before {
  margin-right: 0.45rem;
  content: "▶";
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-card:hover .story-image img.provieler-article-preview {
  transform: none;
}

.crop-one img { object-position: 50% 62%; }
.crop-two img { object-position: 18% 76%; }
.crop-three img { object-position: 84% 89%; }

.story-number {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.story-body p:not(.card-meta) {
  color: var(--muted);
}

.story-body .card-link {
  margin-top: auto;
}

.podcast-section {
  color: white;
  background: var(--blue);
}

.podcast-section .section-heading h2,
.podcast-section .section-heading .eyebrow,
.podcast-section .text-link {
  color: white;
}

.podcast-section .section-heading > div::before {
  background: var(--green);
  content: "▶";
}

.podcast-section .text-link {
  text-decoration-color: white;
}

.podcast-empty {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  border-radius: 1rem 0 1rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: white;
  gap: 1.5rem;
}

.podcast-empty > span {
  display: grid;
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 1.35rem;
}

.podcast-empty h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.podcast-empty p {
  margin: 0;
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
  color: var(--muted);
  gap: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-meta span + span::before {
  margin-right: 0.75rem;
  color: var(--red);
  content: "•";
}

.mockup-note {
  max-width: 47rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.extra-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--green);
}

.extra-section::before {
  position: absolute;
  top: -9rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  border: 4rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.split-panel {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.extra-visual {
  position: relative;
  min-height: 30rem;
}

.color-block,
.photo-slice {
  position: absolute;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.color-block-red {
  top: 0;
  left: 6%;
  width: 54%;
  height: 54%;
  background: var(--red);
  transform: rotate(-5deg);
}

.color-block-green {
  right: 5%;
  bottom: 2%;
  width: 55%;
  height: 57%;
  border: 0.6rem solid var(--white);
  background: var(--blue);
  transform: rotate(7deg);
}

.photo-slice {
  z-index: 2;
  top: 8%;
  right: 10%;
  width: 67%;
  height: 78%;
  overflow: hidden;
  border: 0.55rem solid white;
  transform: rotate(2deg);
}

.photo-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 68%;
}

.scribble {
  position: absolute;
  z-index: 3;
  bottom: 4%;
  left: 3%;
  font-family: Georgia, serif;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-13deg);
}

.extra-copy {
  position: relative;
  z-index: 2;
  max-width: 37rem;
}

.extra-copy h2 {
  max-width: 13ch;
}

.extra-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.check-list {
  margin: 1.7rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 2rem;
  font-weight: 720;
}

.check-list li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: white;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.archive-teaser {
  background: var(--white);
}

.issue-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  align-items: stretch;
  gap: 1.4rem;
}

.issue-card {
  display: grid;
  grid-template-columns: minmax(7rem, 0.64fr) 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--paper);
  gap: 1.15rem;
}

.issue-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.71;
  border: 0.28rem solid white;
  background: #ddd;
  box-shadow: 0 0.6rem 1.4rem rgba(34, 28, 20, 0.17);
  transform: rotate(-1.5deg);
}

.issue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 250ms ease;
}

.issue-cover:hover img {
  transform: scale(1.035);
}

/* Show the complete PDF title page even when the original page has another ratio. */
.issue-cover img.provieler-cover-image,
.story-image img.provieler-cover-image {
  object-fit: contain;
  object-position: center top;
  background: white;
}

.issue-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  border-radius: 2rem;
  padding: 0.25rem 0.55rem;
  color: white;
  background: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: var(--radius);
  padding: 2rem;
  color: white;
  background: var(--blue);
}

.archive-callout p {
  color: rgba(255, 255, 255, 0.8);
}

.callout-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: white;
  font-size: 1.55rem;
  font-weight: 900;
}

.feedback-banner {
  border-top: 1px solid var(--line);
  padding-block: 3.8rem;
  background:
    linear-gradient(90deg, transparent 48%, rgba(23, 25, 27, 0.06) 48% 50%, transparent 50%),
    #ffd34f;
  background-size: 3rem 3rem;
}

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

.feedback-inner h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-footer {
  padding-block: 4rem 2rem;
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid a,
.footer-button {
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid a:hover,
.footer-button:hover {
  color: white;
}

.footer-brand {
  color: white !important;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.footer-title {
  margin: 0 0 0.5rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.76rem;
}

.feedback-dialog {
  width: min(calc(100% - 2rem), 35rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.6rem);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.45);
}

.feedback-dialog::backdrop {
  background: rgba(10, 17, 25, 0.72);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.55rem;
}

.feedback-dialog h2 {
  padding-right: 2rem;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.feedback-dialog form {
  display: grid;
  margin-top: 1.4rem;
  gap: 0.55rem;
}

.feedback-dialog label {
  margin-top: 0.5rem;
  font-weight: 800;
}

.feedback-dialog select,
.feedback-dialog textarea,
.archive-search {
  width: 100%;
  border: 2px solid rgba(23, 25, 27, 0.35);
  border-radius: 0.45rem;
  padding: 0.75rem;
  color: var(--ink);
  background: white;
}

.feedback-dialog textarea {
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  margin-block: 0.65rem !important;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600 !important;
}

.checkbox-label input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.4rem 0 0;
  color: var(--green);
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  width: min(calc(100% - 2rem), 26rem);
  border-left: 0.35rem solid #ffd34f;
  border-radius: 0.45rem;
  padding: 1rem 1.15rem;
  color: white;
  background: var(--ink);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inner page foundations */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: white;
  background: var(--blue-dark);
}

.page-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  border: 4.5rem solid var(--red);
  border-radius: 50%;
  content: "";
  opacity: 0.92;
}

.page-hero .content-grid {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 0.45rem;
  content: "/";
}

.issue-intro-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) 1.38fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.issue-intro-grid--cover-only {
  grid-template-columns: minmax(0, 26rem);
  justify-content: center;
}

.issue-intro-grid--pdf {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
  align-items: center;
}

.issue-intro-grid--pdf .large-issue-cover {
  position: static;
}

.issue-intro-grid--pdf .issue-summary {
  grid-column: 1 / -1;
  margin-top: clamp(1rem, 3vw, 2.5rem);
}

.issue-pdf-copy {
  max-width: 34rem;
}

.issue-pdf-copy h2 {
  max-width: 13ch;
}

.issue-pdf-copy > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.large-issue-cover {
  --provieler-cover-clearance: 10rem;
  position: sticky;
  top: 7rem;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.large-issue-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border: 0.55rem solid white;
  background: #ddd;
  box-shadow: var(--shadow);
  transform: rotate(-1.3deg);
}

@media screen {
  .large-issue-cover img {
    max-height: max(1px, calc(100vh - var(--provieler-cover-clearance) - var(--wp-admin--admin-bar--height, 0px)));
    max-height: max(1px, calc(100svh - var(--provieler-cover-clearance) - var(--wp-admin--admin-bar--height, 0px)));
  }
}

.issue-summary h2 {
  max-width: 13ch;
}

.issue-summary .lead {
  max-width: 39rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.toc {
  margin-top: 2.4rem;
  border-top: 3px solid var(--ink);
}

.toc-item {
  display: grid;
  grid-template-columns: 3.3rem 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 1rem;
  gap: 1rem;
  text-decoration: none;
}

.toc-item:hover {
  background: rgba(229, 29, 67, 0.05);
}

.toc-number {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.toc-title {
  font-weight: 850;
}

.toc-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.article-copy {
  max-width: 47rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.78;
}

.article-copy h2,
.article-copy h3 {
  margin-top: 2.3rem;
  font-family: var(--font-display);
  line-height: 1.15;
}

.article-copy .lead {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.3em;
  line-height: 1.55;
}

.article-copy blockquote {
  margin: 2.2rem 0;
  border-left: 0.55rem solid var(--red);
  padding: 0.4rem 0 0.4rem 1.5rem;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 1.45em;
  line-height: 1.3;
}

.article-copy .inline-image {
  margin-block: 2.2rem;
}

.article-layout--pdf {
  gap: 2rem;
}

.article-copy--pdf {
  min-width: 0;
  max-width: none;
}

.article-pdf {
  margin-block: 1rem 1.5rem;
}

.article-pdf-pages {
  display: grid;
  gap: 1rem;
}

.article-pdf-page {
  position: relative;
  margin: 0;
  width: 100%;
  background: white;
  overflow: hidden;
}

.article-pdf-page canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.article-pdf-page:not([data-rendered])::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--paper);
  font-size: .85rem;
  content: attr(aria-label);
}

.article-pdf-page[data-error]::before {
  padding: 1rem;
  content: attr(data-error);
}

.article-pdf-page-link {
  position: absolute;
  z-index: 1;
}

.article-pdf-status {
  margin: 0;
  padding: 1rem;
  font-size: .9rem;
}

.article-pdf-status[hidden] {
  display: none;
}

.speech-actions button:disabled,
.speech-actions input:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.inline-image img {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  object-position: center 67%;
}

.inline-image figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
}

.article-aside {
  position: sticky;
  top: 7rem;
}

.speech-card,
.article-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--paper);
}

.article-info-card {
  margin-top: 1rem;
}

.speech-card h2,
.article-info-card h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.speech-speed {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 0.65rem;
}

.speech-speed-label,
.speech-speed-limits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.speech-speed-label {
  flex-wrap: wrap;
  font-weight: 700;
}

.speech-speed-label output {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.speech-speed input[type="range"] {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.speech-speed input:disabled {
  cursor: default;
}

.speech-speed-limits {
  color: var(--muted);
}

.speech-status {
  min-height: 2.5rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.article-tags li {
  border-radius: 2rem;
  padding: 0.28rem 0.6rem;
  color: var(--blue-dark);
  background: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.issue-tags {
  margin-top: 2rem;
}

.reading-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 0.25rem;
  background: #ffbf3f;
}

.article-hero-image {
  position: relative;
  height: min(52vw, 36rem);
  min-height: 19rem;
  overflow: hidden;
  background: var(--blue);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
}

.article-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
  content: "";
}

.archive-controls {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto;
  align-items: center;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-button.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

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

.archive-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--paper);
}

.archive-card[hidden] {
  display: none;
}

.archive-card .issue-cover {
  width: min(100%, 15rem);
  margin: 0 auto 1.4rem;
}

.archive-card .card-link {
  margin-top: auto;
}

.archive-empty {
  grid-column: 1 / -1;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.coming-soon {
  display: grid;
  min-height: 18rem;
  place-items: center;
  border: 2px dashed rgba(23, 25, 27, 0.25);
  border-radius: 0.7rem;
  margin-bottom: 1.4rem;
  padding: 2rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.legal-copy {
  max-width: 47rem;
}

.legal-copy section {
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}

.legal-copy h2 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  letter-spacing: 0;
}

.placeholder {
  display: inline-block;
  border-radius: 0.25rem;
  padding: 0.08rem 0.35rem;
  color: var(--red-dark);
  background: #ffe4e9;
  font-weight: 750;
}

.info-aside {
  position: sticky;
  top: 7rem;
  border-radius: var(--radius);
  padding: 1.5rem;
  color: white;
  background: var(--blue);
}

.info-aside h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 0;
}

@media (max-width: 62rem) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 1rem 1rem;
    background: var(--white);
    gap: 0;
    box-shadow: 0 1.2rem 2rem rgba(20, 25, 30, 0.12);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0.25rem;
  }

  .site-nav a::after { display: none; }

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

  .story-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .story-card-featured .story-image { height: 100%; min-height: 20rem; }

  .issue-row {
    grid-template-columns: 1fr 1fr;
  }

  .archive-callout {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .article-info-card { margin-top: 0; }

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

@media (max-width: 46rem) {
  .content-grid,
  .header-inner {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .header-inner { min-height: 4.7rem; }

  .brand-subtitle { display: none; }

  .letter-tiles span {
    width: 1.2rem;
    height: 1.3rem;
    font-size: 0.78rem;
  }

  .nav-toggle-label { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 3.5rem 5rem;
  }

  .hero-cover {
    width: min(78%, 20rem);
    margin-top: 1rem;
  }

  .cover-sticker {
    right: -1.2rem;
    width: 5.8rem;
    height: 5.8rem;
  }

  .cover-sticker strong { font-size: 1rem; }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .story-grid,
  .story-card-featured {
    display: grid;
    grid-template-columns: 1fr;
  }

  .story-card-featured .story-image,
  .story-image { height: 16rem; min-height: 0; }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .extra-visual {
    min-height: 22rem;
  }

  .issue-row {
    grid-template-columns: 1fr;
  }

  .issue-card {
    grid-template-columns: 8rem 1fr;
  }

  .archive-callout { grid-column: auto; }

  .feedback-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .issue-intro-grid {
    grid-template-columns: 1fr;
  }

  .large-issue-cover {
    --provieler-cover-clearance: 11rem;
    position: static;
    width: min(80%, 20rem);
    margin-inline: auto;
  }

  .toc-item {
    grid-template-columns: 2.5rem 1fr;
  }

  .toc-meta { grid-column: 2; }

  .podcast-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-hero-image {
    height: 23rem;
  }

  .archive-controls {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-aside { position: static; }
}

@media (max-width: 26rem) {
  .letter-tiles span { width: 1.08rem; font-size: 0.7rem; }
  .button-row .button { width: 100%; }
  .feature-pills { flex-direction: column; gap: 0.4rem; }
  .issue-card { grid-template-columns: 6.5rem 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media print {
  .site-header,
  .site-footer,
  .feedback-banner,
  .article-aside,
  .reading-progress,
  .button,
  .toast {
    display: none !important;
  }

  body { background: white; }
  .section { padding-block: 1rem; }
  .article-layout { display: block; }
  .article-copy { max-width: none; font-size: 11pt; }
}

/* --------------------------------------------------------------------------
   Mockup 05 – angelehnt an die Gestaltungswelt der Betriebsseite proviel.de
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Proviel Roboto";
  src: url("../fonts/roboto-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Proviel Roboto";
  src: url("../fonts/roboto-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Proviel Slab";
  src: url("../fonts/roboto-slab-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Proviel Slab";
  src: url("../fonts/roboto-slab-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --red: #c0001b;
  --red-dark: #8f0014;
  --green: #006c37;
  --blue: #00377a;
  --blue-dark: #002755;
  --ink: #404040;
  --muted: #707070;
  --paper: #f1f1f1;
  --paper-deep: #e3e3e3;
  --white: #ffffff;
  --line: rgba(64, 64, 64, 0.18);
  --shadow: 0 1rem 2.8rem rgba(64, 64, 64, 0.16);
  --radius: 1rem 0 1rem 0;
  --max: 82rem;
  --font-display: "Proviel Slab", Georgia, serif;
  --font-body: "Proviel Roboto", Arial, Helvetica, sans-serif;
}

body {
  color: var(--ink);
  background: white;
  font-weight: 300;
}

:focus-visible {
  outline-color: var(--blue);
}

.content-grid,
.header-inner {
  width: min(calc(100% - 3rem), var(--max));
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 4.65rem;
  height: 0.48rem;
  background: linear-gradient(90deg, var(--red) 0 33.333%, var(--blue) 33.333% 66.666%, var(--green) 66.666%);
  content: "";
  transform: translateX(-50%);
}

.header-inner {
  min-height: 7rem;
  gap: 2.4rem;
}

.brand {
  min-width: 10.5rem;
}

.brand-logo {
  width: 10.4rem;
  height: auto;
}

.brand-subtitle {
  margin-top: 0.38rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.site-nav {
  gap: 1.8rem;
}

.site-nav .menu,
.footer-menu {
  display: flex;
  margin: 0;
  padding: 0;
  gap: inherit;
  list-style: none;
}

.footer-menu {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.feedback-honeypot {
  position: absolute !important;
  left: -10000px !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.5rem;
  left: 0.5rem;
  display: block;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto;
  clip-path: none;
  color: white;
  background: var(--ink);
}

.entry-content > * {
  max-width: 47rem;
}

.entry-content > .alignwide,
.entry-content > .alignfull {
  max-width: none;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 0.5rem;
}

.page-numbers {
  border: 1px solid var(--line);
  border-radius: 0.45rem 0 0.45rem 0;
  padding: 0.45rem 0.75rem;
  background: white;
}

.page-numbers.current {
  color: white;
  background: var(--blue);
}

.archive-search-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.issue-cover-actions,
.article-actions {
  margin-top: 1.5rem;
}

.card-title {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: 0;
}

.card-title a {
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

.search-form {
  display: flex;
  max-width: 42rem;
  gap: 0.6rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem 0 0.55rem 0;
  padding: 0.7rem 0.9rem;
}

.search-submit {
  border: 0;
  border-radius: 0.45rem;
  padding-inline: 1rem;
  color: white;
  background: var(--ink);
  font-weight: 700;
}

@media screen and (min-width: 783px) {
  .admin-bar .site-header {
    top: 32px;
  }
}

/* Isolierte Theme-Kopf- und Fußzeile: verhindert Kollisionen mit Page-Buildern. */
#provieler-theme-header {
  position: sticky !important;
  z-index: 50 !important;
  top: 0;
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

#provieler-theme-header::before {
  position: absolute !important;
  z-index: 2;
  top: 0 !important;
  left: 50% !important;
  display: block !important;
  width: 4.65rem !important;
  height: 0.48rem !important;
  border: 0 !important;
  background: linear-gradient(90deg, var(--red) 0 33.333%, var(--blue) 33.333% 66.666%, var(--green) 66.666%) !important;
  content: "" !important;
  transform: translateX(-50%) !important;
}

#provieler-theme-header .header-inner {
  display: flex !important;
  width: min(calc(100% - 3rem), var(--max)) !important;
  min-height: 7rem !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 1.5rem !important;
}

#provieler-theme-header .brand {
  display: flex !important;
  min-width: 13.9rem !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  text-decoration: none !important;
}

#provieler-theme-header .letter-tiles {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.12rem !important;
}

#provieler-theme-header .letter-tiles span {
  display: grid !important;
  width: 1.45rem !important;
  height: 1.55rem !important;
  place-items: center !important;
  border: 1px solid rgba(92, 57, 23, 0.35) !important;
  border-radius: 0.24rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #17191b !important;
  background:
    linear-gradient(96deg, transparent 35%, rgba(121, 72, 23, 0.08) 36%, transparent 39%),
    linear-gradient(15deg, #efd2a7, #e6c18f) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(60, 35, 15, 0.2) !important;
  font-family: "Proviel Roboto", Arial, Helvetica, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

#provieler-theme-header .letter-tiles span:nth-child(3n + 1) {
  color: #294d91 !important;
}

#provieler-theme-header .letter-tiles span:nth-child(3n + 2) {
  color: #16834c !important;
}

#provieler-theme-header .letter-tiles span:nth-child(3n) {
  color: #b80f30 !important;
}

#provieler-theme-header .brand-logo {
  display: block !important;
  width: 10.4rem !important;
  max-width: 10.4rem !important;
  height: auto !important;
  margin: 0 !important;
}

#provieler-theme-header .brand-subtitle {
  display: block !important;
  margin: 0.22rem 0 0 !important;
  color: #5d625f !important;
  font-family: "Proviel Roboto", Arial, Helvetica, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

#provieler-theme-header .header-search {
  display: flex !important;
  flex: 1 1 16rem;
  width: 100%;
  min-width: 8rem;
  max-width: 21rem;
  align-items: center;
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 0.55rem 0 0.55rem 0 !important;
  padding: 0 !important;
  background: white !important;
}

#provieler-theme-header .header-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0.55rem 0 0 0 !important;
  padding: 0.6rem 0.75rem !important;
  color: var(--ink) !important;
  background: transparent !important;
  font: inherit;
  font-size: 0.85rem;
}

#provieler-theme-header .header-search button {
  display: grid !important;
  flex: 0 0 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 0 0.55rem 0 !important;
  padding: 0 !important;
  color: white !important;
  background: var(--blue) !important;
  cursor: pointer;
}

#provieler-theme-header .header-search button:hover {
  background: var(--blue-dark) !important;
}

#provieler-theme-header .provieler-theme-nav,
#provieler-theme-header .provieler-theme-nav .menu {
  display: flex !important;
  width: auto !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  gap: 1.4rem !important;
  box-shadow: none !important;
  list-style: none !important;
}

#provieler-theme-header .provieler-theme-nav li {
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#provieler-theme-header .provieler-theme-nav a {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 2.55rem 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transform: none !important;
}

#provieler-theme-header .provieler-theme-nav a::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 1.75rem !important;
  left: 0 !important;
  display: block !important;
  width: auto !important;
  height: 0.23rem !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background: var(--red) !important;
  content: "" !important;
  transform: scaleX(0) !important;
}

#provieler-theme-header .provieler-theme-nav a:hover::after,
#provieler-theme-header .provieler-theme-nav .current-menu-item > a::after {
  transform: scaleX(1) !important;
}

#provieler-theme-footer {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 4rem 0 2rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  background: var(--ink) !important;
}

#provieler-theme-footer .footer-grid {
  display: grid !important;
  width: min(calc(100% - 3rem), var(--max)) !important;
  grid-template-columns: 1.6fr 1fr 1fr !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 2rem !important;
}

@media screen and (min-width: 783px) {
  .admin-bar #provieler-theme-header {
    top: 32px !important;
  }
}

@media (max-width: 76rem) {
  #provieler-theme-header .nav-toggle {
    display: flex !important;
    min-height: 2.75rem;
    flex-shrink: 0;
  }

  #provieler-theme-header .provieler-theme-nav {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    display: none !important;
    padding: 0.7rem 1rem 1rem !important;
    background: white !important;
  }

  #provieler-theme-header .provieler-theme-nav.is-open {
    display: flex !important;
  }

  #provieler-theme-header .provieler-theme-nav .menu {
    width: 100% !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  #provieler-theme-header .provieler-theme-nav a {
    border-bottom: 1px solid var(--line) !important;
    padding: 0.9rem 0.3rem !important;
  }

  #provieler-theme-header .provieler-theme-nav a::after {
    display: none !important;
  }
}

/* A compact look ahead between the current issue and online articles. */
.next-issue-section {
  padding: 2rem 0;
  background: var(--white);
}

.next-issue-panel {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-left: 0.35rem solid var(--blue);
  border-radius: 1rem 0 1rem 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--paper);
}

.next-issue-panel--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(0, 14rem);
}

.next-issue-copy {
  min-width: 0;
}

.next-issue-copy .eyebrow {
  color: var(--blue);
}

.next-issue-copy h2 {
  max-width: 28ch;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.next-issue-text {
  max-width: 60ch;
  margin: 0 0 1rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.next-issue-date {
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
}

.next-issue-copy .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.next-issue-image {
  width: 100%;
  height: auto;
  max-height: 16rem;
  object-fit: contain;
}

.next-issue-detail {
  display: grid;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.next-issue-detail--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
}

.next-issue-detail-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.next-issue-detail-section.section {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.next-issue-detail-intro {
  max-width: 65ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.next-issue-detail-card {
  border: 1px solid var(--line);
  border-top: 0.3rem solid var(--red);
  border-radius: 1rem 0 1rem 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--ink);
  background: var(--white);
}

.next-issue-detail-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.25;
}

.next-issue-detail-body {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 400;
  line-height: 1.65;
}

.next-issue-detail-body > :first-child {
  margin-top: 0;
}

.next-issue-detail-body > :last-child {
  margin-bottom: 0;
}

.next-issue-detail .next-issue-detail-visual {
  width: 100%;
  justify-self: stretch;
  border: 1px solid var(--line);
  border-radius: 1rem 0 1rem 0;
  padding: 0.65rem;
  background: var(--white);
}

.next-issue-back-link {
  max-width: 100%;
  margin-top: 1.5rem;
  white-space: normal;
}

.next-issue-detail .next-issue-image {
  max-height: 32rem;
}

@media (max-width: 46rem) {
  .next-issue-panel--with-image,
  .next-issue-detail--with-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-issue-visual {
    width: min(100%, 14rem);
    justify-self: center;
  }
}

@media (max-width: 46rem) {
  #provieler-theme-header .header-inner,
  #provieler-theme-footer .footer-grid {
    width: min(calc(100% - 1.4rem), var(--max)) !important;
  }

  #provieler-theme-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 5.5rem !important;
    padding-block: 0.9rem !important;
    gap: 0.75rem !important;
  }

  #provieler-theme-header .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  #provieler-theme-header .brand {
    min-width: 11.8rem !important;
  }

  #provieler-theme-header .letter-tiles span {
    width: 1.2rem !important;
    height: 1.3rem !important;
    font-size: 0.78rem !important;
  }

  #provieler-theme-header .brand-logo {
    width: 8rem !important;
  }

  #provieler-theme-header .brand-subtitle {
    font-size: 0.55rem !important;
  }

  #provieler-theme-footer .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

.site-nav a {
  padding-block: 2.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
}

.site-nav a::after {
  bottom: 1.75rem;
  height: 0.23rem;
  background: var(--red);
}

.hero {
  min-height: auto;
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
  color: white;
  background: white;
}

.hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  min-height: 38rem;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.72fr);
  border-radius: 1.25rem 0 1.25rem 0;
  padding: clamp(2.5rem, 5vw, 5rem);
  background: var(--red);
  gap: clamp(2rem, 7vw, 6rem);
}

.hero-grid::after {
  position: absolute;
  z-index: -1;
  right: 4rem;
  bottom: -2rem;
  width: 0;
  height: 0;
  border-top: 2.2rem solid var(--red);
  border-left: 2.8rem solid transparent;
  content: "";
}

.hero-copy {
  max-width: 43rem;
}

.eyebrow,
.eyebrow.light {
  color: inherit;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.8vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-intro {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.button {
  min-height: 3rem;
  border: 0;
  border-radius: 0.65rem 0 0.65rem 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
}

.button-light {
  color: var(--red-dark);
  background: white;
}

.button-light:hover {
  color: white;
  background: rgba(255, 255, 255, 0.24);
}

.button-dark {
  background: var(--ink);
}

.button-dark:hover {
  background: #202020;
}

.button-red {
  background: var(--red);
}

.button-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.button-ghost-dark {
  border: 1px solid var(--ink);
}

.feature-pills {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
}

.feature-pills span {
  color: white;
}

.hero-cover {
  width: min(100%, 24rem);
  transform: none;
}

.hero-cover img {
  border: 0.65rem solid white;
  border-radius: 1rem 0 1rem 0;
  box-shadow: 0 1.4rem 3.4rem rgba(50, 0, 8, 0.36);
}

.cover-shadow {
  inset: 1.25rem -1.15rem -1.05rem 1.25rem;
  border-radius: 1rem 0 1rem 0;
  background: rgba(70, 0, 10, 0.5);
  transform: none;
}

.cover-sticker {
  right: -2rem;
  bottom: 1.4rem;
  width: 7rem;
  height: auto;
  min-height: 5.4rem;
  border: 0;
  border-radius: 0.75rem 0 0.75rem 0;
  color: white;
  background: var(--blue);
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.22);
  transform: none;
}

.cover-sticker::after {
  position: absolute;
  right: 0.8rem;
  bottom: -0.85rem;
  width: 0;
  height: 0;
  border-top: 1rem solid var(--blue);
  border-left: 1.3rem solid transparent;
  content: "";
}

.cover-sticker strong {
  font-family: var(--font-display);
  font-weight: 500;
}

.hero-shape-one {
  top: 8%;
  right: 39%;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.35rem 0 0.35rem 0;
  background: white;
  opacity: 0.18;
  transform: none;
}

.hero-shape-two {
  bottom: 7%;
  left: 3%;
  width: 4rem;
  height: 4rem;
  border: 1rem solid white;
  opacity: 0.1;
}

.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

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

.section-heading {
  align-items: center;
}

.section-heading > div {
  position: relative;
  padding-left: 4.2rem;
}

.section-heading > div::before {
  position: absolute;
  top: 0.25rem;
  left: 0;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  content: "●";
  font-size: 0.8rem;
}

.section-heading h2 {
  color: var(--ink);
}

.section-heading .eyebrow {
  color: var(--red);
}

.text-link,
.card-link {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  text-decoration-color: var(--red);
}

.story-grid {
  gap: 1.5rem;
}

.story-card {
  border: 0;
  border-radius: 1rem 0 1rem 0;
  background: white;
  box-shadow: 0 0.5rem 1.6rem rgba(64, 64, 64, 0.1);
}

.story-card:hover {
  box-shadow: 0 1rem 2rem rgba(64, 64, 64, 0.16);
}

.story-image {
  border-radius: 1rem 0 0 0;
}

.story-number {
  border-radius: 0.55rem 0 0.55rem 0;
  background: var(--red);
  font-family: var(--font-display);
  font-weight: 500;
}

.story-body {
  padding: 1.6rem;
}

.card-meta {
  color: var(--red);
  font-weight: 700;
}

.extra-section {
  color: white;
  background: var(--blue);
}

.extra-section::before {
  border-color: rgba(255, 255, 255, 0.1);
}

.extra-section .eyebrow {
  color: white;
}

.color-block-red {
  border-radius: 1rem 0 1rem 0;
  background: var(--red);
  transform: none;
}

.color-block-green {
  border: 0;
  border-radius: 1rem 0 1rem 0;
  background: var(--green);
  transform: none;
}

.photo-slice {
  border: 0.55rem solid white;
  border-radius: 1rem 0 1rem 0;
  transform: none;
}

.check-list li::before {
  border-radius: 0.35rem 0 0.35rem 0;
  color: var(--blue);
}

.archive-teaser {
  background: white;
}

.archive-teaser .section-heading > div::before {
  background: var(--green);
}

.archive-teaser .section-heading .eyebrow {
  color: var(--green);
}

.issue-card {
  border: 0;
  border-radius: 1rem 0 1rem 0;
  background: var(--paper);
}

.issue-cover {
  border: 0.3rem solid white;
  border-radius: 0.75rem 0 0.75rem 0;
  box-shadow: 0 0.65rem 1.3rem rgba(64, 64, 64, 0.16);
  transform: none;
}

.issue-badge {
  border-radius: 0.4rem 0 0.4rem 0;
}

.archive-callout {
  position: relative;
  border-radius: 1rem 0 1rem 0;
  background: var(--green);
}

.archive-callout::after {
  position: absolute;
  right: 1.2rem;
  bottom: -1rem;
  width: 0;
  height: 0;
  border-top: 1.2rem solid var(--green);
  border-left: 1.5rem solid transparent;
  content: "";
}

.callout-icon {
  border-radius: 0.65rem 0 0.65rem 0;
  color: var(--green);
}

.feedback-banner {
  border-top: 0;
  color: white;
  background: var(--green);
}

.feedback-banner .eyebrow {
  color: white;
}

.feedback-banner .button-dark {
  color: var(--green);
  background: white;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-brand,
.footer-title {
  font-family: var(--font-display);
  font-weight: 400;
}

.feedback-dialog {
  border-radius: 1rem 0 1rem 0;
}

.dialog-close,
.feedback-dialog select,
.feedback-dialog textarea,
.archive-search {
  border-radius: 0.55rem 0 0.55rem 0;
}

.page-hero {
  background: var(--red);
}

.page-hero::after {
  right: -6rem;
  bottom: -10rem;
  width: 27rem;
  height: 27rem;
  border-color: rgba(255, 255, 255, 0.14);
}

.page-hero .eyebrow {
  color: white;
}

.podcast-hero {
  background: var(--blue);
}

.podcast-hero::after {
  border-color: rgba(255, 255, 255, 0.14);
}

.large-issue-cover img {
  border-radius: 1rem 0 1rem 0;
  box-shadow: var(--shadow);
  transform: none;
}

.toc {
  border-top-color: var(--red);
}

.toc-item:hover {
  background: rgba(192, 0, 27, 0.06);
}

.toc-number {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 500;
}

.article-copy {
  font-family: var(--font-body);
  font-weight: 300;
}

.article-copy h2,
.article-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

.article-copy blockquote {
  border-left-color: var(--red);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
}

.speech-card,
.article-info-card,
.archive-card {
  border: 0;
  border-radius: 1rem 0 1rem 0;
  background: var(--paper);
}

.speech-card h2,
.article-info-card h2 {
  font-weight: 700;
}

.article-tags li,
.filter-button {
  border-radius: 0.45rem 0 0.45rem 0;
}

.filter-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
}

.coming-soon {
  border-radius: 0.75rem 0 0.75rem 0;
}

.info-aside {
  border-radius: 1rem 0 1rem 0;
  background: var(--blue);
}

@media (max-width: 62rem) {
  .site-nav {
    background: white;
  }

  .site-nav a {
    padding: 0.9rem 0.3rem;
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
    padding-inline: 2.5rem;
  }
}

@media (max-width: 46rem) {
  .content-grid,
  .header-inner {
    width: min(calc(100% - 1.4rem), var(--max));
  }

  .header-inner {
    min-height: 5.5rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 8rem;
  }

  .brand-subtitle {
    display: block;
    font-size: 0.55rem;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    border-radius: 0.85rem 0 0.85rem 0;
    padding: 3rem 1.4rem 3.6rem;
  }

  .hero-grid::after {
    right: 1.5rem;
    bottom: -1.4rem;
    border-top-width: 1.6rem;
    border-left-width: 2rem;
  }

  .hero-cover {
    width: min(75%, 19rem);
  }

  .cover-sticker {
    right: -2.1rem;
    width: 6rem;
  }

  .section-heading > div {
    padding-left: 0;
  }

  .section-heading > div::before {
    position: static;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
  }
}

@media print {
  #provieler-theme-header,
  #provieler-theme-footer {
    display: none !important;
  }
}
/* 1.6: server-side archive controls and article controls in reading order. */
.archive-search-form { flex: 1; min-width: 0; }
.archive-search-row { display: flex; align-items: stretch; gap: .6rem; }
.archive-search-row input { flex: 1; min-width: 0; }
.archive-search-row .button { flex-shrink: 0; align-self: stretch; }
.filter-buttons a.filter-button { display: inline-flex; align-items: center; text-decoration: none; }
.archive-results { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.archive-results p { margin: 0; }
.issue-article-navigation { display: grid; grid-template-columns: 1fr; gap: .8rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; font-family: var(--font-body); }
.issue-article-navigation a { display: block; padding: .7rem .85rem; background: var(--paper); border-radius: var(--radius); overflow-wrap: anywhere; }
.issue-article-navigation span, .issue-article-navigation strong { display: block; }
.issue-article-navigation span { font-size: .85rem; }

/* The DOM starts with speech controls; mobile and assistive reading follow that order. */
@media screen {
  .article-layout.article-layout--accessible {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "speech" "article" "info";
    row-gap: 1.5rem;
  }
  .article-layout--accessible.article-layout--has-hero { grid-template-areas: "speech" "hero" "article" "info"; }
  .article-layout--accessible > .speech-card { grid-area: speech; margin: 0; }
  .article-layout--accessible > .article-copy { grid-area: article; min-width: 0; }
  .article-layout--accessible > .article-aside { grid-area: info; position: static; display: block; }
  .article-layout--accessible > .article-hero-image { grid-area: hero; width: 100%; margin: 0; }
}
@media screen and (min-width: 62.001rem) {
  .article-layout.article-layout--accessible {
    grid-template-columns: minmax(0, 1fr) 16rem;
    grid-template-rows: auto 1fr;
    grid-template-areas: "article speech" "article info";
  }
  .article-layout--accessible.article-layout--has-hero {
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "hero hero" "article speech" "article info";
  }
  .article-layout--accessible > .speech-card { position: sticky; top: 7rem; align-self: start; }
  .article-layout--accessible > .article-aside .article-info-card { margin-top: 0; }
}
@media print {
  .article-layout--accessible > .speech-card,
  .issue-article-navigation { display: none; }
}
