/* ZPBC Krasiniec – szablon. Paleta z pola buraczanego: liść, młody liść, korzeń, ziemia. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --leaf: #1e4d33;
  --leaf-deep: #153826;
  --sprout: #7db043;
  --sprout-soft: #e4efd6;
  --root: #f3ebdd;
  --root-deep: #e6d8bf;
  --soil: #33281f;
  --soil-muted: #6b5d50;
  --line: #e2dccf;
  --white: #fff;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --cassiopeia-color-primary: var(--leaf);
  --cassiopeia-color-link: var(--leaf);
  --cassiopeia-color-hover: var(--leaf-deep);
  --cassiopeia-font-family-body: var(--font);
  --cassiopeia-font-family-headings: var(--font);
  --link-color: var(--leaf);
  --link-hover-color: var(--leaf-deep);
  --body-color: var(--soil);
  --body-font-family: var(--font);
}

/* ---------- Podstawy ---------- */
body.zpbc {
  margin: 0;
  background: var(--white);
  color: var(--soil);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  display: block;
}
.zpbc h1, .zpbc h2, .zpbc h3, .zpbc h4 {
  font-family: var(--font);
  color: var(--soil);
  line-height: 1.15;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.01em;
}
.zpbc a { color: var(--leaf); text-underline-offset: .18em; }
.zpbc a:hover { color: var(--leaf-deep); }
.zpbc :focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; border-radius: 2px; }

.zpbc-wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: content-box;
}
@media (max-width: 640px) { .zpbc-wrap { box-sizing: border-box; } }

.zpbc-skip {
  position: absolute;
  left: -999px;
  top: .5rem;
  z-index: 2000;
  background: var(--leaf);
  color: #fff !important;
  padding: .5rem 1rem;
}
.zpbc-skip:focus { left: .5rem; }

/* przyciski */
.zpbc-btn,
.zpbc .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border: 2px solid var(--leaf);
  border-radius: 999px;
  background: var(--leaf);
  color: #fff !important;
  font-weight: 700;
  font-stretch: 105%;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}
.zpbc-btn:hover,
.zpbc .btn-primary:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); }
.zpbc-btn--light { background: var(--sprout); border-color: var(--sprout); color: var(--leaf-deep) !important; }
.zpbc-btn--light:hover { background: #fff; border-color: #fff; }
.zpbc-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.zpbc-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Nagłówek ---------- */
.zpbc-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.zpbc-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 72px;
}
.zpbc-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: .7rem;
  color: var(--soil) !important;
  text-decoration: none;
}
.zpbc-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.zpbc-brand-short { font-size: 1.25rem; font-weight: 800; font-stretch: 118%; color: var(--leaf); }
.zpbc-brand-long { font-size: .8rem; color: var(--soil-muted); }

/* menu główne */
.zpbc-menu-list { display: flex; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.zpbc-menu-list a {
  display: block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--soil) !important;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  white-space: nowrap;
}
.zpbc-menu-list a:hover { background: var(--sprout-soft); }
.zpbc-menu-list a[aria-current="page"] { background: var(--leaf); color: #fff !important; }

.zpbc-menu-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--leaf);
  border-radius: 999px;
  background: var(--white);
  color: var(--leaf);
  font: 700 1rem/1 var(--font);
  cursor: pointer;
}
.zpbc-burger { position: relative; width: 20px; height: 14px; }
.zpbc-burger::before,
.zpbc-burger::after,
.zpbc-burger span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.zpbc-burger::before { top: 0; }
.zpbc-burger span { top: 50%; margin-top: -1.25px; }
.zpbc-burger::after { bottom: 0; }
.zpbc-menu.is-open .zpbc-menu-toggle { background: var(--leaf); color: #fff; }
.zpbc-menu.is-open .zpbc-burger::before { transform: translateY(5.75px) rotate(45deg); }
.zpbc-menu.is-open .zpbc-burger span { opacity: 0; }
.zpbc-menu.is-open .zpbc-burger::after { transform: translateY(-5.75px) rotate(-45deg); }

@media (min-width: 1100px) and (max-width: 1240px) {
  .zpbc-brand-long { display: none; }
  .zpbc-menu-list a { padding: .5rem .65rem; font-size: .95rem; }
}

/* telefon i tablet: hamburger + panel pod nagłówkiem */
@media (max-width: 1099.98px) {
  .zpbc-header-inner { min-height: 64px; }
  .zpbc-menu-toggle { display: inline-flex; }
  .zpbc-menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -20px rgba(21, 56, 38, .35);
  }
  .zpbc-menu.is-open .zpbc-menu-list { display: flex; }
  .zpbc-menu-list li + li { border-top: 1px solid var(--line); }
  .zpbc-menu-list a {
    padding: 1rem .25rem;
    border-radius: 0;
    font-size: 1.15rem;
    font-weight: 700;
    font-stretch: 108%;
  }
  .zpbc-menu-list a:hover { background: none; color: var(--leaf) !important; }
  .zpbc-menu-list a[aria-current="page"] {
    background: none;
    color: var(--leaf) !important;
    box-shadow: inset 4px 0 0 var(--sprout);
    padding-left: 1rem;
  }
}
.zpbc-menu-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .zpbc-brand-long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zpbc-burger::before, .zpbc-burger::after, .zpbc-burger span { transition: none; }
}

