/*
Theme Name: Świetlica Lipa
Theme URI: https://kampinosswietlica.pl/
Author: Darek
Description: Motyw strony Świetlicy Środowiskowej „Lipa” z Oddziałami Specjalistycznymi w Łazach. Ostatnie poprawki: krótkie adresy i przekierowania po Joomla, spójne przyciski „Czytaj więcej”, czytelniejsza paginacja „Więcej aktualności”, dopracowana sekcja ważnej informacji, galerie, lightbox, formularz i wersja mobilna.
Version: 1.10.78
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: lipa-2026
*/

:root {
  --leaf: #4caf39;
  --leaf-deep: #287a3e;
  --sprout: #a8d531;
  --water: #2fb3c4;
  --wood: #86512d;
  --sun: #f4c84a;
  --ink: #17332a;
  --muted: #597064;
  --paper: #fbfff8;
  --surface: #ffffff;
  --line: #dbe8d3;
  --shadow: 0 22px 60px rgba(23, 51, 42, .12);
  --radius: 8px;
  --wrap: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover {
  color: #12526a;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 51, 42, .08);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(22px) saturate(1.2);
}

.header-inner {
  width: var(--wrap);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 370px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 112px;
  max-width: 24vw;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 900;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.25;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(23, 51, 42, .15);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: block;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  background: #e4f5db;
  color: var(--leaf-deep);
}

.primary-nav .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 240px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 50px rgba(23, 51, 42, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  font-size: .9rem;
  white-space: normal;
}

.primary-nav li:has(.sub-menu) > a::after,
.primary-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: .45em;
  height: .45em;
  margin-left: .55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.16em) rotate(45deg);
  transition: transform .18s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 16%, rgba(47, 179, 196, .2), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(168, 213, 49, .26), transparent 30%),
    linear-gradient(135deg, #f7fff1 0%, #ffffff 52%, #eef9f5 100%);
  border-bottom: 0;
  color: var(--ink);
}

.hero-inner {
  width: var(--wrap);
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin: 0 auto;
  padding: 38px 0 54px;
}

.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
}

.home-intro {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 210px;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 38px);
}

.home-intro-logo {
  flex: 0 0 clamp(110px, 18vw, 190px);
}

.home-intro-logo img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--leaf-deep);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sun);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 4.7rem);
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #315247;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--sun);
  color: #183327;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.post-card .button,
.news-row .button {
  min-height: 42px;
  padding: 10px 15px;
}

.button:hover {
  transform: translateY(-1px);
  color: #183327;
  background: #ffd85e;
}

.button.secondary {
  background: #fff;
  border-color: rgba(23, 51, 42, .14);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 51, 42, .06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #f7fff1;
  border-color: rgba(40, 122, 62, .24);
  box-shadow: 0 12px 24px rgba(23, 51, 42, .1);
}

.hero-panel {
  align-self: stretch;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #17332a;
  box-shadow: var(--shadow);
  padding: 22px;
  color: #fff;
}

.hero-panel::before {
  content: "Najważniejsze";
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sun);
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-panel dt {
  color: #b7d3c8;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 3px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.home-news-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 18px;
}

.home-news-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.home-news-title p {
  margin: 0;
  color: var(--muted);
}

.newsroom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 20px;
}

.featured-news {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 51, 42, .1);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.featured-news > * {
  min-width: 0;
}

.featured-news:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 122, 62, .22);
  box-shadow: 0 22px 54px rgba(23, 51, 42, .14);
}

.featured-news .thumb {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  align-self: stretch;
  background: linear-gradient(135deg, #f7fff1, #edf8e8);
  overflow: hidden;
}

.featured-news .thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  transition: transform .45s ease;
}

.featured-news:hover .thumb img {
  transform: scale(1.035);
}

.featured-news .post-body {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 32px);
  background: #fff;
  position: relative;
  z-index: 1;
}

.featured-news h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  line-height: 1.16;
  font-family: "Lora", Georgia, serif;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.featured-news h3 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  line-height: 1.16;
  font-family: "Lora", Georgia, serif;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.featured-news p {
  color: var(--muted);
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-stack {
  display: grid;
  gap: 16px;
}

.mini-news {
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 51, 42, .08);
  padding: 22px;
}

.mini-news h2,
.mini-news h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.mini-news p {
  margin: 0;
  color: var(--muted);
}

.news-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 12%, rgba(47, 179, 196, .18), transparent 32%),
    radial-gradient(circle at 12% 6%, rgba(168, 213, 49, .24), transparent 28%),
    linear-gradient(140deg, #f7fff1 0%, #ffffff 50%, #eef9f5 100%);
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
}

