/* PRO Krankenhaus Rohrbach – Website */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }

:root {
    --green: #a5be38;
    --green-light: #eef3d9;
    --green-dark: #5f7212;
    --green-ink: #26300a;
    --ink: #1f2320;
    --text: #3b403c;
    --muted: #6b716c;
    --line: #e3e6df;
    --soft: #f6f7f2;
    --white: #ffffff;
    --dark: #1c211d;
    --radius: 18px;
    --radius-small: 10px;
    --shadow: 0 1px 2px rgba(20, 30, 10, .06), 0 8px 24px rgba(20, 30, 10, .07);
    --shadow-hover: 0 2px 4px rgba(20, 30, 10, .08), 0 18px 40px rgba(20, 30, 10, .12);
    --container: 1180px;
    --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 800px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-small); }
.skip-link:focus { top: 16px; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--green); color: var(--green-ink); }
.button--primary:hover { background: #b7cf4a; color: var(--green-ink); }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: #000; color: var(--white); }
.button--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.button--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button--light { border-color: rgba(255,255,255,.7); color: var(--white); }
.button--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.button--small { padding: .6em 1.15em; font-size: .95rem; }
.button svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(20,30,10,.05); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: block; flex: none; }
.brand img { width: 210px; height: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
.primary-nav { margin-left: auto; }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav__list > li { position: relative; }
.primary-nav a, .primary-nav__group { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.primary-nav a:hover, .primary-nav__group:hover { background: var(--soft); color: var(--ink); }
.primary-nav a[aria-current="page"], .primary-nav__group.is-active { color: var(--green-dark); }
.primary-nav__group::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.primary-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-nav__sub a { border-radius: 8px; font-weight: 400; }
.primary-nav__list > li:hover > .primary-nav__sub, .primary-nav__list > li:focus-within > .primary-nav__sub, .primary-nav__list > li.is-open > .primary-nav__sub { opacity: 1; visibility: visible; transform: none; }
.primary-nav__cta { margin-left: 10px; }
.primary-nav .primary-nav__cta a { background: var(--green); color: var(--green-ink); padding: 10px 20px; }
.primary-nav .primary-nav__cta a:hover { background: #b7cf4a; }

@media (max-width: 1020px) {
    .nav-toggle { display: block; }
    .brand img { width: 180px; }
    .primary-nav { position: fixed; inset: 82px 0 0 0; background: var(--white); padding: 16px 20px 40px; overflow-y: auto; display: none; }
    .primary-nav.is-open { display: block; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .primary-nav a, .primary-nav__group { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; width: 100%; text-align: left; }
    .primary-nav__group::after { display: none; }
    .primary-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
    .primary-nav__cta { margin: 12px 0 0; }
    .primary-nav .primary-nav__cta a { text-align: center; }
    html.nav-open { overflow: hidden; }
}

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding-top: clamp(40px, 6vw, 64px); }
.section__header { max-width: 720px; margin-bottom: 44px; }
.section__header--center { text-align: center; margin-inline: auto; }
.section__header--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__header--row > div { max-width: 680px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Seitenkopf der Unterseiten */
.page-hero { background: linear-gradient(180deg, var(--green-light), var(--white)); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { max-width: 680px; font-size: 1.2rem; color: var(--muted); margin: 0; }

/* Startseite: Hero */
.hero { position: relative; color: var(--white); background-color: var(--dark); background-size: cover; background-position: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,26,12,.88) 0%, rgba(20,26,12,.7) 45%, rgba(20,26,12,.25) 100%); }
.hero__inner { padding: clamp(96px, 14vw, 170px) 0 clamp(88px, 12vw, 150px); max-width: 720px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 2em; }
.hero .eyebrow { color: var(--green); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.facts { position: relative; margin-top: -56px; z-index: 2; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden; }
.fact { padding: 28px 32px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact__value { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.fact__label { display: block; color: var(--muted); margin: 0; }
@media (max-width: 720px) {
    .facts__grid { grid-template-columns: 1fr; }
    .fact { border-left: 0; border-top: 1px solid var(--line); padding: 20px 24px; }
    .fact:first-child { border-top: 0; }
}

/* Intro mit Bild */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Karten */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }


.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature svg { width: 40px; height: 40px; color: var(--green-dark); background: var(--green-light); padding: 9px; border-radius: 12px; margin-bottom: 16px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); }

/* Beiträge */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.posts--all { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .posts, .posts--all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts, .posts--all { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: inherit; }
.post-card__media { display: block; aspect-ratio: 3 / 2; background: var(--green-light) url("../img/favicon.png") center / 72px no-repeat; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.post-card__date { font-size: .85rem; font-weight: 700; color: var(--green-dark); }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--ink); }
.post-card__more::after { content: " →"; color: var(--green-dark); }
.post-card__photos { font-size: .85rem; color: var(--muted); }
.content-list--empty { color: var(--muted); }

/* Beitrag (eigene Seite) */
.article__head { background: linear-gradient(180deg, var(--green-light), var(--white)); padding: clamp(48px, 7vw, 88px) 0 32px; }
.article__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.article__back { font-weight: 700; text-decoration: none; }
.article__date { font-weight: 700; color: var(--green-dark); }
.article__head h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; }
.article__media { margin: 0 0 36px; }
.article__media img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose { font-size: 1.1rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green); color: var(--ink); font-size: 1.15rem; }
.downloads { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.downloads a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; font-weight: 700; color: var(--ink); }
.downloads a:hover { border-color: var(--green); background: var(--green-light); }
.downloads svg { width: 22px; height: 22px; color: var(--green-dark); flex: none; }
.gallery { margin-top: 48px; }
.gallery h2 { font-size: 1.5rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery__item { display: block; margin: 0; border-radius: var(--radius-small); overflow: hidden; aspect-ratio: 1; background: var(--soft); cursor: zoom-in; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 10px 8px; font-size: .82rem; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.article__footer { margin-top: 56px; padding: 28px 0 clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2147482500; background: rgba(12, 14, 12, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: .95rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 640px) { .lightbox { padding: 64px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; } }
html.lightbox-open { overflow: hidden; }

/* Personen */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1020px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .people { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.person__photo { aspect-ratio: 4 / 5; background: var(--green-light); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person__body { padding: 18px 20px 22px; }
.person__role { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 6px; }
.person h3 { font-size: 1.1rem; margin: 0 0 4px; }
.person p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Partner */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; transition: border-color .2s, box-shadow .2s; }
a.partner:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--ink); }
.partner img { height: 110px; width: 100%; object-fit: contain; }
.partner__name { font-weight: 700; font-size: .95rem; }
.partners--strip .partner { padding: 18px; }
.partners--strip .partner img { height: 80px; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners--strip .partner:hover img { filter: none; opacity: 1; }
.partners--strip .partner__name { display: none; }

/* Mitglied-werden-Band */
.cta { background: var(--green); color: var(--green-ink); border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cta h2 { color: var(--green-ink); margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.15rem; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta .button--ghost { color: var(--green-ink); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* Mitgliedschaft */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 20px; }
.price__value { font-size: 3.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.price__unit { color: var(--muted); font-size: 1.1rem; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); }

/* Statuten */
.statutes { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.statutes__toc { position: sticky; top: 110px; }
.statutes__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .95rem; }
.statutes__toc a { display: block; padding: 6px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.statutes__toc a:hover { background: var(--soft); color: var(--ink); }
.paragraph { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.paragraph:first-child { border-top: 0; padding-top: 0; }
.paragraph h2 { font-size: 1.35rem; }
.paragraph h2 span { color: var(--green-dark); margin-right: .4em; }
.paragraph ol { padding-left: 1.4em; margin: 0 0 1em; }
.note { background: var(--green-light); border-radius: var(--radius-small); padding: 12px 16px; font-size: .95rem; color: var(--green-ink); }
@media (max-width: 860px) { .statutes { grid-template-columns: 1fr; gap: 24px; } .statutes__toc { position: static; } .statutes__toc ol { grid-template-columns: repeat(2, 1fr); } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 18px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__item svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); flex: none; }
.contact-info__item h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-info__item p { margin: 0; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 13px 15px; border: 1px solid #cfd4c9; border-radius: var(--radius-small); background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(165,190,56,.35); }
.contact-form label:has(input[name="telegram"]), .contact-form label:has(input[name="company"]) { display: none; }
.contact-form button { justify-self: start; font: inherit; font-weight: 700; padding: .85em 1.8em; border: 0; border-radius: 999px; background: var(--green); color: var(--green-ink); cursor: pointer; }
.contact-form button:hover { background: #b7cf4a; }

/* Rechtliches */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* Fuß */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 72px 0 28px; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo { display: inline-block; background: var(--white); padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.site-footer__logo img { width: 190px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer p { margin: 0 0 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }

.membership { margin: 0 0 1.2em; display: grid; gap: 4px; }
.membership dt { font-weight: 700; color: var(--ink); margin-top: 12px; }
.membership dd { margin: 0; }
.form-note { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }

.posts--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.posts--4 .post-card h3 { font-size: 1.08rem; }
@media (max-width: 1020px) { .posts--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts--4 { grid-template-columns: 1fr; } }
.post-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-card__tag { font-size: .75rem; font-weight: 700; color: var(--green-dark); background: var(--green-light); padding: 2px 10px; border-radius: 999px; }

.article__meta { display: inline-flex; align-items: center; gap: 12px; }
a.post-card__tag { text-decoration: none; font-size: .85rem; padding: 4px 12px; }
a.post-card__tag:hover { background: var(--green); color: var(--green-ink); }
.category-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.category-filter:empty { display: none; }
.category-filter button { font: inherit; font-weight: 700; font-size: .95rem; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.category-filter button:hover { border-color: var(--green); }
.category-filter button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.post-card[hidden] { display: none; }