/* ---------- Hero ---------- */
.zpbc-hero {
  position: relative;
  background: var(--leaf);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.zpbc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/zpbc/burak-blur.jpg") center / cover no-repeat;
  opacity: .22;
  mix-blend-mode: luminosity;
}
.zpbc-hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(6rem, 12vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}
.zpbc-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-stretch: 125%;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 1.25rem;
  max-width: 22ch;
  text-wrap: balance;
}
.zpbc-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 2rem;
}
.zpbc-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.zpbc-hero-art { justify-self: end; }
.zpbc-hero-art img {
  width: min(100%, 340px);
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35));
}
@media (max-width: 767.98px) {
  .zpbc-hero-inner { grid-template-columns: 1fr; padding-bottom: 5rem; }
  .zpbc-hero-art { justify-self: center; order: -1; }
  .zpbc-hero-art img { width: 170px; }
  .zpbc-hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); font-stretch: 115%; }
}

/* ---------- Tablica cen (nachodzi na hero) ---------- */
.zpbc-top-a { position: relative; z-index: 2; margin-top: -4.5rem; }
.zpbc-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px -24px rgba(21, 56, 38, .45);
  overflow: hidden;
}
.zpbc-board-item { padding: 1.5rem 1.75rem; }
.zpbc-board-item + .zpbc-board-item { border-left: 1px solid var(--line); }
.zpbc-board-item--main { background: var(--root); }
.zpbc-board-label { margin: 0; font-weight: 700; font-size: .95rem; }
.zpbc-board-when { margin: .1rem 0 .75rem; color: var(--soil-muted); font-size: .9rem; }
.zpbc-board-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 850;
  font-stretch: 115%;
  line-height: 1;
  color: var(--leaf);
  font-variant-numeric: tabular-nums;
}
.zpbc-board-value small { font-size: .45em; font-weight: 700; color: var(--soil); margin-left: .2em; }
.zpbc-board-note { margin: .6rem 0 0; font-size: .88rem; color: var(--soil-muted); }
.zpbc-board-item a { font-weight: 700; }
@media (max-width: 767.98px) {
  .zpbc-board { grid-template-columns: 1fr; }
  .zpbc-board-item + .zpbc-board-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Kafle skrótów ---------- */
.zpbc-top-b { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.zpbc-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.zpbc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 1.4rem 1.4rem 1.25rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--soil) !important;
  transition: transform .15s ease;
}
.zpbc-tile:hover { transform: translateY(-3px); }
.zpbc-tile i { font-size: 1.6rem; margin-bottom: auto; }
.zpbc-tile strong { display: block; margin-top: 1.5rem; font-size: 1.25rem; font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.zpbc-tile span { display: block; margin-top: .3rem; font-size: .92rem; opacity: .8; }
.zpbc-tile--leaf { background: var(--leaf); color: #fff !important; }
.zpbc-tile--sprout { background: var(--sprout); color: var(--leaf-deep) !important; }
.zpbc-tile--root { background: var(--root); }
.zpbc-tile--soil { background: var(--soil); color: #fff !important; }
@media (max-width: 991.98px) { .zpbc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .zpbc-tile { min-height: 150px; padding: 1.1rem; } .zpbc-tile strong { font-size: 1.1rem; } }

/* ---------- Treść ---------- */
.zpbc-main { padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.zpbc-main .mod-breadcrumbs__wrapper { margin-bottom: 1.5rem; }
.zpbc-main .breadcrumb { background: none; padding: 0 !important; margin: 0; font-size: .9rem; }
.zpbc-main .mod-breadcrumbs__wrapper nav,
.zpbc-main .mod-breadcrumbs { padding: 0; margin: 0; }

.zpbc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.zpbc-section-head h1 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.is-home .zpbc-section-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- Aktualności: siatka kafli ---------- */
.zpbc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.zpbc-news-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sprout);
  border-radius: 6px 6px 16px 16px;
  overflow: hidden;
}
.zpbc-news-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.zpbc-news-media { aspect-ratio: 16 / 10; background: var(--root); overflow: hidden; }
.zpbc-news-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zpbc-news-tile.has-image { border-top-width: 1px; border-top-color: var(--line); }
.zpbc-news-tile.has-image .zpbc-news-body { padding-top: 1.1rem; }
.zpbc-news-tile.has-image .zpbc-news-day { font-size: 1.5rem; }
.zpbc-news-tile:hover { border-color: var(--leaf); border-top-color: var(--leaf); }
.zpbc-news-date { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .9rem; color: var(--soil-muted); }
.zpbc-news-day { font-size: 2.1rem; font-weight: 850; font-stretch: 115%; line-height: 1; color: var(--leaf); font-variant-numeric: tabular-nums; }
.zpbc-news-month { font-size: .92rem; font-weight: 600; }
.zpbc-news-title { margin: 0 0 .6rem; font-size: 1.12rem; font-stretch: 100%; font-weight: 750; line-height: 1.3; }
.zpbc-news-title a { color: var(--soil); text-decoration: none; }
.zpbc-news-title a::after { content: ""; position: absolute; inset: 0; }
.zpbc-news-title a:focus-visible { outline: none; }
.zpbc-news-tile:has(a:focus-visible) { outline: 3px solid var(--sprout); outline-offset: 2px; }
.zpbc-news-excerpt { margin: 0 0 1.25rem; color: var(--soil-muted); font-size: .97rem; }
.zpbc-news-more { margin-top: auto; font-weight: 700; color: var(--leaf); font-size: .95rem; }
.zpbc-news-tile:hover .zpbc-news-more { text-decoration: underline; }

.zpbc-news-tile--lead {
  grid-column: span 2;
  background: var(--root);
  border: 0;
  border-radius: 16px;
}
.zpbc-news-tile--lead .zpbc-news-body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.zpbc-news-tile--lead .zpbc-news-more { margin-top: .5rem; }
.zpbc-news-tile--lead:not(.has-image) {
  background: var(--root) url("/images/zpbc/burak.png") right -40px bottom -30px / min(46%, 340px) auto no-repeat;
}
.zpbc-news-tile--lead:not(.has-image) .zpbc-news-body { padding-right: min(40%, 300px); }
@media (max-width: 767.98px) {
  .zpbc-news-tile--lead:not(.has-image) { background-size: 150px auto; background-position: right -20px bottom -20px; }
  .zpbc-news-tile--lead:not(.has-image) .zpbc-news-body { padding-right: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 6rem; }
}
.zpbc-news-tile--lead.has-image { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.zpbc-news-tile--lead .zpbc-news-media { aspect-ratio: auto; min-height: 320px; }
.zpbc-news-tile--lead.has-image .zpbc-news-day { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
@media (max-width: 767.98px) {
  .zpbc-news-tile--lead.has-image { display: flex; }
  .zpbc-news-tile--lead .zpbc-news-media { aspect-ratio: 16 / 10; min-height: 0; }
}
.zpbc-news-tile--lead .zpbc-news-day { font-size: clamp(3rem, 6vw, 4.5rem); }
.zpbc-news-tile--lead .zpbc-news-month { font-size: 1.05rem; }
.zpbc-news-tile--lead .zpbc-news-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-stretch: 110%; font-weight: 800; line-height: 1.15; }
.zpbc-news-tile--lead .zpbc-news-excerpt { font-size: 1.05rem; color: var(--soil); max-width: 60ch; }

@media (max-width: 991.98px) {
  .zpbc-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .zpbc-news-grid { grid-template-columns: 1fr; }
  .zpbc-news-tile--lead { grid-column: auto; }
}

.zpbc-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.zpbc-pagination .pagination { margin: 0; gap: .35rem; flex-wrap: wrap; }
.zpbc-pagination .page-link {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px !important;
  border: 1px solid var(--line);
  color: var(--soil);
  font-weight: 600;
}
.zpbc-pagination .page-item.active .page-link { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.zpbc-pagination .page-item.disabled .page-link { opacity: .45; }
.zpbc-pagination-counter { margin: 0; color: var(--soil-muted); font-size: .92rem; }

/* ---------- Artykuł i podstrony ---------- */
.zpbc .com-content-article { max-width: 820px; }
.zpbc .com-content-article .page-header h1,
.zpbc .com-content-article .page-header h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 .75rem;
}
.zpbc .com-content-article .article-info {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin: 0 0 1.75rem;
  color: var(--soil-muted);
  font-size: .92rem;
}
.zpbc .article-info .article-info-term { display: none; }
.zpbc .article-info dd { margin: 0; }
.zpbc .com-content-article__body { font-size: 1.08rem; line-height: 1.7; }
.zpbc .com-content-article__body > p:first-child { font-size: 1.2rem; color: var(--soil); }
.zpbc .com-content-article__body h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
.zpbc .com-content-article__body h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.zpbc .com-content-article__body img { max-width: 100%; height: auto; border-radius: 12px; }
.zpbc .com-content-article .item-image { float: none; margin: 0 0 1.75rem; max-width: 100%; }
.zpbc .com-content-article .item-image img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; }
.zpbc .com-content-article__body table { max-width: 100%; }
.zpbc .com-content-article__body ol li,
.zpbc .com-content-article__body ul li { margin-bottom: .4rem; }
.zpbc .pagenavigation { margin-top: 3rem; }
.zpbc .pagenavigation .pagination { justify-content: space-between; gap: 1rem; }
.zpbc .pagenavigation .btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem 1.1rem;
  color: var(--leaf);
  font-weight: 600;
  background: var(--white);
}
.zpbc .pagenavigation .btn:hover { background: var(--sprout-soft); }

/* treści przeniesione ze starej strony (Bootstrap) */
.zpbc .bold { font-weight: 700; }
.zpbc .mb-3 { margin-bottom: 1rem; }
.zpbc .mt-3 { margin-top: 1rem; }
.zpbc .mt-5 { margin-top: 1rem; }
.zpbc .small { font-size: .9rem; }
.zpbc .com-content-article__body .row { row-gap: 0; }

/* strony z układem kolumnowym (O Związku, Władze, Kontakt) na pełną szerokość */
.zpbc .com-content-article:has(.com-content-article__body .row) { max-width: none; }
.zpbc .com-content-article__body .row > [class*="col-"] img { width: 100%; }

/* Władze: karty osób */
.zpbc .com-content-article__body .card {
  height: 100%;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sprout);
  border-radius: 6px 16px 16px 6px;
  background: var(--white);
}
.zpbc .com-content-article__body .card .card-body { padding: 1.25rem 1.4rem; font-size: 1rem; }
.zpbc .com-content-article__body .card .bold { font-size: 1.15rem; font-weight: 800; font-stretch: 108%; }
.zpbc .com-content-article__body .card .text-muted { color: var(--leaf) !important; font-weight: 600; font-size: .95rem; }
.zpbc .com-content-article__body .card i { color: var(--soil-muted); width: 1.25em; }
.zpbc .com-content-article__body .card a[href^="tel:"] { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* Kontakt */
.itemid-107 .com-content-article { max-width: none; }
.zpbc .zpbc-map { width: 100%; height: 340px; border: 0; border-radius: 16px; background: var(--root); }
.zpbc .com-content-article__body h4 { font-size: 1.3rem; }

/* Statut: wyśrodkowane paragrafy § */
.zpbc .com-content-article__body p[style*="center"] strong { font-stretch: 110%; }

/* ---------- Stopka ---------- */
.zpbc-footer { background: var(--leaf-deep); color: rgba(255, 255, 255, .85); margin-top: 0; }
.zpbc-footer a { color: #fff; }
.zpbc-footer a:hover { color: var(--sprout); }
.zpbc-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: 3rem 2rem;
}
.zpbc-footer h3, .zpbc-footer .zpbc-footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-stretch: 110%;
  margin: 0 0 .9rem;
}
.zpbc-footer p { margin: 0 0 .5rem; }
.zpbc-footer .mod-menu { display: flex; flex-direction: column; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.zpbc-footer .mod-menu .nav-item { padding: 0; margin: 0; }
.zpbc-footer .mod-menu .nav-item a { padding: 0; text-decoration: none; }
.zpbc-footer .mod-menu .nav-item a:hover,
.zpbc-footer .mod-menu .nav-item a[aria-current] { text-decoration: underline; }
.zpbc-footer .moduletable,
.zpbc-footer .mod-custom { margin: 0; }
.zpbc-copyright {
  padding-block: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
}
@media (max-width: 767.98px) { .zpbc-footer-inner { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.zpbc-cookies {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem .9rem 1.25rem;
  background: var(--soil);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  font-size: .92rem;
}
.zpbc-cookies[hidden] { display: none; }
.zpbc-cookies p { margin: 0; }
.zpbc-cookies .zpbc-btn { min-height: 40px; padding: .5rem 1.1rem; white-space: nowrap; }
@media (max-width: 520px) { .zpbc-cookies { flex-direction: column; align-items: stretch; } }

.zpbc .back-to-top-link { background: var(--leaf); }

@media (prefers-reduced-motion: reduce) {
  .zpbc-tile { transition: none; }
  .zpbc-tile:hover { transform: none; }
}
