/*
Theme Name: organspenden.org Basis
Theme URI: https://organspenden.org/
Author: organspenden.org
Description: Eigenständiges redaktionelles Block-Theme für organspenden.org. Technische Basis ohne Pagebuilder und ohne externe Schrift- oder Tracking-Dienste.
Version: 0.9.2
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: organspenden-basis
*/

:root { --osp-rail: 18rem; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  background: var(--wp--preset--color--warm-white);
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
.wp-site-blocks :where(h1, h2, h3, h4, h5, h6) {
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.wp-site-blocks :where(p, li, summary) {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.wp-site-blocks :where(a) {
  overflow-wrap: anywhere;
}
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
}
.wp-site-blocks {
  min-height: 100vh;
  overflow: clip;
}
.wp-site-blocks > * { margin-block-start: 0; }
.wp-element-button { transition: background-color 160ms ease, color 160ms ease; }
.wp-element-button:hover { transform: none; }
.is-style-outline > .wp-element-button {
  background: transparent !important;
  border: 2px solid currentColor !important;
  color: inherit !important;
}

/* Linke Kapitel-Navigation */
.osp-site-header {
  border-right: 1px solid var(--wp--preset--color--ink);
  height: 100dvh;
  inset: 0 auto 0 0;
  padding: 1.5rem;
  position: fixed;
  width: var(--osp-rail);
  z-index: 50;
}
.admin-bar .osp-site-header {
  height: calc(100dvh - 32px);
  top: 32px;
}
.osp-header-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.osp-brand-block { border-bottom: 1px solid var(--wp--preset--color--ink); padding-bottom: 1.1rem; }
.osp-wordmark {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0;
}
.osp-wordmark a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.58rem;
  text-decoration: none;
}
.osp-wordmark a::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M34 8C18 7 8 17 8 32c0 8.5 3.8 16.2 10.4 21.5' fill='none' stroke='%23334E5C' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M30 57C45.2 57 56 46.6 56 32c0-8.4-3.6-15.8-10.2-21.1' fill='none' stroke='%23C77B66' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  display: block;
  flex: 0 0 auto;
  height: 1.55rem;
  width: 1.55rem;
}
.osp-edition-label,
.osp-kicker,
.osp-section-number,
.osp-source-note,
.osp-footer-label,
.osp-photo-caption {
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}
.osp-edition-label { margin: 0.65rem 0 0; }
.osp-primary-navigation {
  margin-top: clamp(1.5rem, 5vh, 3.75rem);
  width: 100%;
}
.osp-primary-navigation .wp-block-navigation__container {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.osp-primary-navigation .wp-block-navigation-item { border-top: 1px solid rgba(27, 27, 26, 0.28); width: 100%; }
.osp-primary-navigation .wp-block-navigation-item:last-child { border-bottom: 1px solid rgba(27, 27, 26, 0.28); }
.osp-primary-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--ink);
  display: block;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.2;
  padding: 0.75rem 0;
  text-decoration: none;
}
.osp-primary-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--forest); padding-left: 0.25rem; }
.osp-primary-navigation .wp-block-navigation-submenu { position: relative; }
.osp-primary-navigation .wp-block-navigation-submenu__toggle { width: 2rem; flex: 0 0 2rem; }
.osp-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation-item__content { flex: 1 1 auto; min-width: 0; }
.osp-primary-navigation .wp-block-navigation__submenu-container { max-height: 75vh; overflow-y: auto; }
#wege { scroll-margin-top: 6rem; }
.osp-primary-navigation .wp-block-navigation-submenu__toggle .wp-block-navigation-item__label { flex: 1; }
.osp-primary-navigation .wp-block-navigation__submenu-icon { margin-left: auto; }
.osp-mobile-decision { display: none !important; }
.osp-header-bottom { margin-top: auto; }
.osp-header-principle { font-size: 0.78rem; line-height: 1.45; margin-bottom: 1rem; }
.osp-header-cta .wp-block-button,
.osp-header-cta .wp-block-button__link { width: 100%; }
.osp-header-cta .wp-block-button__link { text-align: left; }

@media (min-width: 1000px) {
  .wp-site-blocks > main,
  .osp-site-footer {
    margin-left: var(--osp-rail) !important;
    width: calc(100% - var(--osp-rail)) !important;
  }
  .osp-primary-navigation .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--warm-white) !important;
    border: 1px solid var(--wp--preset--color--ink) !important;
    box-shadow: none;
    left: calc(100% + 1rem);
    min-width: 17rem;
    padding: 0.45rem 0.9rem;
    top: -1px;
  }
  .osp-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 0.86rem;
    font-weight: 650;
    padding: 0.65rem 0;
  }
}

/* Ruhiger Einstieg */
.osp-landing { background: var(--wp--preset--color--warm-white); }
.osp-calm-hero {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  min-height: min(46rem, 78svh);
  padding: clamp(3rem, 5vw, 5.5rem) clamp(1.5rem, 6vw, 6rem);
}
.osp-calm-hero-copy { margin: 0; max-width: 48rem; }
.osp-kicker { color: var(--wp--preset--color--forest); margin-bottom: 1.35rem; }
.osp-calm-title {
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0;
  max-width: 14ch;
}
.osp-calm-deck {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.35;
  margin: 2rem 0;
  max-width: 35rem;
}
.osp-calm-portrait-wrap {
  isolation: isolate;
  margin: 0;
  max-width: 31rem;
  padding: 0 1.15rem 1.15rem 0;
  position: relative;
}
.osp-calm-portrait-wrap::before,
.osp-calm-portrait-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
}
.osp-calm-portrait-wrap::before {
  background: var(--wp--preset--color--sand);
  border: 1px solid var(--wp--preset--color--ink);
  inset: 0.85rem 0.3rem 3.6rem 0.9rem;
  transform: rotate(1.15deg);
  z-index: -1;
}
.osp-calm-portrait-wrap::after {
  background: var(--wp--preset--color--forest);
  inset: 1.65rem -0.45rem 2.8rem 1.7rem;
  transform: rotate(-0.8deg);
  z-index: -2;
}
.osp-calm-portrait {
  aspect-ratio: 4 / 5;
  border: 2px solid var(--wp--preset--color--ink);
  box-shadow: 0 1.2rem 2.6rem rgba(27, 27, 26, 0.16);
  margin: 0;
  max-height: 34rem;
  overflow: hidden;
}
.osp-calm-portrait img {
  filter: saturate(0.76) contrast(1.02);
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  width: 100%;
}
.osp-photo-caption {
  background: var(--wp--preset--color--warm-white);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  margin: 0;
  padding: 0.75rem 0;
  position: relative;
  z-index: 1;
}