.summary-brand,
.summary-contact {
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.summary-brand {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.summary-brand img {
  width: clamp(110px, 15vw, 170px);
  max-height: 150px;
  object-fit: contain;
  flex: 0 0 auto;
}

.summary-brand h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: .95;
  letter-spacing: 0;
  font-family: "Lora", Georgia, serif;
}

.summary-brand p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #315247;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.summary-contact,
.summary-social {
  padding: 24px;
  background: #17332a;
  color: #fff;
}

.summary-contact strong {
  display: block;
  margin-bottom: 14px;
  color: var(--sun);
  text-transform: uppercase;
}

.summary-contact p {
  margin: 0 0 10px;
}

.summary-contact a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.summary-social {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  padding: 20px 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(47, 179, 196, .34), transparent 30%),
    linear-gradient(135deg, #17332a 0%, #12526a 100%);
}

.summary-social::after {
  content: "f";
  position: absolute;
  right: 18px;
  bottom: -58px;
  color: rgba(255, 255, 255, .08);
  font-family: Arial, sans-serif;
  font-size: 16rem;
  font-weight: 900;
  line-height: 1;
}

.summary-social > * {
  position: relative;
  z-index: 1;
}

.social-kicker {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  padding: 7px 12px;
  color: #d8f3ff;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-social h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.05;
}

.summary-social p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.45;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 36px;
  border-radius: var(--radius);
  background: #fff;
  color: #12526a;
  padding: 7px 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.social-button:hover {
  transform: translateY(-1px);
  color: #17332a;
  background: #d8f3ff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.news-home {
  padding: 22px 0 72px;
}

.important-notice {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(40, 122, 62, .24);
  border-left: 6px solid var(--sun);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 200, 74, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 255, 241, .92));
  box-shadow: 0 18px 42px rgba(23, 51, 42, .11);
}

.important-notice::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  position: absolute;
  left: 18px;
  top: 50%;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgba(244, 200, 74, .36);
  color: #6d5512;
  transform: translateY(-50%);
  font-weight: 900;
}

.important-notice.has-image {
  grid-template-columns: minmax(0, auto) 118px minmax(0, 1fr) auto;
}

.important-notice-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-left: 34px;
  border-radius: 999px;
  background: rgba(244, 200, 74, .32);
  color: #6d5512;
  padding: 7px 11px;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.important-notice-thumb {
  display: block;
  width: 118px;
  height: 86px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5f2dd;
}

.important-notice-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.important-notice-body {
  min-width: 0;
}

.important-notice h2 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.2;
}

.important-notice h2 a {
  color: var(--ink);
  text-decoration: none;
}

.important-notice h2 a:hover {
  color: var(--leaf-deep);
}

.important-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.important-notice-link {
  white-space: nowrap;
}

.news-top {
  display: block;
  margin-bottom: 16px;
}

.news-top .section-head {
  position: relative;
  overflow: hidden;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
  border: 1px solid rgba(23, 51, 42, .09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 179, 196, .11), transparent 28%),
    rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(23, 51, 42, .07);
  padding: clamp(12px, 1.6vw, 16px);
}

.news-top .section-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.news-top-compact {
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-bottom: 20px;
}

.news-top-compact .section-head {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
}

.news-top-compact .section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 18px;
  align-items: start;
}

.news-main {
  min-width: 0;
}

.news-list {
  display: grid;
  gap: 13px;
}

.news-row {
  position: relative;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 51, 42, .075);
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.news-row:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 122, 62, .22);
  box-shadow: 0 18px 42px rgba(23, 51, 42, .12);
}

.news-row.has-media {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
}

.news-row .thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5f2dd;
}

.news-row .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-row h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  line-height: 1.18;
  font-weight: 900;
}

.news-row h3 a,
.featured-news h3 a {
  color: var(--ink);
  text-decoration: none;
}

.news-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.news-row .post-actions {
  margin-top: 14px;
}

.band {
  padding: 82px 0;
}

.band.alt {
  background:
    linear-gradient(180deg, #f1faec 0%, #fbfff8 100%);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2,
.content h1,
.archive-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.quick-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-card,
.post-card {
  position: relative;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(23, 51, 42, .08);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.quick-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 122, 62, .22);
  box-shadow: 0 26px 60px rgba(23, 51, 42, .14);
}

.quick-card {
  padding: 24px;
  border-top: 5px solid var(--leaf);
}

.quick-card h3,
.post-card h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.25;
  font-weight: 900;
}

.quick-card p,
.post-card p {
  color: var(--muted);
}

.post-card a {
  color: var(--ink);
  text-decoration: none;
}

.post-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef7ea;
  overflow: hidden;
}

.post-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #eef7ea;
  transition: transform .42s ease;
}

.post-card:hover .thumb img {
  transform: scale(1.035);
}

.post-card .post-body {
  padding: 24px;
}

.post-card .post-actions {
  margin-top: 18px;
}

.post-meta {
  margin-bottom: 10px;
  color: var(--leaf-deep);
  font-size: .86rem;
  font-weight: 800;
}

.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.post-meta-line .post-meta {
  margin-bottom: 0;
}

.post-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid rgba(40, 122, 62, .14);
  border-radius: 999px;
  background: #eef8e9;
  color: var(--leaf-deep);
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: normal;
}

.layout {
  width: var(--wrap);
  display: grid;
  grid-template-columns: minmax(0, 790px) 320px;
  gap: 46px;
  margin: 0 auto;
  padding: 68px 0;
}

.layout-wide {
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
}

.content {
  min-width: 0;
}

.content article,
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(23, 51, 42, .09);
}

.content article {
  position: relative;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
}

.content article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf), var(--water), var(--sun));
}

.content .entry-content {
  margin-top: 26px;
  color: #294a3e;
  font-size: 1.08rem;
}

