/*
Theme Name: Agenda21 TwentyTwentyFive Child
Theme URI: https://agenda21-ottobrunn-neubiberg.de/
Description: Child theme for Twenty Twenty-Five customizations.
Author: Agenda21 Team
Template: twentytwentyfive
Version: 0.1.2
Text Domain: agenda21-twentytwentyfive-child
*/

/*
  Add custom CSS overrides here.
  Core colors and design tokens are configured in theme.json.
*/

@font-face {
  font-family: "Agenda21Manrope";
  src: url("/app/themes/twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --agenda21-white: rgb(255, 255, 255);
  --agenda21-light: rgb(255, 255, 255);
  --agenda21-dark: rgb(133, 173, 105);
  --agenda21-blue: rgb(92, 106, 153);
  --agenda21-surface-default: var(--wp--preset--color--agenda21-white, rgb(255, 255, 255));
  --agenda21-surface-soft: var(--wp--preset--color--agenda21-light, rgb(255, 255, 255));
  --agenda21-border-subtle: color-mix(
    in srgb,
    var(--wp--preset--color--agenda21-blue, rgb(92, 106, 153)) 14%,
    white
  );
  --agenda21-content-width: min(94vw, 1280px);
  --agenda21-card-shadow: 0 10px 22px rgba(23, 28, 110, 0.06);
  --agenda21-card-radius: 14px;
  --agenda21-card-padding: clamp(0.95rem, 1.5vw, 1.2rem);
}

:root,
body,
.tribe-common,
.tribe-events,
.tribe-events-view,
.tribe-events-widget,
.agenda21-info-sidebar-events {
  --tec-color-accent-primary: rgb(92, 106, 153) !important;
  --tec-color-accent-primary-hover: color-mix(in srgb, rgb(92, 106, 153) 88%, black) !important;
  --tec-color-button-primary: rgb(92, 106, 153) !important;
  --tec-color-link-primary: rgb(92, 106, 153) !important;
  --tec-color-border-secondary: color-mix(in srgb, rgb(92, 106, 153) 16%, white) !important;
}

html[data-font-scale="-1"] {
  font-size: 94%;
}

html[data-font-scale="0"] {
  font-size: 100%;
}

html[data-font-scale="1"] {
  font-size: 108%;
}

html[data-font-scale="2"] {
  font-size: 116%;
}

body {
  background-color: var(--agenda21-white);
}

.wp-site-blocks h2,
.wp-block-post-content h2,
.wp-block-post-content h2.wp-block-heading {
  font-size: clamp(2rem, 1.25vw + 1.55rem, 2.65rem) !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

.wp-site-blocks h3,
.wp-block-post-content h3,
.wp-block-post-content h3.wp-block-heading {
  font-size: clamp(1.45rem, 0.85vw + 1.1rem, 1.95rem) !important;
  font-weight: 650 !important;
  line-height: 1.25;
}

.wp-site-blocks h4,
.wp-block-post-content h4,
.wp-block-post-content h4.wp-block-heading {
  font-size: clamp(1.2rem, 0.55vw + 1rem, 1.45rem) !important;
  font-weight: 630 !important;
  line-height: 1.3;
}

.wp-site-blocks h5,
.wp-block-post-content h5,
.wp-block-post-content h5.wp-block-heading {
  font-size: clamp(1.32rem, 0.22vw + 1.2rem, 1.44rem) !important;
  font-weight: 620 !important;
  line-height: 1.32;
}

.wp-site-blocks h6,
.wp-block-post-content h6,
.wp-block-post-content h6.wp-block-heading {
  font-size: clamp(1.28rem, 0.18vw + 1.18rem, 1.36rem) !important;
  font-weight: 610 !important;
  line-height: 1.35;
}

.agenda21-brand-header {
  background: var(--agenda21-white);
  color: var(--agenda21-dark);
}

.agenda21-utility-nav-row {
  background: var(--agenda21-white);
  border-bottom: 1px solid color-mix(in srgb, var(--agenda21-blue) 16%, white);
}

.agenda21-utility-nav-row__inner {
  min-height: 28px;
  padding: 0.15rem 0.75rem;
  align-items: center;
}

.agenda21-utility-navigation {
  gap: 0.25rem 0.75rem;
}

.agenda21-utility-instagram-image {
  margin: 0 0.45rem 0 0 !important;
  line-height: 0;
}

.agenda21-utility-instagram-image a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--agenda21-blue);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.agenda21-utility-instagram-image img {
  width: 15px;
  height: 15px;
  display: block;
  filter: brightness(0) saturate(100%) invert(39%) sepia(19%) saturate(827%) hue-rotate(191deg) brightness(91%) contrast(88%);
}

.agenda21-utility-instagram-image a:hover,
.agenda21-utility-instagram-image a:focus,
.agenda21-utility-instagram-image a:focus-visible {
  background-color: var(--agenda21-blue);
  transform: translateY(-1px);
}

.agenda21-utility-instagram-image a:hover img,
.agenda21-utility-instagram-image a:focus img,
.agenda21-utility-instagram-image a:focus-visible img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.agenda21-font-scale-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.agenda21-utility-quick-links {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.agenda21-utility-quick-links__link {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 0.42rem;
  border-radius: 999px;
  color: var(--agenda21-blue);
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 640;
  line-height: 1;
  text-decoration: none;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.agenda21-utility-quick-links__link:hover,
.agenda21-utility-quick-links__link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-light) 70%, white);
  color: color-mix(in srgb, var(--agenda21-blue) 88%, black);
  transform: translateY(-1px);
}

.agenda21-utility-quick-links__link--disabled {
  opacity: 0.52;
  cursor: default;
}

.agenda21-font-scale-controls__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 0.42rem;
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 22%, white);
  border-radius: 999px;
  background: var(--agenda21-white);
  color: var(--agenda21-blue);
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1;
  cursor: pointer;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
}

.agenda21-font-scale-controls__button:hover,
.agenda21-font-scale-controls__button:focus-visible {
  background: var(--agenda21-blue);
  border-color: var(--agenda21-blue);
  color: var(--agenda21-white);
  transform: translateY(-1px);
}

.agenda21-font-scale-controls__button[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--agenda21-blue);
  font-weight: 620;
  font-size: 0.84rem;
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  padding: 0.08rem 0;
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation-item__content:hover,
.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation-item__content:focus {
  color: color-mix(in srgb, var(--agenda21-blue) 80%, black);
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation__submenu-container {
  background-color: var(--agenda21-white);
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 22%, white);
  box-shadow: 0 10px 24px rgba(23, 28, 110, 0.08);
  padding: 0.35rem;
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--agenda21-blue);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
  background-color: color-mix(in srgb, var(--agenda21-light) 75%, white);
}

.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation__submenu-icon,
.agenda21-utility-nav-row .wp-block-navigation .wp-block-navigation-item__content + .wp-block-navigation__submenu-icon {
  color: var(--agenda21-blue);
  fill: var(--agenda21-blue);
}