/* Zahlen als Wendepunkt der Erzählung */
.osp-facts,
.osp-story-bridge,
.osp-entry-section,
.osp-topic-section,
.osp-decision-actions,
.osp-calm-closing {
  padding: clamp(3.5rem, 5vw, 5.5rem) clamp(1.5rem, 6vw, 6rem);
}
.osp-facts {
  background: var(--wp--preset--color--white);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  border-top: 1px solid var(--wp--preset--color--ink);
}
.osp-facts-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 5fr 3fr;
}
.osp-facts-title,
.osp-story-bridge-title,
.osp-entry-title,
.osp-topic-title {
  font-size: clamp(2.35rem, 3.8vw, 4.25rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0;
}
.osp-facts-intro { font-family: var(--wp--preset--font-family--editorial); font-size: 1.25rem; line-height: 1.35; margin: 0; }
.osp-fact-strip {
  align-items: stretch;
  border: 0;
  gap: clamp(1.25rem, 2.5vw, 2.4rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem) !important;
  overflow: visible;
  padding: 0 1rem 1.25rem 0;
}
.osp-fact-strip > .wp-block-column {
  background: var(--wp--preset--color--warm-white);
  border: 2px solid var(--wp--preset--color--ink);
  display: flex;
  flex-direction: column;
  min-height: clamp(14rem, 19vw, 18rem);
  padding: clamp(1.4rem, 2.5vw, 2.35rem) !important;
  position: relative;
  transform-origin: 50% 100%;
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.osp-fact-strip > .wp-block-column:nth-child(1) {
  box-shadow: 0.65rem 0.65rem 0 var(--wp--preset--color--sand);
  transform: translateY(0.45rem) rotate(-0.3deg);
}
.osp-fact-strip > .wp-block-column:nth-child(2) {
  box-shadow: 0.65rem 0.65rem 0 var(--wp--preset--color--clay);
  transform: translateY(-0.45rem) rotate(0.25deg);
}
.osp-fact-strip > .wp-block-column:nth-child(3) {
  box-shadow: 0.65rem 0.65rem 0 var(--wp--preset--color--forest);
  transform: translateY(0.75rem) rotate(-0.15deg);
}
.osp-fact-strip > .wp-block-column:hover {
  box-shadow: 1rem 1rem 0 var(--wp--preset--color--sand);
  transform: translateY(-0.45rem) rotate(0);
  z-index: 2;
}
.osp-fact-number {
  color: var(--wp--preset--color--forest);
  font-size: clamp(3.1rem, 6vw, 6.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0 0 1rem;
  text-shadow: 0.055em 0.055em 0 rgba(229, 215, 166, 0.72);
}
.osp-fact-number.is-slot-ending {
  display: inline-block;
  transform-origin: 50% 80%;
  will-change: filter, opacity, transform;
}
.osp-fact-number.is-slot-tick {
  animation: osp-slot-tick 150ms cubic-bezier(0.2, 0.72, 0.32, 1);
}
@keyframes osp-slot-tick {
  0% { filter: blur(1px); opacity: 0.58; transform: translateY(-0.16em) scaleY(0.94); }
  72% { filter: blur(0); opacity: 1; transform: translateY(0.025em) scaleY(1.02); }
  100% { filter: blur(0); opacity: 1; transform: translateY(0) scaleY(1); }
}
.osp-fact-copy { font-size: 1rem; line-height: 1.5; margin: auto 0 0; max-width: 20rem; }
.osp-facts .osp-source-note {
  color: rgba(27, 27, 26, 0.72);
  margin-top: 1.25rem !important;
  max-width: none;
  text-transform: none;
}

/* Aus den Zahlen werden Geschichten */
.osp-story-bridge { background: var(--wp--preset--color--mint); }
.osp-story-bridge-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 5fr 3fr;
}
.osp-story-bridge .osp-section-number { color: var(--wp--preset--color--forest); }
.osp-story-bridge-title { max-width: 12ch; }
.osp-story-bridge-copy {
  border-top: 1px solid var(--wp--preset--color--ink);
  font-size: 1.08rem;
  margin: 0;
  padding-top: 1rem;
}
.osp-story-bridge-copy p:first-child {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: 1.35rem;
  line-height: 1.35;
}
.osp-featured-story {
  align-items: center;
  background: var(--wp--preset--color--warm-white);
  border: 1px solid var(--wp--preset--color--ink);
  color: inherit;
  display: grid;
  gap: 1rem;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  margin: 1.75rem 0 1.5rem;
  padding: 0.75rem;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.osp-featured-story:hover {
  box-shadow: 0.45rem 0.45rem 0 var(--wp--preset--color--forest);
  transform: translate(-0.15rem, -0.15rem);
}
.osp-featured-story img {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--wp--preset--color--ink);
  height: 6.25rem;
  object-fit: cover;
  width: 4.75rem;
}
.osp-featured-story-copy { display: grid; gap: 0.25rem; min-width: 0; }
.osp-featured-story-copy strong { font-size: 1.05rem; line-height: 1.25; }
.osp-featured-story-copy > span:last-child { color: rgba(27, 27, 26, 0.72); font-size: 0.88rem; line-height: 1.4; }
.osp-featured-story-label {
  color: var(--wp--preset--color--forest);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.osp-featured-story-arrow { color: var(--wp--preset--color--forest); font-size: 1.55rem; }

/* Klare Wege statt einer zweiten Startseite */
.osp-entry-section { background: var(--wp--preset--color--warm-white); }
.osp-entry-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 5fr 3fr;
}
.osp-entry-heading > p:last-child { margin: 0; }
.osp-entry-list { border-top: 2px solid var(--wp--preset--color--ink); margin-top: clamp(2.5rem, 5vw, 4.5rem) !important; }
.osp-entry-row {
  align-items: center;
  border-bottom: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: 5fr 3fr auto;
  padding: 1.35rem 0;
  position: relative;
}
.osp-entry-row > * { margin: 0; }
.osp-entry-row h3 { font-size: clamp(1.3rem, 1.8vw, 1.8rem); letter-spacing: -0.03em; }
.osp-entry-row h3 a { color: inherit; text-decoration: none; }
.osp-entry-row h3 a::after {
  content: "";
  inset: 0;
  position: absolute;
}
.osp-entry-row h3 a:focus-visible::after {
  outline: 3px solid var(--wp--preset--color--forest);
  outline-offset: 4px;
}
.osp-entry-row > p:not(.osp-entry-arrow) { color: rgba(27, 27, 26, 0.72); font-size: 0.98rem; }
.osp-entry-arrow { color: var(--wp--preset--color--forest); font-size: 1.8rem; }
.osp-entry-row:hover h3 a { color: var(--wp--preset--color--forest); }

.osp-topic-section { background: var(--wp--preset--color--white); border-top: 1px solid rgba(27, 27, 26, 0.25); }
.osp-topic-heading {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 8fr;
}
.osp-topic-grid { gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.osp-topic-item { border-top: 2px solid var(--wp--preset--color--ink); padding-top: 1.2rem; }
.osp-topic-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.8rem); margin-top: 0; }
.osp-topic-item h3 a { color: inherit; text-decoration: none; }
.osp-topic-item h3 a:hover { color: var(--wp--preset--color--forest); }
.osp-topic-item p { font-size: 0.98rem; line-height: 1.55; }

/* Zwei offizielle Wege, die eigene Entscheidung festzuhalten */
.osp-decision-actions {
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--warm-white);
}
.osp-decision-actions-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 5fr 3fr;
}
.osp-decision-actions-title {
  color: inherit;
  font-size: clamp(2.5rem, 4.3vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0;
}
.osp-decision-actions-intro {
  color: var(--wp--preset--color--warm-white);
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.4;
  margin: 0;
}
.osp-decision-card-grid {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 2.4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  overflow: visible;
  padding: 0 1rem 1rem 0;
}
.osp-decision-card {
  border: 2px solid var(--wp--preset--color--warm-white);
  color: var(--wp--preset--color--ink) !important;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: clamp(19rem, 30vw, 25rem);
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
  position: relative;
  text-decoration: none !important;
  transform-origin: 50% 100%;
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.osp-decision-card::before {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 13rem;
  opacity: 0.16;
  position: absolute;
  right: -4.5rem;
  top: -5.5rem;
  width: 13rem;
  z-index: -1;
}
.osp-decision-card--paper {
  background: var(--wp--preset--color--sand);
  box-shadow: 0.7rem 0.7rem 0 var(--wp--preset--color--clay);
  transform: rotate(-0.35deg);
}
.osp-decision-card--register {
  background: var(--wp--preset--color--mint);
  box-shadow: 0.7rem 0.7rem 0 var(--wp--preset--color--sand);
  transform: rotate(0.35deg);
}
.osp-decision-card:hover {
  color: var(--wp--preset--color--ink) !important;
  transform: translate(-0.35rem, -0.35rem) rotate(0);
}
.osp-decision-card--paper:hover { background: var(--wp--preset--color--sand); box-shadow: 1.05rem 1.05rem 0 var(--wp--preset--color--clay); }
.osp-decision-card--register:hover { background: var(--wp--preset--color--mint); box-shadow: 1.05rem 1.05rem 0 var(--wp--preset--color--sand); }
.osp-decision-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.osp-decision-card-number,
.osp-decision-official {
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.osp-decision-card-mark {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.35rem;
  height: 3.5rem;
  justify-content: center;
  line-height: 1;
  width: 3.5rem;
}
.osp-decision-card-title {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: auto 0 1.1rem;
  max-width: 12ch;
}
.osp-decision-card-copy {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  margin: 0 0 2rem;
  max-width: 30rem;
}
.osp-decision-card-link {
  align-items: center;
  border-top: 1px solid currentColor;
  display: flex;
  font-weight: 780;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}
.osp-decision-card-link span:last-child {
  font-size: 1.5rem;
  transition: transform 180ms ease;
}
.osp-decision-card:hover .osp-decision-card-link span:last-child { transform: translate(0.2rem, -0.2rem); }
.osp-decision-official {
  color: rgba(247, 244, 237, 0.72);
  margin: 1rem 0 0;
  text-align: right;
  text-transform: none;
}

.osp-calm-closing { background: var(--wp--preset--color--forest); color: var(--wp--preset--color--white); }
.osp-calm-closing-inner {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 5fr 3fr auto;
}
.osp-calm-closing-title { font-size: clamp(2.35rem, 4vw, 4.25rem); letter-spacing: -0.055em; margin: 0; }
.osp-calm-closing-copy { font-family: var(--wp--preset--font-family--editorial); font-size: 1.35rem; margin: 0; }

/* Eigene Vorlage für persönliche Geschichten */
.osp-story-shell {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(5rem, 8vw, 8rem);
}
.osp-story-header {
  align-items: end;
  border-top: 4px solid var(--wp--preset--color--ink);
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  padding-top: clamp(2.5rem, 5vw, 5rem);
}
.osp-story-heading { margin: 0; max-width: 46rem; }
.osp-story-back { margin-bottom: clamp(3rem, 8vw, 8rem); }
.osp-story-back a { color: inherit; text-decoration: none; }
.osp-story-back a:hover { color: var(--wp--preset--color--forest); }
.osp-story-page-title {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  hyphens: none;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 1.25rem 0 0;
  max-width: 12ch;
}
.osp-story-page-image {
  aspect-ratio: 3 / 4;
  border: 2px solid var(--wp--preset--color--ink);
  box-shadow: 0.7rem 0.7rem 0 var(--wp--preset--color--sand), 1.35rem 1.35rem 0 var(--wp--preset--color--forest);
  isolation: isolate;
  margin: 0;
  max-height: 44rem;
  overflow: visible;
  transform: rotate(0.3deg);
}
.osp-story-page-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}
.osp-story-body {
  border-top: 1px solid var(--wp--preset--color--ink);
  margin-top: clamp(4rem, 7vw, 7rem) !important;
  padding-top: clamp(3rem, 6vw, 6rem);
}
.osp-story-content {
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  line-height: 1.68;
  margin-left: clamp(0rem, 13vw, 13rem) !important;
  margin-right: auto !important;
  max-width: 48rem;
}
.osp-story-content > .osp-section-number:first-child { color: var(--wp--preset--color--forest); }
.osp-story-content .osp-story-intro {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.45rem, 2.1vw, 2rem) !important;
  line-height: 1.35;
}
.osp-story-content .wp-block-pullquote {
  background: var(--wp--preset--color--mint);
  border: 1px solid var(--wp--preset--color--ink);
  box-shadow: 0.55rem 0.55rem 0 var(--wp--preset--color--sand);
  margin: clamp(2.5rem, 5vw, 4.5rem) 0;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  text-align: left;
  transform: rotate(-0.25deg);
}
.osp-story-content .wp-block-pullquote blockquote { margin: 0; }
.osp-story-content .wp-block-pullquote p {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1.18;
  margin: 0;
}
.osp-story-content .wp-block-pullquote cite {
  display: block;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.075em;
  margin-top: 1.5rem;
  text-transform: uppercase;
}
.osp-story-content > h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.7rem);
  margin-top: 1.8em;
}
.osp-story-index { margin-top: clamp(3rem, 6vw, 6rem) !important; }
.osp-story-index-card {
  align-items: center;
  background: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--ink);
  border-top: 2px solid var(--wp--preset--color--ink);
  box-shadow: 0.7rem 0.7rem 0 var(--wp--preset--color--sand), 1.35rem 1.35rem 0 var(--wp--preset--color--forest);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  margin: 0 1.4rem 2rem 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  transform: rotate(-0.25deg);
}
.osp-story-index-image {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--wp--preset--color--ink);
  margin: 0;
  overflow: hidden;
}
.osp-story-index-image img { height: 100%; object-fit: cover; width: 100%; }
.osp-story-index-copy { margin: 0; }
.osp-story-index-copy h2 { font-size: clamp(2rem, 3.5vw, 3.7rem); margin: 0.8rem 0 1.2rem; }
.osp-story-index-copy h2 a { color: inherit; text-decoration: none; }
.osp-story-index-copy h2 a:hover { color: var(--wp--preset--color--forest); }
.osp-story-index-copy .wp-block-post-excerpt__excerpt { font-family: var(--wp--preset--font-family--editorial); font-size: 1.2rem; line-height: 1.45; }
.osp-story-index-copy .wp-block-post-excerpt__more-link { font-weight: 750; }