.lipa-standard-page .content article {
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 213, 49, .09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(251, 255, 248, .96));
}

.lipa-polished-page .content article > h1 {
  max-width: 820px;
  margin-bottom: 20px;
}

.lipa-polished-page .content article > h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--water), var(--sun));
}

.lipa-polished-page .entry-content > p:first-child {
  border: 1px solid rgba(40, 122, 62, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 30px rgba(23, 51, 42, .055);
  padding: 18px 20px;
}

.lipa-polished-page .entry-content > p:first-child {
  margin-top: 0;
}

.lipa-polished-page .entry-content > ul,
.lipa-polished-page .entry-content > ol {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  padding: 18px 20px 18px 42px;
}

.entry-content h2,
.entry-content h3 {
  line-height: 1.2;
  margin: 1.7em 0 .65em;
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
}

.entry-content p {
  margin: 0 0 1.15em;
}

.entry-content a {
  font-weight: 800;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35em;
  margin: 0 0 1.35em;
}

.entry-content li + li {
  margin-top: .4em;
}

.entry-content img {
  display: block;
  width: auto;
  max-height: 760px;
  margin: 1.5em auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(23, 51, 42, .12);
}

.entry-content .gallery,
.entry-content .wp-block-gallery,
.entry-content .lipa-folder-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 1.7em 0;
}

.entry-content .gallery br {
  display: none;
}

.entry-content .gallery-item,
.entry-content .wp-block-gallery figure {
  margin: 0;
}

.entry-content .gallery a,
.entry-content .wp-block-gallery a,
.entry-content .lipa-folder-gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5f2dd;
  box-shadow: 0 12px 30px rgba(23, 51, 42, .1);
}

.entry-content .gallery img,
.entry-content .wp-block-gallery img,
.entry-content .lipa-folder-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  max-height: none;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  object-fit: cover;
  transition: transform .28s ease;
}

.pdf-poster,
.poster-visual {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fff1;
  padding: clamp(12px, 2vw, 18px);
  box-shadow: 0 18px 44px rgba(23, 51, 42, .1);
}

.pdf-poster a,
.poster-visual a {
  display: block;
}

.pdf-poster img,
.poster-visual img {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin: 0 auto;
  border-radius: calc(var(--radius) - 4px);
  background: #fff;
}

.pdf-poster-embed iframe {
  display: block;
  width: min(100%, 860px);
  height: min(78vh, 920px);
  min-height: 560px;
  margin: 0 auto;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: #fff;
}

.pdf-poster-embed p {
  margin: 14px auto 0;
  width: min(100%, 860px);
}

.entry-content .gallery a:hover img,
.entry-content .wp-block-gallery a:hover img,
.entry-content .lipa-folder-gallery a:hover img {
  transform: scale(1.035);
}

.gallery-caption,
.wp-block-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.entry-content blockquote {
  margin: 1.6em 0;
  border-left: 5px solid var(--leaf);
  border-radius: var(--radius);
  background: #f1faec;
  padding: 18px 22px;
  color: #315247;
}

.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.6em 0;
  overflow: hidden;
  border: 1px solid rgba(23, 51, 42, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 51, 42, .08);
}

.entry-content th,
.entry-content td {
  border: 0;
  border-bottom: 1px solid rgba(23, 51, 42, .12);
  border-right: 1px solid rgba(23, 51, 42, .08);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.entry-content tr:first-child td,
.entry-content th {
  background: #e9f7df;
  color: var(--ink);
  font-weight: 900;
}

.entry-content tr:nth-child(even) td {
  background: #fbfff8;
}

.entry-content tr:last-child td {
  border-bottom: 0;
}

.entry-content td:last-child,
.entry-content th:last-child {
  border-right: 0;
}

.entry-content table p {
  margin: 0 0 .35em;
}

.entry-content table p:last-child {
  margin-bottom: 0;
}

.download-list ul,
.useful-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.download-list ul {
  padding: 0;
  list-style: none;
}

.download-list a,
.useful-links article {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(23, 51, 42, .08);
  text-decoration: none;
}

.download-list a {
  color: var(--ink);
}

.file-format {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  border-radius: 999px;
  background: #e4f5db;
  color: var(--leaf-deep);
  padding: 2px 8px;
  font-size: .78rem;
  font-weight: 900;
}

.useful-links article h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.useful-links article p {
  margin: 0;
}

.structured-content h2 {
  margin-top: 1.8em;
}

.structured-content h3 {
  margin-top: 1.35em;
  color: var(--leaf-deep);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.staff-page {
  display: grid;
  gap: 20px;
}

.staff-intro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(47, 179, 196, .14), transparent 28%),
    linear-gradient(135deg, rgba(241, 250, 236, .95), #fff);
  box-shadow: 0 18px 44px rgba(23, 51, 42, .08);
  padding: clamp(22px, 3.2vw, 34px);
}

.staff-intro .eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  border-radius: 999px;
  background: rgba(40, 122, 62, .12);
  padding: 8px 13px;
  color: var(--leaf-deep);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-intro h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.staff-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 51, 42, .11);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(23, 51, 42, .08);
  padding: 24px;
}

.staff-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--leaf), var(--water), var(--sun));
}

