/*
Theme Name: Vrtec Ciciban
Theme URI: https://os-smartnolitija.si/vrtec/
Author: Codex
Description: Samostojna testna tema za Vrtec Ciciban.
Version: 0.25.13
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: os-ciciban
*/

:root {
    --green: #1dac62;
    --deep: #174d3c;
    --mint: #82d99a;
    --sun: #f3db4f;
    --coral: #d96854;
    --rose: #efc3bc;
    --sky: #d9edfb;
    --blue: #77b7e5;
    --plum: #74779b;
    --ink: #243a31;
    --muted: #5f6f66;
    --paper: #f4faf6;
    --cream: #fffdf7;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.site-header {
    background: var(--white);
    border-top: 6px solid var(--sun);
    border-bottom: 1px solid rgba(47, 124, 87, 0.14);
    backdrop-filter: none;
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-bar .site-header {
    top: 32px;
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand__logo {
    width: 78px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.brand__text {
    display: block;
}

.brand span {
    display: block;
    color: var(--coral);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand strong {
    display: block;
    color: var(--deep);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: 1.85rem;
    line-height: 1;
    white-space: nowrap;
}

.nav {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
}

.nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav li {
    position: relative;
}

.nav .sub-menu {
    position: absolute;
    top: calc(100% - 2px);
    z-index: 30;
    width: min(300px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 5px solid var(--sun);
    border-radius: 6px;
    box-shadow: 0 18px 38px rgba(27, 40, 33, 0.14);
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
    display: flex;
}

.nav .sub-menu .sub-menu {
    top: -10px;
    left: calc(100% - 2px);
}

.nav .sub-menu a {
    width: 100%;
    padding: 10px 12px;
    border-bottom-width: 2px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    padding: 10px 2px 7px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.nav > ul > .menu-item-has-children > a::after {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin: 0 3px 3px 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 160ms ease;
}

.nav > ul > .menu-item-has-children:hover > a::after,
.nav > ul > .menu-item-has-children:focus-within > a::after {
    transform: translateY(3px) rotate(225deg);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--deep);
    background: var(--white);
    border: 2px solid var(--deep);
    border-radius: 6px;
    font: inherit;
    font-weight: 850;
}

.nav-toggle__icon {
    position: relative;
    width: 20px;
    height: 16px;
    display: block;
}

.nav-toggle__icon span {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: top 180ms ease, transform 180ms ease, opacity 120ms ease;
}

.nav-toggle__icon span:nth-child(1) {
    top: 1px;
}

.nav-toggle__icon span:nth-child(2) {
    top: 7px;
}

.nav-toggle__icon span:nth-child(3) {
    top: 13px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

.submenu-toggle {
    display: none;
}

.nav-scrim {
    display: none;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav a[aria-current="page"] {
    color: var(--coral);
    background: transparent;
    border-color: var(--sun);
}

.nav > ul > .menu-item--school-site > a {
    gap: 6px;
    color: var(--deep);
    border-bottom-color: var(--mint);
}

.nav > ul > .menu-item--school-site > a span {
    color: var(--coral);
    font-size: 1.05em;
}

.hero {
    padding: clamp(32px, 4vw, 48px) 0 38px;
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-bottom: 10px solid var(--sky);
}

.hero--ciciban::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 9px;
    background: var(--coral);
    z-index: -1;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.hero__copy {
    padding-block: 10px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    line-height: 1.08;
}

h1 {
    margin: 0;
    font-size: 5.25rem;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.hero--ciciban h1 {
    font-size: 4.3rem;
    white-space: nowrap;
}

.hero__promise {
    margin: 8px 0 0;
    color: var(--coral);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-sparkles span {
    position: absolute;
    color: var(--coral);
    font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif;
    font-size: 2.5rem;
    font-weight: 950;
    line-height: 1;
}

.hero-sparkles span:nth-child(1) {
    top: 34px;
    left: 46%;
    color: var(--sun);
    transform: rotate(12deg);
}

.hero-sparkles span:nth-child(2) {
    right: 2.5%;
    bottom: 42px;
    color: var(--coral);
    transform: rotate(-14deg);
}

.hero-sparkles span:nth-child(3) {
    right: 4%;
    top: 32px;
    color: var(--green);
    transform: rotate(8deg);
}

.lead {
    max-width: 520px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.hero-values li {
    position: relative;
    padding-left: 20px;
    color: var(--deep);
    font-weight: 850;
}

.hero-values li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--sun);
    border: 2px solid var(--deep);
    border-radius: 50%;
    transform: translateY(-50%);
}

.hero-values li:nth-child(2)::before {
    background: var(--rose);
}

.hero-values li:nth-child(3)::before {
    background: var(--mint);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
}

.button--primary {
    color: var(--white);
    background: var(--green);
    box-shadow: 0 14px 28px rgba(47, 124, 87, 0.22);
}

.button--light {
    background: var(--white);
    border: 1px solid rgba(47, 124, 87, 0.18);
}

.hero-photo {
    position: relative;
    padding: 10px;
    background: var(--white);
    border: 3px solid var(--sun);
    border-radius: 8px;
    box-shadow: 14px 14px 0 var(--sun);
    transform: rotate(-1deg);
}

.hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    object-fit: cover;
}

.hero-note {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 260px;
    padding: 14px 16px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.94);
    border: 3px solid var(--coral);
    border-radius: 8px;
    box-shadow: 6px 6px 0 rgba(23, 63, 45, 0.14);
}

.hero-note strong,
.hero-note span {
    display: block;
}

.hero-note strong {
    font-size: 1.12rem;
    line-height: 1;
}

.home-panel {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.home-panel__heading {
    margin-bottom: 14px;
}

.home-panel__heading h2 {
    margin: 0;
    font-size: 2rem;
}

.home-panel__heading .eyebrow {
    margin: 0 0 4px;
}

.groups-band,
.quick-band {
    padding: clamp(54px, 7vw, 84px) 0;
}

.groups-band {
    background: var(--sky);
    border-bottom: 10px solid var(--coral);
}

.quick-band {
    background: #fff1a6;
    border-bottom: 10px solid var(--plum);
}

.groups-band .eyebrow,
.quick-band .eyebrow {
    color: var(--deep);
}

.groups-band .band-heading > p,
.quick-band .band-heading h2 {
    color: var(--ink);
}

.quick-band .band-heading > p {
    color: #3f493f;
}

.band-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 26px;
}

.band-heading h2 {
    margin: 0;
    font-size: 3.25rem;
    overflow-wrap: anywhere;
}

.band-heading .eyebrow {
    margin-bottom: 7px;
}

.band-heading > p {
    max-width: 470px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 750;
}

.unit-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.unit-strip__item {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 16px;
    color: var(--deep);
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 8px solid var(--green);
    border-radius: 8px;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 950;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.unit-strip__item:nth-child(odd) {
    transform: rotate(-0.7deg);
}

.unit-strip__item:nth-child(even) {
    transform: rotate(0.7deg) translateY(8px);
}

.unit-strip__item:hover {
    color: var(--deep);
    border-color: rgba(47, 124, 87, 0.28);
    box-shadow: 0 18px 34px rgba(27, 40, 33, 0.1);
    transform: translateY(-5px) rotate(0);
}

.unit-strip__mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--deep);
    border-radius: 50%;
    box-shadow: 3px 3px 0 rgba(23, 63, 45, 0.15);
}

.unit-strip__mark img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
    background: var(--white);
}

.unit-strip__body,
.unit-strip__body strong,
.unit-strip__item small {
    display: block;
}

.unit-strip__body strong {
    line-height: 1.08;
    font-size: 1.2rem;
}

.unit-strip__item small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.2;
}

.unit-strip__item--sky {
    background: var(--white);
    border-top-color: var(--blue);
}

.unit-strip__item--sky .unit-strip__mark {
    background: var(--blue);
}

.unit-strip__item--rose {
    background: var(--white);
    border-top-color: var(--coral);
}

.unit-strip__item--rose .unit-strip__mark {
    background: var(--coral);
}

.unit-strip__item--sun {
    background: var(--white);
    border-top-color: var(--sun);
}

.unit-strip__item--sun .unit-strip__mark {
    color: var(--deep);
    background: var(--sun);
}

.unit-strip__item--mint {
    background: var(--white);
    border-top-color: var(--green);
}

.unit-strip__item--peach {
    background: var(--white);
    border-top-color: #dc745c;
}

.unit-strip__item--peach .unit-strip__mark {
    background: #ffd4bd;
}

.unit-strip__item--lilac {
    background: var(--white);
    border-top-color: #775ea8;
}

.unit-strip__item--lilac .unit-strip__mark {
    background: #ddd2f6;
}

.unit-strip__item--lime {
    background: var(--white);
    border-top-color: #5c8f38;
}

.unit-strip__item--lime .unit-strip__mark {
    background: #d9efb2;
}

.unit-strip__item--aqua {
    background: var(--white);
    border-top-color: #138779;
}

.unit-strip__item--aqua .unit-strip__mark {
    background: #bce9df;
}

.quick-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: var(--white);
    border: 1px solid rgba(52, 113, 67, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(29, 42, 31, 0.08);
}

.quick-card--tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.quick-card a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 88px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-bottom: 5px solid var(--green);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-card a:nth-child(2n) {
    background: var(--white);
    border-bottom-color: var(--sun);
}

.quick-card a:nth-child(3n) {
    background: var(--white);
    border-bottom-color: var(--coral);
}

.quick-card a:nth-child(4) {
    background: var(--white);
    border-bottom-color: var(--plum);
}

.quick-card a:nth-child(5) {
    background: var(--white);
    border-bottom-color: var(--blue);
}

.quick-card a:hover {
    color: var(--deep);
    border-color: rgba(47, 124, 87, 0.28);
    box-shadow: 0 18px 34px rgba(27, 40, 33, 0.1);
    transform: translateY(-4px);
}

.quick-card__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--white);
    background: var(--green);
    border: 2px solid var(--deep);
    border-radius: 50%;
    font-size: 1.15rem;
    box-shadow: 2px 2px 0 rgba(23, 63, 45, 0.14);
}

.quick-card a:nth-child(2) .quick-card__icon {
    color: var(--deep);
    background: var(--sun);
}

.quick-card a:nth-child(3) .quick-card__icon {
    background: var(--coral);
}

.quick-card a:nth-child(4) .quick-card__icon {
    background: var(--plum);
}

.quick-card a:nth-child(5) .quick-card__icon {
    background: var(--blue);
}

.quick-card__text {
    min-width: 0;
}

.quick-card__text strong,
.quick-card__text small {
    display: block;
}

.quick-card__text strong {
    color: var(--deep);
    line-height: 1.12;
    font-size: 1rem;
}

.quick-card__text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 780;
    line-height: 1.22;
}

.content {
    padding: 66px 0 78px;
    background: var(--paper);
    border-top: 0;
}

.content--stories {
    background: #dff4e5;
}

.content--stories .eyebrow {
    color: var(--deep);
}

.stories-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.stories-main {
    min-width: 0;
}

.stories-main .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stories-main .post-card,
.stories-main .post-card:nth-child(2) {
    grid-column: auto;
}

.stories-main .post-card:first-child {
    grid-column: 1 / -1;
}

.upcoming-box {
    position: sticky;
    top: 112px;
    padding: 24px;
    background: var(--white);
    border: 1px solid rgba(6, 63, 43, 0.24);
    border-top: 7px solid var(--sun);
    border-radius: 8px;
    box-shadow: 8px 8px 0 rgba(6, 63, 43, 0.14);
}

.upcoming-box__header {
    margin-bottom: 16px;
}

.upcoming-box__header .eyebrow {
    margin-bottom: 3px;
    color: var(--coral);
}

.upcoming-box__header h2 {
    margin: 0;
    color: var(--deep);
    font-size: 1.85rem;
    line-height: 1.1;
}

.upcoming-box__list {
    display: grid;
    gap: 10px;
}

.upcoming-event {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--white);
    border: 2px solid rgba(6, 63, 43, 0.14);
    border-radius: 7px;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.upcoming-event:hover,
.upcoming-event:focus-visible {
    border-color: var(--green);
    transform: translateY(-2px);
}

.upcoming-event time {
    width: 58px;
    height: 62px;
    display: grid;
    place-content: center;
    color: var(--white);
    background: var(--green);
    border-radius: 7px;
    line-height: 1;
    text-align: center;
}

.upcoming-event:nth-child(2n) time {
    background: var(--coral);
}

.upcoming-event time strong,
.upcoming-event time span,
.upcoming-event__body strong,
.upcoming-event__body small {
    display: block;
}

.upcoming-event time strong {
    font-size: 1.35rem;
}

.upcoming-event time span {
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 950;
}

.upcoming-event__body {
    min-width: 0;
}