.agenda21-brand-header__inner {
  min-height: 76px;
  padding: 0.5rem clamp(0.25rem, 1vw, 0.6rem) 0.45rem;
  text-align: left;
  justify-content: flex-start;
  gap: clamp(0.8rem, 1.9vw, 1.5rem);
}

.agenda21-brand-header__title {
  margin: 0;
  font-size: clamp(1.24rem, 1.2vw + 0.8rem, 1.82rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: var(--agenda21-blue);
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-weight: 760;
}

.agenda21-brand-header__title a {
  color: inherit;
  text-decoration: none;
}

.agenda21-brand-header__title a:hover,
.agenda21-brand-header__title a:focus-visible {
  color: inherit;
  text-decoration: none;
}

.agenda21-brand-header__tagline {
  margin: 0.18rem 0 0;
  font-size: clamp(0.76rem, 0.28vw + 0.7rem, 0.9rem);
  line-height: 1.15;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--agenda21-dark);
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-weight: 620;
}

.agenda21-brand-header__tagline a {
  color: inherit;
  text-decoration: none;
}

.agenda21-brand-header__tagline a:hover,
.agenda21-brand-header__tagline a:focus-visible {
  color: inherit;
  text-decoration: none;
}

.agenda21-brand-header__logo {
  margin: 0 !important;
  line-height: 0;
}

.agenda21-brand-header__logo a {
  display: inline-flex;
  align-items: center;
}

.agenda21-brand-header__copy {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 34rem;
}

.agenda21-brand-header__nav {
  margin-left: auto;
  flex: 0 1 auto;
}

.agenda21-brand-header__nav .wp-block-navigation__container {
  gap: clamp(0.75rem, 1.45vw, 1.5rem);
  justify-content: flex-end;
}

.agenda21-brand-header__logo img {
  display: block;
  width: clamp(74px, 3vw + 58px, 112px);
  height: auto;
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation-item__content,
.agenda21-brand-header__nav .wp-block-navigation-item__content,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--agenda21-blue);
  font-weight: 650;
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.15;
  padding: 0.35rem 0;
  text-decoration: none;
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.agenda21-brand-header .wp-block-navigation .wp-block-navigation-item__content:focus-visible,
.agenda21-brand-header__nav .wp-block-navigation-item__content:hover,
.agenda21-brand-header__nav .wp-block-navigation-item__content:focus-visible,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: color-mix(in srgb, var(--agenda21-blue) 88%, black);
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation__submenu-container,
.agenda21-brand-header__nav .wp-block-navigation__submenu-container,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation__submenu-container {
  background-color: var(--agenda21-white);
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 30%, white);
  box-shadow: 0 10px 24px rgba(23, 28, 110, 0.12);
  padding: 0.35rem;
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.agenda21-brand-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--agenda21-blue);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.agenda21-brand-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
.agenda21-brand-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.agenda21-brand-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
  color: var(--agenda21-blue);
  background-color: var(--agenda21-light);
}

.agenda21-brand-header .wp-block-navigation .wp-block-navigation__submenu-icon,
.agenda21-brand-header .wp-block-navigation .wp-block-navigation-item__content + .wp-block-navigation__submenu-icon,
.agenda21-brand-header__nav .wp-block-navigation__submenu-icon,
.agenda21-brand-header__nav .wp-block-navigation-item__content + .wp-block-navigation__submenu-icon,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation__submenu-icon,
.agenda21-nav-row .wp-block-navigation .wp-block-navigation-item__content + .wp-block-navigation__submenu-icon {
  color: var(--agenda21-blue);
  fill: var(--agenda21-blue);
}