.staff-card-lead {
  background: linear-gradient(180deg, #fff, rgba(241, 250, 236, .88));
}

.staff-card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(40, 122, 62, .12);
  color: var(--leaf-deep);
  font-weight: 900;
}

.staff-role {
  margin: 0 0 8px;
  color: var(--leaf-deep);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.15;
}

.staff-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.staff-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(40, 122, 62, .16);
  border-radius: var(--radius);
  background: rgba(241, 250, 236, .72);
  padding: 18px 20px;
  color: var(--muted);
}

.staff-note strong {
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
  gap: 22px;
  align-items: start;
  margin-top: 38px;
}

.contact-card {
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 255, 241, .94));
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 44px rgba(23, 51, 42, .09);
}

.contact-card.accent {
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 179, 196, .25), transparent 34%),
    linear-gradient(145deg, #17332a 0%, #1f5b4e 100%);
  color: #fff;
}

.contact-card.accent h2,
.contact-card.accent label,
.contact-card.accent .checkbox-row,
.contact-card.accent .form-rodo {
  color: #f6fff1;
}

.contact-card.accent small {
  color: rgba(246, 255, 241, .75);
}

.contact-card h2 {
  margin: 0 0 18px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.contact-card p {
  margin: 0 0 10px;
}

.contact-card.accent p {
  color: rgba(255, 255, 255, .82);
}

.contact-card.accent a {
  color: #d8f6c9;
}

.contact-card a {
  font-weight: 900;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  border-top: 1px solid rgba(23, 51, 42, .1);
  padding-top: 14px;
}

.contact-list dt {
  margin: 0 0 4px;
  color: var(--leaf-deep);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-card-details .section-kicker {
  color: var(--leaf-deep);
}

.contact-card-form .section-kicker {
  color: #cdeec1;
}

.not-found-page {
  width: var(--wrap);
  min-height: 58vh;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 80px 0;
}

.not-found-card {
  max-width: 720px;
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.not-found-card h1 {
  margin: 0 0 14px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.not-found-card p {
  color: var(--muted);
}

.not-found-card .post-actions {
  justify-content: center;
}

.legacy-page-nav {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legacy-page-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-page-nav li {
  margin: 0;
}

.legacy-page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(23, 51, 42, .12);
  border-radius: var(--radius);
  background: #f7fff1;
  color: var(--ink);
  padding: 9px 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 51, 42, .08);
}

.legacy-page-nav a:hover {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: #fff;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.sidebar-box {
  padding: 22px;
}

.sidebar-box h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.sidebar-box p,
.sidebar-box li {
  color: var(--muted);
}

.footer {
  background:
    linear-gradient(135deg, #17332a 0%, #194f45 100%);
  color: #eaf6e3;
}

.footer-inner {
  width: var(--wrap);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr) minmax(220px, .7fr);
  gap: 34px;
  margin: 0 auto;
  padding: 46px 0 34px;
}

.footer a {
  color: #cdeec1;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-brand img {
  width: 128px;
  max-width: 34vw;
  height: auto;
  max-height: 66px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand strong {
  display: block;
  max-width: 560px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
  color: rgba(234, 246, 227, .78);
}

.footer-contact h2,
.footer-nav h2 {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact p {
  margin: 0 0 8px;
}

.footer-contact a {
  font-weight: 900;
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-weight: 800;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(234, 246, 227, .16);
}

.footer-bottom .wrap {
  padding: 16px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
}

.accessibility-panel {
  position: fixed;
  right: 0;
  top: 42vh;
  z-index: 120;
  display: grid;
  gap: 1px;
  padding: 0;
  border: 1px solid rgba(23, 51, 42, .16);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 51, 42, .18);
  overflow: visible;
}

.floating-facebook {
  position: fixed;
  right: 0;
  top: calc(42vh - 58px);
  z-index: 121;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 42px;
  border: 1px solid rgba(23, 51, 42, .16);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #12526a;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(23, 51, 42, .18);
  overflow: hidden;
  transition: max-width .22s ease, background .2s ease, color .2s ease;
}

.floating-facebook::before {
  content: "f";
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.floating-facebook span {
  padding: 0 15px 0 2px;
  white-space: nowrap;
}

.floating-facebook:hover,
.floating-facebook:focus-visible {
  max-width: 150px;
  background: #17332a;
  color: #fff;
  outline: 2px solid #fff;
}

.accessibility-panel button,
.cookie-actions button,
.contact-form button {
  cursor: pointer;
}

.accessibility-panel button {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.accessibility-panel button:first-child {
  border-radius: 11px 0 0 0;
}

.accessibility-panel button:last-child {
  border-radius: 0 0 0 11px;
}

.accessibility-panel button::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  z-index: 2;
  width: max-content;
  max-width: min(280px, calc(100vw - 76px));
  padding: 9px 12px;
  border: 1px solid rgba(23, 51, 42, .18);
  border-radius: 7px;
  background: #17332a;
  color: #fff;
  box-shadow: 0 10px 26px rgba(23, 51, 42, .2);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.accessibility-panel button:hover::after,
.accessibility-panel button:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.accessibility-panel button + button {
  border-top: 1px solid rgba(23, 51, 42, .12);
}

.accessibility-panel button:hover,
.accessibility-panel button:focus-visible {
  background: var(--leaf-deep);
  color: #fff;
  outline: none;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  width: min(920px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(23, 51, 42, .14);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(23, 51, 42, .2);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 6px;
  color: #315247;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.cookie-actions button:first-child {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.lipa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 22px);
  background: rgba(7, 20, 16, .82);
}

.lipa-lightbox[hidden] {
  display: none;
}

.lipa-lightbox figure {
  margin: 0;
  max-width: min(1380px, 96vw);
  max-height: 94vh;
}

.lipa-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.lipa-lightbox figcaption {
  display: none;
}

.lipa-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lipa-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 101;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.lipa-lightbox-prev {
  left: 18px;
}

.lipa-lightbox-next {
  right: 18px;
}

body.has-lightbox-open {
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: inherit;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
}

.contact-form input[type="file"] {
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(211, 238, 81, .45);
  border-color: #d3ee51;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

.form-rodo,
.form-notice {
  margin: 0;
  font-size: .95rem;
}

.form-notice {
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 900;
  line-height: 1.55;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.form-notice small {
  display: block;
  margin-top: 6px;
  font-size: .88rem;
  font-weight: 800;
}

.form-notice.success {
  background: #e5f8d4;
  color: #17332a;
  border: 2px solid #9bd36f;
}

.form-notice.error {
  background: #fff1ea;
  color: #7a1f12;
  border: 2px solid #e18b78;
}

.contact-card.accent .form-notice {
  color: #17332a;
}

.contact-card.accent .form-notice.success {
  background: #e5f8d4;
  color: #17332a;
  border-color: #9bd36f;
}

.contact-card.accent .form-notice.error {
  background: #fff1ea;
  color: #7a1f12;
  border-color: #e18b78;
}

.contact-card.accent .form-notice small {
  color: inherit;
  opacity: .9;
}

.text-scale-large body {
  font-size: 18px;
}

.text-scale-small body {
  font-size: 15px;
}

.is-high-contrast body {
  --ink: #ffffff;
  --muted: #f5f5f5;
  --paper: #000000;
  --surface: #000000;
  --line: #ffffff;
  --leaf-deep: #ffff00;
  --leaf: #ffff00;
  --sun: #ffff00;
  background: #000;
  color: #fff;
}

.is-high-contrast,
.is-high-contrast body,
.is-high-contrast main,
.is-high-contrast .layout,
.is-high-contrast .hero,
.is-high-contrast .hero-grid,
.is-high-contrast .section,
.is-high-contrast .wrap,
.is-high-contrast .news-home,
.is-high-contrast .news-top,
.is-high-contrast .news-layout,
.is-high-contrast .news-list {
  background: #000 !important;
  color: #fff !important;
}

.is-high-contrast .site-header,
.is-high-contrast #wpadminbar,
.is-high-contrast #wpadminbar *,
.is-high-contrast .primary-nav,
.is-high-contrast .primary-nav ul,
.is-high-contrast .primary-nav li,
.is-high-contrast .primary-nav .sub-menu,
.is-high-contrast .primary-nav .children,
.is-high-contrast .content,
.is-high-contrast .page,
.is-high-contrast .entry-content,
.is-high-contrast .hero-main,
.is-high-contrast .section-head,
.is-high-contrast .news-top .section-head,
.is-high-contrast .summary-social,
.is-high-contrast .summary-contact,
.is-high-contrast .post-card,
.is-high-contrast .post-card .post-body,
.is-high-contrast .post-card .post-content,
.is-high-contrast .post-card.featured,
.is-high-contrast .post-card.compact,
.is-high-contrast .quick-card,
.is-high-contrast .contact-card,
.is-high-contrast .featured-news,
.is-high-contrast .featured-news .post-body,
.is-high-contrast .featured-news .thumb,
.is-high-contrast .news-row,
.is-high-contrast .news-row .row-body,
.is-high-contrast .news-row .thumb,
.is-high-contrast .download-list,
.is-high-contrast .download-list ul,
.is-high-contrast .download-list li,
.is-high-contrast .download-list a,
.is-high-contrast .file-format,
.is-high-contrast .useful-links article,
.is-high-contrast .pdf-poster,
.is-high-contrast .poster-visual,
.is-high-contrast .footer,
.is-high-contrast .footer-inner,
.is-high-contrast .footer-brand,
.is-high-contrast .footer-contact,
.is-high-contrast .footer-nav,
.is-high-contrast .footer-bottom,
.is-high-contrast .floating-facebook,
.is-high-contrast .accessibility-panel,
.is-high-contrast .cookie-banner,
.is-high-contrast .nav-links a,
.is-high-contrast input,
.is-high-contrast textarea {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

.is-high-contrast .primary-nav .sub-menu,
.is-high-contrast .primary-nav .children {
  background: #000 !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

.is-high-contrast .primary-nav .sub-menu a,
.is-high-contrast .primary-nav .children a {
  background: #000 !important;
  color: #ffff00 !important;
}

.is-high-contrast .primary-nav .sub-menu a:hover,
.is-high-contrast .primary-nav .sub-menu a:focus-visible,
.is-high-contrast .primary-nav .children a:hover,
.is-high-contrast .primary-nav .children a:focus-visible {
  background: #ffff00 !important;
  color: #000 !important;
  outline: 2px solid #fff !important;
}

.is-high-contrast .primary-nav a:hover,
.is-high-contrast .primary-nav a:focus-visible,
.is-high-contrast .primary-nav .current-menu-item > a,
.is-high-contrast .primary-nav .current-menu-ancestor > a,
.is-high-contrast .primary-nav .current_page_item > a,
.is-high-contrast .primary-nav .current_page_ancestor > a {
  background: #ffff00 !important;
  color: #000 !important;
  outline: 2px solid #fff !important;
}

.is-high-contrast h1,
.is-high-contrast h2,
.is-high-contrast h3,
.is-high-contrast h4,
.is-high-contrast p,
.is-high-contrast li,
.is-high-contrast dt,
.is-high-contrast dd,
.is-high-contrast span,
.is-high-contrast small,
.is-high-contrast .meta,
.is-high-contrast .excerpt,
.is-high-contrast .section-kicker,
.is-high-contrast .brand-text,
.is-high-contrast .brand-text strong,
.is-high-contrast .brand-text span,
.is-high-contrast .entry-content,
.is-high-contrast .contact-list dd,
.is-high-contrast .contact-card.accent p,
.is-high-contrast .contact-card.accent label,
.is-high-contrast .contact-card.accent .checkbox-row,
.is-high-contrast .contact-card.accent .form-rodo,
.is-high-contrast .featured-news p,
.is-high-contrast .news-row p,
.is-high-contrast .post-card p,
.is-high-contrast .quick-card p,
.is-high-contrast .summary-social p,
.is-high-contrast .footer p {
  color: #fff !important;
}

.is-high-contrast .pdf-poster img,
.poster-visual img {
  background: #fff !important;
  border: 1px solid #fff;
}

.is-high-contrast #wpadminbar {
  background: #000 !important;
  border-bottom: 1px solid #fff !important;
}

.is-high-contrast #wpadminbar a,
.is-high-contrast #wpadminbar .ab-item {
  color: #ffff00 !important;
}

.is-high-contrast .download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #000 !important;
  color: #ffff00 !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

.is-high-contrast .download-list a:hover,
.is-high-contrast .download-list a:focus-visible {
  background: #ffff00 !important;
  color: #000 !important;
  outline: 3px solid #fff !important;
}

.is-high-contrast .file-format {
  flex: 0 0 auto;
  background: #ffff00 !important;
  color: #000 !important;
  border: 1px solid #ffff00 !important;
}

.is-high-contrast .download-list a:hover .file-format,
.is-high-contrast .download-list a:focus-visible .file-format {
  background: #000 !important;
  color: #ffff00 !important;
  border-color: #000 !important;
}

.is-high-contrast .footer {
  background: #000 !important;
  background-image: none !important;
  border-top: 2px solid #fff !important;
}

.is-high-contrast .footer-brand img {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  box-shadow: none !important;
}

.is-high-contrast .accessibility-panel button::after {
  background: #000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
  box-shadow: none !important;
}

.is-high-contrast .footer-contact h2,
.is-high-contrast .footer-nav h2 {
  color: #fff !important;
}

.is-high-contrast .section-head h1,
.is-high-contrast .section-head h2,
.is-high-contrast .news-top .section-head h1,
.is-high-contrast .news-top .section-head h2 {
  color: #fff !important;
}

.is-high-contrast a,
.is-high-contrast .footer a,
.is-high-contrast .primary-nav a,
.is-high-contrast .post-card h2,
.is-high-contrast .post-card h3,
.is-high-contrast .news-row h2,
.is-high-contrast .news-row h3,
.is-high-contrast .featured-news h2,
.is-high-contrast .featured-news h3,
.is-high-contrast .featured-news h3 a,
.is-high-contrast .news-row h3 a,
.is-high-contrast .post-card h2 a,
.is-high-contrast .post-card time,
.is-high-contrast .news-row time,
.is-high-contrast .post-meta {
  color: #ffff00 !important;
}

.is-high-contrast .button,
.is-high-contrast button,
.is-high-contrast .button-primary {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.is-high-contrast .button:hover,
.is-high-contrast button:hover,
.is-high-contrast .button:focus-visible,
.is-high-contrast button:focus-visible {
  background: #fff !important;
  color: #000 !important;
  outline: 3px solid #ffff00 !important;
}

.is-high-contrast .floating-facebook {
  background: #ffff00 !important;
  color: #000 !important;
  border: 2px solid #fff !important;
  border-right: 0 !important;
}

.is-high-contrast .floating-facebook:hover,
.is-high-contrast .floating-facebook:focus-visible {
  background: #fff !important;
  color: #000 !important;
  outline: 3px solid #ffff00 !important;
}

.is-high-contrast img {
  background: #fff;
}

.is-high-contrast .featured-news {
  background: #000 !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

.is-high-contrast .featured-news > *,
.is-high-contrast .featured-news .thumb,
.is-high-contrast .featured-news .post-body {
  background: #000 !important;
  background-image: none !important;
}

.is-high-contrast .featured-news .thumb {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid #fff;
}

.is-high-contrast .featured-news .thumb img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  padding: 0;
  border: 1px solid #fff;
  object-fit: contain;
  background: #fff !important;
}

.is-high-contrast .site-logo,
.is-high-contrast .custom-logo-link,
.is-high-contrast .brand img {
  background: transparent !important;
}

.is-high-contrast .thumb img,
.is-high-contrast .featured-news .thumb img,
.is-high-contrast .news-row .thumb img,
.is-high-contrast .post-card .thumb img {
  border: 1px solid #fff;
}

.is-high-contrast .summary-social::after {
  opacity: .08;
}

.is-high-contrast .important-notice,
.is-high-contrast .important-notice-body,
.is-high-contrast .post-label {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

.is-high-contrast .important-notice-kicker,
.is-high-contrast .post-label {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.is-high-contrast .important-notice h2 a,
.is-high-contrast .important-notice p {
  color: #fff !important;
}

.is-high-contrast .important-notice-link {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.is-high-contrast body::after {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  right: clamp(10px, 2.4vw, 30px);
  bottom: 10vh;
  z-index: 0;
  width: 58px;
  height: 61px;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA9CAYAAAD8vnqQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMVSURBVGhD5ZvRbcMgEIY7QkfoCJkAZYSO0BE6QkaoxAIdISPkjdeO0BG6gasfYQvusI0Nd9jtwxdViWv4zN2BcfI0DMPTf4C9oYl15tk6c7XOvFlnbtaZD+vMI2JY4Isci/8HOBfO+RK3xRqXJHQAnblbZ74znZfgExeUdaYluKrWmfcgRjugyZ11rpYQjpBDaNEGu8E6upcQlggT1sgRYB3einXmtaBwdId1vJQwgocKzyWYwBrWmcsZRpDwxUTmCEUG8xw9yRl4MKEcIUy15j0J1kXDBE//8WzcmFgkiFA9Wy7OkRcNK5rTVNQCrjlJVNWfzMFn5vIfJAe40Zw8YmXFha/p14OKHi0nITje0tHPtvA5iR5wIYD+oCDWSoI3LxoWA/TDXmA6gyDSqFWEXUbRmvhvBcL0NSqIrfr0PaYmTkw/1Abh+SxU9X1+9hadRlFIEvj87CmKXPSjGCSxc0ePacHURg/R29i4sOQ9bkdTFGF5VZIEU9hqimKqSDaUhSV/4ra0RJN8VJAEU7XVEmUNKkiCJHqkRXtJ+kU8RUq0lyRICp6kaE/J7GhKiOYkNW8a/AI+R0vRnKTEsm4O1r6EaLIK6SCJdpIpjNJCFIsBOk/iflJLEiSroBy1ouxKNr5pLoFFU45aUZb8ypve7ELPUSP6Tk/W4UFwds7MsVeUhUt4nE+Pk2Q1L2tFsZ9D81JrQTCyOJXk2CNK7yk1pxGwWXKP6AeR1N7d3yUJtojmQlazwu6WBFtEachq7u5XSYJS0aTKKhefZDNtL6Wi0x27YvFBG5umkCVKRKcrqri8Qz1gq64a1kSTJZbSymd6RNGSNdF4NKXzMnlE0Zol0Wk0FfISo8h27lqyJBqPplReIhfFRjFmTjQeTYn5EudvMm2UMifqOyGwseUFJYrNGnOVdHy83iovEaK4jVMXHIEopOJO+VVQoy9K4BwqObiGfyFfbMQ3qgHtdCmQw1TUbfRy+JdoxePvUDaG7Pibk+JtjR5Mf4S5cu6nG+OPaZDPkMKIN12iScPeCJX2UGHXAvbGX+UXiM/w0VdQE4QAAAAASUVORK5CYII=");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .38;
  pointer-events: none;
  transform: rotate(8deg);
  animation: lipa-leaf-float 18s ease-in-out infinite;
}

@keyframes lipa-leaf-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(8deg);
  }
  35% {
    transform: translate3d(-12px, -18px, 0) rotate(2deg);
  }
  70% {
    transform: translate3d(10px, -34px, 0) rotate(13deg);
  }
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination a,
.pagination span,
.nav-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 42px;
  min-height: 42px;
  padding: 9px 13px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 51, 42, .07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.pagination .current,
.pagination a:hover,
.nav-links a:hover {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: #fff;
}

.pagination .dots {
  min-width: auto;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  padding-inline: 4px;
  cursor: default;
}

.archive-pagination {
  justify-content: center;
}

.pagination a:hover,
.nav-links a:hover {
  transform: translateY(-1px);
}

.more-news-nav {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-news-grid .post-card {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  align-items: start;
  min-height: 100%;
}

.home-news-grid .post-card .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: #eef7ea;
}

.home-news-grid .post-card .thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 8px;
  background: #eef7ea;
}

.home-news-grid .post-card .post-body {
  padding: 18px 20px;
}

.home-news-grid .post-card h2 {
  font-size: 1.12rem;
}

.home-news-grid .post-card p {
  font-size: .98rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
    gap: 10px;
    padding: 6px 0;
  }

  .brand {
    min-width: 0;
    max-width: calc(100vw - 120px);
    gap: 10px;
  }

  .brand img {
    width: 66px;
    max-width: 18vw;
    height: auto;
    max-height: 54px;
  }

  .brand strong {
    font-size: .88rem;
    line-height: 1.05;
  }

  .brand span {
    margin-top: 2px;
    font-size: .75rem;
    line-height: 1.18;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .menu-toggle::before {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .menu-toggle.is-active::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .primary-nav {
    position: absolute;
    inset: 76px 0 auto 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    width: var(--wrap);
    display: grid;
    align-items: stretch;
    margin: 0 auto;
    padding: 10px 0 16px;
  }

  .primary-nav .sub-menu {
    position: static;
    min-width: 0;
    display: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 14px;
    border: 0;
  }

  .primary-nav li.is-submenu-open > .sub-menu {
    display: grid;
  }

  .primary-nav li.is-submenu-open > a::after {
    transform: translateY(.05em) rotate(225deg);
  }

  .accessibility-panel {
    top: 56vh;
    right: 0;
    bottom: auto;
    grid-template-columns: 1fr;
  }

  .floating-facebook {
    top: calc(56vh - 72px);
    min-height: 38px;
    max-width: 38px;
  }

  .floating-facebook::before {
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .floating-facebook:hover,
  .floating-facebook:focus-visible {
    max-width: 138px;
  }

  .accessibility-panel button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: .95rem;
  }

  .accessibility-panel button::after {
    display: none;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .entry-content {
    overflow-x: auto;
  }

  .entry-content table {
    min-width: 640px;
  }

  .hero-inner,
  .layout,
  .footer-inner,
  .summary-grid,
  .summary-brand,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-main,
  .news-list {
    grid-column: auto;
  }

  .important-notice {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .important-notice::before {
    display: none;
  }

  .important-notice.has-image {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .important-notice.has-image .important-notice-kicker {
    grid-column: 1 / -1;
  }

  .important-notice-thumb {
    width: 82px;
    height: 62px;
  }

  .important-notice-kicker,
  .important-notice-link {
    width: max-content;
  }

  .important-notice-kicker {
    margin-left: 0;
    padding: 6px 9px;
    font-size: .7rem;
  }

  .important-notice h2 {
    margin-bottom: 3px;
    font-size: .98rem;
    line-height: 1.16;
  }

  .important-notice p {
    font-size: .92rem;
    line-height: 1.34;
  }

  .important-notice-link {
    grid-column: 1 / -1;
    min-height: 40px;
    padding: 10px 16px;
  }

  .summary-brand {
    display: grid;
  }

  .news-row.has-media {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .news-top {
    margin-bottom: 14px;
  }

  .news-top .section-head {
    min-height: 0;
    padding: 12px 14px;
  }

  .news-home {
    padding: 22px 0 58px;
  }

  .post-meta-line {
    gap: 6px;
  }

  .post-label {
    font-size: .68rem;
    padding: 4px 7px;
  }

  .pagination,
  .nav-links {
    gap: 7px;
    margin-top: 24px;
  }

  .pagination a,
  .pagination span,
  .nav-links a {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 11px;
  }

  .entry-content .gallery,
  .entry-content .wp-block-gallery,
  .entry-content .lipa-folder-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .entry-content .gallery a,
  .entry-content .wp-block-gallery a,
  .entry-content .lipa-folder-gallery a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4fbef;
  }

  .entry-content .gallery img,
  .entry-content .wp-block-gallery img,
  .entry-content .lipa-folder-gallery img {
    height: auto;
    max-height: 210px;
    object-fit: contain;
    background: #f4fbef;
  }

  .pdf-poster-embed iframe {
    min-height: 420px;
    height: 72vh;
  }

  .summary-social {
    min-height: 0;
    padding: 18px;
  }

  .hero {
    background:
      radial-gradient(circle at 50% 0%, rgba(168, 213, 49, .26), transparent 32%),
      linear-gradient(180deg, #f7fff1 0%, #ffffff 100%);
  }

  .hero-inner {
    min-height: auto;
    align-content: start;
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .home-top,
  .home-intro,
  .newsroom,
  .featured-news {
    grid-template-columns: 1fr;
  }

  .home-intro {
    display: grid;
  }

  .home-intro-logo {
    max-width: 170px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.7rem);
  }

  .hero-panel {
    display: block;
  }

  .featured-news {
    min-height: 0;
  }

  .featured-news .thumb {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  .featured-news .post-body {
    grid-column: 1;
    grid-row: 2;
    padding: 20px;
  }

  .quick-grid,
  .post-grid,
  .home-news-grid,
  .news-archive-grid,
  .contact-panel,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .home-news-grid .post-card {
    grid-template-columns: 1fr;
  }

  .home-news-grid .post-card .thumb {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .home-news-grid .post-card .thumb img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 6px;
  }

  .staff-intro,
  .staff-card,
  .staff-note {
    padding: 18px;
  }

  .lipa-polished-page .entry-content > p:first-child,
  .lipa-polished-page .entry-content > ul,
  .lipa-polished-page .entry-content > ol {
    padding: 16px;
  }

  .lipa-polished-page .entry-content > ul,
  .lipa-polished-page .entry-content > ol {
    padding-left: 34px;
  }

  .section-head {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::after {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