.upcoming-event__body strong {
    color: var(--deep);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.upcoming-event__body small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.upcoming-box__empty {
    padding: 18px;
    background: #fff4bd;
    border-left: 5px solid var(--coral);
    border-radius: 5px;
}

.upcoming-box__empty strong {
    color: var(--deep);
}

.upcoming-box__empty p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.45;
}

.upcoming-box__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--deep);
    border-bottom: 3px solid var(--sun);
    font-weight: 950;
    text-decoration: none;
}

.upcoming-box__more span {
    color: var(--coral);
    font-size: 1.2rem;
    transition: transform 160ms ease;
}

.upcoming-box__more:hover span {
    transform: translateX(4px);
}

.section-heading {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 92px;
    height: 8px;
    background: var(--sun);
    border-left: 34px solid var(--coral);
}

.section-heading h2 {
    margin: 0;
    font-size: 3.25rem;
    overflow-wrap: anywhere;
}

.page-hero {
    padding: clamp(44px, 7vw, 76px) 0;
    background: var(--sky);
    border-bottom: 8px solid var(--coral);
}

.page-hero .eyebrow {
    color: var(--deep);
}

.page-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 8vw, 120px);
}

.page-hero__copy {
    min-width: 0;
}

.page-hero--group .page-hero__copy {
    flex: 1 1 650px;
}

.page-hero__facts {
    width: min(650px, 100%);
    margin-top: 18px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 6px solid var(--sun);
    box-shadow: 8px 10px 0 rgba(6, 63, 43, 0.1);
}

.page-hero__facts .group-facts > div {
    padding: 10px 14px;
}

.page-hero__facts .group-facts dt {
    font-size: 0.7rem;
}

.page-hero__facts .group-facts dd {
    font-size: 0.94rem;
}

.page-hero__copy > p:last-child:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 0;
    font-size: 1.08rem;
    font-weight: 750;
}

.page-hero--group {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 38px 0;
}

.page-hero--group::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: var(--coral);
}

.page-hero__group-mark {
    position: relative;
    z-index: 1;
    width: clamp(210px, 24vw, 330px);
    height: clamp(210px, 24vw, 330px);
    flex: 0 0 auto;
    margin: 0 clamp(20px, 7vw, 100px) 0 0;
    overflow: hidden;
    background: var(--white);
    border: 6px solid var(--white);
    border-radius: 50%;
    box-shadow: 12px 14px 0 rgba(6, 63, 43, 0.14);
    transform: rotate(3deg);
}

.page-hero__group-mark img {
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
}

.page-hero--rose {
    background: #ffb5cf;
}

.page-hero--mint {
    background: #9ae8b2;
}

.page-hero--sun {
    background: #ffe472;
}

.page-hero--sky {
    background: #8dd9f7;
}

.group-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.group-facts > div {
    min-width: 0;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(6, 63, 43, 0.12);
}

.group-facts dt {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.group-facts dd {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    font-weight: 750;
}

.page-hero h1 {
    max-width: 920px;
    font-size: 4.75rem;
}

.page-hero--article {
    background: var(--sun);
    border-bottom-color: var(--green);
}

.page-hero--article h1 {
    max-width: 880px;
    font-size: 4.4rem;
}

.posts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
}

.post-card {
    grid-column: span 3;
}

.post-card:first-child {
    grid-column: span 4;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
}

.post-card:nth-child(2) {
    grid-column: span 2;
}

.post-card {
    overflow: hidden;
    padding: 0;
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 6px solid var(--green);
    border-radius: 8px;
    box-shadow: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.post-card:nth-child(2n) {
    border-top-color: var(--coral);
}

.post-card:nth-child(3n) {
    border-top-color: var(--blue);
}

.post-card:hover {
    border-color: rgba(47, 124, 87, 0.22);
    box-shadow: 0 24px 48px rgba(27, 40, 33, 0.1);
    transform: translateY(-2px);
}

.post-card__body {
    padding: 22px 24px 26px;
}

.post-card:first-child .post-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 46px);
    background: var(--white);
}

.post-card:nth-child(2n) .post-card__body {
    background: var(--white);
}

.post-card:nth-child(3n) .post-card__body {
    background: var(--white);
}

.post-card h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
    overflow-wrap: anywhere;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 680;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.post-meta > * {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.post-meta > * + *::before {
    margin: 0 8px;
    color: var(--coral);
    content: "•";
    font-size: 0.8em;
}

.post-meta time {
    color: var(--green);
    font-weight: 900;
}

.post-meta--card {
    margin-bottom: 7px;
}

.post-meta--card > span:last-child,
.post-meta--feed > span:last-child {
    flex-basis: 100%;
}

.post-meta--card > span:last-child::before,
.post-meta--feed > span:last-child::before {
    display: none;
}

.post-meta--hero {
    margin-top: 18px;
    color: rgba(6, 63, 43, 0.78);
    font-size: 0.92rem;
}

.post-meta--hero time {
    color: var(--deep);
}

.post-meta--hero > * + *::before {
    color: var(--green);
}

.post-card__image {
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 8px;
    background: var(--green);
    border-bottom: 0;
}

.post-card:nth-child(2n) .post-card__image {
    background: var(--coral);
}

.post-card:nth-child(3n) .post-card__image {
    background: var(--blue);
}

.post-card__image img,
.single-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.post-card__image img {
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    object-fit: cover;
    transition: transform 220ms ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.025);
}

.post-card:first-child .post-card__image img {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 20px;
    color: var(--green);
    border-bottom: 2px solid var(--sun);
    font-weight: 900;
    text-decoration: none;
}

.post-card__more span {
    font-size: 1.25rem;
    transition: transform 160ms ease;
}

.post-card__more:hover span {
    transform: translateX(4px);
}

.post-card__image--empty,
.feed-item__image--empty {
    min-height: 190px;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.post-card__image--empty {
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.post-card__image--empty span,
.feed-item__image--empty span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--green);
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 950;
}

.empty-state,
.single-card {
    padding: clamp(26px, 5vw, 54px);
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-radius: 8px;
}

.single-layout {
    max-width: 920px;
}

.page-layout {
    max-width: 1180px;
}

.single-card--article {
    padding: 0;
    overflow: hidden;
}

.single-card--article .entry-content {
    padding: clamp(26px, 5vw, 54px);
}

.single-card__image {
    margin: 0;
    padding: 10px;
    background: var(--coral);
}

.single-card__image img {
    max-height: 620px;
    border-radius: 4px;
    object-fit: cover;
}

.entry-content {
    font-size: 1.1rem;
    overflow-wrap: anywhere;
}

.entry-content > :first-child {
    margin-top: 0;
}

.entry-content > :last-child {
    margin-bottom: 0;
}

.entry-content h2 {
    margin: 1.7em 0 0.6em;
    font-size: 2rem;
}

.entry-content h3 {
    margin: 1.5em 0 0.55em;
    font-size: 1.45rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-block: 0 1.15em;
}

.entry-content li + li {
    margin-top: 0.35em;
}

.entry-content a:not(.feed-item__image) {
    color: var(--green);
    font-weight: 800;
    text-decoration-color: var(--sun);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.entry-content blockquote {
    margin: 1.5em 0;
    padding: 18px 22px;
    background: #fff7cf;
    border-left: 6px solid var(--sun);
}

.entry-content iframe,
.entry-content video {
    max-width: 100%;
}

.legacy-gallery {
    display: none !important;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feed-block h2 {
    margin-top: 0;
    font-size: 3rem;
    overflow-wrap: anywhere;
}

.section-intro {
    margin: 0 0 28px;
    padding: 20px 22px;
    background: var(--sun-soft);
    border-left: 6px solid var(--sun);
    border-radius: 6px;
}

.section-intro > :first-child {
    margin-top: 0;
}

.section-intro > :last-child {
    margin-bottom: 0;
}

.static-sections {
    display: grid;
    gap: 34px;
}

.static-section + .static-section {
    padding-top: 30px;
    border-top: 5px solid var(--sky);
}

.static-section h2,
.staff-section h2,
.document-section h2 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.staff-section + .staff-section {
    margin-top: clamp(44px, 7vw, 76px);
}

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

.staff-card {
    min-width: 0;
    padding: 18px;
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 5px solid var(--green);
    border-radius: 6px;
}

.staff-card:nth-child(3n + 2) {
    border-top-color: var(--coral);
}

.staff-card:nth-child(3n) {
    border-top-color: var(--sky);
}

.staff-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    overflow-wrap: anywhere;
}

.staff-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.staff-card a {
    display: inline-block;
    max-width: 100%;
    margin-top: 10px;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.document-section {
    margin-top: clamp(40px, 7vw, 72px);
}

.document-sections {
    display: grid;
    gap: clamp(28px, 5vw, 48px);
}

.document-sections .document-section {
    margin-top: 0;
}

.document-row__type {
    display: inline-flex;
    min-width: 54px;
    justify-content: center;
    padding: 6px 9px 5px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(6, 63, 43, 0.13);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    line-height: 1;
}

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

.section-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    padding: 24px;
    color: var(--deep);
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 6px solid var(--coral);
    border-radius: 7px;
    text-decoration: none;
}

.section-link:nth-child(2n) {
    border-top-color: var(--sky);
}

.section-link strong {
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: 1.45rem;
}

.section-link span:nth-child(2) {
    grid-column: 1;
    color: var(--muted);
    font-weight: 700;
}

.section-link span:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--green);
    font-size: 1.8rem;
    font-weight: 900;
}

.feed-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.feed-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #d7ddd8;
    border-top: 6px solid var(--green);
    border-radius: 8px;
    box-shadow: none;
}

.feed-item:nth-child(2n) {
    border-top-color: var(--coral);
}

.feed-item:nth-child(3n) {
    border-top-color: var(--blue);
}

.feed-item__image {
    display: block;
    padding: 8px;
    background: var(--green);
}

.feed-item:nth-child(2n) .feed-item__image {
    background: var(--coral);
}

.feed-item:nth-child(3n) .feed-item__image {
    background: var(--blue);
}

.feed-item__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 4px;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    object-fit: cover;
}

.feed-item__image--empty {
    height: 100%;
    background: var(--mint);
}

.feed-item__body {
    min-width: 0;
    padding: clamp(18px, 3vw, 28px);
}

.post-meta--feed {
    margin-bottom: 8px;
}

.feed-item h3 {
    margin: 8px 0 10px;
    font-size: 1.75rem;
    overflow-wrap: anywhere;
}

.feed-item h3 a {
    color: var(--deep);
    text-decoration: none;
}

.feed-item h3 a:hover {
    color: var(--green);
}

.feed-item p {
    margin: 0;
    color: var(--muted);
    font-weight: 680;
}

.feed-galleries {
    margin-top: clamp(38px, 6vw, 72px);
    padding-top: clamp(28px, 4vw, 44px);
    border-top: 5px solid var(--sun);
}

.feed-galleries > h3 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.entry-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(52, 113, 67, 0.18);
    border-radius: 8px;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border-bottom: 1px solid rgba(52, 113, 67, 0.12);
    text-align: left;
}

.pagination {
    margin-top: 28px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid rgba(52, 113, 67, 0.16);
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
}

.pagination .current {
    color: var(--white);
    background: var(--green);
}

.site-footer {
    position: relative;
    padding: 58px 0 0;
    color: var(--deep);
    background: #e5f5eb;
    border-top: 0;
    font-weight: 700;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 9px;
    background: linear-gradient(90deg, var(--mint) 0 25%, var(--sky) 25% 50%, var(--sun) 50% 75%, var(--rose) 75%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(250px, 1.15fr) minmax(150px, .75fr) minmax(150px, .75fr);
    align-items: start;
    gap: clamp(34px, 5vw, 72px);
    padding-bottom: 48px;
}

.footer-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--deep);
    text-decoration: none;
}

.footer-brand__link img {
    width: 82px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 18px 24px 17px 22px;
    box-shadow: 5px 6px 0 rgba(243, 219, 79, .28);
}

.footer-brand__link span,
.footer-brand__link strong,
.footer-brand__link small {
    display: block;
}

.footer-brand__link strong {
    color: var(--deep);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: 1.45rem;
}

.footer-brand__link small {
    margin-top: 2px;
    color: var(--coral);
    font-size: .9rem;
    font-weight: 850;
}

.footer-brand > p {
    max-width: 360px;
    margin: 22px 0 0;
    color: rgba(23, 77, 60, 0.76);
    line-height: 1.62;
}

.footer-brand .footer-meta {
    margin-top: 10px;
    color: var(--deep);
    font-size: .92rem;
    font-weight: 850;
}

.footer-contact h2,
.footer-links h2 {
    margin: 0 0 20px;
    color: #b94f42;
    font-size: 1.06rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-contact p {
    margin: 0 0 17px;
    color: rgba(23, 77, 60, .76);
    line-height: 1.52;
}

.footer-contact strong {
    color: var(--deep);
}

.footer-contact a,
.footer-links a,
.footer-bottom a {
    color: rgba(23, 77, 60, .88);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: #0c3d2d;
    text-decoration: underline;
}

.site-footer .footer-login {
    color: rgba(23, 77, 60, 0.78);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
}

.site-footer .footer-login:hover,
.site-footer .footer-login:focus-visible {
    color: #0c3d2d;
    text-decoration: underline;
}

.footer-links ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: var(--coral);
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid rgba(23, 77, 60, .14);
    background: #d2eddd;
}