/* Innenseiten, Archive und Beiträge */
.osp-page-shell,
.osp-archive-shell,
.osp-single-shell,
.osp-error-shell { padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem) clamp(5rem, 10vw, 10rem); }
.osp-page-header,
.osp-archive-header,
.osp-single-header { border-top: 4px solid var(--wp--preset--color--ink); margin-bottom: clamp(3rem, 6vw, 6rem) !important; padding-top: 1rem; }
.osp-page-header .wp-block-post-title,
.osp-archive-header .wp-block-query-title,
.osp-single-header .wp-block-post-title,
.osp-error-shell h1 { font-size: clamp(3rem, 6.2vw, 6.7rem); letter-spacing: -0.05em; line-height: 0.93; margin: 1.5rem 0; max-width: 13ch; }
.osp-page-content,
.osp-single-content { font-size: clamp(1.05rem, 1.3vw, 1.24rem); }
.osp-page-content > h2,
.osp-single-content > h2 { font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 1.02; margin-top: 2.2em; }
.osp-card { border-bottom: 1px solid var(--wp--preset--color--ink); border-radius: 0 !important; box-shadow: none; padding: 1.5rem 0 !important; }
.osp-card:first-child { border-top: 1px solid var(--wp--preset--color--ink); }
.osp-card .wp-block-post-title { font-size: clamp(1.6rem, 3vw, 3rem); }
.osp-card .wp-block-post-title a { text-decoration: none; }
.osp-working-note { background: var(--wp--preset--color--mint); border-left: 4px solid var(--wp--preset--color--forest); padding: 1.25rem 1.5rem; }
.osp-page-intro {
  border-left: 4px solid var(--wp--preset--color--clay);
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.32;
  margin: 0 0 clamp(3rem, 6vw, 6rem) !important;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}