@media (max-width: 781px) {
  .agenda21-brand-header > .wp-block-group {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  .agenda21-brand-header__inner {
    min-height: 54px;
    padding-top: 0.28rem;
    padding-bottom: 0.18rem;
    padding-left: clamp(0.08rem, 0.45vw, 0.18rem);
    padding-right: clamp(0.08rem, 0.45vw, 0.18rem);
    gap: 0.24rem;
    flex-wrap: wrap !important;
  }

  .agenda21-brand-header__logo img {
    width: clamp(52px, 16vw, 72px);
  }

  .agenda21-brand-header__title {
    font-size: clamp(1.04rem, 2.25vw + 0.46rem, 1.2rem);
  }

  .agenda21-brand-header__tagline {
    letter-spacing: 0.08em;
    font-size: clamp(0.66rem, 0.8vw + 0.5rem, 0.74rem);
  }

  .agenda21-brand-header__nav {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

/* Mobile/off-canvas navigation: enforce readable contrast when menu is open. */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--agenda21-blue) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  color: var(--agenda21-white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation-item__content {
  color: var(--agenda21-white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
  color: var(--agenda21-white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  background-color: color-mix(in srgb, var(--agenda21-blue) 88%, black) !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-light) 35%, transparent) !important;
  padding: 0.35rem !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--agenda21-white) !important;
  border-radius: 6px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
  color: var(--agenda21-white) !important;
  background-color: color-mix(in srgb, var(--agenda21-blue) 55%, white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-open svg {
  color: var(--agenda21-white) !important;
  fill: var(--agenda21-white) !important;
}

.wp-block-post-title {
  color: var(--agenda21-dark);
}

.agenda21-focus-title-band {
  background-color: var(--agenda21-white);
  color: var(--agenda21-dark);
}

.agenda21-focus-title-band .agenda21-focus-post-title {
  color: var(--agenda21-dark);
}

.home .agenda21-focus-title-band {
  display: none;
}

.agenda21-focus-main {
  background-color: var(--agenda21-white);
  --wp--style--block-gap: 0;
}

.wp-site-blocks > .agenda21-focus-main {
  margin-top: 0 !important;
}

.agenda21-focus-main > .wp-block-group {
  margin-top: 0 !important;
}

.agenda21-alternating-sections > * {
  padding: 1.15rem 1.1rem;
  box-sizing: border-box;
}

.wp-block-post-content.agenda21-alternating-sections {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.agenda21-fullwidth-sections {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.agenda21-fullwidth-sections > * {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.wp-block-post-content.agenda21-alternating-sections > * {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.agenda21-fullwidth-sections.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}

.wp-block-post-content.agenda21-alternating-sections.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

.agenda21-fullwidth-sections > :where(
  p,
  ul,
  ol,
  blockquote,
  figure,
  pre,
  table,
  div,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6
) {
  width: 100% !important;
  max-width: 100% !important;
}

.agenda21-alternating-sections > :nth-child(odd):not(.agenda21-section) {
  background-color: var(--agenda21-dark);
}

.agenda21-alternating-sections > :nth-child(odd):not(.agenda21-section),
.agenda21-section--dark,
:where(
  .has-agenda21-dark-background-color,
  .has-agenda-21-dark-background-color,
  [style*="background-color:#85ad69"],
  [style*="background-color: #85ad69"]
) {
  --agenda21-surface-text: var(--agenda21-white);
  --agenda21-surface-link: var(--agenda21-white);
  --agenda21-surface-button-bg: transparent;
  --agenda21-surface-button-color: var(--agenda21-white);
  --agenda21-surface-button-border: color-mix(in srgb, var(--agenda21-white) 72%, transparent);
  --agenda21-surface-button-hover-bg: color-mix(in srgb, var(--agenda21-white) 14%, transparent);
}

.agenda21-alternating-sections > :nth-child(even):not(.agenda21-section) {
  background-color: var(--agenda21-light);
}

.agenda21-alternating-sections > :nth-child(even):not(.agenda21-section),
.agenda21-section--light,
:where(
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"]
) {
  --agenda21-surface-text: var(--agenda21-blue);
  --agenda21-surface-link: var(--agenda21-blue);
  --agenda21-surface-button-bg: var(--agenda21-white);
  --agenda21-surface-button-color: var(--agenda21-blue);
  --agenda21-surface-button-border: color-mix(in srgb, var(--agenda21-blue) 22%, white);
  --agenda21-surface-button-hover-bg: color-mix(in srgb, var(--agenda21-light) 72%, white);
}

:where(
  .has-agenda21-blue-background-color,
  .has-agenda-21-blue-background-color,
  [style*="background-color:#5c6a99"],
  [style*="background-color: #5c6a99"]
) {
  --agenda21-surface-text: var(--agenda21-white);
  --agenda21-surface-link: var(--agenda21-white);
  --agenda21-surface-button-bg: var(--agenda21-white);
  --agenda21-surface-button-color: var(--agenda21-blue);
  --agenda21-surface-button-border: var(--agenda21-white);
  --agenda21-surface-button-hover-bg: color-mix(in srgb, var(--agenda21-light) 88%, white);
}

:where(
  .agenda21-alternating-sections > :not(.agenda21-section),
  .agenda21-section--dark,
  .agenda21-section--light,
  .has-agenda21-dark-background-color,
  .has-agenda-21-dark-background-color,
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  .has-agenda21-blue-background-color,
  .has-agenda-21-blue-background-color,
  [style*="background-color:#85ad69"],
  [style*="background-color: #85ad69"],
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"],
  [style*="background-color:#5c6a99"],
  [style*="background-color: #5c6a99"]
) :where(h1, h2, h3, h4, h5, h6, p, li, strong, details, summary) {
  color: var(--agenda21-surface-text, inherit) !important;
}

:where(
  .agenda21-alternating-sections > :not(.agenda21-section),
  .agenda21-section--dark,
  .agenda21-section--light,
  .has-agenda21-dark-background-color,
  .has-agenda-21-dark-background-color,
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  .has-agenda21-blue-background-color,
  .has-agenda-21-blue-background-color,
  [style*="background-color:#85ad69"],
  [style*="background-color: #85ad69"],
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"],
  [style*="background-color:#5c6a99"],
  [style*="background-color: #5c6a99"]
) a:not(.wp-block-button__link.has-background) {
  color: var(--agenda21-surface-link, inherit) !important;
}

:where(
  .agenda21-alternating-sections > *,
  .agenda21-section--dark,
  .agenda21-section--light,
  .has-agenda21-dark-background-color,
  .has-agenda-21-dark-background-color,
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  .has-agenda21-blue-background-color,
  .has-agenda-21-blue-background-color,
  [style*="background-color:#85ad69"],
  [style*="background-color: #85ad69"],
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"],
  [style*="background-color:#5c6a99"],
  [style*="background-color: #5c6a99"]
) :is(
  .wp-block-button.is-style-outline .wp-block-button__link,
  .wp-block-button .wp-block-button__link:not(.has-background),
  .has-agenda21-blue-background-color .wp-block-button .wp-block-button__link,
  .has-agenda-21-blue-background-color .wp-block-button .wp-block-button__link,
  [style*="background-color:#5c6a99"] .wp-block-button .wp-block-button__link,
  [style*="background-color: #5c6a99"] .wp-block-button .wp-block-button__link
) {
  background: var(--agenda21-surface-button-bg, transparent) !important;
  color: var(--agenda21-surface-button-color, inherit) !important;
  border: 1px solid var(--agenda21-surface-button-border, currentColor) !important;
}

:where(
  .agenda21-alternating-sections > *,
  .agenda21-section--dark,
  .agenda21-section--light,
  .has-agenda21-dark-background-color,
  .has-agenda-21-dark-background-color,
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  .has-agenda21-blue-background-color,
  .has-agenda-21-blue-background-color,
  [style*="background-color:#85ad69"],
  [style*="background-color: #85ad69"],
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"],
  [style*="background-color:#5c6a99"],
  [style*="background-color: #5c6a99"]
) :is(
  .wp-block-button.is-style-outline .wp-block-button__link:hover,
  .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
  .wp-block-button .wp-block-button__link:not(.has-background):hover,
  .wp-block-button .wp-block-button__link:not(.has-background):focus-visible,
  .has-agenda21-blue-background-color .wp-block-button .wp-block-button__link:hover,
  .has-agenda21-blue-background-color .wp-block-button .wp-block-button__link:focus-visible,
  .has-agenda-21-blue-background-color .wp-block-button .wp-block-button__link:hover,
  .has-agenda-21-blue-background-color .wp-block-button .wp-block-button__link:focus-visible,
  [style*="background-color:#5c6a99"] .wp-block-button .wp-block-button__link:hover,
  [style*="background-color:#5c6a99"] .wp-block-button .wp-block-button__link:focus-visible,
  [style*="background-color: #5c6a99"] .wp-block-button .wp-block-button__link:hover,
  [style*="background-color: #5c6a99"] .wp-block-button .wp-block-button__link:focus-visible
) {
  background: var(--agenda21-surface-button-hover-bg, transparent) !important;
  border-color: var(--agenda21-surface-button-hover-bg, currentColor) !important;
}

:where(
  .agenda21-alternating-sections > :nth-child(even):not(.agenda21-section),
  .agenda21-section--light,
  .has-agenda21-light-background-color,
  .has-agenda-21-light-background-color,
  [style*="background-color:#d4ede6"],
  [style*="background-color: #d4ede6"],
  .agenda21-home-open-columns-workgroups,
  .agenda21-home-panel-updates,
  .agenda21-home-panel-map
) :is(
  .wp-block-button .wp-block-button__link:not(.has-background):hover,
  .wp-block-button .wp-block-button__link:not(.has-background):focus-visible,
  .wp-block-button .wp-block-button__link.has-agenda21-white-background-color.has-background:hover,
  .wp-block-button .wp-block-button__link.has-agenda21-white-background-color.has-background:focus-visible,
  .wp-block-button .wp-block-button__link.has-agenda-21-white-background-color.has-background:hover,
  .wp-block-button .wp-block-button__link.has-agenda-21-white-background-color.has-background:focus-visible
) {
  background: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
  color: var(--agenda21-white) !important;
  border-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
}

.agenda21-pv-chart__title,
.agenda21-pv-chart__legend-item,
.agenda21-pv-chart__controls label {
  color: var(--agenda21-blue) !important;
}

.agenda21-pv-chart__meta {
  color: rgb(45, 52, 67) !important;
}

.agenda21-layout-pattern,
.agenda21-home-panel,
.agenda21-home-open-columns {
  width: var(--agenda21-content-width) !important;
  max-width: var(--agenda21-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.agenda21-section {
  padding-block: clamp(2.15rem, 4.2vw, 4.2rem);
}

.agenda21-section--dark {
  background-color: var(--agenda21-dark);
  --agenda21-section-divider: color-mix(in srgb, var(--agenda21-white) 28%, transparent);
  --agenda21-section-panel-bg: color-mix(in srgb, var(--agenda21-white) 10%, transparent);
  --agenda21-section-panel-border: color-mix(in srgb, var(--agenda21-white) 34%, transparent);
}

.agenda21-section--light {
  background-color: var(--agenda21-white);
  --agenda21-section-divider: color-mix(in srgb, var(--agenda21-blue) 18%, white);
  --agenda21-section-panel-bg: color-mix(in srgb, var(--agenda21-blue) 4%, white);
  --agenda21-section-panel-border: color-mix(in srgb, var(--agenda21-blue) 16%, white);
}

.agenda21-section__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3vw, 3rem);
}

.agenda21-section__inner.has-global-padding,
.agenda21-section__inner.wp-block-group.has-global-padding {
  padding-left: clamp(0.95rem, 4vw, 3.1rem) !important;
  padding-right: clamp(0.95rem, 4vw, 3.1rem) !important;
}

.agenda21-section__inner > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.agenda21-section__inner > * + * {
  padding-top: clamp(1.32rem, 2.15vw, 2.1rem);
  border-top: 1px solid var(--agenda21-section-divider);
}

.agenda21-section__inner > .agenda21-layout-pattern,
.agenda21-section__inner > .agenda21-infographic,
.agenda21-section__inner > .wp-block-group,
.agenda21-section__inner > .wp-block-columns {
  width: 100% !important;
  max-width: 100% !important;
}

.agenda21-section__inner > .agenda21-layout-pattern,
.agenda21-section__inner > .agenda21-layout-pattern.has-background,
.agenda21-section__inner > .agenda21-infographic,
.agenda21-section__inner > .agenda21-infographic.has-background {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.agenda21-section__inner > .agenda21-layout-pattern--text-full-width:not(:first-child) {
  background: var(--agenda21-section-panel-bg) !important;
  border: 1px solid var(--agenda21-section-panel-border);
  border-radius: calc(var(--agenda21-card-radius) + 2px) !important;
  box-shadow: 0 10px 22px rgba(23, 28, 110, 0.04);
  padding: clamp(1.25rem, 2vw, 1.9rem) !important;
}

.agenda21-layout-pattern.is-style-agenda21-inset-panel {
  background: color-mix(in srgb, var(--agenda21-blue) 4%, white) !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 16%, white);
  border-radius: calc(var(--agenda21-card-radius) + 2px) !important;
  box-shadow: 0 10px 22px rgba(23, 28, 110, 0.04);
  padding: clamp(1.25rem, 2vw, 1.9rem) !important;
}

.agenda21-section--dark .agenda21-layout-pattern.is-style-agenda21-inset-panel {
  background: color-mix(in srgb, var(--agenda21-white) 12%, transparent) !important;
  border-color: color-mix(in srgb, var(--agenda21-white) 34%, transparent);
}

.agenda21-section--light .agenda21-layout-pattern.is-style-agenda21-inset-panel {
  background: color-mix(in srgb, var(--agenda21-blue) 4%, white) !important;
  border-color: color-mix(in srgb, var(--agenda21-blue) 16%, white);
}

.agenda21-layout-pattern--text-full-width.is-style-agenda21-lead-intro {
  padding-block: clamp(0.7rem, 1.25vw, 1.15rem) !important;
}

.agenda21-layout-pattern--text-full-width.is-style-agenda21-lead-intro > .wp-block-heading {
  margin-bottom: clamp(1.1rem, 1.8vw, 1.55rem);
}

.agenda21-layout-pattern--text-full-width.is-style-agenda21-lead-intro > p:first-of-type {
  font-size: clamp(1.45rem, 0.55vw + 1.28rem, 1.78rem) !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.01em;
  margin-bottom: clamp(1rem, 1.6vw, 1.35rem);
  max-width: min(94vw, 980px);
}

.agenda21-layout-pattern--text-full-width.is-style-agenda21-lead-intro > p:first-of-type + p {
  margin-top: 0;
}

.agenda21-section__inner > .agenda21-layout-pattern--text-full-width:first-child {
  padding-block: clamp(0.35rem, 0.8vw, 0.75rem) !important;
}

.agenda21-section__inner > .agenda21-layout-pattern--text-full-width:first-child > .wp-block-heading {
  margin-bottom: clamp(1.05rem, 1.6vw, 1.45rem);
}

.agenda21-layout-pattern .wp-block-columns {
  gap: clamp(1.4rem, 2.2vw, 2.4rem);
}

.agenda21-fullwidth-sections .wp-block-columns,
.agenda21-alternating-sections .wp-block-columns {
  width: var(--agenda21-content-width) !important;
  max-width: var(--agenda21-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.agenda21-layout-pattern .wp-block-columns {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.agenda21-layout-pattern .wp-block-image {
  margin: 0;
}

.agenda21-layout-pattern .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

.agenda21-layout-pattern > :is(.wp-block-heading, p, ul, ol, blockquote) {
  margin-top: 0;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.agenda21-layout-pattern > .wp-block-heading {
  margin-bottom: clamp(1rem, 1.6vw, 1.4rem);
}

.agenda21-layout-pattern--text-full-width > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote) {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 781px) {
  .agenda21-layout-pattern,
  .agenda21-section__inner > .agenda21-layout-pattern,
  .agenda21-section__inner,
  .agenda21-layout-pattern > :is(.wp-block-heading, p, ul, ol, blockquote),
  .agenda21-layout-pattern--text-full-width > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote),
  .agenda21-fullwidth-sections .wp-block-columns,
  .agenda21-alternating-sections .wp-block-columns,
  .agenda21-layout-pattern .wp-block-columns {
    width: 100% !important;
    max-width: 100% !important;
  }

  .agenda21-layout-pattern,
  .agenda21-section__inner > .agenda21-layout-pattern,
  .agenda21-section__inner,
  .agenda21-fullwidth-sections .wp-block-columns,
  .agenda21-alternating-sections .wp-block-columns,
  .agenda21-layout-pattern .wp-block-columns {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .agenda21-section__inner.has-global-padding,
  .agenda21-section__inner.wp-block-group.has-global-padding {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }

  .agenda21-layout-pattern.has-global-padding,
  .agenda21-layout-pattern.wp-block-group.has-global-padding {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }

  .agenda21-layout-pattern .wp-block-list,
  .agenda21-layout-pattern ul,
  .agenda21-layout-pattern ol {
    padding-left: 0.95rem !important;
  }

  .agenda21-section {
    padding-block: clamp(1.48rem, 4.2vw, 2.1rem);
  }

  .agenda21-section__inner {
    gap: 1.35rem;
  }

  .agenda21-section__inner > * + * {
    padding-top: 1.05rem;
  }

  .agenda21-section__inner > .agenda21-layout-pattern--text-full-width:not(:first-child) {
    padding: 1rem !important;
  }

  .agenda21-layout-pattern__columns {
    display: flex;
    flex-direction: column;
  }

  .agenda21-layout-pattern__image-col {
    order: 1;
  }

  .agenda21-layout-pattern__text-col {
    order: 2;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns) {
    display: flex;
    flex-direction: column;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns) > .wp-block-column {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns) > .wp-block-column > .wp-block-heading {
    margin-top: 0;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns):has(.wp-block-image) > .wp-block-column {
    display: contents;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns):has(.wp-block-image) > .wp-block-column > .wp-block-heading {
    order: 1;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns):has(.wp-block-image) > .wp-block-column > .wp-block-image {
    order: 2;
  }

  .agenda21-layout-pattern > .wp-block-columns:not(.agenda21-layout-pattern__columns):has(.wp-block-image) > .wp-block-column > :not(.wp-block-heading):not(.wp-block-image) {
    order: 3;
  }

  .agenda21-home-open-columns {
    display: flex;
    flex-direction: column;
  }

  .agenda21-home-open-columns > .wp-block-column {
    display: contents;
  }

  .agenda21-home-open-columns > .wp-block-column > .agenda21-home-section-eyebrow {
    order: 1;
    margin-bottom: 0.32rem !important;
  }

  .agenda21-home-open-columns > .wp-block-column > .wp-block-heading {
    order: 2;
    margin-top: 0 !important;
    transform: translateY(-1rem);
  }

  .agenda21-home-open-columns > .wp-block-column > .wp-block-image {
    order: 3;
  }

  .agenda21-home-open-columns > .wp-block-column > :not(.agenda21-home-section-eyebrow):not(.wp-block-heading):not(.wp-block-image) {
    order: 4;
  }
}

@media (min-width: 782px) and (max-width: 1100px) {
  .agenda21-section__inner.has-global-padding,
  .agenda21-section__inner.wp-block-group.has-global-padding {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .agenda21-layout-pattern.has-global-padding,
  .agenda21-layout-pattern.wp-block-group.has-global-padding {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
}

.agenda21-info-sidebar-box {
  background-color: var(--agenda21-surface-default) !important;
  border-radius: var(--agenda21-card-radius);
  border: 1px solid var(--agenda21-border-subtle);
  box-shadow: var(--agenda21-card-shadow);
  padding: var(--agenda21-card-padding);
  --wp--style--block-gap: var(--wp--preset--spacing--20);
}

.agenda21-info-sidebar-box h3 {
  margin-top: 0;
  color: var(--wp--preset--color--agenda21-blue, rgb(92, 106, 153));
}

.agenda21-info-sidebar-box + .agenda21-info-sidebar-box {
  margin-top: 1rem;
}

.agenda21-info-sidebar-posts {
  margin: 0;
  padding-left: 1.1rem;
}

.agenda21-info-sidebar-posts li {
  margin-bottom: 0.65rem;
}

.agenda21-info-sidebar-posts .wp-block-latest-posts__post-date {
  color: color-mix(
    in srgb,
    var(--wp--preset--color--agenda21-blue, rgb(92, 106, 153)) 70%,
    black
  );
  font-size: 0.6em;
}

.agenda21-info-sidebar-posts a,
.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-title,
.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-title-link {
  font-family: "Agenda21Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.18rem) !important;
  line-height: 1.35 !important;
  font-weight: 620 !important;
  text-decoration: none;
  color: rgb(20, 24, 39);
}

.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-wrapper,
.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-details,
.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-header {
  min-width: 0;
}

.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-title-link {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}

.agenda21-info-sidebar-posts a:hover,
.agenda21-info-sidebar-posts a:focus-visible {
  text-decoration: underline;
}

.agenda21-info-sidebar-events .tribe-events-widget-events-list__event-datetime {
  font-size: 0.88rem;
  line-height: 1.35;
}

.wp-block-post-content .wp-block-image {
  border-radius: 8px;
  overflow: hidden;
}

.wp-block-post-content .wp-block-image img {
  border-radius: 8px;
}

.tribe-events-single > .tribe_events > .tribe-events-event-meta.primary,
.tribe-events-single > .tribe_events > .tribe-events-event-meta.secondary {
  width: 100% !important;
  flex-basis: 100%;
}

.tribe-events-single .tribe-events-event-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tribe-events-single .tribe-events-event-meta.secondary {
  clear: both;
  flex-direction: column;
  gap: 1.25rem;
}

.tribe-events-single .tribe-events-event-meta.secondary .tribe-events-meta-group {
  width: 100%;
  margin-right: 0;
}

.tribe-events-single .tribe-events-event-meta.secondary .tribe-events-meta-group-venue {
  order: 0;
}

.tribe-events-single .tribe-events-event-meta.secondary .tribe-events-venue-map {
  order: 1;
}

.tribe-events-single .tribe-events-event-meta.secondary .tribe-events-venue-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.tribe-events-single .tribe-events-single-section-title {
  font-size: clamp(1.25rem, 0.55vw + 1.05rem, 1.55rem) !important;
  line-height: 1.25;
}

.agenda21-home-panel {
  --agenda21-home-shell-bg: var(--agenda21-white);
  --agenda21-home-shell-border: 1px solid var(--agenda21-border-subtle);
  --agenda21-home-shell-shadow: var(--agenda21-card-shadow);
  background-color: var(--agenda21-white) !important;
  border: var(--agenda21-home-shell-border);
  border-radius: var(--agenda21-card-radius);
  box-shadow: var(--agenda21-home-shell-shadow);
  padding: clamp(1.7rem, 2.8vw, 2.95rem);
}

.agenda21-home-panel,
.agenda21-home-open-columns {
  background: var(--agenda21-home-shell-bg, transparent) !important;
  background-color: var(--agenda21-home-shell-bg, transparent) !important;
  border: var(--agenda21-home-shell-border, 0) !important;
  box-shadow: var(--agenda21-home-shell-shadow, none) !important;
}

.agenda21-home-panel :where(h1, h2, h3, h4, h5, h6, p, li, a) {
  color: rgb(20, 24, 39) !important;
}

.agenda21-home-panel .wp-block-heading {
  margin-top: 0;
}

.agenda21-home-panel-hero {
  --agenda21-home-shell-bg: transparent;
  --agenda21-home-shell-border: 0;
  --agenda21-home-shell-shadow: none;
  display: grid;
  gap: clamp(1.6rem, 2.6vw, 2.7rem);
  padding-top: clamp(1.1rem, 2vw, 1.7rem);
  padding-bottom: clamp(1.1rem, 2vw, 1.7rem);
}

.agenda21-home-open-columns {
  --agenda21-home-shell-bg: transparent;
  --agenda21-home-shell-border: 0;
  --agenda21-home-shell-shadow: none;
  column-gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(1.95rem, 3.05vw, 2.95rem);
  padding-bottom: clamp(1.95rem, 3.05vw, 2.95rem);
}

.home.page .wp-block-group.alignwide.agenda21-home-panel.agenda21-home-panel-workgroups,
.home.page .wp-block-group.alignwide.agenda21-home-panel.agenda21-home-panel-action {
  --agenda21-home-shell-bg: transparent;
  --agenda21-home-shell-border: 0;
  --agenda21-home-shell-shadow: none;
}

.agenda21-home-hero-copy {
  max-width: none;
}

.agenda21-home-hero-copy :is(h2, p) {
  color: var(--agenda21-white) !important;
  max-width: none;
}

.agenda21-home-panel .wp-block-buttons {
  margin-top: 1rem;
}

.agenda21-home-panel-hero .wp-block-buttons {
  flex-wrap: nowrap !important;
  align-items: center;
}

.agenda21-home-panel-hero .wp-block-button .wp-block-button__link {
  white-space: nowrap;
}

.agenda21-home-panel .wp-block-button .wp-block-button__link {
  border-radius: 999px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.wp-site-blocks .wp-block-button .wp-block-button__link:hover,
.wp-site-blocks .wp-block-button .wp-block-button__link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 28, 110, 0.12);
}

.wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background: color-mix(in srgb, var(--agenda21-white) 18%, transparent);
}

.wp-site-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-site-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
}

:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) :where(h1, h2, h3, h4, h5, h6, p, li, strong, a:not(.wp-block-button__link)) {
  color: var(--agenda21-white) !important;
}

:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button .wp-block-button__link:not(.has-background),
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--agenda21-white) !important;
  background: transparent !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-white) 72%, transparent) !important;
}

:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button .wp-block-button__link:not(.has-background):hover,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button .wp-block-button__link:not(.has-background):focus-visible,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button.is-style-outline .wp-block-button__link:hover,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-white) 14%, transparent) !important;
  background-image: none !important;
}

.agenda21-home-streams {
  gap: clamp(1.4rem, 2.35vw, 2.2rem);
  align-items: stretch !important;
}

.agenda21-home-stream-column {
  min-width: 0;
  padding: clamp(0.2rem, 0.6vw, 0.4rem);
  align-self: stretch;
}

.agenda21-home-stream-column h3 {
  color: var(--agenda21-blue) !important;
  margin: 0 0 0.85rem;
  line-height: 1.14;
}

.agenda21-home-panel-updates .wp-block-columns {
  align-items: stretch !important;
  gap: clamp(0.95rem, 1.8vw, 1.35rem);
}

.agenda21-home-panel-updates {
  margin-top: 0 !important;
}

.agenda21-home-panel-updates .wp-block-columns > .wp-block-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.agenda21-home-feature-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
  width: 100%;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 16%, white);
  border-radius: calc(var(--agenda21-card-radius) - 2px);
  background:
    linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(239, 245, 255, 0.96));
  box-shadow:
    0 12px 28px rgba(59, 85, 164, 0.055),
    0 2px 8px rgba(59, 85, 164, 0.03);
  overflow: hidden;
  position: relative;
  padding-top: clamp(5.2rem, 7.5vw, 6.1rem);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.agenda21-home-feature-card:hover,