.footer-bottom__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-bottom__inner p {
    margin: 0;
    color: rgba(23, 77, 60, .72);
    font-size: .86rem;
}

.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

@media (min-width: 641px) {
    .footer-bottom__inner {
        padding-right: 220px;
    }
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 42px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 38px;
    }

    .footer-brand__link img {
        width: 72px;
        height: 64px;
    }

    .footer-contact h2,
    .footer-links h2 {
        margin-bottom: 14px;
    }

    .footer-bottom__inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-block: 22px;
    }

    .footer-bottom__links {
        justify-content: flex-start;
    }
}

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

.gallery-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.gallery-groups a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    color: var(--deep);
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.gallery-groups img {
    width: 34px;
    height: 34px;
    padding: 2px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
}

.gallery-groups a:nth-child(3n + 2) {
    border-color: var(--coral);
}

.gallery-groups a:nth-child(3n) {
    border-color: var(--sky);
}

.gallery-shared {
    padding-top: 4px;
}

.gallery-shared__heading {
    margin-bottom: 22px;
}

.gallery-shared__heading .eyebrow {
    margin-bottom: 4px;
}

.gallery-shared__heading h2 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.archive-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(6, 63, 43, 0.16);
    border-top: 6px solid var(--sun);
    border-radius: 7px;
}

.archive-card:nth-child(3n + 2) {
    border-top-color: var(--coral);
}

.archive-card:nth-child(3n) {
    border-top-color: var(--sky);
}

.archive-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef8f1;
}

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

.archive-card__image--locked {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding: 24px;
    color: var(--deep);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 208, 0, 0.28), transparent 34%),
        linear-gradient(145deg, #f0faf3, #d9f2fb);
    text-align: center;
    text-decoration: none;
}

.archive-card__image--locked span {
    font-size: 2.2rem;
    line-height: 1;
}

.archive-card__image--locked strong {
    font-size: 0.95rem;
}

.archive-card__body {
    padding: 20px;
}

.archive-card__body time,
.archive-card__body small {
    color: var(--green);
    font-weight: 800;
}

.archive-card__body h2 {
    margin: 7px 0 0;
    font-size: 1.35rem;
}

.archive-card__body h2 a {
    color: var(--deep);
    text-decoration: none;
}

.gallery-access {
    display: grid;
    grid-template-columns: auto minmax(0, 560px);
    justify-content: center;
    gap: 22px;
    padding: clamp(28px, 6vw, 56px);
    color: var(--deep);
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 208, 0, 0.24), transparent 28%),
        var(--white);
    border: 2px solid rgba(8, 122, 73, 0.2);
    border-top: 7px solid var(--green);
    border-radius: 9px;
}

.gallery-access__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    background: var(--sky);
    border-radius: 50%;
    font-size: 1.8rem;
}

.gallery-access__copy h2 {
    margin: 0 0 8px;
}

.gallery-access__copy > p:not(.eyebrow) {
    margin: 0 0 20px;
}

.gallery-access__form {
    display: flex;
    align-items: end;
    gap: 12px;
}

.gallery-access__form label {
    display: grid;
    flex: 1;
    gap: 6px;
    color: var(--deep);
    font-weight: 800;
}

.gallery-access__form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--white);
    border: 2px solid rgba(6, 63, 43, 0.3);
    border-radius: 5px;
    font: inherit;
}

.gallery-access__form .button {
    min-height: 48px;
    white-space: nowrap;
}

.gallery-access__error {
    padding: 10px 12px;
    color: #7a1713;
    background: #fff0ef;
    border-left: 4px solid var(--coral);
    font-weight: 800;
}

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

.gallery-view a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
}

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

.has-gallery-lightbox,
.has-document-modal {
    overflow: hidden;
}

.gallery-lightbox,
.document-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: min(4vw, 32px);
    background: rgba(6, 30, 21, 0.9);
    backdrop-filter: blur(8px);
}

.gallery-lightbox {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.gallery-lightbox[hidden],
.document-modal[hidden] {
    display: none;
}

.gallery-lightbox__inner {
    min-height: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    background: var(--white);
    border: 4px solid var(--sun);
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox__thumbs {
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 6px 2px 2px;
    overscroll-behavior: contain;
    scrollbar-color: var(--green) rgba(6, 63, 43, 0.12);
    scrollbar-width: thin;
}

.gallery-lightbox__thumbs button {
    height: 74px;
    flex: 0 0 74px;
    overflow: hidden;
    padding: 0;
    background: var(--white);
    border: 3px solid rgba(6, 63, 43, 0.2);
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.gallery-lightbox__thumbs button.is-active {
    border-color: var(--coral);
    opacity: 1;
    transform: translateX(2px);
}

.gallery-lightbox__thumbs button:hover,
.gallery-lightbox__thumbs button:focus-visible {
    border-color: var(--green);
    opacity: 1;
}

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

.gallery-lightbox__stage {
    min-width: 0;
    min-height: 0;
    display: grid;
    margin: 0;
    place-items: center;
    background: #eef7f0;
    border-radius: 5px;
    touch-action: pan-y pinch-zoom;
}

.gallery-lightbox__stage img {
    max-width: 100%;
    max-height: calc(100vh - 142px);
    object-fit: contain;
}

.gallery-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--deep);
    background: var(--white);
    border: 3px solid var(--coral);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox__controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 12px;
    padding: 8px;
    color: var(--white);
    background: var(--deep);
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.gallery-lightbox__controls button {
    width: 44px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--deep);
    background: var(--sun);
    border: 0;
    border-radius: 999px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox__controls span {
    min-width: 72px;
    font-weight: 900;
    text-align: center;
}

.document-modal {
    display: grid;
}

.document-modal__panel {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    background: var(--white);
    border: 4px solid var(--sun);
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.document-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    background: var(--white);
    border-bottom: 4px solid var(--green);
}

.document-modal__header h2 {
    min-width: 0;
    margin: 0;
    color: var(--deep);
    font-size: 1.15rem;
    overflow-wrap: anywhere;
}

.document-modal__header div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.document-modal__download {
    padding: 8px 12px;
    color: var(--white);
    background: var(--green);
    border-radius: 6px;
    font-weight: 900;
    text-decoration: none;
}

.document-modal__download:hover,
.document-modal__download:focus-visible {
    color: var(--white);
    background: var(--deep);
}

.document-modal__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--deep);
    background: var(--white);
    border: 3px solid var(--coral);
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.document-modal iframe {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    background: #eef7f0;
    border: 0;
}

.linked-gallery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0;
    padding: 18px 20px;
    background: #eef9f1;
    border-left: 6px solid var(--green);
}

.linked-gallery span,
.linked-gallery small,
.linked-gallery strong,
.linked-gallery em {
    display: block;
}

.linked-gallery small,
.linked-gallery em {
    color: var(--muted);
    font-style: normal;
}

.document-list,
.event-list {
    display: grid;
    gap: 12px;
}

.document-row,
.event-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 17px 20px;
    background: var(--white);
    border: 1px solid rgba(6, 63, 43, 0.16);
    border-left: 6px solid var(--sky);
    border-radius: 6px;
}

.document-row a,
.event-row a {
    color: var(--deep);
    font-weight: 850;
}

.document-row time,
.event-row time {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.page-hero--calendar {
    background: var(--sky);
    border-bottom: 8px solid var(--coral);
}

.page-hero--calendar .wrap {
    position: relative;
}

.page-hero--calendar .wrap::after {
    position: absolute;
    right: 4%;
    bottom: -28px;
    display: grid;
    width: clamp(110px, 14vw, 170px);
    aspect-ratio: 1;
    place-items: center;
    content: "31";
    color: var(--deep);
    background: var(--white);
    border: 6px solid var(--sun);
    border-radius: 50%;
    box-shadow: 10px 12px 0 rgba(6, 63, 43, 0.14);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 950;
}

.page-hero--calendar .wrap > p:last-of-type {
    max-width: 620px;
    margin: 10px 0 0;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 800;
}

.calendar-content {
    background: #f7faf6;
}

.ciciban-calendar {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(6, 63, 43, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(6, 63, 43, 0.08);
}

.ciciban-calendar__toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #dff7e7;
    border-bottom: 1px solid rgba(6, 63, 43, 0.12);
    text-align: center;
}

.ciciban-calendar__toolbar a,
.ciciban-calendar__quick a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--deep);
    background: var(--white);
    border: 2px solid rgba(6, 63, 43, 0.14);
    border-radius: 6px;
    font-weight: 900;
    text-decoration: none;
}

.ciciban-calendar__toolbar a:first-child {
    justify-self: start;
}

.ciciban-calendar__toolbar a:last-child {
    justify-self: end;
}

.ciciban-calendar__toolbar a:hover,
.ciciban-calendar__toolbar a:focus-visible,
.ciciban-calendar__quick a:hover,
.ciciban-calendar__quick a:focus-visible,
.ciciban-calendar__quick a.is-active {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.ciciban-calendar__toolbar h2 {
    margin: 2px 0;
    color: var(--deep);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
}

.ciciban-calendar__toolbar p,
.ciciban-calendar__toolbar div > span {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ciciban-calendar__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 22px;
    background: #fff6cf;
    border-bottom: 1px solid rgba(6, 63, 43, 0.1);
}

.ciciban-calendar__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ciciban-calendar__grid {
    display: grid;
    min-width: 760px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    background: rgba(6, 63, 43, 0.14);
}

.ciciban-calendar__weekday {
    padding: 11px 8px;
    color: var(--white);
    background: var(--deep);
    font-size: 0.86rem;
    font-weight: 900;
    text-align: center;
}

.ciciban-calendar__day {
    display: grid;
    min-height: 138px;
    align-content: start;
    gap: 6px;
    padding: 8px;
    background: #f4f8f4;
}

.ciciban-calendar__day--blank {
    background: #e6eee8;
}

.ciciban-calendar__day.has-events {
    background: var(--white);
}

.ciciban-calendar__day.is-today {
    box-shadow: inset 0 0 0 4px var(--sun);
}

.ciciban-calendar__date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-weight: 950;
}

.ciciban-calendar__date em {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border-radius: 50%;
    font-size: 0.7rem;
    font-style: normal;
}

.ciciban-calendar__event {
    display: grid;
    min-width: 0;
    gap: 2px;
    padding: 7px 8px;
    color: var(--deep);
    background: #dff7e7;
    border-left: 4px solid var(--green);
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.22;
    text-decoration: none;
}

.ciciban-calendar__event:nth-of-type(even) {
    background: #fff1f6;
    border-left-color: var(--rose);
}

.ciciban-calendar__event:hover,
.ciciban-calendar__event:focus-visible {
    color: var(--white);
    background: var(--green);
}

.ciciban-calendar__event strong,
.ciciban-calendar__event small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ciciban-calendar__event strong {
    white-space: nowrap;
}

.ciciban-calendar__event small {
    color: inherit;
    font-size: 0.68rem;
    font-weight: 750;
    white-space: nowrap;
}

.ciciban-event-list {
    margin-top: clamp(30px, 5vw, 54px);
}

.ciciban-event-list > header {
    margin-bottom: 18px;
}

.ciciban-event-list h2 {
    margin: 2px 0 0;
    color: var(--deep);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.1;
}

.ciciban-event-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ciciban-event-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 13px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(6, 63, 43, 0.14);
    border-bottom: 5px solid var(--green);
    border-radius: 6px;
    text-decoration: none;
}

.ciciban-event-card--2 {
    border-bottom-color: var(--sun);
}

.ciciban-event-card--3 {
    border-bottom-color: var(--coral);
}

.ciciban-event-card--4 {
    border-bottom-color: var(--sky);
}

.ciciban-event-card:hover,
.ciciban-event-card:focus-visible {
    border-color: var(--green);
    transform: translateY(-2px);
}

.ciciban-event-card time {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    padding: 7px;
    color: var(--white);
    background: var(--green);
    border-radius: 50%;
    line-height: 1;
}

.ciciban-event-card time strong,
.ciciban-event-card time span {
    display: block;
}

.ciciban-event-card time strong {
    font-size: 1.2rem;
}

.ciciban-event-card time span {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ciciban-event-card > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.ciciban-event-card > span > strong,
.ciciban-event-card > span > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ciciban-event-card > span > strong {
    color: var(--deep);
    font-size: 0.94rem;
}

.ciciban-event-card > span > small {
    color: var(--muted);
    font-weight: 750;
}

.ciciban-event-list__empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #fff6cf;
    border-left: 6px solid var(--sun);
    border-radius: 6px;
}

.ciciban-event-list__empty span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border-radius: 50%;
    font-weight: 950;
}