.osp-page-intro p { margin: 0; }
.osp-orientation-note {
  background: var(--wp--preset--color--mint);
  margin: clamp(2.5rem, 5vw, 5rem) 0 !important;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.osp-orientation-note h2 { margin-top: 0; }
.osp-choice-list,
.osp-process-list,
.osp-link-list { border-top: 1px solid var(--wp--preset--color--ink); margin-top: 2rem !important; }
.osp-choice-item {
  align-items: start;
  border-bottom: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: minmax(9rem, 0.38fr) 1fr auto;
  padding: 1.5rem 0;
}
.osp-choice-item > *,
.osp-process-step > *,
.osp-term-entry > *,
.osp-personal-intro > *,
.osp-entry-row > * { min-width: 0; }
.osp-choice-item:has(> :nth-child(4)) {
  grid-template-columns: minmax(9rem, 0.38fr) minmax(0, 1fr);
}
.osp-choice-item:has(> :nth-child(4)) > :nth-child(n + 3) { grid-column: 2; }
.osp-choice-item:has(> :nth-child(4)) > :nth-child(n + 3) a { white-space: normal; }
.osp-choice-item h3,
.osp-choice-item p,
.osp-process-step h3,
.osp-process-step p { margin: 0; }
.osp-choice-item h3,
.osp-process-step h3,
.osp-term-entry h2 { hyphens: auto; }
.osp-choice-item h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.osp-choice-item a,
.osp-link-row a { font-weight: 750; white-space: nowrap; }
.osp-process-step {
  border-bottom: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: 4rem minmax(10rem, 0.42fr) 1fr;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.osp-process-number {
  color: var(--wp--preset--color--forest);
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-top: 0.25rem;
  text-transform: uppercase;
}
.osp-process-step h3 { font-size: clamp(1.45rem, 2.4vw, 2.25rem); }
.osp-source-box {
  border-top: 4px solid var(--wp--preset--color--ink);
  margin-top: clamp(4rem, 8vw, 8rem) !important;
  padding-top: 1rem;
}
.osp-source-box h2 { font-size: clamp(1.8rem, 3vw, 3rem) !important; margin-top: 0 !important; }
.osp-source-box li { margin-bottom: 0.55rem; }

/*
 * Redaktionelle Lesemodi
 *
 * Die gemeinsame Dossier-CI bleibt ruhig und wiedererkennbar. Die Form der
 * Detailseiten reagiert nun jedoch auf ihre Aufgabe: Entscheidung, Ablauf,
 * Alltag, Angehörige, Lebendspende oder Nachschlagen.
 */
.osp-reading-mode {
  align-items: baseline;
  border-bottom: 1px solid rgba(27, 27, 26, 0.28);
  border-top: 1px solid rgba(27, 27, 26, 0.28);
  display: grid;
  gap: 0.65rem 2rem;
  grid-template-columns: minmax(9rem, 0.34fr) 1fr;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem) !important;
  padding: 0.85rem 0;
}
.osp-reading-mode-label,
.osp-next-kicker,
.osp-next-label,
.osp-role-label {
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}
.osp-reading-mode-label { color: var(--wp--preset--color--forest); }
.osp-reading-mode p { margin: 0; }
.osp-page-content .osp-editorial-section {
  margin-bottom: clamp(3rem, 6vw, 6rem) !important;
  margin-top: 0 !important;
  max-width: 58rem;
}
.osp-page-content .osp-editorial-section > h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.65rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-top: 0;
}
.osp-page-content .osp-accent-section {
  background: transparent;
  border-left: 0;
}