.agenda21-home-feature-card:has(:hover),
.agenda21-home-feature-card:focus-within {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--agenda21-blue) 22%, white);
  box-shadow:
    0 18px 34px rgba(59, 85, 164, 0.08),
    0 4px 10px rgba(59, 85, 164, 0.04);
}

.agenda21-home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(4.1rem, 5.7vw, 4.9rem);
  border-bottom: 1px solid color-mix(in srgb, var(--agenda21-blue) 10%, white);
}

.agenda21-home-feature-card--news::before {
  background-image:
    linear-gradient(135deg, rgba(92, 106, 153, 0.18), rgba(133, 173, 105, 0.08)),
    url("/app/themes/agenda21-twentytwentyfive-child/assets/Neuigkeiten-Banner_klein.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.agenda21-home-feature-card--events::before {
  background-image:
    linear-gradient(135deg, rgba(133, 173, 105, 0.16), rgba(92, 106, 153, 0.14)),
    url("/app/themes/agenda21-twentytwentyfive-child/assets/Termine-Banner_klein.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.agenda21-home-panel-map {
  gap: 0;
}

.agenda21-home-section-lead > .agenda21-home-section-eyebrow,
.agenda21-home-section-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: left !important;
  color: rgb(45, 52, 67) !important;
}

.agenda21-home-open-columns-action .agenda21-home-section-eyebrow {
  color: var(--agenda21-white) !important;
}

.agenda21-home-section-lead > .agenda21-home-section-intro,
.agenda21-home-section-intro {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left !important;
  color: rgb(58, 66, 84) !important;
}

.agenda21-home-section-copy {
  width: min(94vw, 1280px);
  max-width: min(94vw, 1280px) !important;
  box-sizing: border-box;
  padding-inline: 0;
  margin-inline: auto;
  margin-bottom: clamp(1rem, 1.8vw, 1.35rem);
  text-align: left;
}

.agenda21-home-section-copy:not(:has(.agenda21-home-section-intro)) {
  margin-bottom: clamp(0.1rem, 0.35vw, 0.3rem);
}

.agenda21-home-section-copy > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.agenda21-home-panel-map.is-layout-constrained > .agenda21-home-map-embed {
  width: 100%;
  max-width: 100% !important;
}

.agenda21-home-panel-map.is-layout-constrained > .wp-block-heading,
.agenda21-home-panel-map.is-layout-constrained > p,
.agenda21-home-panel-map__intro {
  max-width: 100% !important;
}

.agenda21-home-section-lead > .wp-block-heading,
.agenda21-home-section-copy > .wp-block-heading {
  max-width: none !important;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 0.8vw + 0.95rem, 1.45rem);
  line-height: 1.18;
  text-align: left !important;
  color: var(--agenda21-blue) !important;
}

