/* Agrarnetz Magazin – main stylesheet */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2070-209F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

:root {
  --green-950: #0f2618;
  --green-900: #143220;
  --green-800: #1b4229;
  --green-700: #235634;
  --green-600: #2d6a40;
  --green-500: #3f8552;
  --green-300: #9cc0a0;
  --green-200: #c8dcc8;
  --green-100: #e2ece0;
  --green-50: #f0f5ee;
  --amber-700: #95560a;
  --amber-600: #b26a0e;
  --amber-500: #d4861a;
  --amber-400: #f0b443;
  --amber-100: #fbefd6;
  --amber-50: #fdf8ec;
  --ink: #17201a;
  --ink-2: #2f3a33;
  --muted: #5b675f;
  --line: #e1e5de;
  --line-strong: #c9d0c6;
  --paper: #ffffff;
  --bg-soft: #f6f5ef;

  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgb(16 32 22 / 0.06);
  --shadow-md: 0 6px 24px -12px rgb(16 32 22 / 0.22);
  --focus: 0 0 0 3px rgb(240 180 67 / 0.65);
}

/* ---------- Reset & base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.has-drawer {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-900);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-pad {
  padding-block: clamp(20px, 3.5vw, 40px) clamp(40px, 6vw, 72px);
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* ---------- Shared bits ---------- */

.kicker {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-700);
}

.kicker--lg {
  font-size: 0.8125rem;
  margin-bottom: 10px;
}

.sep {
  margin-inline: 0.4em;
  color: var(--line-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--green-900);
  color: #fff;
}

.button--outline {
  background: transparent;
  color: var(--green-800);
  box-shadow: inset 0 0 0 1.5px var(--green-700);
}

.button--outline:hover {
  background: var(--green-800);
  color: #fff;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 12px;
  margin-bottom: 20px;
  border-top: 3px solid var(--green-800);
}

.section-head__title {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  font-weight: 700;
}

.section-head__sub {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--green-700);
  text-decoration: none;
  white-space: nowrap;
}

.section-head__link:hover {
  text-decoration: underline;
}

.section-head--band {
  border-top-color: var(--green-800);
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}

.pill-list a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--green-100);
}

.pill-list a:hover {
  background: var(--green-100);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
}

.masthead {
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-900);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--green-900);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 660;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand__tag {
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.brand--inverse {
  color: #fff;
}

.brand--inverse:hover {
  color: #fff;
}

.brand--inverse .brand__tag {
  color: var(--green-200);
}

.brand--inverse .brand-mark rect {
  fill: var(--green-700);
}

.masthead__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--green-900);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--green-50);
}

.icon-btn[aria-expanded="true"] {
  background: var(--green-100);
}

.icon-btn__label {
  font-size: 0.9rem;
  font-weight: 650;
}

.search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-form:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgb(45 106 64 / 0.15);
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 6px 10px 18px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-form input::placeholder {
  color: #7d8780;
}

.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--green-800);
  cursor: pointer;
}

.search-form button:hover {
  color: var(--green-950);
}

.search-form--header {
  display: none;
  width: 300px;
}

.search-form--header input {
  padding-block: 9px;
  font-size: 0.95rem;
}