.ciciban-event-list__empty p {
    margin: 0;
    color: var(--deep);
    font-weight: 850;
}

@media (max-width: 1100px) {
    .unit-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .quick-card--tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        z-index: 32;
        width: min(440px, 100vw);
        max-height: calc(100dvh - 76px);
        display: none;
        align-items: stretch;
        overflow-y: auto;
        background: var(--white);
        border: 0;
        border-top: 5px solid var(--sun);
        border-radius: 0 0 0 8px;
        box-shadow: -12px 22px 42px rgba(27, 40, 33, 0.2);
        overscroll-behavior: contain;
    }

    .nav.nav--open {
        display: block;
    }

    .nav > ul {
        display: block;
        padding: 8px 16px 18px;
    }

    .nav > ul > li {
        border-bottom: 1px solid #e1e8e3;
    }

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

    .nav .sub-menu {
        position: static;
        width: 100%;
        display: none;
        padding: 4px 8px 12px 20px;
        background: #f3faf5;
        border: 0;
        border-left: 4px solid var(--mint);
        border-radius: 0 0 6px 6px;
        box-shadow: none;
    }

    .nav li:hover > .sub-menu,
    .nav li:focus-within > .sub-menu {
        display: none;
    }

    .nav li.submenu-open > .sub-menu {
        display: block;
    }

    .nav a {
        width: 100%;
        min-height: 48px;
        padding: 12px 50px 11px 10px;
        border-bottom: 0;
        font-size: 0.95rem;
        white-space: normal;
    }

    .nav .sub-menu a {
        min-height: 42px;
        padding: 9px 10px;
        color: #294a3a;
        font-size: 0.88rem;
    }

    .nav > ul > .current-menu-item > a,
    .nav > ul > .current-menu-ancestor > a,
    .nav > ul > li > a[aria-current="page"] {
        color: var(--coral);
        box-shadow: inset 4px 0 0 var(--sun);
    }

    .nav > ul > .menu-item-has-children > a::after {
        display: none;
    }

    .submenu-toggle {
        position: absolute;
        top: 6px;
        right: 4px;
        z-index: 2;
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        padding: 0;
        color: var(--deep);
        background: transparent;
        border: 0;
        border-radius: 6px;
        font: inherit;
        cursor: pointer;
    }

    .submenu-toggle:hover,
    .submenu-toggle:focus-visible,
    .submenu-toggle[aria-expanded="true"] {
        background: #e2f6e8;
    }

    .submenu-toggle span {
        width: 8px;
        height: 8px;
        margin-bottom: 4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transform-origin: center;
        transition: transform 160ms ease;
    }

    .submenu-toggle[aria-expanded="true"] span {
        margin-top: 5px;
        margin-bottom: 0;
        transform: rotate(225deg);
    }

    .nav-section--groups > .sub-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 8px;
        padding-left: 12px;
    }

    .nav .nav-section--groups.submenu-open > .sub-menu {
        display: grid;
    }

    .nav-section--groups > .sub-menu > li > a::before {
        width: 7px;
        height: 7px;
        flex: 0 0 auto;
        margin-right: 8px;
        background: var(--sky);
        border: 1px solid var(--deep);
        border-radius: 50%;
        content: "";
    }

    .nav-scrim {
        position: fixed;
        inset: 0;
        z-index: 31;
        width: 100%;
        height: 100%;
        padding: 0;
        background: rgba(21, 40, 30, 0.34);
        border: 0;
        border-radius: 0;
        cursor: default;
    }

    .nav.nav--open + .nav-scrim {
        display: block;
    }

    html.has-mobile-nav {
        overflow: hidden;
    }
}