.agenda21-home-map-embed {
  overflow: hidden;
  border-radius: calc(var(--agenda21-card-radius) - 2px);
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 16%, white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: color-mix(in srgb, var(--agenda21-light) 70%, white);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.agenda21-home-map-embed:hover,
.agenda21-home-map-embed:has(:hover),
.agenda21-home-panel-map:hover .agenda21-home-map-embed,
.agenda21-home-panel-map:has(:hover) .agenda21-home-map-embed,
.agenda21-home-panel-map.is-map-hovered .agenda21-home-map-embed,
.agenda21-home-map-embed:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--agenda21-blue) 28%, white);
  box-shadow:
    0 22px 40px rgba(59, 85, 164, 0.095),
    0 6px 14px rgba(59, 85, 164, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.agenda21-home-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 440px;
  border: 0;
}

.agenda21-home-stream-column .wp-block-latest-posts {
  margin: 0;
  padding-left: 1.05rem;
}

.agenda21-home-stream-column .wp-block-latest-posts li,
.agenda21-home-stream-column .tribe-events-widget-events-list__event-row {
  margin-bottom: 0;
  padding: 0.78rem 0;
}

.agenda21-home-feature-card--news .wp-block-latest-posts li {
  padding: 0.68rem 0;
}

.agenda21-home-feature-card--news .wp-block-latest-posts__post-date {
  line-height: 1.1;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-row {
  margin-bottom: 0 !important;
  padding: 0.18rem 0;
  align-items: flex-start;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-date-tag {
  flex: 0 0 2.2rem;
  min-width: 2.2rem;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-date-tag-month {
  font-size: 0.66rem;
  line-height: 1;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-date-tag-daynum {
  font-size: 1.28rem !important;
  line-height: 1 !important;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-datetime-wrapper {
  margin-bottom: 0.05rem;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-datetime {
  font-size: 0.74rem;
  line-height: 1.08;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-title-link {
  line-height: 1.12 !important;
}

.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-datetime-featured-icon,
.agenda21-home-feature-card--events .tribe-events-widget-events-list__event-datetime-featured-text {
  display: none !important;
}

.agenda21-home-stream-column .wp-block-latest-posts li + li,
.agenda21-home-stream-column .tribe-events-widget-events-list__event-row + .tribe-events-widget-events-list__event-row {
  border-top: 1px solid color-mix(in srgb, var(--agenda21-blue) 8%, white);
}

.agenda21-home-feature-card > .wp-block-buttons {
  margin-top: auto;
  padding-top: 0.25rem;
}

.agenda21-home-feature-card .tribe-events-widget-events-list__view-more {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.agenda21-home-feature-card--events .tribe-events,
.agenda21-home-feature-card--events .tribe-events-widget,
.agenda21-home-feature-card--events .tribe-events-view--widget-events-list {
  margin-bottom: 0 !important;
}

.agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link {
  display: inline-block;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--agenda21-white) !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 22%, white) !important;
  color: var(--agenda21-blue) !important;
  font-family: "Manrope", sans-serif;
  font-size: 17.8816px;
  font-weight: 300;
  line-height: 25.0342px;
  text-decoration: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.home.page .agenda21-home-panel-updates .agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link {
  color: var(--agenda21-blue) !important;
}

.agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link:hover,
.agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
  color: var(--agenda21-white) !important;
  border-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 28, 110, 0.12);
}

.home.page .agenda21-home-panel-updates .agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link:hover,
.home.page .agenda21-home-panel-updates .agenda21-home-feature-card .tribe-events-widget-events-list__view-more-link:focus-visible {
  color: var(--agenda21-white) !important;
}

@media (max-width: 781px) {
  .agenda21-home-panel-updates .wp-block-columns > .agenda21-home-stream-column:first-child {
    padding-right: clamp(1rem, 1.8vw, 1.35rem);
  }

  .agenda21-home-panel-updates .wp-block-columns > .agenda21-home-stream-column:last-child {
    padding-left: clamp(1rem, 1.8vw, 1.35rem);
  }

  .agenda21-home-map-embed iframe {
    min-height: 360px;
  }
}

.agenda21-home-linklist {
  padding-left: 1.15rem;
}

.agenda21-home-linklist li + li {
  margin-top: 0.5rem;
}

.agenda21-home-workgroup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: clamp(0.95rem, 1.8vw, 1.35rem);
  margin-top: clamp(1.25rem, 2.1vw, 1.9rem);
}

.agenda21-home-workgroup-grid > * {
  margin-block-start: 0 !important;
}

.agenda21-home-open-columns-workgroups > .wp-block-column:first-child {
  flex-basis: 100% !important;
}

.agenda21-home-workgroup-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  padding-top: clamp(5.2rem, 7.5vw, 6.1rem);
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 16%, white);
  border-radius: calc(var(--agenda21-card-radius) - 2px);
  background:
    linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(239, 245, 255, 0.96));
  box-shadow:
    0 12px 28px rgba(59, 85, 164, 0.055),
    0 2px 8px rgba(59, 85, 164, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.agenda21-home-workgroup-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(4.1rem, 5.7vw, 4.9rem);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid color-mix(in srgb, var(--agenda21-blue) 10%, white);
}

.agenda21-home-workgroup-card--energy::before {
  background-image:
    linear-gradient(135deg, rgba(92, 106, 153, 0.22), rgba(133, 173, 105, 0.12)),
    url("/app/themes/agenda21-twentytwentyfive-child/assets/AK-EnergieKlima-Banner_klein.png");
}

.agenda21-home-workgroup-card--nature::before {
  background-image:
    linear-gradient(135deg, rgba(133, 173, 105, 0.28), rgba(255, 255, 255, 0.08)),
    url("/app/themes/agenda21-twentytwentyfive-child/assets/AK-NaturLandschaft-Banner_klein.png");
}

.agenda21-home-workgroup-card--ideas::before {
  background-image:
    linear-gradient(135deg, rgba(92, 106, 153, 0.18), rgba(133, 173, 105, 0.18)),
    url("/app/themes/agenda21-twentytwentyfive-child/assets/AK-WeitereThemen-Banner_klein.png");
}

.agenda21-home-workgroup-card:hover,
.agenda21-home-workgroup-card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--agenda21-blue) 28%, white);
  box-shadow:
    0 22px 40px rgba(59, 85, 164, 0.095),
    0 6px 14px rgba(59, 85, 164, 0.05);
}