/* Entscheidung: Abwägen statt linearem Artikelraster. */
.osp-family-decision .osp-page-header { border-top-color: var(--wp--preset--color--clay); }
.osp-family-decision .osp-page-intro {
  background: linear-gradient(100deg, var(--wp--preset--color--mint), rgba(231, 236, 232, 0.18));
  border-left-color: var(--wp--preset--color--forest);
  padding: clamp(1.5rem, 3vw, 3rem);
}
.osp-family-decision .osp-editorial-section {
  border-top: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 1rem clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  padding-top: 1.4rem;
}
.osp-family-decision .osp-editorial-section > h2 { grid-column: 1; }
.osp-family-decision .osp-editorial-section > :not(h2) { grid-column: 2; }

/* Abläufe: sichtbare Reihenfolge statt gleichförmiger Textblöcke. */
.osp-family-process .osp-page-header { border-top-color: var(--wp--preset--color--forest); }
.osp-family-process .osp-page-content { counter-reset: osp-editorial-step; }
.osp-family-process .osp-editorial-section {
  border-top: 1px solid rgba(27, 27, 26, 0.42);
  padding-left: clamp(4.5rem, 8vw, 7rem);
  padding-top: 1.5rem;
  position: relative;
}
.osp-family-process .osp-editorial-section::before {
  color: var(--wp--preset--color--forest);
  content: counter(osp-editorial-step, decimal-leading-zero);
  counter-increment: osp-editorial-step;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.78rem;
  font-weight: 800;
  left: 0;
  letter-spacing: 0.08em;
  position: absolute;
  top: 1.8rem;
}