@media (max-width: 960px) {
    .stories-layout {
        grid-template-columns: 1fr;
    }

    .upcoming-box {
        position: static;
        order: -1;
    }

    .upcoming-box__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .hero__grid {
        align-items: flex-start;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .posts {
        grid-template-columns: 1fr;
    }

    .post-card,
    .post-card:nth-child(2) {
        grid-column: auto;
    }

    .post-card:first-child {
        grid-column: auto;
        display: block;
    }

    .post-card:first-child .post-card__image img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .feed-list {
        grid-template-columns: 1fr;
    }

    .band-heading {
        display: block;
    }

    .band-heading > p {
        margin-top: 12px;
    }

    .unit-strip,
    .quick-card--tiles {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 4rem;
    }

    .hero--ciciban h1 {
        font-size: 4rem;
    }

    .page-hero h1,
    .page-hero--article h1 {
        font-size: 3.6rem;
    }

    .band-heading h2,
    .section-heading h2,
    .feed-block h2 {
        font-size: 2.65rem;
    }

    .brand__logo {
        width: 72px;
        height: 58px;
    }

    .hero-photo {
        box-shadow: 8px 8px 0 var(--rose);
    }

    .hero-sparkles span:nth-child(1) {
        left: auto;
        right: 5%;
    }

    .hero-sparkles span:nth-child(2),
    .hero-sparkles span:nth-child(3) {
        display: none;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer__links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .gallery-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-link-grid {
        grid-template-columns: 1fr;
    }

    .ciciban-event-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gallery-access {
        grid-template-columns: 1fr;
    }

    .gallery-access__form {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-lightbox,
    .document-modal {
        padding: 10px;
    }

    .gallery-lightbox__inner {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) 72px;
        padding: 8px;
    }

    .gallery-lightbox__stage {
        grid-row: 1;
    }

    .gallery-lightbox__stage img {
        max-height: calc(100vh - 176px);
    }

    .gallery-lightbox__thumbs {
        grid-row: 2;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px;
    }

    .gallery-lightbox__thumbs button {
        width: 72px;
        height: 64px;
        flex-basis: 72px;
    }

    .gallery-lightbox__close {
        top: 14px;
        right: 14px;
    }

    .document-modal__header {
        align-items: flex-start;
        padding: 10px;
    }

    .document-modal__header h2 {
        font-size: 0.95rem;
    }

    .document-modal__download {
        display: none;
    }

    .document-modal iframe {
        min-height: 78vh;
    }

    .upcoming-box {
        padding: 20px;
        box-shadow: 5px 5px 0 rgba(6, 63, 43, 0.14);
    }

    .upcoming-box__list {
        grid-template-columns: 1fr;
    }

    .quick-card--tiles {
        grid-template-columns: 1fr;
    }

    .unit-strip {
        gap: 10px;
    }

    .unit-strip__item {
        min-height: 138px;
        padding: 14px 8px;
    }

    .page-hero--group {
        min-height: 0;
    }

    .page-hero--group .page-hero__inner {
        align-items: flex-start;
        gap: 16px;
    }

    .page-hero--group .page-hero__copy {
        flex: 1 1 auto;
    }

    .page-hero--group .page-hero__copy > p:last-child:not(.eyebrow) {
        display: none;
    }

    .page-hero__group-mark {
        width: 126px;
        height: 126px;
        margin: 0;
        border-width: 4px;
        box-shadow: 6px 7px 0 rgba(6, 63, 43, 0.14);
    }

    .page-hero__group-mark img {
        padding: 8px;
    }

    .group-facts {
        grid-template-columns: 1fr;
    }

    .unit-strip__body strong {
        font-size: 1.05rem;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .document-row,
    .event-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .page-hero--calendar .wrap::after {
        right: 0;
        bottom: -18px;
        width: 92px;
        border-width: 4px;
    }

    .page-hero--calendar .wrap > p:last-of-type {
        max-width: calc(100% - 105px);
        font-size: 0.92rem;
    }

    .ciciban-calendar__toolbar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
    }

    .ciciban-calendar__toolbar div {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .ciciban-calendar__toolbar a {
        width: 100%;
        min-width: 0;
    }

    .ciciban-calendar__quick {
        padding: 10px 16px;
    }

    .ciciban-calendar__quick a {
        flex: 1 1 auto;
        padding-inline: 10px;
    }

    .ciciban-event-list__grid {
        grid-template-columns: 1fr;
    }

    .hero-note {
        right: 10px;
        bottom: 10px;
        max-width: 220px;
        padding: 10px 12px;
        font-size: 0.78rem;
        margin: 0;
    }

    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .masthead {
        gap: 6px;
        padding: 6px 0;
    }

    .brand__logo {
        width: 58px;
        height: 48px;
    }

    .brand__text span {
        font-size: 0.68rem;
    }

    .brand strong {
        font-size: 1.18rem;
    }

    .nav {
        overflow-x: visible;
    }

    .nav a {
        font-size: 0.95rem;
    }

    h1,
    .page-hero h1,
    .page-hero--article h1 {
        font-size: 2.75rem;
    }

    .hero--ciciban h1 {
        font-size: 2.75rem;
    }

    .hero__promise {
        font-size: 1.5rem;
    }

    .band-heading h2,
    .section-heading h2,
    .feed-block h2 {
        font-size: 2.15rem;
    }

    .post-card h2,
    .feed-item h3 {
        font-size: 1.45rem;
    }

    .hero-values {
        gap: 8px 16px;
    }

    .hero {
        padding: 24px 0 26px;
    }

    .hero__grid {
        gap: 20px;
    }

    .hero__copy {
        padding-block: 0;
    }

    .lead {
        margin-top: 12px;
    }

    .hero-values {
        margin-top: 14px;
    }

    .hero-actions {
        margin-top: 18px;
    }

    .hero-photo img {
        aspect-ratio: 16 / 8.5;
    }

    .unit-strip__item:nth-child(odd),
    .unit-strip__item:nth-child(even) {
        transform: none;
    }

    .groups-band,
    .quick-band,
    .content {
        padding: 48px 0;
    }

    .page-hero {
        padding: 38px 0;
    }

    .single-card--article .entry-content,
    .single-card {
        padding: 24px 20px;
    }

    .single-card--article {
        padding: 0;
    }

    .post-card__body,
    .feed-item__body {
        padding: 20px;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

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

/* Home page art direction: a warm, hand-made world of play and discovery. */
.home {
    --leaf: #14704b;
    --leaf-dark: #083f30;
    --butter: #ffe16a;
    --peach: #ff9d78;
    --blush: #ffc4d5;
    --puddle: #a7dded;
    --lilac: #c9b9ef;
    --canvas: #fffaf0;
    --pencil: #24372f;
    background: var(--canvas);
}

.site-header {
    --leaf: #14704b;
    --leaf-dark: #083f30;
    --butter: #ffe16a;
    --peach: #ff9d78;
    --blush: #ffc4d5;
    --puddle: #a7dded;
    border-top: 0;
    border-bottom: 1px solid rgba(8, 63, 48, 0.1);
    box-shadow: 0 8px 30px rgba(8, 63, 48, 0.06);
}

.site-header::before {
    content: "";
    display: block;
    height: 7px;
    background: linear-gradient(90deg, var(--butter) 0 24%, var(--peach) 24% 45%, var(--blush) 45% 64%, var(--puddle) 64% 82%, #8dd7a6 82%);
}

.masthead {
    min-height: 88px;
}

.brand__logo {
    width: 70px;
    height: 70px;
    padding: 3px;
    background: #fff;
    border: 2px solid rgba(8, 63, 48, 0.12);
    border-radius: 50%;
}

.brand strong {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.nav a {
    position: relative;
    z-index: 1;
    padding-inline: 9px;
    border: 0;
}

.nav > ul > li > a::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 4px;
    bottom: 4px;
    left: 4px;
    height: 10px;
    background: var(--butter);
    border-radius: 50%;
    opacity: 0;
    transform: rotate(-2deg) scaleX(0.65);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav > ul > li:nth-child(3n + 2) > a::before {
    background: var(--blush);
}

.nav > ul > li:nth-child(3n) > a::before {
    background: var(--puddle);
}

.nav > ul > li > a:hover::before,
.nav > ul > .current-menu-item > a::before,
.nav > ul > li > a[aria-current="page"]::before {
    opacity: 0.72;
    transform: rotate(-2deg) scaleX(1);
}

.home .hero--ciciban {
    isolation: isolate;
    min-height: 610px;
    padding: clamp(54px, 7vw, 90px) 0 108px;
    background:
        radial-gradient(circle at 7% 20%, rgba(255, 225, 106, 0.4) 0 5px, transparent 6px),
        radial-gradient(circle at 92% 76%, rgba(255, 157, 120, 0.35) 0 7px, transparent 8px),
        var(--canvas);
    background-size: 42px 42px, 56px 56px, auto;
    border: 0;
}

.home .hero--ciciban::before {
    inset: 11% auto auto -100px;
    width: 280px;
    height: 280px;
    background: var(--blush);
    border-radius: 44% 56% 58% 42% / 54% 38% 62% 46%;
    opacity: 0.48;
    transform: rotate(18deg);
}

.hero-doodles {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-doodles__sun {
    position: absolute;
    top: 48px;
    right: 5vw;
    width: 96px;
    height: 96px;
    background: var(--butter);
    border-radius: 42% 58% 46% 54% / 53% 45% 55% 47%;
    box-shadow: 0 0 0 15px rgba(255, 225, 106, 0.18);
    transform: rotate(12deg);
}

.hero-doodles__cloud {
    position: absolute;
    width: 124px;
    height: 36px;
    background: rgba(255, 255, 255, 0.84);
    border-radius: 999px;
    box-shadow: 33px -17px 0 3px rgba(255, 255, 255, 0.84), 68px -5px 0 0 rgba(255, 255, 255, 0.84);
}

.hero-doodles__cloud--one {
    top: 110px;
    left: 43%;
}

.hero-doodles__cloud--two {
    right: 16%;
    bottom: 104px;
    opacity: 0.72;
    transform: scale(0.72);
}

.hero-doodles__scribble {
    position: absolute;
    right: -2%;
    bottom: -160px;
    width: 58%;
    height: 310px;
    background: rgba(167, 221, 237, 0.42);
    border-radius: 58% 42% 0 0 / 72% 48% 0 0;
    transform: rotate(-4deg);
}

.hero-doodles__value {
    position: absolute;
    color: rgba(23, 77, 60, 0.15);
    font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 3.5rem);
    font-weight: 950;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.hero-doodles__value--empathy {
    top: 8%;
    left: 3%;
    transform: rotate(-7deg);
}

.hero-doodles__value--respect {
    top: 18%;
    right: 18%;
    transform: rotate(5deg);
}

.hero-doodles__value--responsibility {
    top: 43%;
    right: -1%;
    transform: rotate(7deg);
}

.hero-doodles__value--belonging {
    bottom: 29%;
    left: 36%;
    transform: rotate(-4deg);
}

.hero-doodles__value--safety {
    bottom: 10%;
    left: 4%;
    transform: rotate(6deg);
}

.hero-doodles__value--acceptance {
    right: 7%;
    bottom: 5%;
    transform: rotate(-7deg);
}

.home .hero__grid {
    grid-template-columns: minmax(0, 0.83fr) minmax(420px, 1.17fr);
    gap: clamp(44px, 7vw, 92px);
}

.home .hero__copy {
    position: relative;
    z-index: 3;
}

.home .hero__copy::after {
    content: none;
}

.home .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--leaf-dark);
    letter-spacing: 0.08em;
}

.home .hero__copy .eyebrow {
    padding: 7px 12px 6px;
    background: var(--butter);
    border-radius: 999px 999px 999px 10px;
    transform: rotate(-1deg);
}

.home .hero--ciciban h1 {
    display: grid;
    width: max-content;
    margin-top: 12px;
    color: var(--coral);
    font-size: clamp(4.4rem, 7vw, 6.75rem);
    line-height: 0.82;
    white-space: normal;
}

.home .hero--ciciban h1 span,
.home .hero--ciciban h1 strong {
    display: block;
    font-weight: 950;
}

.home .hero--ciciban h1 strong {
    margin-left: 0.48em;
    color: var(--leaf);
    font-size: 0.79em;
    transform: rotate(-2deg);
}

.home .hero--ciciban h1 span {
    color: #347fbd;
}

.home .hero__promise {
    max-width: 520px;
    margin-top: 25px;
    color: var(--pencil);
    font-size: clamp(1.65rem, 2.6vw, 2.3rem);
}

.home .hero__vision {
    max-width: 560px;
    color: var(--leaf);
    font-size: clamp(1.18rem, 1.75vw, 1.55rem);
    line-height: 1.36;
}

.home .hero__promise em {
    position: relative;
    z-index: 1;
    color: inherit;
    font-style: normal;
}

.home .hero__promise em::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -5px;
    bottom: 0.05em;
    left: -5px;
    height: 0.42em;
    background: var(--blush);
    border-radius: 50%;
    transform: rotate(-1deg);
}

.home .lead {
    max-width: 490px;
    font-size: 1.08rem;
    font-weight: 700;
}

.home .hero-values {
    gap: 10px;
}

.home .hero-values li {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 7px 11px;
    background: #fff;
    border: 2px solid rgba(8, 63, 48, 0.14);
    border-radius: 999px;
    box-shadow: 2px 3px 0 rgba(8, 63, 48, 0.08);
}

.home .hero-values li::before {
    display: none;
}

.home .hero-values li span {
    color: var(--peach);
}

.home .hero-values li:nth-child(2) {
    transform: rotate(1.5deg);
}

.home .hero-values li:nth-child(2) span {
    color: #e95f88;
}

.home .hero-values li:nth-child(3) span {
    color: var(--leaf);
}

.home .hero-values li:nth-child(4) span {
    color: var(--blue);
}

.home .hero-values li:nth-child(5) span {
    color: var(--sun);
}

.home .hero-values li:nth-child(6) span {
    color: var(--plum);
}

.home .button {
    border-radius: 999px;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.home .button:hover,
.home .button:focus-visible {
    transform: translateY(-3px) rotate(-1deg);
}

.home .button--primary {
    background: var(--leaf);
    box-shadow: 5px 6px 0 var(--butter);
}

.home .button--light {
    border: 2px solid var(--leaf-dark);
    box-shadow: 4px 5px 0 rgba(167, 221, 237, 0.8);
}

.home .hero-photo {
    padding: 12px;
    background: #fff;
    border: 0;
    border-radius: 38% 62% 41% 59% / 52% 39% 61% 48%;
    box-shadow: 18px 20px 0 var(--butter), -18px -14px 0 var(--puddle);
    transform: rotate(1.2deg);
}

.home .hero-photo::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -28px -22px -20px -26px;
    border: 3px dashed rgba(8, 63, 48, 0.28);
    border-radius: 44% 56% 48% 52% / 46% 42% 58% 54%;
    transform: rotate(-3deg);
}

.home .hero-photo img {
    min-height: 390px;
    aspect-ratio: 4 / 3;
    border-radius: 37% 63% 40% 60% / 51% 39% 61% 49%;
}

.hero-photo__tape {
    position: absolute;
    top: -8px;
    left: 43%;
    width: 90px;
    height: 28px;
    background: rgba(255, 157, 120, 0.76);
    transform: rotate(-4deg);
}

.hero-photo__flower {
    position: absolute;
    top: 4%;
    right: -3%;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    color: #fff;
    background: var(--peach);
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 5px 6px 0 rgba(8, 63, 48, 0.12);
    font-size: 2.6rem;
    transform: rotate(12deg);
}

.home .hero-note {
    right: 0;
    bottom: 4%;
    max-width: 285px;
    padding: 20px 22px;
    background: #fff;
    border: 0;
    border-radius: 18px 18px 6px 18px;
    box-shadow: 7px 8px 0 var(--peach);
    transform: rotate(-2deg);
}

.hero-note__pin {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 11px;
    height: 11px;
    background: var(--leaf);
    border-radius: 50%;
    box-shadow: 1px 2px 0 rgba(8, 63, 48, 0.25);
}

.home .hero-note strong {
    margin-bottom: 5px;
    color: var(--leaf-dark);
    font-size: 1.16rem;
}

.hero-wave {
    position: absolute;
    right: -3%;
    bottom: -66px;
    left: -3%;
    height: 112px;
    background: #dff4e5;
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
    transform: none;
}

.home .groups-band {
    position: relative;
    z-index: 1;
    padding: 58px 0 94px;
    background: #dff4e5;
    border: 0;
}

.home .groups-band::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -44px;
    left: 0;
    height: 88px;
    background: #fff7d2;
    border-radius: 50% 50% 0 0 / 62% 62% 0 0;
}

.home .band-heading {
    align-items: center;
    margin-bottom: 38px;
}

.home .band-heading h2 {
    color: var(--pencil);
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 0.95;
}

.home .band-heading > p {
    max-width: 430px;
    padding: 18px 20px;
    color: var(--leaf-dark);
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed rgba(8, 63, 48, 0.2);
    border-radius: 24px 8px 24px 8px;
    transform: rotate(1deg);
}

.home .unit-strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 24px 12px;
}

.home .unit-strip__item {
    position: relative;
    min-width: 0;
    min-height: 178px;
    padding: 16px 8px 18px;
    background: transparent;
    border: 0;
    border-radius: 48% 52% 45% 55% / 54% 45% 55% 46%;
    box-shadow: none;
}

.home .unit-strip__item:nth-child(odd),
.home .unit-strip__item:nth-child(even) {
    transform: none;
}

.home .unit-strip__item::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px 3px 0;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 45% 55% 47% 53% / 50% 45% 55% 50%;
    transform: rotate(-1deg);
    transition: background 160ms ease, transform 160ms ease;
}

.home .unit-strip__item:nth-child(2n)::before {
    background: rgba(255, 225, 106, 0.66);
    transform: rotate(1.5deg);
}

.home .unit-strip__item:nth-child(3n)::before {
    background: rgba(255, 196, 213, 0.7);
}

.home .unit-strip__item:nth-child(4n)::before {
    background: rgba(167, 221, 237, 0.72);
}

.home .unit-strip__mark {
    width: 86px;
    height: 86px;
    background: #fff;
    border: 5px solid #fff;
    box-shadow: 0 0 0 3px var(--leaf), 5px 6px 0 rgba(8, 63, 48, 0.13);
    transition: transform 180ms ease;
}

.home .unit-strip__item--rose .unit-strip__mark {
    box-shadow: 0 0 0 3px #e95f88, 5px 6px 0 rgba(8, 63, 48, 0.13);
}

.home .unit-strip__item--sun .unit-strip__mark {
    box-shadow: 0 0 0 3px #e8b900, 5px 6px 0 rgba(8, 63, 48, 0.13);
}

.home .unit-strip__item--sky .unit-strip__mark {
    box-shadow: 0 0 0 3px var(--blue), 5px 6px 0 rgba(8, 63, 48, 0.13);
}

.home .unit-strip__body strong {
    color: var(--leaf-dark);
}

.home .unit-strip__item small {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.home .unit-strip__item:hover {
    border: 0;
    box-shadow: none;
    transform: translateY(-5px);
}

.home .unit-strip__item:hover::before {
    background: #fff;
    transform: rotate(0);
}

.home .unit-strip__item:hover .unit-strip__mark {
    transform: rotate(-6deg) scale(1.05);
}

.home .unit-strip__item:hover small,
.home .unit-strip__item:focus-visible small {
    opacity: 1;
    transform: translateY(0);
}

.home .quick-band {
    position: relative;
    z-index: 0;
    padding: 100px 0 88px;
    background:
        radial-gradient(circle at 10% 28%, rgba(255, 157, 120, 0.2) 0 100px, transparent 101px),
        radial-gradient(circle at 92% 80%, rgba(201, 185, 239, 0.25) 0 150px, transparent 151px),
        #fff7d2;
    border: 0;
}

.home .quick-card--tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.home .quick-card a {
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 20px;
    background: #fff;
    border: 0;
    border-radius: 28px 8px 28px 8px;
    box-shadow: 5px 6px 0 rgba(8, 63, 48, 0.11);
}

.home .quick-card a:nth-child(2n) {
    background: #fffdf3;
    border-radius: 8px 28px 8px 28px;
    transform: translateY(10px);
}

.home .quick-card a:hover {
    border: 0;
    box-shadow: 8px 10px 0 rgba(8, 63, 48, 0.14);
    transform: translateY(-5px) rotate(-1deg);
}

.home .quick-card a:nth-child(2n):hover {
    transform: translateY(3px) rotate(1deg);
}

.home .quick-card__icon {
    width: 58px;
    height: 58px;
    border: 0;
    box-shadow: 4px 5px 0 rgba(8, 63, 48, 0.12);
    font-size: 1.5rem;
}

.home .quick-card__text strong {
    font-size: 1.18rem;
}

.home .quick-card__text small {
    margin-top: 8px;
    font-size: 0.8rem;
}

.home .content--stories {
    position: relative;
    padding: 90px 0 100px;
    background: #f2eefa;
}

.home .content--stories::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 32px;
    background: #fff7d2;
    clip-path: polygon(0 0, 100% 0, 100% 18%, 94% 78%, 87% 26%, 80% 82%, 73% 22%, 65% 74%, 57% 20%, 49% 80%, 40% 25%, 32% 76%, 24% 18%, 16% 82%, 8% 24%, 0 76%);
}

.home .section-heading::after {
    width: 132px;
    height: 12px;
    background: var(--butter);
    border: 0;
    border-radius: 50%;
    transform: rotate(-2deg);
}

.home .stories-main .posts {
    gap: 20px;
}

.home .post-card {
    border: 0;
    border-radius: 24px 8px 24px 8px;
    box-shadow: 6px 7px 0 rgba(8, 63, 48, 0.09);
}

.home .post-card:nth-child(2n) {
    border-radius: 8px 24px 8px 24px;
}

.home .post-card:hover {
    border: 0;
    box-shadow: 9px 11px 0 rgba(8, 63, 48, 0.12);
}

.home .post-card__image {
    padding: 0;
    background: var(--leaf);
}

.home .post-card__image img {
    border-radius: 0;
}

.home .post-card:first-child .post-card__image {
    padding: 10px;
    background: var(--butter);
}

.home .post-card:first-child .post-card__image img {
    border-radius: 16px 4px 4px 16px;
}

.home .post-card h2 a {
    color: var(--leaf-dark);
}

.home .upcoming-box {
    border: 0;
    border-radius: 30px 10px 30px 10px;
    box-shadow: 9px 10px 0 var(--lilac);
    transform: rotate(0.6deg);
}

.home .upcoming-box::before {
    content: "✦";
    position: absolute;
    top: -24px;
    right: 18px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--leaf-dark);
    background: var(--butter);
    border-radius: 50%;
    font-size: 1.5rem;
    transform: rotate(10deg);
}

.home .upcoming-event {
    border: 0;
    background: #f7faf6;
    border-radius: 16px 6px 16px 6px;
}

@media (max-width: 1100px) {
    .home .unit-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home .quick-card--tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home .hero--ciciban h1 {
        font-size: clamp(3.9rem, 7.4vw, 5.8rem);
    }
}

@media (max-width: 860px) {
    .home .hero--ciciban {
        padding-top: 44px;
    }

    .home .hero__grid {
        grid-template-columns: 1fr;
    }

    .home .hero__copy {
        max-width: 650px;
    }

    .home .hero-photo {
        width: min(680px, calc(100% - 26px));
        margin-inline: auto;
    }

    .home .hero-photo img {
        min-height: 330px;
    }

    .home .band-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .home .quick-card a {
        min-height: 165px;
    }
}

@media (max-width: 640px) {
    .home .masthead {
        min-height: 70px;
    }

    .home .brand__logo {
        width: 54px;
        height: 54px;
    }

    .home .hero--ciciban {
        padding: 34px 0 88px;
    }

    .home .hero--ciciban h1 {
        font-size: clamp(3.3rem, 17vw, 4.6rem);
    }

    .home .hero__copy::after,
    .hero-doodles__cloud,
    .hero-photo__flower {
        display: none;
    }

    .home .hero__promise {
        font-size: 1.55rem;
    }

    .home .hero-values {
        gap: 7px;
    }

    .home .hero-values li {
        padding: 6px 9px;
        font-size: 0.84rem;
    }

    .home .hero-photo {
        width: calc(100% - 14px);
        padding: 7px;
        box-shadow: 9px 11px 0 var(--butter), -9px -8px 0 var(--puddle);
    }

    .home .hero-photo img {
        min-height: 230px;
    }

    .home .hero-note {
        right: -2px;
        bottom: -14px;
        max-width: 225px;
        padding: 13px 15px;
    }

    .home .groups-band {
        padding-bottom: 72px;
    }

    .home .band-heading h2 {
        font-size: 2.65rem;
    }

    .home .band-heading > p {
        padding: 14px 16px;
    }

    .home .unit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home .unit-strip__item {
        min-height: 164px;
    }

    .home .unit-strip__item small {
        opacity: 1;
        transform: none;
    }

    .home .quick-card--tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .quick-card a,
    .home .quick-card a:nth-child(2n) {
        min-height: 168px;
        padding: 18px 14px;
        transform: none;
    }

    .home .quick-card__icon {
        width: 50px;
        height: 50px;
    }

    .home .stories-main .posts {
        grid-template-columns: 1fr;
    }

    .home .stories-main .post-card:first-child {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .home .post-card:first-child .post-card__image img {
        min-height: 240px;
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 420px) {
    .home .hero--ciciban h1 {
        width: auto;
        font-size: 3.2rem;
    }

    .home .hero--ciciban h1 strong {
        margin-left: 0.3em;
    }

    .home .hero-values li {
        font-size: 0.78rem;
    }

    .home .quick-card--tiles {
        grid-template-columns: 1fr;
    }

    .home .quick-card a,
    .home .quick-card a:nth-child(2n) {
        min-height: 125px;
        flex-direction: row;
        align-items: center;
    }
}

/* Groups section refinement: a clear, friendly wall of classroom doors. */
.home .groups-band {
    padding-top: 72px;
}

.home .groups-band .band-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(32px, 6vw, 80px);
    align-items: end;
    margin-bottom: 42px;
}

.home .groups-band .band-heading h2 {
    max-width: 760px;
    font-size: clamp(2.9rem, 5.2vw, 4.8rem);
}

.groups-count {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 2px dashed rgba(8, 63, 48, 0.18);
    border-radius: 22px 7px 22px 7px;
    box-shadow: 6px 7px 0 rgba(8, 63, 48, 0.08);
    transform: rotate(0.7deg);
}

.groups-count > strong {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    color: var(--leaf-dark);
    background: var(--butter);
    border-radius: 50%;
    box-shadow: 4px 5px 0 rgba(8, 63, 48, 0.12);
    font-size: 2.5rem;
    line-height: 1;
}

.groups-count span,
.groups-count b {
    display: block;
}

.groups-count span {
    color: #46564c;
    font-size: 0.9rem;
    font-weight: 730;
    line-height: 1.42;
}

.groups-count b {
    margin-bottom: 3px;
    color: var(--leaf-dark);
    font-size: 1.06rem;
    font-weight: 950;
}

.home .unit-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home .unit-strip__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 132px;
    gap: 15px;
    align-items: center;
    justify-content: stretch;
    padding: 17px;
    text-align: left;
    border-radius: 24px 7px 24px 7px;
    box-shadow: 6px 7px 0 rgba(8, 63, 48, 0.09);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.home .unit-strip__item::before {
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(8, 63, 48, 0.08);
    border-radius: inherit;
    transform: none;
}

.home .unit-strip__item--sun::before {
    background: rgba(255, 230, 112, 0.82);
}

.home .unit-strip__item--rose::before {
    background: rgba(255, 196, 213, 0.82);
}

.home .unit-strip__item--sky::before {
    background: rgba(167, 221, 237, 0.82);
}

.home .unit-strip__item--mint::before {
    background: rgba(255, 255, 255, 0.9);
}

.home .unit-strip .unit-strip__item--rose::before {
    background: rgba(255, 196, 213, 0.84);
}

.home .unit-strip .unit-strip__item--mint::before {
    background: rgba(239, 250, 243, 0.94);
}

.home .unit-strip .unit-strip__item--sun::before {
    background: rgba(255, 230, 112, 0.84);
}

.home .unit-strip .unit-strip__item--sky::before {
    background: rgba(167, 221, 237, 0.84);
}

.home .unit-strip .unit-strip__item--peach::before {
    background: rgba(255, 212, 189, 0.88);
}

.home .unit-strip .unit-strip__item--lilac::before {
    background: rgba(221, 210, 246, 0.88);
}

.home .unit-strip .unit-strip__item--lime::before {
    background: rgba(217, 239, 178, 0.86);
}

.home .unit-strip .unit-strip__item--aqua::before {
    background: rgba(188, 233, 223, 0.88);
}

.home .unit-strip__item:nth-child(4n + 2) {
    transform: translateY(6px);
}

.home .unit-strip__mark {
    width: 86px;
    height: 86px;
    margin: 0;
    box-shadow: 0 0 0 3px var(--leaf), 4px 5px 0 rgba(8, 63, 48, 0.11);
}

.home .unit-strip__item--peach .unit-strip__mark {
    box-shadow: 0 0 0 3px #dc745c, 4px 5px 0 rgba(8, 63, 48, 0.11);
}

.home .unit-strip__item--lilac .unit-strip__mark {
    box-shadow: 0 0 0 3px #775ea8, 4px 5px 0 rgba(8, 63, 48, 0.11);
}

.home .unit-strip__item--lime .unit-strip__mark {
    box-shadow: 0 0 0 3px #5c8f38, 4px 5px 0 rgba(8, 63, 48, 0.11);
}

.home .unit-strip__item--aqua .unit-strip__mark {
    box-shadow: 0 0 0 3px #138779, 4px 5px 0 rgba(8, 63, 48, 0.11);
}

.home .unit-strip__body {
    min-width: 0;
}

.home .unit-strip__body strong {
    font-size: clamp(1.08rem, 1.45vw, 1.28rem);
    overflow-wrap: anywhere;
}

.home .unit-strip__item small {
    margin-top: 9px;
    color: #536158;
    font-size: 0.76rem;
    opacity: 1;
    transform: none;
}

.home .unit-strip__item small span {
    display: inline-block;
    margin-left: 3px;
    color: var(--leaf);
    font-size: 1rem;
    transition: transform 160ms ease;
}

.home .unit-strip__item:hover {
    box-shadow: 9px 11px 0 rgba(8, 63, 48, 0.13);
    transform: translateY(-4px) rotate(-0.5deg);
}

.home .unit-strip__item:hover::before {
    background: #fff;
}

.home .unit-strip__item:hover small span {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .home .groups-band .band-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
    }

    .groups-count {
        width: min(100%, 440px);
    }

    .home .unit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home .groups-band {
        padding-top: 58px;
    }

    .home .groups-band .band-heading h2 {
        font-size: 2.65rem;
    }

    .groups-count {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .groups-count > strong {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .groups-count span {
        font-size: 0.8rem;
    }

    .groups-count b {
        font-size: 0.96rem;
    }

    .home .unit-strip {
        gap: 12px 10px;
    }

    .home .unit-strip__item {
        display: flex;
        min-height: 188px;
        flex-direction: column;
        gap: 11px;
        padding: 15px 9px;
        text-align: center;
        border-radius: 24px 7px 24px 7px;
    }

    .home .unit-strip__item:nth-child(4n + 2) {
        transform: translateY(4px);
    }

    .home .unit-strip__mark {
        width: 82px;
        height: 82px;
    }

    .home .unit-strip__body strong {
        font-size: 1.05rem;
    }

    .home .unit-strip__item small {
        margin-top: 6px;
        font-size: 0.7rem;
    }
}

/* Inner pages: extend the homepage's playful paper-collage language. */
body:not(.home) {
    overflow-x: clip;
}

body:not(.home) main {
    min-height: 62vh;
    background:
        linear-gradient(rgba(8, 122, 73, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 122, 73, 0.045) 1px, transparent 1px),
        #f7f5e9;
    background-size: 32px 32px;
}

body:not(.home) .page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px;
    padding-block: 64px 76px;
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 24%, rgba(255, 224, 92, 0.72) 0 70px, transparent 72px),
        radial-gradient(circle at 76% 115%, rgba(255, 180, 199, 0.58) 0 100px, transparent 102px),
        linear-gradient(rgba(8, 122, 73, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 122, 73, 0.04) 1px, transparent 1px),
        #dff3e5;
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
    border: 0;
}

body:not(.home) .page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 38px;
    right: max(28px, calc((100vw - 1180px) / 2));
    width: 176px;
    height: 22px;
    background: rgba(255, 121, 168, 0.54);
    border-radius: 50%;
    transform: rotate(-5deg);
}

