/*
 * portalgeneral — una mesa abierta para entender lo que nos rodea.
 * Editorial cívico, sin apariencia institucional: papel cálido, tinta y bosque.
 */
:root {
  color-scheme: light;
  --pg-paper: #f5f2e9;
  --pg-paper-deep: #eae6d9;
  --pg-card: #fbf9f3;
  --pg-ink: #27332c;
  --pg-muted: #657067;
  --pg-green: #28533e;
  --pg-green-dark: #1b3f2e;
  --pg-green-soft: #dce6d9;
  --pg-line: #d8d6ca;
  --pg-clay: #b96043;
  --pg-sun: #e8c878;
  --pg-serif: Georgia, "Times New Roman", serif;
  --pg-sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --pg-reading-width: 70ch;
  --pg-shadow: 0 18px 50px rgba(35, 49, 39, .09);
  --pg-focus: #a74d30;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--pg-paper);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 84% 4%, rgba(231, 217, 177, .22), transparent 28rem),
    var(--pg-paper);
  color: var(--pg-ink);
  font-family: var(--pg-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #cbd9c7; color: var(--pg-green-dark); }

a {
  color: var(--pg-green);
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}
a:hover { color: var(--pg-clay); }

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

:focus-visible {
  outline: 3px solid var(--pg-focus);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3.5rem, 1320px);
  min-height: 106px;
  margin-inline: auto;
  border-bottom: 1px solid var(--pg-line);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 18%;
  height: 2px;
  background: var(--pg-green);
  content: "";
}

.brand-mark {
  display: inline-grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--pg-green);
  border-radius: 50%;
  background: var(--pg-green);
  color: var(--pg-paper);
  font-family: var(--pg-serif);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
}

.site-header > a:first-child,
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: var(--pg-serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.brand-tagline {
  display: block;
  margin-top: .3rem;
  color: var(--pg-muted);
  font-size: .68rem;
  letter-spacing: .075em;
  line-height: 1.2;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.8rem);
}

.primary-nav a {
  position: relative;
  color: var(--pg-ink);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .015em;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  background: var(--pg-clay);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pg-line);
  border-radius: 50%;
  background: var(--pg-card);
  cursor: pointer;
}