/* Warteliste und Leben danach: Alltag und Dauer sichtbar machen. */
.osp-family-recipient .osp-page-header { border-top-color: var(--wp--preset--color--sand); }
.osp-family-recipient .osp-editorial-section {
  border-top: 1px solid rgba(27, 27, 26, 0.38);
  padding-top: 1.4rem;
}
.osp-family-recipient .osp-context-section {
  background: var(--wp--preset--color--mint);
  border: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

/* Angehörige: weniger Mechanik, mehr Raum und zurückgenommene Handlungsreize. */
.osp-family-relatives .osp-page-header { border-top-color: var(--wp--preset--color--clay); }
.osp-family-relatives .osp-page-content { max-width: 56rem; }
.osp-family-relatives .osp-editorial-section { max-width: 48rem; }
.osp-family-relatives .osp-editorial-section + .osp-editorial-section { margin-top: clamp(4rem, 8vw, 8rem) !important; }
.osp-family-relatives .osp-accent-section,
.osp-family-relatives .osp-context-section {
  background: rgba(229, 215, 166, 0.45);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.osp-family-relatives .osp-header-cta { display: none; }

/* Lebendspende: Möglichkeit, Schutz und Risiko erhalten dasselbe Gewicht. */
.osp-family-living .osp-page-header { border-top-color: var(--wp--preset--color--forest); }
.osp-family-living .osp-editorial-section {
  border-top: 2px solid var(--wp--preset--color--forest);
  padding-top: 1.25rem;
}
.osp-family-living .osp-context-section {
  background: linear-gradient(110deg, var(--wp--preset--color--mint), var(--wp--preset--color--warm-white));
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

/* Einfach erklärt: Begriff und Erklärung stehen sichtbar in Beziehung. */
.osp-family-explain .osp-page-header { border-top-color: var(--wp--preset--color--forest); }
.osp-family-explain .osp-page-intro { margin-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.osp-family-explain .osp-editorial-section {
  border-top: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 0.8rem clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(11rem, 0.38fr) minmax(0, 1fr);
  margin-bottom: 0 !important;
  padding: 1.5rem 0;
}
.osp-family-explain .osp-editorial-section > h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.35rem);
  grid-column: 1;
}
.osp-family-explain .osp-editorial-section > :not(h2) { grid-column: 2; }
.osp-family-explain .osp-editorial-section > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

/* Mentale Gesundheit: Hilfe bleibt näher als der allgemeine Entscheidungsweg. */
.osp-family-wellbeing .osp-header-cta { display: none; }
.osp-family-wellbeing .osp-page-header { border-top-color: var(--wp--preset--color--clay); }

/* Rollenkarte für DSO, Eurotransplant und Transplantationszentrum. */
.osp-role-map {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem !important;
  background: rgba(27, 27, 26, 0.35);
  border: 1px solid rgba(27, 27, 26, 0.35);
}
.osp-role-card {
  background: var(--wp--preset--color--warm-white);
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.osp-role-card > *:last-child { margin-bottom: 0; }
.osp-role-label { color: var(--wp--preset--color--forest); }

/* Quellen werden als Dossiernachweis erkennbar, nicht als weiterer Hauptartikel. */
.osp-page-content .osp-source-box {
  border-top-width: 1px;
  color: rgba(27, 27, 26, 0.78);
  font-size: 0.92rem;
  margin-top: clamp(3rem, 6vw, 6rem) !important;
  max-width: 58rem;
  padding-top: 1.2rem;
}
.osp-page-content .osp-source-box h2 {
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.78rem !important;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

/* Redaktionell kuratierte Anschlüsse statt automatischer Kartenwand. */
.osp-next-paths {
  border-top: 4px solid var(--wp--preset--color--ink);
  margin-top: clamp(4rem, 8vw, 8rem) !important;
  padding-top: 1.2rem;
}
.osp-next-paths h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0.65rem 0 clamp(2rem, 4vw, 3.5rem);
  max-width: 14ch;
}
.osp-next-kicker,
.osp-next-label { color: var(--wp--preset--color--forest); }
.osp-next-list { border-top: 1px solid var(--wp--preset--color--ink); }
.osp-next-link {
  align-items: center;
  border-bottom: 1px solid var(--wp--preset--color--ink);
  color: inherit;
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: minmax(8rem, 0.26fr) 1fr auto;
  padding: 1.35rem 0;
  text-decoration: none;
}
.osp-next-link strong { font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.2; }
.osp-next-arrow { font-size: 1.6rem; transition: transform 160ms ease; }
.osp-next-link:hover { color: var(--wp--preset--color--forest); }
.osp-next-link:hover .osp-next-arrow { transform: translateX(0.25rem); }

/* Kontakt: wenige Felder, keine Fremddienste, klare Erwartung. */
.osp-contact-direct {
  align-items: baseline;
  border-bottom: 1px solid var(--wp--preset--color--ink);
  border-top: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 0.75rem 2rem;
  grid-template-columns: minmax(9rem, 0.3fr) 1fr;
  margin: 2rem 0 clamp(3rem, 6vw, 6rem) !important;
  padding: 1.15rem 0;
}
.osp-contact-direct p { margin: 0; }
.osp-contact-direct a { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 750; }
.osp-contact-form-wrap {
  background: var(--wp--preset--color--mint);
  margin: clamp(2.5rem, 5vw, 5rem) 0 !important;
  max-width: 58rem;
  padding: clamp(1.25rem, 4vw, 3.5rem);
}
.osp-contact-form { display: grid; gap: 1.25rem; }
.osp-contact-field { display: grid; gap: 0.45rem; }
.osp-contact-field label,
.osp-contact-acknowledgement { font-weight: 720; }
.osp-contact-field input,
.osp-contact-field select,
.osp-contact-field textarea {
  background: var(--wp--preset--color--warm-white);
  border: 1px solid var(--wp--preset--color--ink);
  border-radius: 0;
  color: var(--wp--preset--color--ink);
  font: inherit;
  line-height: 1.4;
  padding: 0.85rem 0.95rem;
  width: 100%;
}
.osp-contact-field textarea { min-height: 12rem; resize: vertical; }
.osp-contact-field input:focus,
.osp-contact-field select:focus,
.osp-contact-field textarea:focus {
  outline: 3px solid var(--wp--preset--color--sand);
  outline-offset: 2px;
}
.osp-contact-help { font-size: 0.9rem; margin: 0; }
.osp-contact-warning {
  border-left: 4px solid var(--wp--preset--color--clay);
  margin: 0;
  padding: 0.25rem 0 0.25rem 1rem;
}
.osp-contact-acknowledgement { align-items: flex-start; display: flex; gap: 0.75rem; }
.osp-contact-acknowledgement input { flex: 0 0 auto; margin-top: 0.28rem; }
.osp-contact-submit {
  background: var(--wp--preset--color--ink);
  border: 1px solid var(--wp--preset--color--ink);
  border-radius: 0;
  color: var(--wp--preset--color--warm-white);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  justify-self: start;
  padding: 0.9rem 1.35rem;
}
.osp-contact-submit:hover { background: var(--wp--preset--color--forest); }
.osp-contact-status {
  border: 2px solid var(--wp--preset--color--forest);
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
}
.osp-contact-status.is-error { border-color: var(--wp--preset--color--clay); }
.osp-contact-trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}
.osp-link-row {
  align-items: baseline;
  border-bottom: 1px solid var(--wp--preset--color--ink);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 0;
}
.osp-personal-opening {
  border-bottom: 1px solid var(--wp--preset--color--ink);
  margin-bottom: clamp(3rem, 7vw, 7rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.osp-personal-opening p {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(2.2rem, 5vw, 5.3rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  max-width: 16ch;
}
.osp-personal-intro {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(15rem, 0.72fr) minmax(18rem, 1fr);
  margin-bottom: clamp(4rem, 8vw, 8rem) !important;
}
.osp-personal-intro figure { margin: 0; }
.osp-personal-intro img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.osp-personal-intro h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); margin: 0 0 1.5rem; }
.osp-personal-intro p { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.osp-personal-section {
  margin: clamp(4rem, 9vw, 9rem) 0 !important;
  max-width: 44rem;
}
.osp-personal-section h2 { font-size: clamp(2.5rem, 5vw, 5rem) !important; margin-top: 0 !important; }
.osp-personal-quote {
  border-left: 4px solid var(--wp--preset--color--clay);
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.75rem, 3.5vw, 3.4rem);
  line-height: 1.13;
  margin: clamp(3rem, 6vw, 6rem) 0 !important;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}
.osp-personal-ending {
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--warm-white);
  margin: clamp(4rem, 8vw, 8rem) 0 !important;
  padding: clamp(2rem, 5vw, 5rem);
}
.osp-personal-ending p {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.75rem, 3.4vw, 3.35rem);
  line-height: 1.15;
}
.osp-personal-ending p:last-child { margin-bottom: 0; }
.osp-faq-list { border-top: 2px solid var(--wp--preset--color--ink); }
.osp-faq-list .wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--ink);
  margin: 0;
  padding: 1.25rem 0;
}
.osp-faq-list .wp-block-details summary {
  cursor: pointer;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 780;
  line-height: 1.25;
}
.osp-faq-list .wp-block-details > :not(summary) { max-width: 46rem; }
.osp-faq-list .wp-block-details[open] summary { color: var(--wp--preset--color--forest); margin-bottom: 1rem; }
.osp-term-list { border-top: 2px solid var(--wp--preset--color--ink); margin-top: 2rem !important; }
.osp-term-entry {
  border-bottom: 1px solid var(--wp--preset--color--ink);
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: minmax(10rem, 0.36fr) 1fr;
  padding: 1.5rem 0;
}
.osp-term-entry h2,
.osp-term-entry p { margin: 0; }
.osp-term-entry h2 { font-size: clamp(1.45rem, 2.5vw, 2.35rem) !important; }
.osp-placeholder { border: 2px dashed var(--wp--preset--color--ink); padding: 2rem; }
.osp-number { font-size: clamp(3rem, 7vw, 7rem); font-weight: 850; letter-spacing: -0.06em; line-height: 0.8; }
.osp-provisional { border: 2px dashed var(--wp--preset--color--clay); }