body:not(.home) .page-hero::after {
    content: "✿  ·  ★  ·  ☀";
    position: absolute;
    z-index: -1;
    right: max(36px, calc((100vw - 1120px) / 2));
    bottom: 24px;
    color: rgba(6, 63, 43, 0.15);
    font-size: clamp(1.3rem, 3.8vw, 3.4rem);
    font-weight: 950;
    letter-spacing: 0.16em;
    transform: rotate(-2deg);
}

body:not(.home) .page-hero .wrap,
body:not(.home) .page-hero__inner {
    position: relative;
    z-index: 1;
}

body:not(.home) .page-hero .eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 11px;
    color: var(--deep);
    background: rgba(255, 224, 92, 0.9);
    border-radius: 10px 3px 10px 3px;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.09em;
}

body:not(.home) .page-hero h1,
body:not(.home) .page-hero--article h1 {
    max-width: 900px;
    margin: 0;
    color: var(--deep);
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-wrap: balance;
}

body:not(.home) .page-hero .wrap > p:last-child:not(.eyebrow),
body:not(.home) .page-hero__copy > p:last-child:not(.eyebrow),
body:not(.home) .post-meta--hero {
    max-width: 720px;
    margin-top: 20px;
    color: rgba(6, 63, 43, 0.78);
    font-size: 1.02rem;
    font-weight: 700;
}

body:not(.home) .content {
    position: relative;
    padding-block: 58px 86px;
    background: transparent;
}

body:not(.home) .page-layout,
body:not(.home) .single-layout {
    gap: 28px;
}

body:not(.home) .single-card,
body:not(.home) .empty-state {
    position: relative;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(6, 63, 43, 0.12);
    border-radius: 24px 8px 24px 8px;
    box-shadow: 9px 11px 0 rgba(6, 63, 43, 0.1);
}

body:not(.home) .single-card::before,
body:not(.home) .empty-state::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -9px;
    left: 34px;
    width: 110px;
    height: 18px;
    background: rgba(255, 224, 92, 0.88);
    border-radius: 2px;
    transform: rotate(-2deg);
}