:is(.agenda21-home-feature-card, .agenda21-home-workgroup-card) > .agenda21-home-workgroup-card__eyebrow {
  margin: 0 0 0.32rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgb(45, 52, 67) !important;
}

.wp-site-blocks .wp-block-post-content :is(.agenda21-home-feature-card, .agenda21-home-workgroup-card) > .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 0.55vw + 1rem, 1.45rem) !important;
  font-weight: 630 !important;
  line-height: 1.3 !important;
  color: rgb(28, 34, 52) !important;
}

.agenda21-home-workgroup-card > p:not(.agenda21-home-workgroup-card__eyebrow):not(.agenda21-home-workgroup-card__link) {
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgb(58, 66, 84) !important;
}

.agenda21-home-workgroup-card > .wp-block-buttons {
  margin-top: auto;
  padding-top: 0.25rem;
}

.agenda21-home-workgroup-card > .wp-block-buttons,
.agenda21-home-feature-card > .wp-block-buttons {
  margin-top: auto;
  padding-top: 0.25rem;
}

.agenda21-home-image {
  margin: 0;
}

.agenda21-home-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px !important;
}

.agenda21-home-banner {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.agenda21-home-banner .wp-block-image {
  position: relative;
  margin: 0 !important;
  overflow: hidden;
}

.agenda21-home-banner .wp-block-image img {
  display: block;
  width: 100%;
  height: clamp(14rem, 26vw, 23rem);
  object-fit: cover;
  border-radius: 0 !important;
}

.home.page .agenda21-home-banner-image .agenda21-home-fountain-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  mix-blend-mode: screen;
}