.page-wrap {
  width: min(100% - 3.5rem, 1320px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--pg-green);
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 21px;
  height: 1px;
  background: var(--pg-clay);
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7.5rem);
  min-height: min(670px, calc(100svh - 106px));
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.hero h1,
.hero h2,
.section-grid h2,
.section-card h2,
.article-shell h1,
.article-content h2,
.article-content h3,
.article-list h2 {
  margin: 0;
  color: var(--pg-ink);
  font-family: var(--pg-serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: pretty;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
}

.hero h1 em,
.article-shell h1 em {
  color: var(--pg-green);
  font-weight: 400;
}

.hero p:not(.eyebrow) {
  max-width: 49ch;
  margin: 1.65rem 0 0;
  color: var(--pg-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.hero > :last-child {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  overflow: hidden;
  border-radius: 48% 48% 4px 4px;
  background:
    linear-gradient(135deg, rgba(45, 84, 61, .08), transparent 50%),
    var(--pg-green-soft);
}

.hero > :last-child::before,
.hero > :last-child::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero > :last-child::before {
  top: 14%;
  right: 8%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(40, 83, 62, .27);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(40, 83, 62, .035), 0 0 0 52px rgba(40, 83, 62, .035);
}

.hero > :last-child::after {
  top: 22%;
  right: 26%;
  width: 1px;
  height: 62%;
  background: rgba(40, 83, 62, .4);
  transform: rotate(42deg);
  transform-origin: top;
}

.hero > :last-child > * { position: relative; z-index: 1; }
.hero > :last-child img { width: 100%; height: auto; object-fit: cover; }

.section-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--pg-line);
}

.section-grid > header { max-width: 30rem; }
.section-grid h2 { font-size: clamp(2.4rem, 5vw, 4.35rem); }
.section-grid > header p:not(.eyebrow) { color: var(--pg-muted); }

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

.section-card {
  position: relative;
  display: flex;
  min-height: 225px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid var(--pg-line);
  background: var(--pg-card);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.section-card:hover {
  border-color: var(--pg-green);
  background: #fdfbf5;
  color: inherit;
  transform: translateY(-3px);
}
.section-card .eyebrow { margin-bottom: 2rem; }
.section-card h2 { max-width: 13ch; font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
.section-card p { max-width: 36ch; color: var(--pg-muted); }
.section-card::after {
  align-self: flex-end;
  color: var(--pg-green);
  content: "↗";
  font-size: 1.25rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(3rem, 9vw, 9rem);
  max-width: 1120px;
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.article-shell > header,
.article-shell > .article-content,
.article-shell > .breadcrumbs,
.article-shell > .story-meta { grid-column: 1 / -1; }
.article-shell > .article-content { grid-column: 1; }
.article-shell > .article-aside { grid-column: 2; grid-row: 4 / span 2; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: var(--pg-muted);
  font-size: .78rem;
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs > * + *::before {
  margin-right: .55rem;
  color: #aaa99c;
  content: "/";
}

.article-shell header { max-width: 850px; }
.article-shell h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 6.1rem);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--pg-muted);
  font-size: .79rem;
}
.story-meta > * + *::before {
  margin-right: 1.5rem;
  color: #aaa99c;
  content: "•";
}

.article-content {
  max-width: var(--pg-reading-width);
  font-family: var(--pg-sans);
  font-size: clamp(1.04rem, 1.45vw, 1.16rem);
  line-height: 1.88;
}
.article-content > p:first-of-type {
  color: #3e4a41;
  font-size: 1.22em;
  line-height: 1.7;
}
.article-content p { margin: 0 0 1.5em; }
.article-content h2 { margin: 2.6em 0 .8em; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.article-content h3 { margin: 2.2em 0 .7em; font-size: 1.55rem; }
.article-content blockquote {
  margin: 2.4rem 0;
  padding: .3rem 0 .3rem 1.5rem;
  border-left: 2px solid var(--pg-clay);
  color: var(--pg-green-dark);
  font-family: var(--pg-serif);
  font-size: 1.45em;
  line-height: 1.4;
}
.article-content ul,
.article-content ol { padding-left: 1.3em; }
.article-content li { padding-left: .25em; margin: .45em 0; }
.article-content img { display: block; max-width: 100%; height: auto; }
.article-content figure { margin: 2.5rem 0; }
.article-content figcaption { margin-top: .65rem; color: var(--pg-muted); font-size: .78rem; }

.article-aside {
  align-self: start;
  position: sticky;
  top: 2rem;
  padding-top: .8rem;
}
.reading-note {
  padding: 1.25rem;
  border-top: 2px solid var(--pg-green);
  background: #ecefe6;
  color: #46544a;
  font-size: .88rem;
  line-height: 1.6;
}
.reading-note strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--pg-green-dark);
  font-family: var(--pg-serif);
  font-size: 1.1rem;
}

.article-list {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 3rem 6rem;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid var(--pg-line);
}
.article-list h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.article-list > :last-child { border-top: 1px solid var(--pg-line); }
.article-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--pg-line);
  color: var(--pg-ink);
  text-decoration: none;
}
.article-list a:hover { color: var(--pg-green); }
.article-list a strong { font-family: var(--pg-serif); font-size: 1.3rem; font-weight: 500; }
.article-list a span { color: var(--pg-muted); font-size: .8rem; }
.article-list a::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; content: "↗"; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem max(calc((100% - 1320px) / 2), 1.75rem);
  border-top: 1px solid var(--pg-line);
  background: #e9e8dc;
  color: #4f5d52;
  font-size: .82rem;
}
.site-footer a { color: var(--pg-green-dark); }
.site-footer .brand-name { color: var(--pg-ink); }

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(440px, calc(100vw - 2rem));
  padding: 1.5rem;
  border: 1px solid #d5d6c8;
  border-top: 3px solid var(--pg-green);
  background: var(--pg-card);
  box-shadow: var(--pg-shadow);
  color: var(--pg-ink);
}
.cookie-banner[hidden] { display: none; }
.cookie-dialog { display: block; }
.cookie-dialog h2,
.cookie-dialog h3 {
  margin: 0 0 .55rem;
  font-family: var(--pg-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.025em;
}
.cookie-dialog p { margin: 0; color: var(--pg-muted); font-size: .88rem; line-height: 1.55; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}
.cookie-actions button {
  min-height: 44px;
  flex: 1 1 130px;
  padding: .65rem 1rem;
  border: 1px solid var(--pg-green);
  border-radius: 2px;
  background: var(--pg-green);
  color: #fbf9f3;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.cookie-actions button:hover { background: var(--pg-green-dark); }
.cookie-actions button[data-cookie-choice="reject"],
.cookie-actions button[data-cookie-choice="essential"],
.cookie-actions button[aria-label*="Rechazar"],
.cookie-actions button[aria-label*="rechazar"] {
  background: transparent;
  color: var(--pg-green-dark);
}
.cookie-actions button[data-cookie-choice="reject"]:hover,
.cookie-actions button[data-cookie-choice="essential"]:hover { background: var(--pg-green-soft); }

@media (max-width: 760px) {
  .site-header,
  .page-wrap { width: min(100% - 2rem, 1320px); }
  .site-header { min-height: 82px; gap: 1rem; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name { font-size: 1.18rem; }
  .brand-tagline { font-size: .61rem; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle::before {
    width: 17px;
    height: 11px;
    border-top: 1.5px solid var(--pg-green-dark);
    border-bottom: 1.5px solid var(--pg-green-dark);
    content: "";
  }
  .nav-toggle::after {
    position: absolute;
    width: 17px;
    height: 1.5px;
    background: var(--pg-green-dark);
    content: "";
  }
  .nav-toggle[aria-expanded="true"] { background: var(--pg-green-soft); }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1rem 1rem;
    border: 1px solid var(--pg-line);
    border-top: 0;
    background: var(--pg-paper);
    box-shadow: 0 16px 25px rgba(35, 49, 39, .08);
  }
  .primary-nav.is-open,
  .primary-nav[data-open="true"] { display: flex; flex-direction: column; }
  .primary-nav a { padding: .9rem .3rem; border-bottom: 1px solid var(--pg-line); }
  .primary-nav a::after { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding-block: 4.5rem 3.5rem;
  }
  .hero h1 { font-size: clamp(3.45rem, 13vw, 5.6rem); }
  .hero > :last-child { min-height: 250px; width: min(100%, 460px); justify-self: end; }
  .section-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem; }
  .section-grid > :last-child { grid-template-columns: 1fr; }
  .section-card { min-height: 185px; }
  .article-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 2.5rem 4rem;
  }
  .article-shell > header,
  .article-shell > .article-content,
  .article-shell > .breadcrumbs,
  .article-shell > .story-meta,
  .article-shell > .article-aside { grid-column: 1; grid-row: auto; }
  .article-shell > .article-aside { position: static; order: 1; }
  .article-shell h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .article-content { font-size: 1.03rem; }
  .article-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer { padding: 2.5rem 1rem; }
}

@media (max-width: 420px) {
  .brand-tagline { max-width: 22ch; }
  .hero { padding-top: 3.5rem; }
  .hero > :last-child { min-height: 215px; }
  .cookie-banner { right: .65rem; bottom: .65rem; width: calc(100vw - 1.3rem); padding: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Layout details for the generated static pages. */
.skip-link {
  position: absolute;
  z-index: 200;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--pg-green-dark);
  color: var(--pg-paper);
}
.skip-link:focus { transform: translateY(0); }
.utility-nav { display: flex; align-items: center; gap: 1rem; }
.utility-nav a {
  color: var(--pg-muted);
  font-size: .74rem;
  text-decoration: none;
}
.utility-nav a:hover { color: var(--pg-green); }
.hero-copy { align-self: center; }
.hero-panel { min-height: 390px; flex-direction: column; align-items: flex-start; }
.hero-panel-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(40, 83, 62, .4);
  border-radius: 50%;
  color: var(--pg-green);
  font-family: var(--pg-serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.hero-panel p {
  color: var(--pg-green-dark) !important;
  font-family: var(--pg-serif);
  font-size: clamp(2.1rem, 4vw, 3.65rem) !important;
  line-height: 1.03 !important;
}
.hero-panel .hero-panel-caption {
  max-width: 25ch;
  margin-top: auto;
  color: var(--pg-green-dark);
  font-size: .78rem;
  letter-spacing: .035em;
}
.hero .text-link { display: inline-flex; align-items: center; gap: .45rem; }
.content-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-cards { min-width: 0; }
.section-card h2 a {
  color: inherit;
  text-decoration: none;
}
.section-card p { margin: .9rem 0; }
.section-card .card-count {
  color: var(--pg-muted);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.section-heading h2,
.related-section > h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--pg-ink);
  font-family: var(--pg-serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.section-heading > p { max-width: 40ch; color: var(--pg-muted); }
.section-heading .text-link,
.text-link { color: var(--pg-green-dark); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.home-note { margin-block: 1rem 3rem; }
.home-note .eyebrow { display: flex; }
.category-heading {
  max-width: 850px;
  padding-block: clamp(3rem, 8vw, 6.5rem) 2rem;
}
.category-heading h1 {
  margin: 0;
  color: var(--pg-ink);
  font-family: var(--pg-serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.category-heading .hero-lede,
.article-deck {
  max-width: 60ch;
  color: var(--pg-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}
.category-articles,
.related-list { list-style: none; margin: 0; }
.category-articles .article-list-item h2,
.related-list h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}
.article-list-item article { height: 100%; }
.article-list-item p { max-width: 56ch; color: var(--pg-muted); }
.article-list-item .text-link { display: inline-flex; width: auto; gap: .45rem; padding: .45rem 0; border: 0; }
.article-header { max-width: 850px; }
.article-header .eyebrow { margin-bottom: 1.1rem; }
.article-content section { margin-block: 2.5rem; }
.article-content section h2 { margin-top: 0; }
.article-content .key-terms > div { padding-block: 1rem; border-bottom: 1px solid var(--pg-line); }
.article-content .key-terms dt { color: var(--pg-green-dark); font-weight: 750; }
.article-content .key-terms dd { margin: .4rem 0 0; }
.article-content .article-conclusion { padding: 1.5rem; background: var(--pg-green-soft); }
.article-content .article-conclusion p { margin-bottom: 0; }
.source-note h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.article-aside a { color: var(--pg-green-dark); }
.article-aside .eyebrow { display: flex; }
.editorial-copy { padding-bottom: 3rem; }
.editorial-copy h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.not-found-page { min-height: 55vh; padding-block: 8rem; }
.not-found-page h1 {
  max-width: 14ch;
  color: var(--pg-ink);
  font-family: var(--pg-serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.04;
}
.not-found-page p { max-width: 55ch; color: var(--pg-muted); }
.site-footer { display: block; padding: 3rem 1.75rem 1.4rem; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(16rem, 1.5fr) minmax(10rem, .8fr) minmax(12rem, .9fr);
  gap: 2rem;
  width: min(100%, 1320px);
  margin-inline: auto;
}
.footer-main h2 { color: var(--pg-ink); font-family: var(--pg-serif); font-size: 1.2rem; font-weight: 500; }
.footer-main ul { padding: 0; list-style: none; }
.footer-main li { margin-block: .35rem; }
.footer-main a { text-decoration-thickness: 1px; text-underline-offset: .16em; }
.footer-brand { color: var(--pg-ink) !important; font-family: var(--pg-serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1320px);
  margin: 2.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--pg-line);
  color: var(--pg-muted);
  font-size: .75rem;
}
@media (max-width: 1100px) {
  .site-header { gap: 1rem; }
  .primary-nav { gap: .9rem; }
  .primary-nav a { font-size: .74rem; }
  .utility-nav { gap: .65rem; }
  .utility-nav a { font-size: .69rem; }
}
@media (max-width: 760px) {
  .utility-nav { display: none; }
  .hero-panel { min-height: 280px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .section-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
}
.cookie-banner {
  right: auto;
  left: 50%;
  width: min(980px, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
  transform: translateX(-50%);
}
.cookie-dialog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
}
.cookie-dialog h2 { margin-bottom: .25rem; font-size: 1.18rem; }
.cookie-dialog p { max-width: 75ch; font-size: .8rem; }
.cookie-actions { margin-top: 0; }
@media (max-width: 760px) {
  .cookie-banner {
    right: auto;
    bottom: .5rem;
    left: 50%;
    width: calc(100vw - 1rem);
    padding: .8rem 1rem;
  }
  .cookie-dialog { grid-template-columns: 1fr; gap: .65rem; }
  .cookie-dialog h2 { font-size: 1.12rem; }
  .cookie-dialog p { font-size: .76rem; }
  .cookie-actions { gap: .5rem; }
  .cookie-actions button { min-height: 40px; padding: .55rem .65rem; font-size: .72rem; }
}