body:not(.home) .single-card .entry-content {
    padding: clamp(24px, 4vw, 48px);
}

body:not(.home) .single-card--article .entry-content {
    padding: clamp(24px, 4vw, 48px);
}

body:not(.home) .entry-content h2 {
    position: relative;
    margin-top: 1.7em;
    padding-left: 18px;
    color: var(--deep);
}

body:not(.home) .entry-content h2::before {
    content: "";
    position: absolute;
    top: 0.12em;
    bottom: 0.12em;
    left: 0;
    width: 7px;
    background: var(--rose);
    border-radius: 5px 2px 5px 2px;
}

body:not(.home) .entry-content h3 {
    color: var(--green);
}

body:not(.home) .entry-content blockquote {
    margin-inline: 0;
    padding: 18px 22px;
    background: rgba(188, 233, 223, 0.34);
    border: 0;
    border-left: 7px solid #138779;
    border-radius: 6px 18px 6px 18px;
}

body:not(.home) .posts,
body:not(.home) .document-list,
body:not(.home) .gallery-grid,
body:not(.home) .gallery-group-grid {
    gap: 18px;
}

body:not(.home) .post-card,
body:not(.home) .document-row,
body:not(.home) .gallery-card,
body:not(.home) .gallery-group-card,
body:not(.home) .event-card,
body:not(.home) .section-link,
body:not(.home) .staff-card {
    border: 2px solid rgba(6, 63, 43, 0.11);
    border-radius: 22px 7px 22px 7px;
    box-shadow: 7px 9px 0 rgba(6, 63, 43, 0.08);
}

body:not(.home) .post-card:nth-child(4n + 1),
body:not(.home) .document-row:nth-child(4n + 1) {
    background: rgba(255, 255, 255, 0.96);
}

body:not(.home) .post-card:nth-child(4n + 2),
body:not(.home) .document-row:nth-child(4n + 2) {
    background: rgba(188, 233, 223, 0.34);
}

body:not(.home) .post-card:nth-child(4n + 3),
body:not(.home) .document-row:nth-child(4n + 3) {
    background: rgba(255, 212, 189, 0.38);
}

body:not(.home) .post-card:nth-child(4n),
body:not(.home) .document-row:nth-child(4n) {
    background: rgba(221, 210, 246, 0.38);
}

body:not(.home) .section-link {
    border-top: 8px solid var(--rose);
}

body:not(.home) .section-link:nth-child(4n + 2) {
    background: rgba(188, 233, 223, 0.34);
    border-top-color: #138779;
}

body:not(.home) .section-link:nth-child(4n + 3) {
    background: rgba(255, 212, 189, 0.38);
    border-top-color: #dc745c;
}

body:not(.home) .section-link:nth-child(4n) {
    background: rgba(221, 210, 246, 0.38);
    border-top-color: #775ea8;
}

body:not(.home) .staff-card {
    border-top-width: 7px;
}

body:not(.home) .post-card:hover,
body:not(.home) .document-row:hover,
body:not(.home) .gallery-card:hover,
body:not(.home) .gallery-group-card:hover,
body:not(.home) .event-card:hover,
body:not(.home) .section-link:hover,
body:not(.home) .staff-card:hover {
    box-shadow: 10px 12px 0 rgba(6, 63, 43, 0.12);
    transform: translateY(-4px) rotate(-0.35deg);
}

body:not(.home) .document-section {
    padding: clamp(22px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.72);
    border: 2px dashed rgba(6, 63, 43, 0.16);
    border-radius: 24px 8px 24px 8px;
}

body:not(.home) .document-section > h2 {
    margin-top: 0;
    color: var(--deep);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
}

body:not(.home) .page-hero--food {
    min-height: 0;
    padding-block: 34px 38px;
    background:
        radial-gradient(circle at 92% 18%, rgba(255, 224, 92, 0.72) 0 48px, transparent 50px),
        linear-gradient(rgba(8, 122, 73, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 122, 73, 0.04) 1px, transparent 1px),
        #dff3e5;
    background-size: auto, 28px 28px, 28px 28px, auto;
}

body:not(.home) .page-hero--food::before {
    width: 116px;
    height: 16px;
    background: rgba(255, 121, 168, 0.44);
}

body:not(.home) .page-hero--food::after {
    display: none;
}

body:not(.home) .page-hero--food h1 {
    max-width: 720px;
    font-size: clamp(2.6rem, 5vw, 4.35rem);
    line-height: 0.98;
}

.food-hero-mark {
    display: grid;
    min-width: 150px;
    justify-items: center;
    gap: 9px;
    padding: 13px 18px 11px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.76);
    border: 2px dashed rgba(6, 63, 43, 0.17);
    border-radius: 34px 10px 34px 10px;
    box-shadow: 7px 8px 0 rgba(6, 63, 43, 0.09);
    transform: rotate(2deg);
}

.food-hero-mark__plate {
    display: flex;
    width: 92px;
    height: 74px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    border: 7px solid var(--sun);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(6, 63, 43, 0.08);
}

.food-hero-mark__plate i {
    display: block;
    width: 14px;
    height: 14px;
    background: var(--green);
    border-radius: 50%;
}

.food-hero-mark__plate i:nth-child(2) {
    width: 18px;
    height: 18px;
    background: var(--coral);
}

.food-hero-mark__plate i:nth-child(3) {
    background: var(--rose);
}

.food-hero-mark small {
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: 0.82rem;
    font-weight: 950;
}

.food-page-layout {
    display: grid;
    gap: clamp(28px, 5vw, 54px);
}

body:not(.home) .food-page-layout .document-section {
    margin-top: 0;
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 255, 255, 0.86);
    border-style: solid;
    box-shadow: 9px 11px 0 rgba(6, 63, 43, 0.09);
}

.document-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 18px 36px;
    align-items: end;
    margin-bottom: 24px;
}

.document-section__heading .eyebrow {
    margin: 0 0 8px;
    color: var(--green);
}

body:not(.home) .document-section__heading h2 {
    margin: 0;
}

.document-section__heading > p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
}

body:not(.home) .document-row--current {
    background: rgba(255, 224, 92, 0.44);
    border-color: rgba(6, 63, 43, 0.24);
    box-shadow: 8px 10px 0 rgba(255, 208, 0, 0.32);
}