.mobile-search {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.topnav {
  background: var(--green-800);
  color: #fff;
}

.topnav__inner {
  position: relative;
}

.topnav__list {
  display: flex;
  gap: 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: calc(var(--gutter) - 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
}

.topnav__list::-webkit-scrollbar {
  display: none;
}

.topnav__list a {
  position: relative;
  display: block;
  padding: 12px 10px 13px;
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.92;
}

.topnav__list a:hover {
  opacity: 1;
  color: #fff;
}

.topnav__list a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--amber-400);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.topnav__list a:hover::after,
.topnav__list a.is-current::after {
  transform: scaleX(1);
}

.topnav__list a.is-current {
  opacity: 1;
}

@media (min-width: 600px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand__name {
    font-size: 1.85rem;
  }

  .brand__tag {
    font-size: 0.7rem;
  }

  .masthead__inner {
    min-height: 84px;
  }
}

@media (min-width: 900px) {
  .search-form--header {
    display: flex;
  }

  .icon-btn--search {
    display: none;
  }

  .mobile-search {
    display: none !important;
  }

  .topnav__list {
    margin-inline: -10px;
    padding-inline: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .topnav__list a {
    padding: 13px 14px 14px;
    font-size: 1rem;
  }

  .topnav__list a::after {
    left: 14px;
    right: 14px;
  }
}

@media (min-width: 1100px) {
  .icon-btn--menu .icon-btn__label {
    display: inline;
  }
}

@media (max-width: 420px) {
  .icon-btn__label {
    display: none;
  }

  .brand__tag {
    letter-spacing: 0.12em;
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 9px;
  }

  .brand__name {
    font-size: 1.45rem;
  }

  .brand__tag {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .icon-btn {
    min-width: 40px;
    padding: 0 8px;
  }
}

@media (max-width: 599px) {
  .article__title,
  .archive-head__title {
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* ---------- Drawer menu ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 22 14 / 0.5);
  animation: fade-in 0.2s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(380px, 88vw);
  padding: 16px 22px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -12px 0 40px -20px rgb(0 0 0 / 0.4);
  animation: slide-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer__panel > * {
  flex-shrink: 0;
}

.drawer__panel .search-form {
  margin-bottom: 6px;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.drawer__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
}

.drawer__label {
  margin: 22px 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-700);
}

.drawer__list {
  list-style: none;
}

.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.drawer__list a:hover {
  color: var(--green-700);
}

.drawer__list .icon {
  color: var(--green-600);
}

.drawer__list--compact a {
  font-weight: 500;
  font-size: 1rem;
  padding-block: 9px;
}

.drawer__list .count {
  min-width: 28px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.8rem;
  font-weight: 650;
  text-align: center;
}

.drawer__legal {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.9rem;
}

.drawer__legal a {
  color: var(--muted);
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .drawer__panel,
  .drawer__backdrop {
    animation: none;
  }
}

/* ---------- Media ---------- */

.card__media,
.article__figure,
.hub-feature__media,
.topic-chip__media {
  position: relative;
  overflow: hidden;
  background: var(--green-50);
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background:
    radial-gradient(120% 90% at 50% 120%, rgb(240 180 67 / 0.16), transparent 60%),
    repeating-linear-gradient(-32deg, rgb(35 86 52 / 0.045) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, #f3f6ef, #e6eee2);
  box-shadow: inset 0 0 0 1px rgb(27 66 41 / 0.06);
  color: var(--green-800);
}

.media-ph__mark {
  width: 40px;
  height: 40px;
}

.media-ph__label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  text-align: center;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
}

.card__media .media-img {
  transition: transform 0.4s ease;
}

.card:hover .card__media .media-img {
  transform: scale(1.03);
}

.card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card__title {
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.25;
}

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card:hover .card__title a {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.card__teaser {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.card__meta .icon {
  color: var(--green-600);
}

/* standard */
.card--standard .card__body {
  padding-top: 14px;
}

/* lead */
.card--lead .card__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
}

.card--lead .card__body {
  padding-top: 18px;
}

.card--lead .card__title {
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem);
  font-weight: 660;
  line-height: 1.14;
  letter-spacing: 0;
}

.card--lead .card__teaser {
  margin-top: 12px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  max-width: 62ch;
}

/* text */
.card--text .card__title {
  font-size: 1.08rem;
  line-height: 1.3;
}

.card--text .card__meta {
  margin-top: 6px;
}

/* row */
.card--row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.card--row .card__media {
  aspect-ratio: 3 / 2;
}

.card--row .media-ph__mark {
  width: 28px;
  height: 28px;
}

.card--row .media-ph__label {
  display: none;
}

.card--row .card__title {
  font-size: 1.05rem;
  line-height: 1.3;
}

.card--row .card__teaser {
  display: none;
  margin-top: 6px;
  font-size: 0.95rem;
}

.card--row .card__meta {
  margin-top: 6px;
}

@media (min-width: 600px) {
  .card--row {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }

  .card--row .card__teaser {
    display: block;
  }

  .card--row .card__title {
    font-size: 1.15rem;
  }
}

/* guide */
.card--guide {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgb(27 66 41 / 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--guide:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgb(27 66 41 / 0.12);
  transform: translateY(-2px);
}

.card--guide .card__media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.card--guide .card__body {
  flex: 1;
  padding: 14px 16px 16px;
}

.card--guide .card__title {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 700;
}

.card--guide .card__teaser {
  font-size: 0.95rem;
  color: var(--muted);
}

.card--guide .card__meta {
  margin-top: auto;
  padding-top: 12px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--guide {
  background: var(--amber-400);
  color: var(--green-950);
}

/* ---------- Homepage ---------- */

.home-top {
  display: grid;
  gap: 28px;
  padding-block: clamp(20px, 3.5vw, 40px) clamp(32px, 5vw, 56px);
}

.home-top__aside .section-head {
  margin-bottom: 4px;
}

.newest-list {
  list-style: none;
}

.newest-list > li {
  position: relative;
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--line);
}

.newest-list > li:last-child {
  border-bottom: 0;
}

.newest-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 3px var(--amber-100);
}

.newest-list .kicker {
  margin-bottom: 3px;
  font-size: 0.7rem;
}

@media (min-width: 600px) and (max-width: 859px) {
  .newest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .newest-list > li:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (min-width: 860px) {
  .home-top {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: 44px;
  }
}

.band {
  padding-block: clamp(32px, 5vw, 56px);
}

.band--guides {
  background:
    linear-gradient(180deg, var(--green-50), #f7f9f4);
  border-block: 1px solid var(--green-100);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

@media (min-width: 960px) {
  .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .card--guide {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .card--guide .card__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .card--guide .card__body {
    padding: 12px 14px 12px;
  }

  .card--guide .card__title {
    font-size: 1.2rem;
  }

  .card--guide .card__teaser {
    margin-top: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .card--guide .card__meta {
    padding-top: 8px;
    font-size: 0.8rem;
  }

  .card--guide:hover {
    transform: none;
  }

  .badge {
    top: 6px;
    left: 6px;
    padding: 3px 7px 3px 6px;
    font-size: 0.6rem;
  }

  .badge .icon {
    display: none;
  }
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

.topic-strip__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-700);
}

.topic-strip__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  list-style: none;
}

@media (min-width: 520px) {
  .topic-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 860px) {
  .topic-strip {
    flex-wrap: nowrap;
  }

  .topic-strip__label {
    flex: none;
  }

  .topic-strip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.topic-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgb(27 66 41 / 0.12);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.topic-chip:hover {
  color: var(--green-800);
  box-shadow: inset 0 0 0 1.5px var(--green-600);
}

.topic-chip__media {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
}

.topic-chip__media .media-ph__mark {
  width: 22px;
  height: 22px;
}

.topic-chip__media .media-ph__label {
  display: none;
}

.topic-chip__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-chip .icon {
  color: var(--green-600);
}

.rubriken {
  display: grid;
  gap: clamp(36px, 5vw, 56px) 48px;
  padding-block: clamp(36px, 5vw, 60px);
}

@media (min-width: 900px) {
  .rubriken {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rubriken__ad {
    grid-column: 1 / -1;
  }
}

.rubrik__body {
  display: grid;
  gap: 18px;
}

@media (min-width: 600px) {
  .rubrik__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
  }
}

.rubrik__list {
  list-style: none;
}

.rubrik__list > li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.rubrik__list > li:first-child {
  padding-top: 0;
}

.rubrik__list > li:last-child {
  border-bottom: 0;
}

.home-more {
  padding-block: 8px clamp(48px, 7vw, 80px);
}

.row-list {
  display: grid;
  gap: 0;
}

.row-list > .card {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.row-list > .card:first-child {
  padding-top: 4px;
}

@media (min-width: 900px) {
  .row-list--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .row-list--two > .card:nth-child(2) {
    padding-top: 4px;
  }
}

.row-list--archive {
  max-width: 860px;
}

.home-more__foot {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Archive & search ---------- */

.archive-head {
  margin-bottom: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
}

.archive-head__title {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 660;
  letter-spacing: 0;
}

.archive-head__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.archive-head__desc {
  margin-top: 12px;
  max-width: 68ch;
  color: var(--ink-2);
}

.archive-head .search-form {
  max-width: 560px;
  margin-top: 20px;
}

.search-form--page button span {
  font-weight: 650;
}

.card-grid {
  display: grid;
  gap: 36px 28px;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-feature {
  display: grid;
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.hub-feature:hover {
  color: #fff;
}

.hub-feature__media {
  aspect-ratio: 16 / 9;
}

.hub-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 32px);
}

.hub-feature .kicker {
  margin: 0;
  color: var(--amber-400);
}

.hub-feature__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.15;
}

.hub-feature__text {
  color: var(--green-100);
  max-width: 60ch;
}

.hub-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 700;
  color: var(--amber-400);
}

.hub-feature:hover .hub-feature__cta {
  text-decoration: underline;
}

@media (min-width: 700px) {
  .hub-feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hub-feature__media {
    aspect-ratio: auto;
    min-height: 240px;
  }
}

.archive-ad {
  margin-top: 40px;
}

.pagination {
  margin-top: 36px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.pagination a {
  color: var(--green-800);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.pagination a:hover {
  background: var(--green-50);
  box-shadow: inset 0 0 0 1px var(--green-600);
}

.pagination .current {
  background: var(--green-800);
  color: #fff;
}

.pagination .dots {
  color: var(--muted);
  padding: 0 4px;
  min-width: 0;
}

.not-found {
  max-width: 680px;
  padding-block: clamp(20px, 6vw, 60px);
}

.not-found > p {
  margin-top: 14px;
  color: var(--ink-2);
}

.not-found .search-form {
  margin-top: 24px;
}

.not-found .button {
  margin-top: 28px;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

.breadcrumbs [aria-current] {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40ch;
}

/* ---------- Article ---------- */

.article__layout {
  display: grid;
  gap: 48px;
}

.article__main {
  min-width: 0;
  max-width: 760px;
}

.article__main--solo {
  margin-inline: auto;
}

@media (min-width: 1100px) {
  .article__layout {
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: space-between;
    gap: 56px;
  }
}

@media (min-width: 760px) and (max-width: 1099px) {
  .article__main,
  .article__aside {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
}

.article__title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: 0;
}

.article__lead {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.38rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-2);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.article__meta .icon {
  color: var(--green-600);
}

.article__meta .sep {
  margin-inline: 4px;
}

.article__figure {
  margin: 24px 0 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
}

@media (max-width: 599px) {
  .article__figure {
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
  }
}

/* Table of contents */
.toc {
  margin: 28px 0 8px;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  background: var(--green-50);
}

.toc__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--green-900);
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.toc[open] .toc__summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.toc__count {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
}

.toc__list {
  padding: 0 18px 16px 44px;
  columns: 1;
  font-size: 0.98rem;
}

.toc__list li {
  padding: 4px 0;
  break-inside: avoid;
}

.toc__list li::marker {
  color: var(--green-500);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.toc__list a {
  color: var(--ink-2);
  text-decoration: none;
}

.toc__list a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

@media (min-width: 760px) {
  .toc__list {
    columns: 2;
    column-gap: 40px;
  }
}

/* Body copy */
.prose {
  margin-top: 28px;
  font-size: 1.1rem;
  line-height: 1.76;
  color: var(--ink-2);
  overflow-wrap: break-word;
}

@media (max-width: 599px) {
  .prose {
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem);
  font-weight: 660;
  line-height: 1.18;
  color: var(--ink);
  scroll-margin-top: 20px;
}

.prose h3 {
  margin-top: 1.7em;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.prose h4 {
  margin-top: 1.5em;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.prose a {
  color: var(--green-700);
  text-decoration-color: rgb(35 86 52 / 0.4);
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--green-600);
}

.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--amber-400);
  font-family: var(--font-serif);
  font-size: 1.15em;
  color: var(--ink);
}

.prose img {
  border-radius: var(--radius);
}

.prose section > * + * {
  margin-top: 1.1em;
}

.prose hr {
  margin-block: 2.2em;
  border: 0;
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
  line-height: 1.45;
  hyphens: manual;
}

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

.prose th {
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 700;
  white-space: nowrap;
}

.prose tbody tr:nth-child(even) td {
  background: #fafbf8;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 599px) {
  .prose th,
  .prose td {
    padding: 9px 11px;
    min-width: 120px;
  }
}

/* Hub link list */
.hub-links {
  margin-top: 48px;
}

.hub-links__list {
  display: grid;
  gap: 0 32px;
  list-style: none;
}

@media (min-width: 640px) {
  .hub-links__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-links__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.hub-links__list a::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--amber-500);
  border-right: 2px solid var(--amber-500);
  transform: rotate(45deg) translateY(-1px);
}

.hub-links__list a:hover {
  color: var(--green-700);
}

/* Aside */
.article__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.aside-box__title {
  padding-top: 10px;
  margin-bottom: 14px;
  border-top: 3px solid var(--green-800);
  font-size: 1.25rem;
  font-weight: 700;
}

.aside-list {
  list-style: none;
}

.aside-list > li {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.aside-list > li:last-child {
  border-bottom: 0;
}

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

.aside-list .card--row .card__title {
  font-size: 1rem;
}

.aside-list .card--row .card__teaser {
  display: none;
}

.aside-list .kicker {
  margin-bottom: 2px;
  font-size: 0.68rem;
}

@media (min-width: 760px) and (max-width: 1099px) {
  .aside-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .aside-list > li:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* ---------- Sponsor slots (Invaso). Inner snippet HTML is unchanged. ---------- */

.agr-slot {
  position: relative;
  margin: 28px 0;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.agr-slot::before {
  content: "Anzeige";
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(91 103 95 / 0.48);
  text-align: left;
}

.agr-slot a {
  display: inline-block;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.agr-slot img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.agr-slot--clickable {
  cursor: pointer;
}

.agr-slot--clickable:focus-visible {
  outline: 0;
  box-shadow: var(--focus), 0 12px 32px -22px rgb(16 32 22 / 0.5);
}

.agr-slot-below_title,
.agr-slot-below_content {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
  box-shadow: var(--shadow-sm);
}

.agr-slot-below_title img,
.agr-slot-below_content img {
  border-radius: 3px;
}

.agr-slot-below_title a:hover,
.agr-slot-below_content a:hover,
.agr-slot-rightspace a:hover {
  box-shadow: 0 10px 26px -18px rgb(16 32 22 / 0.42);
  transform: translateY(-1px);
}

.agr-slot-below_title.agr-slot--clickable:hover,
.agr-slot-below_content.agr-slot--clickable:hover,
.agr-slot-rightspace.agr-slot--clickable:hover {
  border-color: rgb(45 106 64 / 0.38);
  background:
    linear-gradient(180deg, #fffdf3, #f6fbef);
  box-shadow: 0 18px 42px -28px rgb(16 32 22 / 0.62), 0 0 0 1px rgb(45 106 64 / 0.09);
  transform: translateY(-2px);
}

.agr-slot-below_title.agr-slot--clickable:hover img,
.agr-slot-below_content.agr-slot--clickable:hover img,
.agr-slot-rightspace.agr-slot--clickable:hover img {
  filter: saturate(1.05) contrast(1.02);
}

.agr-slot-rightspace {
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #fbfcf8;
  box-shadow: var(--shadow-sm);
}

.agr-slot-rightspace::before {
  text-align: center;
}

.agr-slot-rightspace img {
  margin-inline: auto;
}

/* In-text recommendation link after the first paragraph */
.agr-slot-below_intro_text {
  margin: 1.6em 0;
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid #e7d39c;
  border-left: 5px solid var(--amber-500);
  background: #fff8e8;
  box-shadow: 0 8px 26px -20px rgb(149 86 10 / 0.5);
  text-align: left;
  hyphens: manual;
}

.agr-slot-below_intro_text::before {
  margin-bottom: 4px;
  color: rgb(149 86 10 / 0.5);
}

.agr-slot-below_intro_text a {
  display: inline !important;
  padding: 0 !important;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.12rem + 0.36vw, 1.42rem) !important;
  font-weight: 680;
  line-height: 1.3;
  color: var(--green-800);
  text-decoration: none;
}

.agr-slot-below_intro_text a:hover {
  color: var(--green-950);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.agr-slot-below_intro_text.agr-slot--clickable:hover,
.agr-slot-sidebar_featured.agr-slot--clickable:hover {
  border-color: #d7ac51;
  background: #fff4d6;
  box-shadow: 0 18px 40px -28px rgb(149 86 10 / 0.75), 0 0 0 1px rgb(217 159 44 / 0.18);
  transform: translateY(-2px);
}

.agr-slot-below_intro_text.agr-slot--clickable:hover a,
.agr-slot-sidebar_featured.agr-slot--clickable:hover .header {
  color: var(--green-950);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.agr-slot-below_intro_text:has(img) {
  padding: 14px;
  background: var(--paper);
  border-left-width: 1px;
  border-color: var(--line);
}

.agr-slot-below_intro_text:has(img) a {
  display: block !important;
}

/* Text ad in the sidebar */
.agr-slot-sidebar_featured {
  margin: 0 0 6px;
  padding: 18px 18px 19px;
  border-radius: var(--radius);
  background: #fff8e8;
  border: 1px solid #e7d39c;
  border-left: 4px solid var(--amber-500);
  box-shadow: 0 8px 26px -20px rgb(149 86 10 / 0.5);
  text-align: left;
}

.agr-slot-sidebar_featured::before {
  color: rgb(149 86 10 / 0.5);
}

.agr-slot-sidebar_featured a {
  display: block;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}

.agr-slot-sidebar_featured .header {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 680;
  line-height: 1.3;
  color: var(--green-800);
}

.agr-slot-sidebar_featured a:hover .header {
  text-decoration: underline;
}

.agr-slot-sidebar_featured .header span {
  display: block;
  margin-top: 2px;
}

.agr-slot i.star.icon {
  font-style: normal;
}

.agr-slot i.star.icon::before {
  content: "\2605";
  font-size: 0.9rem;
}

/* Homepage / archive banner row */
.rubriken__ad .agr-slot,
.archive-ad .agr-slot {
  margin: 0;
  padding-top: 16px;
}

.rubriken__ad .agr-slot::before,
.archive-ad .agr-slot::before {
  text-align: center;
}

/* Related articles below an article */
.band--more {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 0;
  background: var(--green-950);
  color: var(--green-100);
  font-size: 0.95rem;
}

.site-footer__grid {
  display: grid;
  gap: 32px 28px;
  padding-block: clamp(40px, 6vw, 64px) 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

@media (max-width: 599px) {
  .site-footer__col--wide {
    grid-column: 1 / -1;
  }
}

.site-footer__title {
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.site-footer ul {
  list-style: none;
}

.site-footer__title--spaced {
  margin-top: 26px;
}

.site-footer li + li {
  margin-top: 7px;
}

.site-footer a {
  color: var(--green-100);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: var(--green-300);
  font-size: 0.88rem;
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

.site-footer__legal a {
  color: var(--green-200);
}

/* ---------- Legal ---------- */

.legal-copy {
  overflow-wrap: anywhere;
}

.legal-copy img {
  width: 100%;
  max-width: 520px;
  border-radius: 0;
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .site-footer,
  .article__aside,
  .agr-slot,
  .toc,
  .hub-links {
    display: none !important;
  }

  .article__layout {
    display: block;
  }
}
