/*
Theme Name: Kerkfundament
Theme URI: https://kerkfundament.ezendam.com/
Author: Kerkfundament
Description: Een warm, modern WordPress block theme voor Kerkfundament, geïnspireerd op de Jacobus de Meerdere-parochie en RK Zuidoost Twente.
 Version: 1.2.63
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: kerkfundament
*/
:root {
  --kf-green: #5bab73;
  --kf-green-dark: #00a091;
  --kf-orange: #eb5c37;
  --kf-cream: #f5f0e3;
  --kf-ink: #273128;
  --kf-muted: #62685e;
  --kf-white: #fffdf8;
  --kf-line: rgba(52, 75, 53, .18);
  --kf-home-intro-width: 24rem;
  --kf-home-column-gap: clamp(1.5rem, 3vw, 4rem);
  --kf-home-tile-gap: 1.25rem;
}
html { scroll-behavior: smooth; }
body { background: var(--kf-cream); color: var(--kf-ink); }
body.single-verhaal,
body.page:not(.home) { background: var(--kf-white); }
body.home main.wp-block-group { margin-block-start: 0 !important; padding: 0 !important; }
body.home main .entry-content { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.home main .entry-content > .alignwide {
  width: 100% !important; max-width: none !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
a { text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
.wp-site-blocks { overflow-wrap: anywhere; }
.kf-site-header {
  border-bottom: 1px solid var(--kf-line);
  background: rgba(245,240,227,.96);
}
.kf-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--kf-green); color: var(--kf-white); font-size: 1.25rem;
  font-weight: 700; letter-spacing: -.06em;
}
.kf-eyebrow {
  color: var(--kf-green-dark); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.kf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--kf-green-dark); color: var(--kf-white);
  border-radius: 1.25rem;
}
.kf-hero#samen { border-radius: 0; }
.kf-hero#samen {
  font-size: var(--wp--preset--font-size--small);
  background-image: linear-gradient(90deg, rgb(91,171,115) 0%, rgba(0,158,142,0) 100%), url('https://kerkfundament.ezendam.com/wp-content/uploads/2026/11/Grand-Gothic-Church-Interior.png') !important;
  background-size: cover;
}
.kf-hero#samen > .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
}
.kf-hero#samen > .wp-block-columns > .wp-block-column:empty { display: none; }
.kf-hero#samen > .wp-block-columns > .wp-block-column:not(:empty) {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.kf-hero#samen h2 {
  color: var(--kf-white);
  font-size: clamp(28.836px, 1.802rem + ((1vw - 3.2px) * 2.461), 50px) !important;
  line-height: 1.12;
}
.kf-hero#samen p { font-size: var(--wp--preset--font-size--medium); }
.kf-hero#samen .wp-block-buttons { gap: 1.25rem; }
.kf-hero#samen .wp-block-buttons { width: 100%; }
.kf-hero#samen .wp-block-button { flex: 0 0 200px; width: 200px; }
.kf-hero#samen .wp-block-button__link {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.3rem;
  border: 1px solid var(--wp--preset--color--orange);
  border-radius: 20px;
  background: var(--wp--preset--color--orange);
  color: var(--kf-cream);
  font-size: .8125rem;
}
@media (max-width: 700px) {
  .kf-hero#samen .wp-block-buttons { gap: .5rem; }
  .kf-hero#samen .wp-block-button { flex: 1 1 0; min-width: 0; width: auto; }
  .kf-hero#samen .wp-block-button__link {
    min-height: 44px;
    padding: .4rem;
    font-size: clamp(.65rem, 3vw, .75rem);
    line-height: 1.25;
    white-space: nowrap;
  }
}
.kf-hero::after {
  content: ""; position: absolute; z-index: -1; right: -5rem; top: -7rem;
  width: 24rem; height: 24rem; border: 1px solid rgba(245,240,227,.2);
  border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(245,240,227,.035), 0 0 0 5rem rgba(245,240,227,.025);
}
.kf-hero h1 { max-width: 14ch; color: var(--kf-white); }
.kf-hero p { max-width: 55ch; color: rgba(255,253,248,.88); }
.kf-button, .wp-block-button__link {
  border-radius: 999px; font-weight: 700; padding: .85rem 1.3rem;
  transition: transform .18s ease, background-color .18s ease;
}
.kf-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.kf-button--orange, .is-style-fill .wp-block-button__link {
  background: var(--kf-orange); color: var(--kf-green-dark);
}
.kf-card {
  background: var(--kf-white); border: 1px solid var(--kf-line);
  border-radius: 1rem; padding: clamp(1.2rem, 2.5vw, 2rem);
  height: 100%; box-sizing: border-box;
}
.kf-parochie-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.25rem;
}
.kf-parochie-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.kf-parochie-tile:hover { transform: translateY(-2px); border-color: var(--kf-green); }
.kf-parochie-tile:focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
.kf-parochie-tile__title {
  display: block; margin: 1rem 0 .5rem;
  color: var(--kf-green-dark); font-family: var(--wp--preset--font-family--serif);
  font-size: 1.17em; font-weight: 600; line-height: 1.12;
}
.kf-parochie-tile__subtitle { display: block; margin: 0; color: var(--kf-muted); }
.kf-activity-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; margin-block: 1.5rem; }
.kf-activity-card { display: flex; min-width: 0; flex-direction: column; }
.kf-activity-card__image-link { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: .65rem; }
.kf-activity-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.kf-activity-card__title { margin: .8rem 0 .45rem; font-size: 1.2rem; }
.kf-activity-card__title a { color: var(--kf-green-dark); text-decoration: none; }
.kf-activity-card__summary { margin: 0; color: var(--kf-muted); }
.kf-activity-empty { color: var(--kf-muted); }
.kf-activity-list { display: grid; gap: 2rem; margin-block: 1.5rem; }
.kf-activity-list__title { margin: 0; }
.kf-activity-entry { scroll-margin-top: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--kf-line); }
.kf-activity-entry.is-current { border-left: 4px solid var(--kf-orange); padding-left: 1rem; }
.kf-activity-entry__title { margin: 0 0 .5rem; color: var(--kf-green-dark); }
.kf-activity-entry__date { display: block; margin-bottom: 1rem; color: var(--kf-muted); }
.kf-activity-entry__media { max-width: 48rem; margin: 1rem 0; }
.kf-activity-entry__image { display: block; width: 100%; height: auto; border-radius: .65rem; }
.kf-activity-entry__content { max-width: var(--wp--style--global--content-size); }
.kf-plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; margin-block: 1.5rem; }
.kf-home-activities .kf-activity-cards > .kf-card,
.kf-home-plans .kf-plan-cards > .kf-card { height: auto; }
.kf-plan-card { display: flex; min-width: 0; flex-direction: column; }
.kf-plan-card__title { margin: .8rem 0 .45rem; font-size: 1.2rem; }
.kf-plan-card__title a { color: var(--kf-green-dark); text-decoration: none; }
.kf-plan-card__summary { margin: 0; color: var(--kf-muted); }
.kf-home-activities__intro > h2,
.kf-home-plans__intro > h2 {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.12;
}
.kf-home-activities .wp-block-buttons { gap: .75rem 1rem; }
.kf-home-activities .wp-block-buttons .wp-block-button__link {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wp--preset--color--orange);
  font-weight: 400;
  text-decoration: underline;
  transition: none;
}
.kf-home-activities .wp-block-buttons .wp-block-button__link:hover { transform: none; }
.wp-block-group.has-white-background-color.has-background:has(> .kf-story-categories),
.wp-block-group.has-cream-background-color.has-background:has(> .kf-parochie-tiles),
.kf-home-activities,
.kf-home-plans {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(var(--kf-home-intro-width), 1fr) minmax(0, 4fr);
  column-gap: var(--kf-home-column-gap);
  row-gap: 2rem;
  padding-inline: 2rem !important;
}
.wp-block-group.has-white-background-color.has-background:has(> .kf-story-categories) > :first-child,
.wp-block-group.has-cream-background-color.has-background:has(> .kf-parochie-tiles) > :first-child,
.kf-home-activities > :first-child,
.kf-home-plans > :first-child {
  box-sizing: border-box;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
  position: static;
}
.kf-story-categories,
.kf-parochie-tiles,
.kf-activity-cards,
.kf-plan-cards {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap !important;
  justify-content: flex-start;
  align-content: start;
  container-type: inline-size;
  grid-column: 2;
  width: 100%;
  max-width: none;
  min-width: 0;
  gap: var(--kf-home-tile-gap);
  margin: 0;
}
.kf-story-categories > *,
.kf-parochie-tiles > *,
.kf-activity-cards > *,
.kf-plan-cards > * {
  box-sizing: border-box;
  flex: 0 0 100%;
  min-width: 0;
}
@container (min-width: 38rem) {
  .kf-story-categories > *,
  .kf-parochie-tiles > *,
  .kf-activity-cards > *,
  .kf-plan-cards > * {
    flex-basis: calc((100% - var(--kf-home-tile-gap)) / 2);
  }
}
@container (min-width: 58rem) {
  .kf-story-categories > *,
  .kf-parochie-tiles > *,
  .kf-activity-cards > *,
  .kf-plan-cards > * {
    flex-basis: calc((100% - var(--kf-home-tile-gap) - var(--kf-home-tile-gap)) / 3);
  }
}
@container (min-width: 78rem) {
  .kf-story-categories > *,
  .kf-parochie-tiles > *,
  .kf-activity-cards > *,
  .kf-plan-cards > * {
    flex-basis: calc((100% - var(--kf-home-tile-gap) - var(--kf-home-tile-gap) - var(--kf-home-tile-gap)) / 4);
  }
}
.wp-block-group.has-white-background-color.has-background:has(> .kf-story-categories) > .wp-block-spacer,
.wp-block-group.has-cream-background-color.has-background:has(> .kf-parochie-tiles) > .wp-block-spacer {
  display: none;
}
.wp-block-group.alignwide:has(> .wp-block-group > .kf-story-categories),
.wp-block-group.alignwide:has(> .wp-block-group.has-cream-background-color.is-layout-flex > .kf-parochie-tiles) {
  padding-inline: 0 !important;
}
@media (max-width: 1199px) {
  .wp-block-group.has-white-background-color.has-background:has(> .kf-story-categories),
  .wp-block-group.has-cream-background-color.has-background:has(> .kf-parochie-tiles),
  .kf-home-activities,
  .kf-home-plans {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(1.5rem, 5vw, 3rem) !important;
  }
  .wp-block-group.has-white-background-color.has-background:has(> .kf-story-categories) > :first-child,
  .wp-block-group.has-cream-background-color.has-background:has(> .kf-parochie-tiles) > :first-child,
  .kf-home-activities > :first-child,
  .kf-home-plans > :first-child,
  .kf-story-categories,
  .kf-parochie-tiles,
  .kf-activity-cards,
  .kf-plan-cards {
    grid-column: 1;
  }
}
:is(.kf-page--community, .kf-page--activities) .entry-content > .kf-activity-cards,
:is(.kf-page--community, .kf-page--activities) .entry-content > .wp-block-columns,
:is(.kf-page--community, .kf-page--activities) .entry-content > .kf-vieringen-grid {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap !important;
  width: 100%;
  max-width: none;
  gap: var(--kf-home-tile-gap);
}
:is(.kf-page--community, .kf-page--activities) .entry-content > .kf-activity-cards > *,
:is(.kf-page--community, .kf-page--activities) .entry-content > .wp-block-columns > .wp-block-column,
:is(.kf-page--community, .kf-page--activities) .entry-content > .kf-vieringen-grid > .kf-viering-card {
  box-sizing: border-box;
  flex: 0 0 min(100%, 15rem);
  min-width: 0;
}
.kf-page--activities .entry-content > .kf-activity-cards > .kf-activity-card {
  height: auto;
}
@media (max-width: 781px) {
  :is(.kf-page--community, .kf-page--activities) .entry-content > .kf-activity-cards > *,
  :is(.kf-page--community, .kf-page--activities) .entry-content > .wp-block-columns > .wp-block-column,
  :is(.kf-page--community, .kf-page--activities) .entry-content > .kf-vieringen-grid > .kf-viering-card {
    flex-basis: 100%;
  }
}
:is(.kf-page--community, .kf-page--activities) main > .wp-block-post-title,
:is(.kf-page--community, .kf-page--activities) .entry-content > h2 {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}
:is(.kf-page--community, .kf-page--activities) .entry-content > p {
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin-inline: 0 !important;
  text-align: left;
}
:is(.kf-page--community, .kf-page--activities) .entry-content > * {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left;
}
.kf-page--stories .entry-content {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
}
.kf-page--stories main > .wp-block-post-title {
  width: 100%;
  max-width: none;
  margin-inline: 0 !important;
  text-align: left;
}
.kf-page--stories .entry-content > * {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left;
}
.kf-page--stories .entry-content > .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin-inline: 0 !important;
  gap: .75rem 1rem;
}
.kf-page--stories .entry-content > .kf-story-list {
  width: 100%;
  max-width: none;
  margin-inline: 0 !important;
}
.kf-page--plans .entry-content > * {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left;
}
.kf-page--contribute .entry-content > * {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left;
}
.kf-page--contribute .entry-content > .wp-block-columns {
  width: 100%;
  max-width: none;
}
.kf-page--get-involved .entry-content > * {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left;
}
.kf-page--get-involved .entry-content > .wp-block-columns {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap !important;
  width: 100%;
  max-width: none;
  gap: var(--kf-home-tile-gap);
}
.kf-page--get-involved .entry-content > .wp-block-columns > .wp-block-column {
  box-sizing: border-box;
  flex: 0 0 min(100%, 15rem);
  min-width: 0;
}
@media (max-width: 781px) {
  .kf-page--get-involved .entry-content > .wp-block-columns > .wp-block-column {
    flex-basis: 100%;
  }
}
.kf-page--stories .entry-content .kf-story-submission {
  width: 100%;
  max-width: none;
  margin-inline: 0 !important;
  text-align: left;
}
.kf-story-list { display: grid; gap: 2.5rem; }
.kf-story-category { position: relative; display: flex; min-width: 0; flex-direction: column; }
.kf-story-category__image-link { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: .65rem; }
.kf-story-category__image-link,
.kf-story-category .kf-story-teaser a { position: relative; z-index: 1; }
.kf-story-category__link a::after {
  content: ""; position: absolute; inset: 0;
}
.kf-story-category__link a:focus-visible::after { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
.kf-story-category__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.kf-story-category__title { margin: .9rem 0 .5rem; }
.kf-story-category__description { color: var(--kf-muted); }
.kf-story-category .kf-story-teaser { margin-top: auto; padding-top: .75rem; }
.kf-story-category .kf-story-teaser__image { border-radius: .65rem; }
.kf-story-category__link { margin: auto 0 0; padding-top: 1rem; }
.kf-story-category__link a { color: var(--kf-orange); font-weight: 700; }
.kf-story-full { padding-bottom: 2.5rem; border-bottom: 1px solid var(--kf-line); }
.kf-story-full__intro { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
.kf-story-full__image-link { display: block; width: 100%; min-width: 0; }
.kf-story-list__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .9rem; }
.kf-story-full__heading { text-align: left; }
.kf-story-full__title { margin: 0 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.kf-story-full__title a { color: var(--kf-green-dark); text-decoration: none; }
.kf-story-full__content { max-width: none; margin-inline: 0; text-align: left; }
.kf-story-full__content > :first-child { margin-top: 0; }
.kf-story-full__content > :last-child { margin-bottom: 0; }
.kf-story-pagination { margin-top: 2rem; }
.kf-vieringen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}
.kf-viering-card {
  box-sizing: border-box;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  border: 1px solid var(--kf-line);
  border-radius: .5rem;
  padding: 1.15rem;
  background: var(--kf-white);
}
.kf-viering-card__title { margin: 0; color: var(--kf-green-dark); font-size: 1.15rem; line-height: 1.3; }
.kf-viering-card__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin: 0; }
.kf-viering-card__details > div { min-width: 0; }
.kf-viering-card__details dt { color: var(--kf-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.kf-viering-card__details dd { margin: .2rem 0 0; color: var(--kf-ink); overflow-wrap: anywhere; }
.kf-viering-card__venue { grid-column: 1 / -1; }
.kf-story-teaser { min-width: 0; }
.kf-story-teaser__image-link { display: block; }
.kf-story-teaser__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .65rem; }
.kf-story-teaser__title { margin: .8rem 0 .45rem; font-size: 1.2rem; }
.kf-story-teaser__title a { color: var(--kf-green-dark); text-decoration: none; }
.kf-story-teaser__badge { display: inline-block; margin: 0 0 .5rem; color: var(--kf-green-dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.kf-story-quote { margin: .55rem 0 0; border-left: 3px solid var(--kf-orange); padding: .2rem 0 .2rem .8rem; color: var(--kf-ink); font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.45; }
.kf-story-quote p { margin: 0; }
.kf-story-empty { color: var(--kf-muted); }
.kf-story-pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.kf-story-submission {
  max-width: 760px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--kf-line);
  padding-top: 2rem;
}
.kf-story-submission h2 { margin-top: 0; color: var(--kf-green-dark); }
.kf-story-submission__form { display: grid; gap: 1.25rem; }
.kf-story-submission__form > label:not(.kf-story-submission__consent) {
  display: grid;
  gap: .45rem;
  color: var(--kf-ink);
  font-weight: 600;
}
.kf-story-submission__form input:not([type="checkbox"]),
.kf-story-submission__form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--kf-line);
  border-radius: .35rem;
  padding: .7rem .8rem;
  background: var(--kf-white);
  color: var(--kf-ink);
  font: inherit;
}
.kf-story-submission__form textarea { min-height: 12rem; resize: vertical; }
.kf-story-submission__consent { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; }
.kf-story-submission__consent input { flex: 0 0 auto; margin-top: .35rem; }
.kf-story-submission__privacy,
.kf-story-submission__success { color: var(--kf-muted); }
.kf-story-submission__errors { border-left: 3px solid var(--kf-orange); padding: .75rem 1rem; background: rgba(233,154,53,.12); }
.kf-story-submission__errors > :first-child { margin-top: 0; }
.kf-story-submission__errors > :last-child { margin-bottom: 0; }
.kf-story-submission__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kf-story-submission__submit { justify-self: start; }
.kf-story-submission :focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
.kf-story-page > .kf-story-quote { margin: 1.5rem 0; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.kf-card h2, .kf-card h3 { color: var(--kf-green-dark); }
.kf-card p { color: var(--kf-muted); }
.kf-card-icon {
  width: 2.7rem; height: 2.7rem; display: grid; place-items: center;
  border-radius: 50%; background: rgba(233,154,53,.19); color: var(--kf-green-dark);
  font-size: 1.2rem; font-weight: 800;
}
.kf-quote {
  border-left: 4px solid var(--kf-orange); padding: .35rem 0 .35rem 1.3rem;
  color: var(--kf-green-dark); font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35; font-family: Georgia, serif;
}
.kf-section-label { color: var(--kf-green); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; }
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }
.kf-footer { background: var(--kf-green-dark); color: var(--kf-white); }
.kf-footer a { color: var(--kf-white); }
.kf-footer p { color: rgba(255,253,248,.78); }
.kf-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.kf-footer-column h2,
.kf-footer-column h3 { color: var(--kf-white); }
.kf-footer-links,
.kf-footer-social { display: grid; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.kf-footer-social { display: flex; flex-wrap: wrap; gap: 1rem; }
.kf-footer a:focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
@media (max-width: 760px) { .kf-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.wp-block-navigation a { font-weight: 650; text-decoration: none; }
.kf-language-switcher { display: flex; align-items: center; gap: .4rem; }
.kf-language-switcher .lang-item { display: inline-flex; margin: 0; list-style: none; }
.kf-language-switcher a {
  display: grid; width: 2.5rem; height: 2.5rem; place-items: center;
  border: 1px solid var(--kf-line); border-radius: 50%;
}
.kf-language-switcher a:focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
.kf-language-switcher img { display: block; width: 1.4rem; height: 1.4rem; }
.kf-language-switcher .current-lang a { background: var(--kf-white); }
.wp-block-navigation a:hover,
.wp-block-navigation a:focus-visible,
.wp-block-navigation a[aria-current="page"],
.wp-block-navigation .current-menu-item > a {
  color: var(--kf-orange) !important; text-decoration: underline; text-decoration-color: var(--kf-orange);
  text-decoration-thickness: 2px; text-underline-offset: .35em;
}
.wp-block-post-title a { text-decoration: none; }
.wp-block-post-featured-image img { border-radius: .9rem; }
input, textarea, select { max-width: 100%; }
:focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
.wp-site-blocks > footer .kf-site-header .wp-block-group.is-nowrap:has(> .wp-block-gallery) { gap: .75rem !important; }
.wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child { gap: .75rem !important; }
.wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child > .wp-block-group { align-self: flex-start; }
@media (min-width: 701px) {
  .wp-site-blocks > header .kf-site-header { padding-block: .75rem !important; }
  .wp-site-blocks > header .kf-site-header .alignwide { gap: .75rem !important; }
  .wp-site-blocks > header .kf-site-header .alignwide > .wp-block-group.is-content-justification-right { gap: .75rem !important; }
  .wp-site-blocks > header .kf-site-header .alignwide > .wp-block-group:first-child .wp-block-image {
    flex: 0 0 clamp(4rem, 5.6vw, 5rem) !important;
    width: clamp(4rem, 5.6vw, 5rem) !important; max-width: clamp(4rem, 5.6vw, 5rem) !important;
  }
  .wp-site-blocks > header .kf-site-header .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) .wp-block-image {
    flex: 0 0 clamp(3rem, 4vw, 4rem) !important;
    width: clamp(3rem, 4vw, 4rem) !important; max-width: clamp(3rem, 4vw, 4rem) !important;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-image img { width: 100% !important; height: auto !important; }
  .wp-site-blocks > header .kf-site-header nav.wp-block-navigation { gap: 1.25rem !important; }
  .wp-site-blocks > header .kf-site-header > .alignwide {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "brand nav";
    align-items: center;
    column-gap: 1rem !important;
    row-gap: .2rem !important;
    position: relative;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child { grid-area: brand; }
  .wp-site-blocks > header .kf-site-header > .alignwide > nav.wp-block-navigation {
    grid-area: nav; justify-self: end;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) {
    position: absolute; z-index: 2; grid-area: auto;
    top: calc(100% - clamp(.75rem, 1.4vw, 1.25rem));
    left: calc(clamp(4rem, 5.6vw, 5rem) + .75rem);
    margin: 0 !important; gap: .3rem !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) > .wp-block-image {
    flex: 0 0 1rem !important;
    width: 1rem !important; max-width: 1rem !important; line-height: 0;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) > .wp-block-group {
    display: flex; align-items: baseline; gap: .3rem; min-width: 0;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) p,
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) h2 {
    margin: 0 !important; color: var(--kf-muted); font-size: .68rem !important;
    font-weight: 500; line-height: 1.1;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child > .wp-block-group p:first-child {
    line-height: 1.2 !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child > .wp-block-group p:nth-child(2) {
    line-height: 1.2 !important;
  }
  .wp-site-blocks > footer .kf-site-header .wp-block-site-title,
  .wp-site-blocks > footer .kf-site-header .wp-block-site-tagline {
    line-height: 1.2 !important;
  }
  .wp-site-blocks > footer .wp-block-gallery .wp-block-image {
    flex: 0 0 clamp(3rem, 5vw, 4.5rem) !important;
    width: clamp(3rem, 5vw, 4.5rem) !important; max-width: clamp(3rem, 5vw, 4.5rem) !important;
  }
  .wp-site-blocks > footer .wp-block-gallery .wp-block-image img {
    width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain;
  }
}
@media (min-width: 701px) and (max-width: 1010px) {
  .wp-site-blocks > header .kf-site-header > .alignwide {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem) !important;
    grid-template-areas: "brand nav" !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > nav.wp-block-navigation {
    grid-column: 2; justify-self: stretch; width: 100%;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > nav.wp-block-navigation .wp-block-navigation__responsive-container {
    width: 100%;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > nav.wp-block-navigation .wp-block-navigation__container {
    box-sizing: border-box; width: 100%; flex-wrap: wrap;
    justify-content: center !important; column-gap: 1.25rem; row-gap: .5rem;
  }
}
@media (min-width: 701px) and (max-width: 763px) {
  .wp-site-blocks > header .kf-site-header > .alignwide {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem) !important;
  }
}
@media (max-width: 700px) {
  .kf-site-header { padding-block: .75rem !important; }
  .kf-site-header .alignwide { gap: .5rem !important; }
  .kf-site-header .alignwide > .wp-block-group.is-content-justification-right:has(> .wp-block-image) { display: none !important; }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: transparent !important; color: var(--kf-green-dark);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container-content {
    position: absolute; z-index: 2; top: 4.75rem; left: 1rem; right: auto;
    box-sizing: border-box; width: max-content; max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem);
    align-items: stretch !important; justify-content: flex-start;
    padding: 0 !important; pointer-events: auto;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    box-sizing: border-box; display: flex; flex: 0 0 auto !important; flex-direction: column !important;
    align-items: stretch !important; justify-content: flex-start !important;
    gap: 0 !important; width: max-content; max-width: 100%; max-height: inherit; height: auto !important; min-height: 0;
    margin: 0 !important; padding: .5rem; overflow-y: auto; pointer-events: auto;
    border: 1px solid var(--kf-line); border-radius: 1rem;
    background: rgba(245,240,227,.98) !important; box-shadow: 0 .75rem 2rem rgba(39,49,40,.14);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    box-sizing: border-box; width: 100%; align-items: stretch; justify-content: flex-start;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item + .wp-block-navigation-item {
    border-top: 1px solid var(--kf-line);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a {
    box-sizing: border-box; display: block; width: 100%; padding: .8rem 1rem;
    border-radius: .6rem; color: var(--kf-green-dark); text-align: left;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a:hover,
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a:focus-visible,
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a[aria-current="page"],
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > a {
    background: rgba(91,171,115,.12); color: var(--kf-orange) !important;
    text-decoration: underline; text-decoration-color: var(--kf-orange);
    text-decoration-thickness: 2px; text-underline-offset: .25em;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  .kf-site-header .wp-block-site-tagline { font-size: .68rem !important; line-height: 1.25 !important; }
  .kf-brand-mark { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
  .wp-site-blocks > header .wp-block-image { width: 3.5rem !important; max-width: 3.5rem !important; }
  .wp-site-blocks > header .wp-block-image img { width: 100% !important; height: auto !important; }
  .wp-site-blocks > footer .wp-block-gallery .wp-block-image {
    flex: 0 0 4rem !important; width: 4rem !important; max-width: 4rem !important;
  }
  .wp-site-blocks > footer .wp-block-gallery .wp-block-image img {
    width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain;
  }
  .kf-hero:has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-buttons {
    flex-wrap: nowrap; gap: .5rem;
  }
  .kf-hero:has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-buttons > .wp-block-button {
    flex: 1 1 0; min-width: 0; width: auto !important;
  }
  .kf-hero:has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-buttons > .wp-block-button > .wp-block-button__link {
    display: flex; box-sizing: border-box; width: 100% !important; min-height: 44px;
    align-items: center; justify-content: center; padding: .4rem;
    font-size: clamp(.65rem, 3vw, .75rem) !important; line-height: 1.25; white-space: nowrap;
  }
  .kf-hero { border-radius: .8rem; }
  .kf-hero::after { right: -12rem; }
}
.wp-site-blocks > header .kf-site-header > .kf-header-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: "brand controls";
  align-items: center;
  column-gap: 1rem !important;
  row-gap: .35rem !important;
}
.kf-header-brand { grid-area: brand; min-width: 0; }
.kf-header-controls {
  grid-area: controls;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end;
  justify-content: center;
  gap: .3rem !important;
  min-width: 0;
}
.kf-header-controls > .wp-block-shortcode { display: contents; }
.kf-header-controls .kf-language-switcher { order: -1; }
.kf-header-controls .wp-block-navigation { min-width: 0; }
.kf-header-controls .wp-block-navigation > p:empty { display: none !important; }
.kf-language-switcher { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; }
.kf-language-switcher .lang-item { display: inline-flex !important; }
.kf-language-switcher a {
  width: 2rem;
  height: 1.5rem;
  border: 0;
  border-radius: 0;
}
.kf-language-switcher .pll-switcher-flag { width: 1.5rem !important; border-radius: 0 !important; }
.kf-language-switcher .current-lang a { outline: 2px solid var(--kf-green-dark); outline-offset: 2px; }
@media (min-width: 701px) and (max-width: 1010px) {
  .wp-site-blocks > header .kf-site-header > .kf-header-layout {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "languages languages" "brand navigation" !important;
  }
  .kf-header-brand { grid-area: brand; }
  .kf-header-controls { display: contents !important; }
  .kf-header-controls > .wp-block-shortcode { display: contents; }
  .kf-header-controls .kf-language-switcher { grid-area: languages; justify-self: end; }
  .kf-header-controls .wp-block-navigation { grid-area: navigation; justify-self: end; }
  .kf-header-controls .wp-block-navigation__responsive-container-open { display: flex !important; }
  .kf-header-controls .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .kf-header-controls .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed; z-index: 100000; inset: 0; display: flex !important;
    align-items: center; justify-content: center; padding: 2rem;
    background: rgba(245,240,227,.98) !important; color: var(--kf-green-dark);
  }
  .kf-header-controls .wp-block-navigation__responsive-container-content {
    width: 100%; align-items: center !important; justify-content: center !important;
  }
  .kf-header-controls .wp-block-navigation__container {
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    width: min(24rem, 100%); gap: 0 !important; border: 1px solid var(--kf-line);
    border-radius: .5rem; padding: .5rem; background: var(--kf-white);
  }
  .kf-header-controls .wp-block-navigation-item + .wp-block-navigation-item {
    border-top: 1px solid var(--kf-line);
  }
  .kf-header-controls .wp-block-navigation__responsive-container-close {
    display: flex !important; position: absolute; top: 1rem; right: 1rem;
  }
  .kf-header-layout > .wp-block-group:last-child { display: none !important; }
}
@media (max-width: 700px) {
  .wp-site-blocks > header .kf-site-header > .kf-header-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "languages languages" "brand navigation";
    column-gap: .75rem !important;
    row-gap: .35rem !important;
  }
  .kf-header-brand { grid-area: brand; }
  .kf-header-controls { display: contents !important; }
  .kf-header-controls .kf-language-switcher { grid-area: languages; justify-self: end; }
  .kf-header-controls .wp-block-navigation { grid-area: navigation; justify-self: end; }
  .kf-header-controls .wp-block-navigation__container { flex-wrap: nowrap !important; }
  .kf-language-switcher a { width: 1.75rem; height: 1.3rem; }
  .kf-language-switcher .pll-switcher-flag { width: 1.3rem !important; }
}
@media (min-width: 1011px) {
  .kf-header-controls .wp-block-navigation__responsive-container,
  .kf-header-controls .wp-block-navigation__responsive-close,
  .kf-header-controls .wp-block-navigation__responsive-container-content {
    display: contents !important;
  }
  .kf-header-controls .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 1.1rem !important;
  }
}
@media (min-width: 701px) and (max-width: 1010px) {
  .wp-site-blocks > header .kf-site-header > .alignwide {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "brand controls" !important;
    align-items: center !important;
    column-gap: .75rem !important;
    row-gap: 0 !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:first-child { grid-area: brand !important; }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) {
    grid-area: controls !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: .3rem !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:last-child { display: none !important; }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) > nav.wp-block-navigation {
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) > nav.wp-block-navigation > p { display: none !important; }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container-open {
    display: flex !important;
    width: 44px;
    height: 40px;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: transparent !important;
    color: var(--kf-green-dark);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container-content {
    position: absolute;
    z-index: 2;
    top: 2.5rem;
    right: 1rem;
    left: auto;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 7rem);
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    pointer-events: auto;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: max-content;
    max-width: 100%;
    max-height: inherit;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: .5rem;
    overflow-y: auto;
    pointer-events: auto;
    border: 1px solid var(--kf-line);
    border-radius: .75rem;
    background: rgba(245,240,227,.98) !important;
    box-shadow: 0 .75rem 2rem rgba(39,49,40,.14);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    box-sizing: border-box;
    width: 100%;
    align-items: stretch;
    justify-content: flex-end;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item + .wp-block-navigation-item {
    border-top: 1px solid var(--kf-line);
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: .8rem 1rem;
    border-radius: .6rem;
    color: var(--kf-green-dark);
    text-align: right;
  }
  .wp-site-blocks > header .kf-site-header .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
}
@media (min-width: 1011px) {
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: .3rem !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) > nav.wp-block-navigation {
    min-width: 0 !important;
    width: auto !important;
    flex: 0 1 auto !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container,
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-close,
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container-content {
    display: contents !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 1.1rem !important;
  }
  .wp-site-blocks > header .kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation > p {
    display: none !important;
  }
}

.wp-site-blocks > footer.wp-block-template-part > footer.kf-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.kf-footer .kf-footer-grid {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
@media (min-width: 761px) and (max-width: 1200px) {
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    column-gap: 1rem !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:first-child {
    flex: 1 1 0;
    min-width: 22.5rem;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) {
    display: flex !important;
    flex: 0 1 24rem !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end;
    min-width: 18rem !important;
    max-width: 24rem;
    width: auto !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) > .kf-language-switcher {
    order: -1;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > p:empty {
    display: none !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) > nav.wp-block-navigation {
    flex: 0 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container-open {
    display: none !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: contents !important;
    position: static !important;
    width: 100% !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container-content {
    position: static !important;
    width: 100% !important;
    justify-content: flex-end !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container,
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-close,
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-dialog,
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-container-content {
    display: contents !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) nav.wp-block-navigation p:empty,
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__responsive-dialog > br {
    display: none !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: .35rem 1rem !important;
    width: 100% !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation-item {
    min-width: 0;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation-item__content {
    white-space: normal;
    line-height: 1.25;
    text-align: right;
  }
}
@media (max-width: 760px) {
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-areas: "languages languages" "brand navigation" !important;
    align-items: center !important;
    column-gap: .5rem !important;
    row-gap: .3rem !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:first-child {
    grid-area: brand !important;
    min-width: 0;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) {
    display: contents !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .kf-language-switcher {
    grid-area: languages !important;
    justify-self: end !important;
    margin: 0 !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) > nav.wp-block-navigation {
    grid-area: navigation !important;
    justify-self: end !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header > .alignwide > .wp-block-group:nth-child(2) p:empty {
    display: none !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__responsive-container-open {
    display: flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--kf-green-dark);
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    background: transparent !important;
    color: var(--kf-green-dark);
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__responsive-container-content {
    width: min(24rem, calc(100vw - 3rem));
    max-height: calc(100dvh - 3rem);
    left: auto !important;
    right: .75rem !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    overflow-y: auto;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: flex-end !important;
    gap: 0 !important;
    width: max-content;
    max-width: 100%;
    margin: 0 !important;
    padding: .5rem;
    border: 1px solid var(--kf-line);
    border-radius: .5rem;
    background: var(--kf-white);
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation-item + .wp-block-navigation-item {
    border-top: 1px solid var(--kf-line);
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation-item__content {
    display: block;
    padding: .8rem 1rem;
    white-space: normal;
    text-align: left;
  }
  .wp-site-blocks > header.wp-block-template-part > header.kf-site-header .wp-block-navigation__responsive-container-close {
    display: flex !important;
    position: fixed;
    top: 1rem;
    right: 1rem;
  }
}

.kf-download-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-block: 1.5rem;
}
.kf-download-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
body.post-type-archive-download .kf-downloads {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}
.kf-download-card__title { margin: 0; }
.kf-download-card__description { color: var(--kf-muted); }
.kf-download-card__description > :first-child { margin-top: 0; }
.kf-download-card__description > :last-child { margin-bottom: 0; }
.kf-download-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.kf-download-card__link {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: .4rem .9rem;
  border: 1px solid var(--wp--preset--color--orange);
  border-radius: 20px;
  background: var(--wp--preset--color--orange);
  color: var(--kf-cream);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}
.kf-download-card__language-table {
  width: 100%;
  border-collapse: collapse;
}
.kf-download-card__language-table caption {
  padding: 0 0 .4rem;
  text-align: left;
  font-weight: 700;
}
.kf-download-card__language-table th,
.kf-download-card__language-table td {
  padding: .45rem 0;
  vertical-align: middle;
}
.kf-download-card__language-table th {
  padding-right: .75rem;
  text-align: left;
  white-space: nowrap;
}
.kf-download-card__language-table tr + tr {
  border-top: 1px solid var(--kf-line);
}
.kf-download-card__language-name {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
}
.kf-download-card__language-name .kf-download-language-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
}
.kf-download-card__link:hover { transform: translateY(-2px); }
.kf-download-card__link:focus-visible { outline: 3px solid var(--kf-orange); outline-offset: 3px; }