.home.page .agenda21-home-banner-image .agenda21-home-fountain-overlay__group {
  opacity: 0.96;
}

@media (prefers-reduced-motion: reduce) {
  .home.page .agenda21-home-banner-image .agenda21-home-fountain-overlay animate,
  .home.page .agenda21-home-banner-image .agenda21-home-fountain-overlay animateTransform {
    display: none;
  }
}

.home.page .agenda21-alternating-sections > .agenda21-home-section {
  padding-top: clamp(2.2rem, 3.8vw, 3.75rem);
  padding-bottom: clamp(2.2rem, 3.8vw, 3.75rem);
}

.home.page .agenda21-home-banner + .agenda21-home-section {
  padding-top: clamp(0.55rem, 1.1vw, 1rem);
}

.home.page .agenda21-home-banner + .agenda21-home-section .agenda21-home-panel-hero {
  padding-top: clamp(0.75rem, 1.25vw, 1.1rem);
}

.home.page .agenda21-home-section.has-background[style*="background-color:#5c6a99"],
.home.page .agenda21-home-section.has-background[style*="background-color: #5c6a99"] {
  background-color: color-mix(in srgb, var(--agenda21-blue) 7%, white) !important;
  background-image: none !important;
}

.home.page .agenda21-home-section.has-background[style*="background-color:#85ad69"],
.home.page .agenda21-home-section.has-background[style*="background-color: #85ad69"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
}