/* Ruhiger Fußbereich */
.osp-site-footer { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 5rem) 1.5rem; }
.osp-footer-clean { align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.55); gap: 1.5rem 3rem; padding-top: 1.25rem; }
.osp-footer-clean p { margin: 0; max-width: 31rem; }
.osp-footer-lead { border-top: 1px solid var(--wp--preset--color--white); padding-top: 1rem; }
.osp-footer-statement { color: var(--wp--preset--color--sand); font-size: clamp(2.7rem, 5vw, 5.2rem); letter-spacing: -0.05em; line-height: 0.94; margin: 2rem 0 4rem; }
.osp-footer-columns { border-top: 1px solid rgba(255,255,255,0.4); padding-top: 1.5rem; }
.osp-footer-wordmark { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.05em; }
.osp-footer-wordmark a,
.osp-site-footer a { color: inherit; }
.osp-footer-label { color: var(--wp--preset--color--sand); }
.osp-footer-links { list-style: none; margin-left: 0; padding-left: 0; }
.osp-footer-links li { margin-bottom: 0.45rem; }
.osp-footer-bottom { border-top: 1px solid rgba(255,255,255,0.3); margin-top: 2rem !important; padding-top: 1rem; }

@media (max-width: 1250px) and (min-width: 1000px) {
  :root { --osp-rail: 15rem; }
  .osp-site-header { padding: 1.2rem; }
  .osp-calm-hero { gap: 3rem; padding-left: 3rem; padding-right: 3rem; }
  .osp-facts,
  .osp-story-bridge,
  .osp-entry-section,
  .osp-topic-section,
  .osp-calm-closing { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 720px) {
  .osp-choice-item,
  .osp-process-step { grid-template-columns: 1fr; }
  .osp-choice-item a,
  .osp-link-row a { white-space: normal; }
  .osp-process-number { padding-top: 0; }
  .osp-link-row { align-items: flex-start; flex-direction: column; }
  .osp-personal-intro { grid-template-columns: 1fr; }
  .osp-term-entry { grid-template-columns: 1fr; }
  .osp-choice-item:has(> :nth-child(4)) > :nth-child(n + 3) { grid-column: auto; }
  .osp-reading-mode,
  .osp-family-decision .osp-editorial-section,
  .osp-family-explain .osp-editorial-section,
  .osp-next-link,
  .osp-contact-direct { grid-template-columns: 1fr; }
  .osp-family-decision .osp-editorial-section > h2,
  .osp-family-decision .osp-editorial-section > :not(h2),
  .osp-family-explain .osp-editorial-section > h2,
  .osp-family-explain .osp-editorial-section > :not(h2) { grid-column: 1; }
  .osp-family-process .osp-editorial-section { padding-left: 3.5rem; }
  .osp-role-map { grid-template-columns: 1fr; }
  .osp-next-arrow { display: none; }
}

@media (max-width: 999px) {
  .admin-bar .osp-site-header { height: auto; top: 0; }
  .osp-site-header {
    border-bottom: 1px solid var(--wp--preset--color--ink);
    border-right: 0;
    height: auto;
    padding: 0.9rem 1rem;
    position: relative;
    width: 100%;
  }
  .osp-header-inner { align-items: center; display: flex; flex-direction: row; justify-content: space-between; }
  .osp-brand-block { border: 0; padding: 0; }
  .osp-edition-label,
  .osp-header-bottom { display: none; }
  .osp-primary-navigation { margin: 0; width: auto; }
  .osp-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { display: none; }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { display: flex; }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--warm-white) !important; color: var(--wp--preset--color--ink) !important; padding: 1.5rem; }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: clamp(1.4rem, 5vw, 2.5rem); padding: 0.8rem 0; }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    background: transparent !important;
    border: 0 !important;
    color: inherit !important;
    padding: 0 0 0.8rem 1rem;
  }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 620;
    padding: 0.45rem 0;
  }
  .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .osp-mobile-decision {
    background: var(--wp--preset--color--sand);
    border: 2px solid var(--wp--preset--color--ink);
    display: flex !important;
    margin-top: 1.5rem;
    padding: 0 0.8rem;
  }
  .osp-family-relatives .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .osp-mobile-decision,
  .osp-family-wellbeing .osp-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .osp-mobile-decision {
    display: none !important;
  }
  .osp-primary-navigation .wp-block-navigation__responsive-container-open { display: flex; }
  .osp-calm-hero { min-height: auto; }
}