.document-row__status {
    display: inline-flex;
    min-width: 76px;
    justify-content: center;
    padding: 6px 9px 5px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.document-row--current .document-row__status {
    color: #fff;
    background: var(--green);
}

.food-information-card {
    margin-top: 0;
}

.food-information-card .static-section h2 {
    margin-top: 0;
}

body:not(.home) .unit-strip--directory {
    gap: 18px;
}

body:not(.home) .unit-strip--directory .unit-strip__item {
    min-height: 156px;
    border-width: 2px;
    border-top-width: 9px;
    border-radius: 23px 7px 23px 7px;
    box-shadow: 7px 9px 0 rgba(6, 63, 43, 0.09);
}

body:not(.home) .unit-strip--directory .unit-strip__item:hover {
    box-shadow: 10px 12px 0 rgba(6, 63, 43, 0.13);
}

body:not(.home) .page-hero--group {
    background-color: #dff3e5;
}

body:not(.home) .page-hero--group::after {
    top: auto;
    right: max(36px, calc((100vw - 1120px) / 2));
    bottom: 24px;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
}

body:not(.home) .page-hero--peach {
    background-color: #ffe2d2;
}

body:not(.home) .page-hero--lilac {
    background-color: #e9e1fa;
}

body:not(.home) .page-hero--lime {
    background-color: #e7f4c9;
}

body:not(.home) .page-hero--aqua {
    background-color: #d5f1ea;
}

body:not(.home) .pagination .page-numbers {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid rgba(6, 63, 43, 0.15);
    border-radius: 11px 3px 11px 3px;
    text-decoration: none;
}

body:not(.home) .pagination .current {
    color: #fff;
    background: var(--deep);
}

@media (max-width: 700px) {
    body:not(.home) .page-hero {
        min-height: auto;
        padding-block: 38px 46px;
        background:
            radial-gradient(circle at 110% 12%, rgba(255, 224, 92, 0.66) 0 68px, transparent 70px),
            linear-gradient(rgba(8, 122, 73, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(8, 122, 73, 0.04) 1px, transparent 1px),
            #dff3e5;
        background-size: auto, 26px 26px, 26px 26px, auto;
    }

    body:not(.home) .page-hero::after {
        display: none;
    }

    .page-hero__facts {
        margin-top: 14px;
        padding: 7px 8px;
        box-shadow: 5px 6px 0 rgba(6, 63, 43, 0.1);
    }

    body:not(.home) .page-hero h1,
    body:not(.home) .page-hero--article h1 {
        font-size: clamp(2.45rem, 13vw, 3.7rem);
    }

    body:not(.home) .content {
        padding-block: 38px 64px;
    }

    body:not(.home) .single-card .entry-content,
    body:not(.home) .single-card--article .entry-content {
        padding: 26px 20px;
    }

    body:not(.home) .page-hero--food {
        padding-block: 30px 34px;
    }

    .page-hero--food .page-hero__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .food-hero-mark {
        min-width: 0;
        grid-template-columns: auto auto;
        align-items: center;
        justify-items: start;
        padding: 9px 14px 9px 10px;
    }

    .food-hero-mark__plate {
        width: 62px;
        height: 50px;
        border-width: 5px;
    }

    .food-hero-mark__plate i {
        width: 9px;
        height: 9px;
    }

    .food-hero-mark__plate i:nth-child(2) {
        width: 12px;
        height: 12px;
    }

    .document-section__heading {
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }
}

@media (max-width: 420px) {
    .masthead {
        gap: 5px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand__logo {
        width: 50px;
        height: 44px;
        flex: 0 0 auto;
    }

    .brand__text {
        min-width: 0;
    }

    .brand__text span {
        font-size: 0.58rem;
    }

    .brand strong {
        font-size: 1.04rem;
    }

    .nav-toggle {
        flex: 0 0 auto;
        gap: 6px;
        padding-inline: 9px;
    }
}

/* Dropdown links keep dark text on the light menu surface. */
.nav .sub-menu a:hover,
.nav .sub-menu a:focus-visible,
.nav .sub-menu .current-menu-item > a,
.nav .sub-menu .current-menu-ancestor > a {
    color: var(--deep);
    background: rgba(255, 224, 92, 0.28);
    border-color: rgba(8, 122, 73, 0.18);
}

/* Logo-led palette and a calmer, nature-inspired kindergarten home page. */
.home,
.site-header {
    --leaf: #1dac62;
    --leaf-dark: #174d3c;
    --butter: #f3db4f;
    --peach: #efaa92;
    --blush: #f3d3ce;
    --puddle: #cfe9f8;
    --lilac: #d9daf0;
    --canvas: #f8fcf8;
    --pencil: #243a31;
}

body,
.content,
.page-hero,
.archive-hero {
    background-color: var(--paper);
}

.site-header::before {
    background: linear-gradient(90deg, #82d99a 0 33%, #d9edfb 33% 62%, #f3db4f 62% 82%, #efc3bc 82%);
}

.home .hero--ciciban {
    min-height: 680px;
    padding: clamp(54px, 6vw, 78px) 0 120px;
    background:
        linear-gradient(155deg, rgba(217, 237, 251, 0.24), transparent 42%),
        var(--canvas);
    background-size: auto;
    box-shadow: inset 0 -54px 0 #e7f6eb;
}

.home .hero--ciciban::before {
    inset: auto auto 72px -125px;
    width: 340px;
    height: 250px;
    background: #e5f5e8;
    opacity: 0.9;
}

.hero-doodles__sun {
    top: 54px;
    right: 4.5vw;
    width: 82px;
    height: 82px;
    background: #f5df68;
    box-shadow: 0 0 0 17px rgba(245, 223, 104, 0.2);
}

.hero-doodles__cloud {
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 33px -17px 0 3px rgba(255, 255, 255, 0.76), 68px -5px 0 0 rgba(255, 255, 255, 0.76);
}

.hero-doodles__nature {
    position: absolute;
    right: 40px;
    bottom: 70px;
    width: min(43vw, 650px);
    height: auto;
    opacity: 0.72;
}

.hero-doodles__landscape {
    position: absolute;
    bottom: 10px;
    left: -70px;
    width: min(42vw, 620px);
    height: auto;
    opacity: .7;
    -webkit-mask-image: linear-gradient(90deg, #000 0 74%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0 74%, transparent 100%);
}

.hero-landscape__hill--back {
    fill: #d9edfb;
}

.hero-landscape__hill--front {
    fill: #dff3e5;
}

.hero-landscape__pond {
    fill: #9dd9ec;
}

.hero-landscape__pond-shine {
    fill: none;
    stroke: rgba(255, 255, 255, .78);
    stroke-linecap: round;
    stroke-width: 8px;
}

.hero-landscape__tree path {
    fill: none;
    stroke: #a47b61;
    stroke-linecap: round;
    stroke-width: 13px;
}

.hero-landscape__tree circle:nth-of-type(1) {
    fill: #82d99a;
}

.hero-landscape__tree circle:nth-of-type(2) {
    fill: #b7dff3;
}

.hero-landscape__tree circle:nth-of-type(3) {
    fill: #bfe8bd;
}

.hero-landscape__bush circle:nth-of-type(1) {
    fill: #a9e2b6;
}

.hero-landscape__bush circle:nth-of-type(2) {
    fill: #82d99a;
}

.hero-landscape__bush circle:nth-of-type(3) {
    fill: #ccebbd;
}

.hero-doodles__tree path {
    fill: none;
    stroke: #9a755c;
    stroke-linecap: round;
    stroke-width: 15px;
}

.hero-doodles__tree circle {
    fill: #a9e2b6;
}

.hero-doodles__tree circle:nth-of-type(2),
.hero-doodles__tree circle:nth-of-type(5) {
    fill: #7fd49a;
}

.hero-doodles__tree circle:nth-of-type(3) {
    fill: #ccebbd;
}

.hero-doodles__tree circle:nth-of-type(4) {
    fill: #b7dff3;
}

.hero-doodles__birds path {
    fill: none;
    stroke: #5f9dc8;
    stroke-linecap: round;
    stroke-width: 7px;
}

.hero-doodles__scribble {
    right: -5%;
    bottom: -185px;
    width: 62%;
    background: rgba(185, 226, 243, 0.34);
}

.home .hero__grid {
    grid-template-columns: minmax(380px, 0.8fr) minmax(560px, 1.2fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.hero-house {
    position: relative;
    z-index: 2;
    width: min(100%, 650px);
    margin: 22px auto 0;
    padding-top: 108px;
    filter: drop-shadow(10px 14px 0 rgba(23, 77, 60, 0.1));
    transform: rotate(0.25deg);
}

.hero-house__roof {
    position: absolute;
    z-index: 2;
    top: -5px;
    right: 2%;
    left: 2%;
    display: grid;
    height: 166px;
    place-items: start center;
    padding-top: 8px;
    background:
        linear-gradient(112deg, rgba(255,255,255,.2) 0 33%, transparent 34%),
        linear-gradient(135deg, #e95f4f, #f47d68 52%, #e86653);
    clip-path: polygon(49% 0, 100% 73%, 96% 100%, 5% 97%, 0 76%);
    filter: drop-shadow(0 8px 0 #a9dff0);
}

.hero-house__roof::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 7px;
    left: 22px;
    height: 15px;
    background: repeating-linear-gradient(90deg, #f3db4f 0 34px, #91d7e8 34px 68px, #78cf97 68px 102px);
    border-radius: 999px;
}

.hero-house__chimney {
    position: absolute;
    z-index: 1;
    top: 29px;
    right: 16%;
    width: 48px;
    height: 76px;
    background: #e58d79;
    border: 5px solid #fff;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    transform: rotate(4deg);
}

.hero-house__chimney::before,
.hero-house__chimney::after,
.hero-house__chimney i {
    content: "";
    position: absolute;
    width: 18px;
    height: 11px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.hero-house__chimney::before { top: -20px; left: 24px; }
.hero-house__chimney::after { top: -37px; left: 36px; opacity: .72; }
.hero-house__chimney i:first-child { top: -52px; left: 49px; opacity: .45; }
.hero-house__chimney i:last-child { display: none; }

.hero-house__roof img {
    position: relative;
    z-index: 1;
    width: 98px;
    height: 82px;
    object-fit: contain;
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 0 rgba(23, 77, 60, 0.1);
}

.hero-house__body {
    position: relative;
    z-index: 3;
    padding: 27px 24px 47px;
    background-color: #fff9df;
    background-image:
        radial-gradient(circle at 15px 15px, rgba(243, 211, 206, .34) 0 5px, transparent 6px),
        radial-gradient(circle at 45px 38px, rgba(169, 223, 240, .28) 0 4px, transparent 5px);
    background-size: 58px 54px;
    border: 7px solid #76cc96;
    border-radius: 30px 22px 46px 34px;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.5);
}

.hero-house__body::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 18px;
    bottom: -10px;
    left: 18px;
    height: 28px;
    background: #bfe8bd;
    border-radius: 50% 50% 20px 20px;
}

.hero-house::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: auto;
    right: 0;
    bottom: 205px;
    width: 105px;
    height: 105px;
    background: #a9e2b6;
    border-radius: 50%;
    box-shadow: -58px 20px 0 #ccebbd, -18px -48px 0 #7fd49a, 35px 24px 0 #b7dff3;
}

.hero-house::after {
    content: "";
    position: absolute;
    z-index: -2;
    top: auto;
    right: 18px;
    width: 18px;
    height: 270px;
    bottom: 4px;
    background: #9a755c;
    border-radius: 999px;
    transform: rotate(4deg);
}

.hero-house__title {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 7px 20px;
    color: var(--leaf-dark);
    background: #f4d3ce;
    border: 3px solid #fff;
    border-radius: 14px 20px 13px 21px;
    box-shadow: 3px 4px 0 #a9dff0;
    font-size: 1.02rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.hero-house__rooms {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
}

.hero-house__room {
    display: flex;
    min-width: 0;
    min-height: 102px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px 9px;
    color: var(--leaf-dark);
    background: #fff;
    border: 4px solid #fff;
    outline: 1px solid rgba(23, 77, 60, 0.14);
    border-radius: 18px 13px 15px 11px;
    box-shadow: inset 0 -6px 0 var(--room-accent, #7fd49a), 0 3px 0 rgba(23, 77, 60, 0.08);
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-house__room:nth-child(3n + 1) { transform: rotate(-1deg); }
.hero-house__room:nth-child(3n + 2) { transform: rotate(.8deg); }
.hero-house__room:nth-child(3n) { transform: rotate(-.35deg); }

.hero-house__room span {
    display: grid;
    width: 76px;
    height: 62px;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
}

.hero-house__room span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-house__room--polzki span img,
.hero-house__room--palcki span img {
    transform: scale(1.24);
}

@media (min-width: 1101px) and (max-width: 1320px) {
    .site-header .wrap {
        width: min(100% - 24px, 1180px);
    }

    .masthead {
        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand__logo {
        width: 58px;
        height: 58px;
    }

    .brand__text span {
        font-size: 0.64rem;
    }

    .brand strong {
        font-size: 1.38rem;
    }

    .nav ul {
        gap: 4px;
    }

    .nav a {
        padding-inline: 5px;
        font-size: 0.86rem;
    }
}

.hero-house__room:hover,
.hero-house__room:focus-visible {
    border-color: var(--leaf);
    box-shadow: inset 0 -5px 0 rgba(23, 77, 60, 0.06), 0 7px 0 rgba(23, 77, 60, 0.08);
    transform: translateY(-4px) rotate(-1deg);
}

.hero-house__room--rose { --room-accent: #e99b91; }
.hero-house__room--mint { --room-accent: #61c886; }
.hero-house__room--sun { --room-accent: #efd64b; }
.hero-house__room--sky { --room-accent: #83bfe8; }
.hero-house__room--peach { --room-accent: #efa989; }
.hero-house__room--lilac { --room-accent: #aaa8d3; }
.hero-house__room--lime { --room-accent: #a9cc71; }
.hero-house__room--aqua { --room-accent: #72c9bd; }

.hero-house__door {
    position: absolute;
    z-index: 4;
    bottom: -21px;
    left: 50%;
    width: 66px;
    height: 66px;
    background:
        radial-gradient(circle at 76% 57%, #fff 0 3px, transparent 4px),
        linear-gradient(90deg, #84c9e9 0 48%, #6eb4d6 49% 53%, #84c9e9 54%);
    border: 5px solid #fff;
    border-radius: 50% 50% 13px 13px;
    box-shadow: 0 3px 0 rgba(23, 77, 60, 0.12);
    transform: translateX(-50%);
}

.hero-house__garden {
    position: absolute;
    z-index: 5;
    bottom: -10px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    height: 42px;
}

.hero-house__garden--left { left: 58px; }
.hero-house__garden--right { right: 58px; }

.hero-house__garden i {
    position: relative;
    display: block;
    width: 6px;
    height: 29px;
    background: #69bd82;
    border-radius: 999px;
    transform: rotate(-5deg);
}

.hero-house__garden i::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -7px;
    width: 20px;
    height: 20px;
    background: #f3db4f;
    border: 5px dotted #ef9986;
    border-radius: 50%;
}

.hero-house__garden i:nth-child(2) { height: 36px; transform: rotate(4deg); }
.hero-house__garden i:nth-child(2)::before { background: #91d7e8; border-color: #fff; }
.hero-house__garden i:nth-child(3)::before { background: #f0b0c5; border-color: #fff4c2; }

.home .groups-band,
.hero-wave {
    background: #e7f6eb;
}

.home .groups-band::after,
.home .quick-band {
    background: #fff9dd;
}

.home .content--stories {
    background: #eef7fc;
}

@media (max-width: 1100px) {
    .home .hero__grid {
        grid-template-columns: minmax(340px, 0.72fr) minmax(500px, 1.28fr);
        gap: 30px;
    }

    .hero-house__body {
        padding-inline: 20px;
    }

    .hero-house__rooms {
        gap: 8px;
    }

    .hero-house__room {
        font-size: 0.72rem;
    }

    .hero-doodles__nature,
    .hero-house::before,
    .hero-house::after {
        display: none;
    }
}

@media (max-width: 860px) {
    .home .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero-house {
        width: min(680px, calc(100% - 8px));
        margin-top: 18px;
    }

    .hero-doodles__nature {
        right: -10px;
        bottom: 0;
        width: 430px;
        opacity: 0.42;
    }

    .hero-doodles__landscape {
        left: -95px;
        width: 360px;
        opacity: .48;
    }
}

@media (max-width: 640px) {
    .home .hero--ciciban {
        min-height: 0;
        padding-bottom: 105px;
    }

    .hero-house {
        padding-top: 90px;
        filter: drop-shadow(7px 9px 0 rgba(23, 77, 60, 0.1));
    }

    .hero-house__roof {
        height: 135px;
    }

    .hero-house__roof img {
        width: 88px;
        height: 74px;
        border-width: 4px;
    }

    .hero-house__body {
        padding: 25px 15px 35px;
        border-width: 4px;
    }

    .hero-house__rooms {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-house__room {
        min-height: 88px;
        padding: 6px 3px 8px;
        font-size: 0.73rem;
    }

    .hero-house__room span {
        width: 60px;
        height: 48px;
    }

    .hero-doodles__nature {
        right: -42px;
        width: 330px;
    }

    .hero-doodles__landscape {
        bottom: 12px;
        left: -105px;
        width: 285px;
        opacity: .4;
    }
}

@media (max-width: 390px) {
    .hero-house__body {
        padding-inline: 10px;
    }

    .hero-house__rooms {
        gap: 6px;
    }

    .hero-house__room {
        font-size: 0.68rem;
    }
}

/* Viewport-safe gallery lightbox, including Android's dynamic browser chrome. */
.has-gallery-lightbox,
.has-gallery-lightbox body {
    overflow: hidden;
    overscroll-behavior: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
    padding:
        max(min(4vw, 32px), env(safe-area-inset-top))
        max(min(4vw, 32px), env(safe-area-inset-right))
        max(min(4vw, 32px), env(safe-area-inset-bottom))
        max(min(4vw, 32px), env(safe-area-inset-left));
    overflow: hidden;
}

.gallery-lightbox[hidden] { display: none; }

.gallery-lightbox__inner {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    width: min(100%, 1600px);
    max-height: 100%;
    justify-self: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 14px;
}

.gallery-lightbox__thumbs {
    min-width: 0;
    min-height: 0;
    max-height: 100%;
}

.gallery-lightbox__stage {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.gallery-lightbox__stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 760px) {
    .gallery-lightbox {
        gap: 8px;
        padding:
            max(10px, env(safe-area-inset-top))
            max(10px, env(safe-area-inset-right))
            max(10px, env(safe-area-inset-bottom))
            max(10px, env(safe-area-inset-left));
    }

    .gallery-lightbox__inner {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) 72px;
        gap: 8px;
        padding: 8px;
    }

    .gallery-lightbox__stage { grid-row: 1; }
    .gallery-lightbox__thumbs {
        grid-row: 2;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 6px;
    }
    .gallery-lightbox__thumbs button { width: 72px; height: 64px; flex: 0 0 72px; }
    .gallery-lightbox__thumbs button.is-active { transform: translateY(-2px); }
    .gallery-lightbox__close {
        top: max(14px, env(safe-area-inset-top));
        right: max(14px, env(safe-area-inset-right));
        width: 44px;
        height: 44px;
    }
    .gallery-lightbox__controls { gap: 8px; padding: 6px; }
}