.home.page .agenda21-home-section.has-background[style*="background-color:#ffffff"],
.home.page .agenda21-home-section.has-background[style*="background-color: #ffffff"] {
  background-image:
    radial-gradient(circle at 10% 14%, rgba(133, 173, 105, 0.08), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(92, 106, 153, 0.06), transparent 22%) !important;
}

.home.page .agenda21-home-panel-updates .wp-block-button .wp-block-button__link,
.home.page .agenda21-home-panel-map .wp-block-button .wp-block-button__link {
  color: var(--agenda21-blue) !important;
  background: var(--agenda21-white) !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 22%, white) !important;
}

.home.page .wp-block-group.alignwide.agenda21-home-panel.agenda21-home-panel-updates {
  --agenda21-home-shell-bg: transparent;
  --agenda21-home-shell-border: 0;
  --agenda21-home-shell-shadow: none;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

.home.page .agenda21-home-panel-map {
  --agenda21-home-shell-bg: transparent;
  --agenda21-home-shell-border: 0;
  --agenda21-home-shell-shadow: none;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.home.page .agenda21-home-panel-updates :where(h1, h2, h3, h4, h5, h6, p, li, strong, a:not(.wp-block-button__link)),
.home.page .agenda21-home-panel-map :where(h1, h2, h3, h4, h5, h6, p, li, strong, a:not(.wp-block-button__link)) {
  color: rgb(45, 52, 67) !important;
}

.wp-block-button .wp-block-button__link.has-agenda21-white-background-color.has-background,
.wp-block-button .wp-block-button__link.has-agenda-21-white-background-color.has-background {
  background-color: var(--agenda21-white) !important;
  color: var(--agenda21-blue) !important;
  border: 1px solid color-mix(in srgb, var(--agenda21-blue) 22%, white) !important;
}

.home.page .agenda21-home-panel-updates .wp-block-button .wp-block-button__link:hover,
.home.page .agenda21-home-panel-updates .wp-block-button .wp-block-button__link:focus-visible,
.home.page .agenda21-home-panel-map .wp-block-button .wp-block-button__link:hover,
.home.page .agenda21-home-panel-map .wp-block-button .wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link.has-agenda21-white-background-color.has-background:hover,
.wp-block-button .wp-block-button__link.has-agenda21-white-background-color.has-background:focus-visible,
.wp-block-button .wp-block-button__link.has-agenda-21-white-background-color.has-background:hover,
.wp-block-button .wp-block-button__link.has-agenda-21-white-background-color.has-background:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
  color: var(--agenda21-white) !important;
  border-color: color-mix(in srgb, var(--agenda21-blue) 82%, black) !important;
}

:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button .wp-block-button__link:not(.has-background):hover,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button .wp-block-button__link:not(.has-background):focus-visible,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button.is-style-outline .wp-block-button__link:hover,
:where(.agenda21-home-panel-hero, .agenda21-home-open-columns-action) .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-white) 14%, transparent) !important;
  background-image: none !important;
  color: var(--agenda21-white) !important;
  border-color: color-mix(in srgb, var(--agenda21-white) 72%, transparent) !important;
}

.home.page .agenda21-home-open-columns-action .wp-block-button.is-style-outline .wp-block-button__link:hover,
.home.page .agenda21-home-open-columns-action .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
.home.page .agenda21-home-panel-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.home.page .agenda21-home-panel-hero .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background-color: color-mix(in srgb, var(--agenda21-white) 14%, transparent) !important;
  background-image: none !important;
  color: var(--agenda21-white) !important;
  border-color: color-mix(in srgb, var(--agenda21-white) 72%, transparent) !important;
}

.home.page .agenda21-alternating-sections > .agenda21-home-section :where(a:not(.wp-block-button__link)) {
  color: var(--wp--preset--color--agenda21-blue);
}

@media (max-width: 781px) {
  .agenda21-home-workgroup-grid {
    grid-template-columns: 1fr;
  }

  .agenda21-home-workgroup-card {
    padding-top: 5rem;
  }

  .agenda21-utility-nav-row__inner,
  .agenda21-utility-navigation {
    justify-content: center;
  }

  .agenda21-utility-instagram-image {
    margin-right: 0.2rem;
  }

  .agenda21-font-scale-controls {
    gap: 0.22rem;
  }

  .agenda21-utility-quick-links {
    gap: 0.06rem;
  }

  .agenda21-utility-quick-links__link {
    padding: 0 0.3rem;
    font-size: 0.72rem;
  }

  .agenda21-font-scale-controls__button {
    min-width: 26px;
    height: 21px;
    padding: 0 0.34rem;
    font-size: 0.76rem;
  }

  .agenda21-utility-nav-row__inner {
    min-height: 26px;
    padding: 0.12rem 0.9rem;
  }

  .agenda21-home-panel {
    padding: 1.15rem;
  }

  .home.page .agenda21-home-banner + .agenda21-home-section {
    padding-top: 0.25rem;
  }

  .home.page .agenda21-home-banner + .agenda21-home-section .agenda21-home-panel-hero {
    padding-top: 0.5rem;
  }

  .agenda21-home-panel-hero .wp-block-buttons {
    flex-wrap: wrap !important;
  }

  .agenda21-home-panel-hero .wp-block-button .wp-block-button__link {
    white-space: normal;
  }

  .agenda21-home-hero-copy h2 {
    max-width: none;
  }

  .wp-block-post-content.agenda21-alternating-sections,
  .agenda21-fullwidth-sections {
    width: 100dvw !important;
    max-width: 100dvw !important;
    margin-left: calc(50% - 50dvw) !important;
    margin-right: calc(50% - 50dvw) !important;
  }

  .wp-site-blocks,
  .agenda21-focus-main {
    overflow-x: clip;
  }
}