@media (max-width: 760px) {
  .osp-calm-hero {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 3.5rem 1rem 4rem;
  }
  .osp-calm-hero-copy { width: 100%; }
  .osp-calm-title { font-size: clamp(2.75rem, 12vw, 4.25rem); max-width: 10ch; }
  .osp-calm-deck { font-size: 1.25rem; }
  .osp-calm-portrait-wrap { margin-right: auto; width: min(88%, 25rem); }
  .osp-calm-portrait { max-height: 31rem; }
  .osp-facts,
  .osp-story-bridge,
  .osp-entry-section,
  .osp-topic-section,
  .osp-decision-actions,
  .osp-calm-closing { padding: 3.75rem 1rem; }
  .osp-facts-heading,
  .osp-story-bridge-grid,
  .osp-entry-heading,
  .osp-topic-heading,
  .osp-decision-actions-heading,
  .osp-calm-closing-inner { display: block; }
  .osp-facts-title,
  .osp-story-bridge-title,
  .osp-entry-title,
  .osp-topic-title { margin: 0.9rem 0 1.5rem; }
  .osp-facts-intro { font-size: 1.15rem; }
  .osp-fact-strip { display: block; padding: 0 0.55rem 0.55rem 0; }
  .osp-fact-strip > .wp-block-column,
  .osp-fact-strip > .wp-block-column:first-child,
  .osp-fact-strip > .wp-block-column:last-child {
    border: 2px solid var(--wp--preset--color--ink);
    box-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--sand);
    margin-bottom: 1.35rem;
    min-height: 0;
    padding: 1.35rem !important;
    transform: none;
  }
  .osp-fact-strip > .wp-block-column:nth-child(2) { box-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--clay); }
  .osp-fact-strip > .wp-block-column:nth-child(3) { box-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--forest); margin-bottom: 0; }
  .osp-fact-number { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .osp-story-bridge-copy { margin-top: 2rem; }
  .osp-featured-story { grid-template-columns: 4.25rem minmax(0, 1fr) auto; }
  .osp-featured-story img { height: 5.65rem; width: 4.25rem; }
  .osp-entry-row { gap: 0.65rem; grid-template-columns: 1fr auto; padding: 1.2rem 0; }
  .osp-entry-row > p:not(.osp-entry-arrow) { grid-column: 1; }
  .osp-entry-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .osp-topic-grid { display: block; }
  .osp-topic-item { margin-top: 2rem; }
  .osp-decision-actions-title { margin: 0.9rem 0 1.5rem; }
  .osp-decision-card-grid { grid-template-columns: 1fr; padding: 0 0.65rem 0.65rem 0; }
  .osp-decision-card { min-height: 19rem; transform: rotate(0); }
  .osp-decision-card--paper { box-shadow: 0.55rem 0.55rem 0 var(--wp--preset--color--clay); }
  .osp-decision-card--register { box-shadow: 0.55rem 0.55rem 0 var(--wp--preset--color--sand); }
  .osp-decision-official { text-align: left; }
  .osp-calm-closing-copy { margin: 1rem 0 1.75rem; }
  .osp-story-shell { padding: 3rem 1rem 5rem; }
  .osp-story-header { display: block; padding-top: 2rem; }
  .osp-story-back { margin-bottom: 3.5rem; }
  .osp-story-page-title { font-size: clamp(2.65rem, 11vw, 4rem); letter-spacing: -0.045em; line-height: 0.98; max-width: 12ch; }
  .osp-story-page-image { margin-top: 3rem; max-height: none; }
  .osp-story-body { margin-top: 3.5rem !important; padding-top: 2.5rem; }
  .osp-story-content { margin-left: 0 !important; }
  .osp-story-index-card { box-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--sand), 0.9rem 0.9rem 0 var(--wp--preset--color--forest); display: block; margin-right: 0.9rem; padding: 1.25rem; transform: rotate(0); }
  .osp-story-index-image { margin-bottom: 2rem; }
  .osp-page-shell,
  .osp-archive-shell,
  .osp-single-shell,
  .osp-error-shell { padding-left: 1rem; padding-right: 1rem; }
  .osp-page-header .wp-block-post-title,
  .osp-archive-header .wp-block-query-title,
  .osp-single-header .wp-block-post-title,
  .osp-error-shell h1 {
    font-size: clamp(2.65rem, 11vw, 4rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
    max-width: 13ch;
  }
  .osp-page-content > h2,
  .osp-single-content > h2 {
    font-size: clamp(1.95rem, 8.5vw, 3rem);
    line-height: 1.06;
  }
  .osp-page-intro {
    font-size: clamp(1.3rem, 5.8vw, 1.8rem);
    line-height: 1.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .osp-decision-card:hover { transform: rotate(0); }
  .osp-fact-strip > .wp-block-column:hover { transform: none; }
}
