/*
Theme Name: KCH-Hasslau
Theme URI: https://kch-hasslau.de
Author: Peter Trautmann
Author URI: https://kch-hasslau.de
Description: Ein WordPress-Theme für den Faschingsverein KCH-Hasslau
Version: 2.91
Requires at least: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kch-hasslau
*/

/* ========================= */
/* Allgemeine Stile */
/* ========================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

/* ========================= */
/* Header Styling */
/* ========================= */
.header {
    background-color: var(--header-bg-color, #ffffff);
    color: var(--header-text-color, #ffffff);
    overflow: visible;
    position: relative;
}

/* ========================= */
/* Navbar */
/* ========================= */
.navbar {
    background-color: #a00000;
    z-index: 1060;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    overflow: visible; /* Logo darf überstehen */
}

/* Brand links, Menü rechts */
.navbar > .container {
    position: relative;
    min-height: 56px;
}

.navbar-brand {
    position: relative;         /* Bezug für das absolute Logo */
    display: block;
    min-width: 56px;            /* etwas Platz links für das Logo */
    min-height: 56px;
    z-index: 1;
}

/* Menü nach rechts schieben (falls keine .ms-auto im Markup) */
.navbar-collapse {
    margin-left: auto;
    justify-content: flex-end;
    position: relative;
    z-index: 2;                 /* über dem Logo */
}

/* ========================= */
/* Logo: überlagert & ragt nach unten hinein */
/* ========================= */
.navbar-brand img {
    position: absolute;         /* ragt in/unter die Navbar */
    left: 0;                    /* Logo bleibt LINKS */
    top: -8px;                  /* feinjustieren */
    height: 260px !important;   /* Desktop-Größe */
    width: auto;
    transform: none;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,.3));
    pointer-events: auto;       /* ← Link auf die Startseite funktioniert */
    z-index: 1;
}

/* Toggler bleibt sicher bedienbar */
.navbar-toggler {
    position: relative;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 204, 0, 0.78);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: inline-flex;
    justify-content: center;
    min-height: 50px;
    min-width: 56px;
    padding: 0.72rem;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    z-index: 20;                /* höchster Layer */
}

.navbar-toggler:hover,
.navbar-toggler:focus-visible {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.28), rgba(255, 255, 255, 0.12));
    border-color: #ffcc00;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), 0 0 0 0.18rem rgba(255, 204, 0, 0.22);
    outline: 0;
    transform: translateY(-1px);
}

.navbar-toggler-icon {
    background-image: none !important;
    background: linear-gradient(#ffffff, #ffffff) center / 100% 2.5px no-repeat;
    height: 1.35rem;
    position: relative;
    width: 1.75rem;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 7px rgba(255, 204, 0, 0.55);
    content: "";
    height: 2.5px;
    left: 0;
    position: absolute;
    transition: transform 0.18s ease, top 0.18s ease, bottom 0.18s ease;
    width: 100%;
}

.navbar-toggler-icon::before {
    top: 2px;
}

.navbar-toggler-icon::after {
    bottom: 2px;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-size: 0 2.5px;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ========================= */
/* Mobile: Logo groß, links, überstehend; Menü rechts */
/* ========================= */
@media (max-width: 992px) {
  .navbar {
    padding: 10px 12px;
    overflow: visible;
  }

  .navbar-brand {
    min-width: 56px;
  }

  .navbar-brand img {
    position: absolute;         /* WICHTIG: nicht static */
    left: 0;                    /* links bleiben */
    top: 2px;                   /* Startpunkt im Navbar-Bereich */
    height: clamp(110px, 22vw, 170px) !important; /* responsive Logo-Höhe */
    width: auto;
    pointer-events: auto;       /* Klick führt zur Startseite */
    z-index: 1;
  }

  .navbar-collapse {
    margin-left: auto;          /* Menü rechts */
    text-align: right;
    z-index: 2;
  }

  .navbar-toggler {
    z-index: 20;                /* über dem Logo */
  }
}

@media (max-width: 991.98px) {
  #mainNavbar.collapse:not(.show) {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  #mainNavbar.collapse.show {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  #mainNavbar.collapsing {
    display: block !important;
    overflow: hidden !important;
    visibility: visible !important;
  }

  .navbar {
    min-height: 82px;
    padding: 8px 12px;
    overflow: visible;
  }

  .navbar > .container {
    align-items: flex-start;
    min-height: 64px;
  }

  .navbar-brand {
    flex: 0 0 78px;
    width: 78px;
    min-width: 78px;
    height: 64px;
    min-height: 64px;
  }

  .navbar-brand img {
    top: 0;
    height: clamp(96px, 27vw, 132px) !important;
    max-width: calc(100vw - 110px);
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.75rem;
    margin-left: 0;
    padding-left: calc(78px + 0.75rem);
    text-align: right;
    z-index: 10;
  }

  .navbar-collapse .navbar-nav {
    align-items: flex-end;
  }

  .navbar-toggler {
    margin-top: 6px;
    margin-left: auto;
    z-index: 20;
  }
}

@media (max-width: 420px) {
  .navbar {
    min-height: 76px;
  }

  .navbar > .container {
    min-height: 58px;
  }

  .navbar-brand {
    flex-basis: 70px;
    width: 70px;
    min-width: 70px;
    height: 58px;
    min-height: 58px;
  }

  .navbar-brand img {
    height: clamp(86px, 30vw, 112px) !important;
    max-width: calc(100vw - 100px);
  }

  .navbar-collapse {
    padding-left: calc(70px + 0.5rem);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(30, 37, 43, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.9rem;
    padding-bottom: 1rem;
    padding-top: 0.35rem;
  }

  .navbar-collapse .navbar-nav {
    gap: 0.15rem;
    width: 100%;
  }

  .navbar-collapse .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-collapse .navbar-nav .nav-link {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    min-height: 46px;
    padding: 0.7rem 0;
    width: 100%;
  }

  .navbar-collapse .navbar-nav .nav-link:focus-visible,
  .mobile-menu-booking:focus-visible,
  .mobile-menu-social a:focus-visible {
    box-shadow: 0 0 0 0.18rem rgba(255, 204, 0, 0.45);
    outline: 0;
  }

  .mobile-menu-actions.d-lg-none {
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex !important;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.85rem;
    padding-top: 0.95rem;
  }

  .mobile-menu-booking {
    align-items: center;
    background: #25d366;
    border: 2px solid #1ebe57;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.22);
    color: #ffffff !important;
    display: flex;
    font-weight: 800;
    gap: 0.6rem;
    justify-content: center;
    min-height: 50px;
    padding: 0.75rem 1rem;
    text-decoration: none;
  }

  .mobile-menu-booking i {
    font-size: 1.45rem;
  }

  .mobile-menu-booking:hover {
    background: #1ebe57;
    color: #ffffff !important;
    transform: translateY(-1px);
  }

  .mobile-menu-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
  }

  .mobile-menu-social a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 1.35rem;
    height: 46px;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 46px;
  }

  .mobile-menu-social a:hover {
    background: #ffffff;
    color: #1f272e !important;
    transform: translateY(-1px);
  }
}

/* ========================= */
/* Header-Bild: aspect-ratio & responsive */
/* ========================= */
.header-fullwidth-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1920 / 600;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 50% 99.2%, 0 97%);
}

.kch-hero {
  background: #1f272e;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 50% 99.2%, 0 97%);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.1));
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.kch-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.74) 0%, rgba(8, 12, 18, 0.5) 40%, rgba(8, 12, 18, 0.14) 74%, rgba(8, 12, 18, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.38) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.kch-hero__content {
  bottom: clamp(2.6rem, 4.8vw, 5.2rem);
  color: #ffffff;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.kch-hero__text {
  max-width: min(820px, 74vw);
}

.kch-hero__title {
  font-size: clamp(2.15rem, 4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

.kch-hero__claim {
  color: #ffd84d;
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0.55rem 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.kch-hero__motto {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin-top: clamp(1.25rem, 2.2vw, 2rem);
  max-width: min(720px, 100%);
}

.kch-hero__motto-label {
  align-items: center;
  background: linear-gradient(135deg, rgba(160, 0, 0, 0.88), rgba(125, 0, 0, 0.72));
  border: 1px solid rgba(255, 217, 90, 0.72);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.42rem;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 0.42rem;
  padding: 0.28rem 0.66rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.kch-hero__motto-label i {
  color: #ffd95a;
}

.kch-hero__motto-text {
  color: #ffffff;
  font-size: clamp(1.12rem, 2.1vw, 1.85rem);
  font-weight: 900;
  line-height: 1.14;
  margin: 0;
  max-width: 42rem;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.68);
}

@media (max-width: 768px) {
  .kch-hero {
    clip-path: none;
  }

  .header-fullwidth-img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    clip-path: none;
  }
}


.header-fullwidth-img {
  height: clamp(400px, 32vw, 800px) !important;
}

@media (max-width: 991.98px) {
  .header-fullwidth-img {
    height: clamp(260px, 58vw, 520px) !important;
    object-position: center center;
    clip-path: none;
  }
}

@media (max-width: 575.98px) {
  .kch-hero__content {
    bottom: 1.25rem;
  }

  .kch-hero__text {
    max-width: 94%;
  }

  .kch-hero__title {
    font-size: clamp(1.18rem, 6.8vw, 1.85rem);
    line-height: 1.04;
  }

  .kch-hero__claim {
    font-size: 0.72rem;
    margin-top: 0.28rem;
  }

  .kch-hero__motto {
    margin-top: 0.9rem;
  }

  .kch-hero__motto-label {
    font-size: 0.58rem;
    margin-bottom: 0.22rem;
    padding: 0.2rem 0.42rem;
  }

  .kch-hero__motto-text {
    font-size: clamp(0.82rem, 4.4vw, 1.08rem);
    line-height: 1.12;
  }

  .header-fullwidth-img {
    height: clamp(220px, 62vw, 360px) !important;
    width: 100%;
    object-fit: cover;
    clip-path: none;
  }
}

/* ========================= */
/* Motto der Saison Box (Farben an Logo angepasst) */
/* ========================= */

.motto-box {
    background: linear-gradient(90deg, #1E3A5F, #FFD700);
    color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 15px; /* vorher: 20px 25px → ca. 30% weniger vertikal */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
    border: 2px solid #6B4226; /* Brauner Rand passend zu den Kornähren */
}

/* Hover-Effekt */
.motto-box:hover {
    transform: scale(1.02);
}


/* Motto-Text */
.motto-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.motto-text h1 {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
    color: #FFD700; /* Goldgelb für Titel */
}

.motto-text p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

/* WhatsApp Button in originalem WhatsApp-Grün */
.whatsapp-booking a {
    display: flex;
    align-items: center;
    background: #25D366; /* WhatsApp Grün */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out;
    border: 2px solid #1ebe57; /* Dunkleres Grün für besseren Kontrast */
}

.whatsapp-booking a:hover {
    background: #1ebe57; /* Dunkleres Grün */
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .motto-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .motto-text {
        flex-direction: column;
        text-align: center;
    }

    .motto-text h5 {
        margin-bottom: 10px;
    }

    .whatsapp-booking {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .whatsapp-booking a {
        width: 90%;
        justify-content: center;
    }
}

/* ========================= */
/* Saison-Highlight und Schnelleinstiege */
/* ========================= */
.season-highlight {
    align-items: stretch;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 7fr) minmax(9.5rem, 3fr);
}

.quick-actions {
    margin-top: calc(clamp(-4rem, -4vw, -2rem) + 10px) !important;
    position: relative;
    z-index: 10;
}

.season-highlight--quicklinks {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.season-highlight__motto,
.season-highlight__quicklink {
    border-radius: 8px;
    min-width: 0;
    overflow: hidden;
}

.season-highlight__motto {
    background: linear-gradient(90deg, #1E3A5F, #FFD700);
    border: 2px solid #6B4226;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 90px;
    padding: 0.72rem 1rem;
    position: relative;
}

.season-highlight__motto::before {
    content: none;
}

.season-highlight__motto-content,
.season-highlight__booking {
    position: relative;
    z-index: 1;
}

.season-highlight__motto-content {
    min-width: 0;
}

.season-highlight__label {
    align-items: center;
    background: rgba(23, 42, 63, 0.72);
    border: 1px solid rgba(255, 217, 90, 0.7);
    border-radius: 999px;
    color: #ffd95a;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.38rem;
    letter-spacing: 0;
    margin-bottom: 0.32rem;
    padding: 0.22rem 0.55rem;
    text-transform: uppercase;
}

.season-highlight__label i {
    color: #ffd95a;
}

.season-highlight__motto-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.season-highlight__booking {
    align-items: center;
    align-self: center;
    background: #25d366;
    border: 2px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    color: #ffffff !important;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.44rem;
    justify-content: center;
    min-height: 38px;
    padding: 0.42rem 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}

.season-highlight__booking i {
    font-size: 1.08rem;
}

.season-highlight__booking:hover,
.season-highlight__booking:focus-visible {
    background: #1ebe57;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.season-highlight__quicklink {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    color: #1f272e !important;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1px minmax(0, 1fr);
    min-height: 96px;
    padding: 1.08rem 1.25rem;
    position: relative;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.season-highlight__quicklink:hover,
.season-highlight__quicklink:focus-visible {
    border-color: rgba(160, 0, 0, 0.18);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.15);
    color: #1f272e !important;
    transform: translateY(-2px);
}

.season-highlight__quicklink:focus-visible {
    outline: 3px solid rgba(255, 217, 90, 0.72);
    outline-offset: 3px;
}

.season-highlight__quicklink-icon {
    align-items: center;
    background: linear-gradient(135deg, #8f0000, #c01616);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(160, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.season-highlight__quicklink-divider {
    background: rgba(22, 31, 43, 0.18);
    display: block;
    height: 3.1rem;
    width: 1px;
}

.season-highlight__quicklink-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.season-highlight__quicklink-title {
    color: #111827;
    display: block;
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 0.18rem;
    overflow-wrap: anywhere;
}

.season-highlight__quicklink-text {
    color: #566170;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.42rem;
    overflow-wrap: anywhere;
}

.season-highlight__quicklink-action {
    align-items: center;
    color: #a00000;
    display: flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.45rem;
    justify-content: flex-start;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.season-highlight__quicklink-action span {
    min-width: 0;
}

.season-highlight__quicklink-action i {
    color: #a00000;
    flex: 0 0 auto;
    font-size: 0.65rem;
}

.season-highlight__quicklink--events .season-highlight__quicklink-icon {
    background: linear-gradient(135deg, #e2a000, #ffc43a);
    box-shadow: 0 10px 20px rgba(226, 160, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.season-highlight__quicklink--events .season-highlight__quicklink-action,
.season-highlight__quicklink--events .season-highlight__quicklink-action i {
    color: #a00000;
}

.season-highlight__quicklink--tickets .season-highlight__quicklink-icon {
    background: linear-gradient(135deg, #086b3d, #15985a);
    box-shadow: 0 10px 20px rgba(8, 107, 61, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.season-highlight__quicklink--tickets .season-highlight__quicklink-action,
.season-highlight__quicklink--tickets .season-highlight__quicklink-action i {
    color: #128c4a;
}

@media (max-width: 575.98px) {
    .quick-actions {
        margin-top: 0.75rem !important;
    }

    .season-highlight {
        gap: 0.45rem;
        grid-template-columns: minmax(0, 7fr) minmax(6.5rem, 3fr);
    }

    .season-highlight--quicklinks {
        display: grid;
        gap: 0.38rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .season-highlight__motto {
        gap: 0.36rem;
        grid-template-columns: minmax(0, 1fr);
        min-height: 90px;
        padding: 0.5rem 0.58rem;
    }

    .season-highlight__label {
        font-size: 0.58rem;
        gap: 0.28rem;
        margin-bottom: 0.24rem;
        padding: 0.18rem 0.34rem;
    }

    .season-highlight__motto-text {
        font-size: 0.86rem;
        line-height: 1.2;
    }

    .season-highlight__booking {
        align-self: flex-start;
        font-size: 0.64rem;
        gap: 0.28rem;
        min-height: 28px;
        padding: 0.25rem 0.38rem;
    }

    .season-highlight__booking i {
        font-size: 0.86rem;
    }

    .season-highlight__quicklink {
        align-content: center;
        background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
        border-color: rgba(22, 31, 43, 0.07);
        box-shadow: 0 8px 18px rgba(24, 30, 38, 0.1);
        border-radius: 12px;
        gap: 0.26rem;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        min-height: 92px;
        padding: 0.5rem 0.32rem 0.48rem;
        text-align: center;
    }

    .season-highlight__quicklink-icon {
        border-radius: 9px;
        font-size: 0.84rem;
        height: 1.86rem;
        margin-inline: auto;
        width: 1.86rem;
    }

    .season-highlight__quicklink-divider {
        display: none;
    }

    .season-highlight__quicklink-copy {
        align-items: center;
        gap: 0.12rem;
        text-align: center;
        width: 100%;
    }

    .season-highlight__quicklink-title {
        font-size: clamp(0.62rem, 2.75vw, 0.74rem);
        line-height: 1.08;
        min-height: 1.1em;
        text-align: center;
    }

    .season-highlight__quicklink-text {
        display: none;
    }

    .season-highlight__quicklink-action {
        font-size: clamp(0.48rem, 2.05vw, 0.56rem);
        gap: 0.18rem;
        justify-content: center;
        line-height: 1.15;
        margin-top: 0;
        text-align: center;
        width: 100%;
    }

    .season-highlight__quicklink-action span {
        max-width: 100%;
    }

    .season-highlight__quicklink-action i {
        font-size: 0.5rem;
    }
}

/* ========================= */
/* Navbar Styling */
/* ========================= */
.navbar a {
    color: white;
    font-weight: bold;
}

.navbar a:hover {
    color: #ffcc00;
}

/* ========================= */
/* Navbar Search - Lupe fixen */
/* ========================= */
.navbar form {
    max-width: 350px;
}

.navbar form input {
    border-radius: 20px;
    padding: 10px;
}

.navbar form button {
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Mobile Suchleiste */
#mobileSearchContainer {
    transition: all 0.3s ease-in-out;
}

#mobileSearchContainer form {
    max-width: 90%;
    margin: 0 auto;
}

/* ========================= */
/* AJAX-Suche Styling */
/* ========================= */
#ajax-search-results,
#ajax-search-results-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 350px;
    background: white;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    display: none;
    z-index: 2000;
    text-align: left;
}

#ajax-search-results a,
#ajax-search-results-mobile a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
}

#ajax-search-results a:hover,
#ajax-search-results-mobile a:hover {
    background: #f8f9fa;
}

/* ========================= */
/* Beitragsbilder in der Startseite */
/* ========================= */
.post-thumbnail img {
    width: 100%;
    height: 250px; /* oder z. B. 220px für etwas kompakter */
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
}


/* ========================= */
/* Fasching-Styling INDEX */
/* ========================= */
.card {
    border: 2px solid #ffcc00;
    border-radius: 10px;
    background: #ffffff;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
}

.card-title a {
    text-decoration: none;
    color: #a00000;
    font-weight: bold;
}

.card-title a:hover {
    color: #ff6600;
}

.kch-home-post-card {
    border: 1px solid #e7eaf0 !important;
    box-shadow: 0 6px 18px rgba(24, 30, 38, 0.055) !important;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.kch-home-post-card:hover,
.kch-home-post-card:focus-within {
    box-shadow: 0 8px 22px rgba(24, 30, 38, 0.075) !important;
    transform: translateY(-1px);
}

.post-card-actions {
    align-items: center;
}

.post-card-btn {
    align-items: center;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(24, 30, 38, 0.12);
    color: #ffffff !important;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.28rem;
    line-height: 1.1;
    min-height: 34px;
    padding: 0.48rem 0.68rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.post-card-btn i {
    font-size: 0.86rem;
}

.post-card-btn-read {
    background: linear-gradient(135deg, #a00000, #d12d2d);
}

.post-card-btn-share {
    background: linear-gradient(135deg, #138a4f, #21b96f);
}

.post-card-btn:hover,
.post-card-btn:focus-visible {
    box-shadow: 0 9px 18px rgba(24, 30, 38, 0.18);
    color: #ffffff !important;
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.post-card-btn:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.55);
    outline-offset: 2px;
}

/* Moderne Beitragskarten auf der Startseite */
.kch-home-post-card {
    border: 1px solid #e7eaf0 !important;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.kch-home-post-card:hover,
.kch-home-post-card:focus-within {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-2px);
}

.kch-post-card-media {
    background: #1f272e;
    overflow: hidden;
    position: relative;
}

.kch-post-card-media-link {
    display: block;
    overflow: hidden;
    position: relative;
}

.kch-post-card-media-link::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.12) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.kch-post-card-image,
.kch-home-post-card .post-thumbnail img {
    border-radius: 0;
    height: 220px;
    transition: transform 0.28s ease;
}

.kch-home-post-card:hover .kch-post-card-image,
.kch-home-post-card:focus-within .kch-post-card-image {
    transform: scale(1.035);
}

.kch-post-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1rem 1rem;
}

.kch-post-card-title {
    font-size: clamp(1rem, 1.28vw, 1.14rem);
    line-height: 1.18;
    margin: 0 0 0.55rem;
}

.kch-post-card-title a {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.kch-post-card-meta {
    align-items: center;
    color: #667085 !important;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 0.45rem 0.85rem;
    line-height: 1.2;
    margin: 0 0 0.85rem;
}

.kch-post-card-meta-item {
    align-items: center;
    display: inline-flex;
    gap: 0.38rem;
}

.kch-post-card-meta i {
    color: #52606f;
    font-size: 0.88rem;
}

.kch-post-card-excerpt {
    -webkit-box-orient: vertical;
    color: #425466 !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    line-height: 1.55;
    margin: 0 0 1rem;
    overflow: hidden;
}

.kch-post-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
}

.kch-post-card-actions .post-card-btn {
    border-radius: 8px;
    box-shadow: none;
    font-size: 0.76rem;
    gap: 0.28rem;
    min-height: 34px;
    padding: 0.46rem 0.6rem;
}

.kch-post-card-actions .post-card-btn-read {
    background: #a00000;
}

.kch-post-card-actions .post-card-btn-share {
    background: #128c4a;
}

.kch-post-card-actions .post-card-btn:hover,
.kch-post-card-actions .post-card-btn:focus-visible {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.kch-lazy-post-card {
    content-visibility: auto;
    contain-intrinsic-size: 430px;
}

.kch-lazy-post-sentinel {
    align-items: center;
    color: #6b7280;
    display: flex;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.6rem;
    justify-content: center;
    min-height: 54px;
    padding: 0.75rem 0;
}

.kch-lazy-post-sentinel .spinner-border {
    border-color: rgba(160, 0, 0, 0.18);
    border-right-color: #a00000;
    height: 1.1rem;
    width: 1.1rem;
}

@media (prefers-reduced-motion: no-preference) {
    .kch-lazy-post-card--visible {
        animation: kch-post-card-in 0.22s ease-out both;
    }

    @keyframes kch-post-card-in {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 575.98px) {
    .kch-home-post-card .post-thumbnail img {
        height: 205px;
    }

    .kch-post-card-body {
        padding: 1rem 1rem 0.95rem;
    }

    .kch-post-card-title {
        font-size: 1.02rem;
        margin-bottom: 0.5rem;
    }

    .kch-post-card-meta {
        font-size: 0.84rem;
        gap: 0.42rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .kch-post-card-excerpt {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        line-height: 1.5;
        margin-bottom: 0.95rem;
    }

    .post-card-btn {
        font-size: 0.78rem;
        min-height: 32px;
        padding: 0.44rem 0.58rem;
    }

    .kch-post-card-actions .post-card-btn {
        font-size: 0.74rem;
        min-height: 32px;
        padding: 0.42rem 0.52rem;
    }
}

/* Lazy-Loading für Bilder – sofort sichtbar, auch ohne JS */
img.lazy,
img.lazy.loaded {
    opacity: 1;
    transition: none;
}

/* ========================= */
/* Contact Form 7 Formulare */
/* ========================= */
.kch-contact-page {
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 2.6rem) 0 2.7rem;
}

.kch-contact-article {
    color: #1f272e;
}

.kch-contact-hero {
    display: block;
    margin-bottom: 1.25rem;
}

.kch-contact-hero__copy,
.kch-contact-form-card,
.kch-contact-method {
    border-radius: 12px;
}

.kch-contact-hero__copy {
    background:
        linear-gradient(135deg, rgba(160, 0, 0, 0.98), rgba(193, 25, 30, 0.96) 48%, rgba(255, 193, 7, 0.9)),
        #a00000;
    border: 1px solid rgba(255, 204, 0, 0.66);
    box-shadow: 0 18px 38px rgba(82, 24, 0, 0.16);
    color: #ffffff;
    min-height: 310px;
    overflow: hidden;
    padding: clamp(1.25rem, 3.2vw, 2.4rem);
    position: relative;
}

.kch-contact-hero__copy::before {
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0,
        rgba(255, 255, 255, 0.12) 1px,
        transparent 1px,
        transparent 16px
    );
    content: "";
    inset: 0;
    opacity: 0.56;
    pointer-events: none;
    position: absolute;
}

.kch-contact-hero__copy > * {
    position: relative;
    z-index: 1;
}

.kch-contact-kicker {
    align-items: center;
    background: rgba(30, 58, 95, 0.78);
    border: 1px solid rgba(255, 217, 90, 0.74);
    border-radius: 999px;
    color: #ffd95a;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 0.42rem;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 0.9rem;
    padding: 0.34rem 0.7rem;
    text-transform: uppercase;
}

.kch-contact-hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
    max-width: 780px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.kch-contact-lead {
    color: #fff7df;
    font-size: clamp(1rem, 1.55vw, 1.14rem);
    line-height: 1.62;
    margin-top: 0.9rem;
    max-width: 660px;
}

.kch-contact-lead p {
    margin: 0;
}

.kch-contact-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.kch-contact-button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 900;
    gap: 0.52rem;
    justify-content: center;
    line-height: 1.1;
    min-height: 44px;
    padding: 0.78rem 1rem;
    text-decoration: none;
    transition: box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.kch-contact-button--primary {
    background: #1e3a5f;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(13, 26, 45, 0.2);
}

.kch-contact-button--whatsapp {
    background: #128c4a;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(18, 140, 74, 0.22);
}

.kch-contact-button:hover,
.kch-contact-button:focus-visible {
    color: #ffffff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.kch-contact-layout {
    margin-top: 1.25rem;
}

.kch-contact-layout.row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.kch-contact-form-card,
.kch-contact-method {
    background: #ffffff;
    border: 1px solid #e7eaf0;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.kch-contact-form-card {
    border-top: 4px solid #a00000;
    padding: clamp(1rem, 2.2vw, 1.6rem);
}

.kch-contact-section-heading {
    border-bottom: 1px solid #eef0f4;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
}

.kch-contact-section-heading > p {
    color: #a00000;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.kch-contact-section-heading h2,
.kch-contact-info > h2 {
    color: #1f272e;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.kch-contact-section-heading div {
    color: #526170;
    line-height: 1.58;
    margin-top: 0.55rem;
}

.kch-contact-section-heading div p {
    margin: 0;
}

.kch-contact-editor-content > p:empty {
    display: none;
}

.kch-contact-editor-content .wpcf7-form {
    gap: 0.9rem;
}

.kch-contact-editor-content .wpcf7-form label br {
    display: none;
}

.kch-contact-editor-content .wpcf7 input[type="text"],
.kch-contact-editor-content .wpcf7 input[type="email"],
.kch-contact-editor-content .wpcf7 input[type="tel"],
.kch-contact-editor-content .wpcf7 input[type="url"],
.kch-contact-editor-content .wpcf7 input[type="number"],
.kch-contact-editor-content .wpcf7 input[type="date"],
.kch-contact-editor-content .wpcf7 select,
.kch-contact-editor-content .wpcf7 textarea {
    background: #fbfcfd;
    border-radius: 10px;
    min-height: 46px;
}

.kch-contact-editor-content .wpcf7 textarea {
    min-height: 155px;
}

.kch-contact-editor-content .wpcf7 input[type="submit"],
.kch-contact-editor-content .wpcf7 .wpcf7-submit {
    align-self: flex-start;
    border-radius: 999px;
    min-height: 46px;
    padding: 0.78rem 1.35rem;
}

.kch-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.kch-contact-info--below {
    margin-top: 1rem;
}

.kch-contact-info > h2 {
    margin-bottom: 0.15rem;
}

.kch-contact-method {
    align-items: flex-start;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 1rem;
}

.kch-contact-method__icon {
    align-items: center;
    background: #fff4cc;
    border: 1px solid rgba(255, 204, 0, 0.42);
    border-radius: 12px;
    color: #a00000;
    display: inline-flex;
    font-size: 1rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.kch-contact-method--booking .kch-contact-method__icon {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.22);
    color: #128c4a;
}

.kch-contact-method h3 {
    color: #1f272e;
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 0.35rem;
}

.kch-contact-method p {
    color: #526170;
    line-height: 1.52;
    margin: 0;
}

.kch-contact-method a {
    align-items: center;
    color: #a00000;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.42rem;
    margin-top: 0.75rem;
    text-decoration: none;
}

.kch-contact-method--booking a {
    color: #128c4a;
}

.kch-contact-method a:hover,
.kch-contact-method a:focus-visible {
    text-decoration: underline;
}

.kch-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.kch-contact-socials a {
    align-items: center;
    background: #1f272e;
    border-radius: 999px;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 1rem;
    height: 38px;
    justify-content: center;
    margin: 0;
    text-decoration: none;
    width: 38px;
}

.kch-contact-socials a:hover,
.kch-contact-socials a:focus-visible {
    background: #a00000;
    color: #ffffff !important;
}

.kch-contact-sidebar .sidebar {
    margin-top: 0;
}

@media (max-width: 575.98px) {
    .kch-contact-page {
        padding-top: 1rem;
    }

    .kch-contact-hero {
        gap: 0.75rem;
    }

    .kch-contact-hero__copy {
        min-height: 0;
        padding: 1rem;
    }

    .kch-contact-kicker {
        font-size: 0.66rem;
        padding: 0.28rem 0.55rem;
    }

    .kch-contact-hero h1 {
        font-size: clamp(1.65rem, 9vw, 2.25rem);
    }

    .kch-contact-lead {
        font-size: 0.95rem;
        line-height: 1.52;
    }

    .kch-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .kch-contact-button {
        width: 100%;
    }

    .kch-contact-form-card {
        padding: 0.95rem;
    }

    .kch-contact-method {
        gap: 0.7rem;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 0.9rem;
    }

    .kch-contact-method__icon {
        border-radius: 10px;
        height: 42px;
        width: 42px;
    }
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    color: #1f272e;
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    background: #ffffff;
    border: 1px solid #d4d7dd;
    border-radius: 6px;
    box-sizing: border-box;
    color: #1f272e;
    font-size: 1rem;
    padding: 0.75rem 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #a00000;
    box-shadow: 0 0 0 3px rgba(160, 0, 0, 0.12);
    outline: none;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    accent-color: #a00000;
}

.dsgvo-wrap {
    color: #1f272e;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.dsgvo-wrap label {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
    margin: 0;
}

.dsgvo-wrap p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0.5rem 0 0;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    align-self: flex-start;
    background: #a00000;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus-visible,
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible {
    background: #820000;
    box-shadow: 0 8px 18px rgba(160, 0, 0, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:focus-visible,
.wpcf7 .wpcf7-submit:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.55);
    outline-offset: 2px;
}

.wpcf7-not-valid-tip {
    color: #a00000;
    font-size: 0.86rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.wpcf7 form .wpcf7-response-output {
    border-radius: 8px;
    font-weight: 700;
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
}

@media (prefers-reduced-motion: no-preference) {
    .wpcf7-form {
        animation: kch-form-fade-in-up 0.45s ease both;
    }

    @keyframes kch-form-fade-in-up {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .wpcf7-form {
        gap: 0.75rem;
    }

    .wpcf7 input,
    .wpcf7 select,
    .wpcf7 textarea {
        font-size: 0.95rem;
    }

    .wpcf7 input[type="submit"],
    .wpcf7 .wpcf7-submit {
        align-self: stretch;
        width: 100%;
    }
}


/* ========================= */
/* Footer Styling */
/* ========================= */
.footer {
    background-color: #121212;
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.footer a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer a:hover {
    color: #ffcc00;
}

.footer-nav {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav li {
    margin-bottom: 8px;
}

/* ========================= */
/* Responsives Design für Mobile */
/* ========================= */
@media (max-width: 768px) {
    .header-image {
        height: 400px;
    }

    .header-textbox {
        width: 90%;
        font-size: 16px;
        height: 40px;
    }

	  .post-thumbnail img {
		width: 100%;
		height: 240px; /* oder 220px */
		object-fit: cover;
	}

    .navbar {
        padding: 10px;
    }

    .footer {
        padding: 30px 10px;
    }

    .breadcrumb-container p {
        text-align: center;
    }
}

/* ========================= */
/* Optimierungen - Beitragskarten, Pagination, Hover-Effekt */
/* ========================= */

.transition-hover {
    transition: transform 0.3s ease;
}

.transition-hover:hover {
    transform: scale(1.05);
}

/* ========================= */
/* Modernes Pagination Design (bei type => list) */
/* ========================= */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    background: #fff7e6;
    color: #a00000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.page-numbers.current {
    background: #ffcc00;
    color: #000;
    font-weight: bold;
}

.page-numbers:hover {
    background: #ffd966;
    color: #000;
}

/* ========================= */
/* Lazy Loading sichtbar machen */
/* ========================= */

img[loading="lazy"],
img[loading="lazy"].loaded {
    opacity: 1;
    transition: none;
}

/* Galerie-Archiv Cards verbessern */
.archive .card {
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.archive .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.archive .row > div:last-child {
    margin-bottom: 0 !important;
}

.archive {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

.card.gallery-card {
    border: 1px solid #eee;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card.gallery-card img {
    object-fit: cover;
    height: 220px;
    width: 100%;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #a00000;
    margin-bottom: 0.25rem;
}

.card-meta {
    font-size: 0.85rem;
    color: #888;
}

.card-meta i {
    margin-right: 4px;
}

/* --- Kalenderbutton-Gruppe (kompakter, inline, gleiche Höhe) --- */
.sidebar .btn-group-calendar {
  display: flex;
  flex-wrap: nowrap;         /* kein Umbrechen */
  gap: 0.5rem;               /* Abstand zwischen Buttons */
  margin-top: 1rem;          /* Abstand nach oben */
  justify-content: center;
  align-items: stretch;      /* gleiche Höhe erzwingen */
}

.sidebar .btn-group-calendar a {
  flex: 1;                   /* alle gleich breit */
  min-width: 90px;           /* Mindestbreite */
  max-width: 120px;          /* Maximalbreite */
  height: 38px;              /* feste Höhe für alle Buttons */
  font-size: 0.9rem;         /* kleinere Schrift */
  line-height: 1.2;
  padding: 0 0.5rem;         /* nur horizontales Padding */
  display: flex;
  align-items: center;       /* vertikal mittig */
  justify-content: center;   /* horizontal mittig */
  gap: 0.3rem;               /* Icon/Text-Abstand */
  white-space: nowrap;       /* kein Umbruch im Button */
  border-radius: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Icon-Größe leicht anpassen */
.sidebar .btn-group-calendar a i {
  font-size: 1rem;
  line-height: 1;
}

/* Hover-Effekt */
.sidebar .btn-group-calendar a:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* --- WhatsApp Button (kompakter) --- */
.sidebar .btn-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.sidebar .btn-success i.fab.fa-whatsapp {
  font-size: 1.2rem;
}

/* --- Mobile-Optimierung: Buttons untereinander auf kleinen Bildschirmen --- */
@media (max-width: 576px) {
  .sidebar .btn-group-calendar {
    flex-direction: column;    /* Buttons untereinander anordnen */
    flex-wrap: nowrap;         /* kein Umbrechen mehr */
    gap: 0.5rem;               /* Abstand zwischen den Buttons */
    align-items: center;       /* horizontal zentrieren */
  }
  .sidebar .btn-group-calendar a {
    flex: none;                /* keine flexible Breite mehr */
    width: 100%;               /* volle Breite des Containers */
    min-width: 0;              /* entfernt vorherige min-width */
    max-width: none;           /* entfernt vorherige max-width */
    height: 40px;              /* gleiche Höhe wie Desktop */
    display: flex;             /* Icon und Text nebeneinander */
    flex-direction: row !important;    /* Icon links, Text rechts erzwingen */
    align-items: center;       /* vertikal zentrieren */
    justify-content: center;   /* horizontal zentrieren */
    gap: 0.3rem;               /* Abstand Icon/Text */
  }

  /* WhastApp-Teilen-Button ebenfalls anpassen */
  .sidebar .btn-outline-success.btn-sm.w-100 {
    flex-direction: row !important;
  }
}

/* Video-Wrapper */
.sidebar .sidebar-video-wrapper {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.kch-youtube-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #151515;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
}

.kch-youtube-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.kch-youtube-placeholder:hover img,
.kch-youtube-placeholder:focus-visible img {
  transform: scale(1.03);
  opacity: 0.86;
}

.kch-youtube-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dc3545;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.kch-youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #ffffff;
}

.kch-youtube-placeholder-text {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  transform: translateX(-50%);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.kch-youtube-placeholder:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -6px;
}

/* Desktop: Bild links, Infos rechts */
@media (min-width: 768px) {
  .sidebar .list-group-item .d-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .sidebar .list-group-item img {
    width: 160px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sidebar .list-group-item .text-muted {
    text-align: left;
  }
}

/* Mobile: Bild und Infos untereinander */
@media (max-width: 767.98px) {
  .sidebar .list-group-item .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sidebar .list-group-item img {
    width: 200px;
    margin-bottom: 0.5rem;
  }

  .sidebar .list-group-item .text-muted {
    text-align: center;
  }
}

/* Allgemeine Optimierung der Schriftgröße */
body {
  font-size: 18px;
  line-height: 1.6;
}

/* ========================= */
/* General Button Styling für Zeitungsberichte (Archiv & Einzelansicht) */
/* ========================= */
/* Diese Stile werden nun auf die spezifischen Post-Typen begrenzt. */

.post-type-archive-zeitungsberichte .btn-outline-primary,
.single-zeitungsberichte .btn-outline-primary {
    border: 2px solid #a00000;
    color: #a00000;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s, color 0.3s;
}

.post-type-archive-zeitungsberichte .btn-outline-primary:hover,
.single-zeitungsberichte .btn-outline-primary:hover {
    background: #a00000;
    color: #fff;
}

.post-type-archive-zeitungsberichte .btn-primary,
.single-zeitungsberichte .btn-primary {
    background: #a00000;
    border: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s;
}

.post-type-archive-zeitungsberichte .btn-primary:hover,
.single-zeitungsberichte .btn-primary:hover {
    background: #ff6600;
}

/* ========================= */
/* Archive Zeitungsberichte Cards */
/* (post-type-archive-zeitungsberichte) */
/* ========================= */
/* Enhancements for archive cards to ensure consistent appearance and interactivity. */
.post-type-archive-zeitungsberichte .card {
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures rounded corners are applied to children like images */
}

.post-type-archive-zeitungsberichte .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.post-type-archive-zeitungsberichte .card-title a {
    color: #a00000;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4; /* Improved readability for multi-line titles */
}

.post-type-archive-zeitungsberichte .card-title a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.post-type-archive-zeitungsberichte .card .btn {
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-align: center;
}

/* Originalquelle in Card: Adjusted specificity for clarity. */
.post-type-archive-zeitungsberichte .card p.small {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* Archive Cards Images: Optimized for consistent height and centered content. */
.post-type-archive-zeitungsberichte .card-img-top {
    display: block; /* Ensures it behaves as a block for width/height */
    width: 100%;
    height: 180px; /* Fixed height for consistent card appearance */
    object-fit: cover; /* **Important**: Crops the image to cover the area, maintaining aspect ratio. This is ideal for card thumbnails. */
    object-position: center; /* **Important**: Centers the image content within its cropped area. */
    border-top-left-radius: 0.5rem; /* Matches the card's rounded corners */
    border-top-right-radius: 0.5rem; /* Matches the card's rounded corners */
}

/* Mobile Optimization: Archive Cards */
@media (max-width: 768px) {
    .post-type-archive-zeitungsberichte .card-img-top {
        height: 150px; /* Slightly smaller height on mobile */
    }
    .post-type-archive-zeitungsberichte .card-title a {
        font-size: 1rem;
    }
    .post-type-archive-zeitungsberichte .card .btn {
        width: 100%; /* Full width button on mobile for better touch experience */
    }
}


/* ========================= */
/* Single Zeitungsbericht */
/* (single-zeitungsberichte) */
/* ========================= */

/* Styling for the main content article block: The PHP adds classes like 'border border-2 border-warning rounded p-4 shadow-sm bg-white' directly to the <article> tag. These styles enhance those. */
.single-zeitungsberichte article {
    background-color: #fff; /* Ensures a consistent white background */
    border: 2px solid #ffc107; /* Explicitly sets the warning border color */
    border-radius: 0.5rem; /* Makes corners slightly more rounded than Bootstrap's default 'rounded' */
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1); /* Stronger, more noticeable shadow for depth */
    padding: 2rem; /* More generous internal spacing */
}

/* Image styling for single post: Addresses 'too big' and 'not centered'. */
/* The image is wrapped in a div with .text-center class. */
.single-zeitungsberichte .text-center {
    margin-bottom: 1.5rem; /* Adds space below the image section */
}

.single-zeitungsberichte .text-center img {
    max-width: 100%; /* Ensures the image never overflows its container */
    height: auto; /* Maintains the image's aspect ratio */
    max-height: 350px; /* **Optimization**: Increased max-height (from 250px) to give images more presence on larger screens, while preventing them from being excessively tall. */
    object-fit: contain; /* **Important**: Ensures the entire image is visible within its max-dimensions, preventing cropping. */
    display: block; /* **Optimization**: Essential for 'margin: auto' to effectively center a block-level element. */
    margin: 0 auto; /* **Optimization**: Horizontally centers the image within its parent container. */
    border-radius: 0.5rem; /* Adds subtle rounded corners to the image */
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1); /* Adds a soft shadow for visual separation and depth */
    transition: transform 0.2s ease; /* Smooth hover effect for interactivity */
}

.single-zeitungsberichte .text-center img:hover {
    transform: scale(1.01); /* Slightly scales up the image on hover */
}

/* Mobile Optimization: Single Post Image */
@media (max-width: 768px) {
    .single-zeitungsberichte .text-center img {
        max-height: 250px; /* **Optimization**: Adjusted max-height (from 180px) for a better visual balance on mobile devices. */
    }
    /* Adjustments for title and content on smaller screens for better readability. */
    .single-zeitungsberichte h1.text-danger {
        font-size: 1.8rem;
    }
    .single-zeitungsberichte .entry-content {
        font-size: 1rem;
    }
}

/* Other Single Post Elements: General styling for readability and aesthetics. */
.single-zeitungsberichte h1.text-danger {
    font-size: 2.2rem; /* Slightly adjusted title size */
    font-weight: 700;
    color: #a00000;
    margin-bottom: 1rem; /* Space below the title */
}

.single-zeitungsberichte .meta {
    font-size: 0.9rem; /* Slightly smaller meta text for subtle emphasis */
    color: #666;
    margin-bottom: 1.5rem; /* Space below meta information */
}

.single-zeitungsberichte .entry-content {
    font-size: 1.1rem; /* Increased body text size for improved readability */
    line-height: 1.8; /* Generous line spacing for comfort */
    color: #333; /* Darker text color for better contrast */
}

.single-zeitungsberichte .alert {
    background: #f2f2f2; /* Lighter background for the alert boxes */
    border-color: #e0e0e0; /* Softer border color */
    font-size: 0.9rem; /* Consistent font size for alerts */
    padding: 1rem 1.25rem; /* Adjusted padding */
    border-radius: 0.375rem; /* Standard Bootstrap-like border-radius */
    display: flex; /* Uses flexbox for proper icon-text alignment */
    align-items: center; /* Vertically centers content within the alert */
}

.single-zeitungsberichte .alert i {
    margin-right: 0.5rem; /* Space between icon and text */
}

/* Links in der Originalquelle */
.single-zeitungsberichte .alert a {
    color: #a00000;
    font-weight: bold;
    text-decoration: none; /* Removes default underline */
}

.single-zeitungsberichte .alert a:hover {
    text-decoration: underline;
    color: #ff6600;
}

/* Beitrag-Navigation */
.single-zeitungsberichte .post-navigation {
    margin-top: 3rem; /* More space above the navigation */
    padding-top: 1.5rem; /* Adds internal top padding for separation */
    border-top: 1px solid #eee; /* Subtle separator line */
}

.single-zeitungsberichte .post-navigation a {
    font-size: 0.95rem;
    color: #a00000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-zeitungsberichte .post-navigation a:hover {
    color: #ff6600;
    text-decoration: underline;
}

/* ========================= */
/* Single Veranstaltungen – Beitragsbild */
/* ========================= */
.single-veranstaltungen .event-hero{
  max-width: 680px;   /* Desktop-Deckel */
  width: 100%;
}

@media (max-width: 576px){
  .single-veranstaltungen .event-hero{
    max-width: 92vw;  /* mobil: fast volle Breite, mit Rand */
  }
}

/* Sicherheitsnetz – Bild füllt nur den Wrapper, kein Stretchen */
.single-veranstaltungen .event-hero img{
  display: block;
  width: 100%;
  height: auto;
}

/* ========================= */
/* Galerie-Seite */
/* ========================= */
.container.my-5:has(.tdg-gallery-archive) {
  margin-top: 2rem !important;
}

.container.my-5:has(.tdg-gallery-archive) .breadcrumb-container {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #e7eaf0;
  border-left: 4px solid #ffcc00;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.2;
}

.container.my-5:has(.tdg-gallery-archive) .breadcrumb-container a {
  color: #a00000;
  font-weight: 700;
  text-decoration: none;
}

.container.my-5:has(.tdg-gallery-archive) .breadcrumb-container a:hover {
  color: #7a0000;
  text-decoration: underline;
}

.page-content:has(.tdg-gallery-archive) {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-content:has(.tdg-gallery-archive) > h1 {
  margin: 0 0 1rem !important;
  padding: 0 0 0.8rem;
  border-bottom: 1px solid #e7eaf0;
  color: #a00000 !important;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.page-content:has(.tdg-gallery-archive) .content {
  margin: 0;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive {
  --tdg-accent: #a00000;
  --tdg-surface: #ffffff;
  --tdg-surface-soft: #f8fafc;
  --tdg-text: #101827;
  --tdg-muted: #5b6472;
  --tdg-border: #e7eaf0;
  --tdg-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  --tdg-shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.12);
  width: 100%;
  margin: 0;
  padding: 0 !important;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__header {
  max-width: none;
  margin: 0 0 1.25rem !important;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e7eaf0;
  border-top: 4px solid #a00000;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
  text-align: left;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__eyebrow {
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid #f0c400;
  border-radius: 999px;
  background: #fff7cc;
  color: #a00000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__title {
  margin: 0;
  color: #101827;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__lead {
  max-width: 58ch;
  margin: 0.55rem 0 0;
  color: #5b6472;
  font-size: 1rem;
  line-height: 1.55;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__grid {
  gap: 1.2rem;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card {
  border-radius: 8px;
  border-color: #e3e8ef;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card:hover,
.page-content:has(.tdg-gallery-archive) .tdg-gallery-card:focus-within {
  border-color: rgba(160, 0, 0, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__media {
  aspect-ratio: 16 / 10;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__body {
  gap: 0.65rem;
  padding: 1.05rem;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__title a:hover {
  color: #a00000;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__description {
  color: #5b6472;
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__meta {
  color: #667085;
  font-size: 0.9rem;
  font-weight: 800;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__button {
  border-color: rgba(160, 0, 0, 0.24);
  background: #fff7cc;
  color: #a00000;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__button:hover,
.page-content:has(.tdg-gallery-archive) .tdg-gallery-card__button:focus-visible {
  border-color: #a00000;
  background: #a00000;
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .container.my-5:has(.tdg-gallery-archive) {
    margin-top: 1.25rem !important;
  }

  .page-content:has(.tdg-gallery-archive) > h1 {
    font-size: 1.9rem;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__header {
    padding: 1rem;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__title {
    font-size: 1.45rem;
  }
}

@media (max-width: 767.98px) {
  .container.my-5:has(.tdg-gallery-archive),
  .tdg-gallery-single {
    width: 100%;
    max-width: 100%;
    margin-top: 1rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    overflow-x: hidden;
  }

  .container.my-5:has(.tdg-gallery-archive) .breadcrumb-container {
    max-width: 100%;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
  }

  .page-content:has(.tdg-gallery-archive) > h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__header {
    padding: 1rem !important;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__title {
    font-size: clamp(1.45rem, 7vw, 1.9rem) !important;
    line-height: 1.12;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-archive__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-card__media {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
  }

  .page-content:has(.tdg-gallery-archive) .tdg-gallery-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tdg-gallery-single__nav {
    margin-bottom: 0.85rem !important;
  }

  .tdg-gallery-single__back {
    max-width: 100%;
    white-space: normal !important;
  }

  .tdg-gallery-single__hero--has-cover {
    display: block !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  .tdg-gallery-single__hero-media {
    aspect-ratio: 16 / 10 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
    height: auto !important;
  }

  .tdg-gallery-single__hero-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .tdg-gallery-single__hero-overlay {
    position: relative !important;
    inset: auto !important;
    padding: 1rem !important;
    border-top: 1px solid #e7eaf0 !important;
    border-left: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff9df 100%) !important;
    color: #101827 !important;
    text-shadow: none !important;
  }

  .tdg-gallery-single__hero--has-cover .tdg-gallery-single__title {
    font-size: clamp(1.65rem, 8vw, 2.2rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
  }

  .tdg-gallery-single__content {
    margin-top: 1rem !important;
  }

  .tdg-gallery-single .tdg-gallery__grid {
    grid-template-columns: repeat(var(--tdg-columns-mobile), minmax(0, 1fr)) !important;
  }

  .tdg-gallery-single .tdg-gallery__masonry {
    column-count: var(--tdg-masonry-columns-mobile) !important;
    column-gap: 1rem !important;
  }

  .tdg-gallery-single .tdg-gallery__item {
    min-width: 0;
  }

  .tdg-gallery-single .tdg-gallery__image {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Sidebar event header */
.sidebar {
  width: 100%;
}

.sidebar .kch-sidebar-events-card {
  background: #ffffff !important;
  border-radius: 8px !important;
  max-width: none;
  overflow: hidden;
  width: 100%;
}

.sidebar .kch-sidebar-events-card .card-body,
.sidebar .kch-sidebar-events-card .list-group,
.sidebar .kch-sidebar-events-card .list-group-item {
  width: 100%;
}

.sidebar .kch-sidebar-events-card > .card-body {
  padding: 0 !important;
}

.sidebar .kch-sidebar-events-card .list-group {
  margin: 0;
}

.sidebar .kch-sidebar-events-card .list-group-item {
  border-left: 0;
  border-radius: 0 !important;
  border-right: 0;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.sidebar .kch-sidebar-events-header {
  align-items: center;
  background: #930000 !important;
  border: 0;
  border-radius: 8px 8px 0 0 !important;
  color: #ffffff !important;
  display: flex;
  gap: 0.85rem;
  justify-content: flex-start;
  min-height: 84px;
  padding: 1rem !important;
  text-align: left !important;
}

.sidebar .kch-sidebar-events-header > h5 {
  display: none;
}

.sidebar .kch-sidebar-events-icon {
  align-items: center;
  background: #ffd700;
  border-radius: 8px;
  color: #1e2428;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.sidebar .kch-sidebar-events-heading {
  display: grid;
  gap: 0.1rem;
}

.sidebar .kch-sidebar-events-heading span {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.sidebar .kch-sidebar-events-heading h5 {
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

.sidebar .kch-sidebar-events-card .list-group-item {
  background: #ffffff;
  padding: 1.35rem !important;
}

.sidebar .kch-sidebar-events-card .list-group-item > .d-flex {
  gap: 1.35rem !important;
  margin-bottom: 1.15rem !important;
}

.sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 {
  max-width: 180px;
}

.sidebar .kch-sidebar-events-card .list-group-item .flex-grow-1 {
  min-width: 0;
}

.sidebar .kch-sidebar-events-card .list-group-item > a.d-block {
  color: #252b33 !important;
  font-size: 1.06rem !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  line-height: 1.32;
  margin-bottom: 1.15rem !important;
}

.sidebar .kch-sidebar-events-card .list-group-item > a.d-block:hover {
  color: #a00000 !important;
}

.sidebar .kch-sidebar-events-card .flex-grow-1 > .small.text-primary {
  color: #252b33 !important;
  font-weight: 800;
  margin-bottom: 0.6rem !important;
}

.sidebar .kch-sidebar-events-card .flex-grow-1 > .small.text-muted,
.sidebar .kch-sidebar-events-card .flex-grow-1 > a.btn-outline-primary:not(.kch-sidebar-nav-btn) {
  display: none !important;
}

.sidebar .kch-sidebar-clean-info {
  color: #5b646f;
  display: grid;
  font-size: 0.92rem;
  gap: 0.46rem;
  line-height: 1.42;
}

.sidebar .kch-sidebar-clean-info div {
  align-items: flex-start;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 18px 1fr;
}

.sidebar .kch-sidebar-clean-info i {
  color: #a00000;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.sidebar .kch-sidebar-nav-btn {
  align-items: center;
  align-self: flex-start;
  border-color: #a00000 !important;
  border-radius: 6px;
  color: #a00000 !important;
  display: inline-flex;
  font-weight: 800;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.38rem 0.68rem;
  text-decoration: none;
}

.sidebar .kch-sidebar-nav-btn:hover {
  background: #a00000 !important;
  color: #ffffff !important;
}

.sidebar .kch-sidebar-nav-btn:hover i {
  color: #ffffff;
}

.sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 img {
  background: #f7f7f7;
  border-radius: 6px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  width: 160px !important;
}

.sidebar .kch-sidebar-events-card img.emoji {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block !important;
  height: 1em !important;
  margin: 0 0.25em 0 0 !important;
  object-fit: contain !important;
  width: 1em !important;
}

.sidebar .kch-sidebar-events-card hr {
  border-color: #d8d8d8;
  margin: 1.2rem 0 1rem !important;
  opacity: 1;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small {
  background: #fffaf0;
  border: 1px solid #f0e1b2;
  border-radius: 8px;
  color: #555d66 !important;
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.85rem;
  text-align: left !important;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small strong {
  color: #252b33;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small img.emoji {
  display: none !important;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small > div {
  position: relative;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small > div:first-child,
.sidebar .kch-sidebar-events-card hr + .text-primary.small > div.mt-1 {
  padding-left: 1.35rem;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small > div:first-child::before,
.sidebar .kch-sidebar-events-card hr + .text-primary.small > div.mt-1::before {
  color: #a00000;
  font-family: "Font Awesome 7 Free";
  font-size: 0.82rem;
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0.1rem;
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small > div:first-child::before {
  content: "\f3ff";
}

.sidebar .kch-sidebar-events-card hr + .text-primary.small > div.mt-1::before {
  content: "\f3c5";
}

.sidebar .kch-sidebar-events-card small.fw-bold.text-muted {
  color: #3f4750 !important;
  font-size: 0.93rem;
  font-weight: 800 !important;
  letter-spacing: 0;
  margin-bottom: 0.8rem !important;
  text-align: left;
}

.sidebar .kch-sidebar-events-card .btn-group-calendar {
  gap: 0.6rem;
  margin-top: 0;
}

.sidebar .kch-sidebar-events-card .btn-group-calendar a {
  background: #ffffff;
  border-color: #d8dde6;
  border-radius: 6px;
  box-shadow: none;
  color: #4f5963;
  font-size: 0.86rem;
  font-weight: 700;
  height: 38px;
}

.sidebar .kch-sidebar-events-card .btn-group-calendar a:hover {
  border-color: #a00000;
  color: #a00000;
  box-shadow: 0 6px 14px rgba(160, 0, 0, 0.09);
}

.sidebar .kch-sidebar-events-card .btn-group-calendar a i {
  color: #5c6670;
}

.sidebar .kch-sidebar-events-card .btn-success {
  background: #178f4f;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 8px 16px rgba(23, 143, 79, 0.16);
  min-height: 44px;
}

.sidebar .kch-sidebar-events-card .btn-success:hover {
  background: #127c43;
  box-shadow: 0 10px 18px rgba(23, 143, 79, 0.2);
}

.sidebar .kch-sidebar-events-card .btn-outline-success.btn-sm.w-100 {
  border-color: #178f4f;
  border-radius: 6px;
  color: #178f4f;
  font-weight: 700;
  min-height: 34px;
}

.sidebar .kch-sidebar-events-card .btn-outline-success.btn-sm.w-100:hover {
  background: #178f4f;
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .sidebar .kch-sidebar-events-header {
    min-height: 78px;
    padding: 0.9rem !important;
  }

  .sidebar .kch-sidebar-events-heading h5 {
    font-size: 1.18rem;
  }

  .sidebar .kch-sidebar-events-card .list-group-item {
    padding: 1.1rem !important;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > a.d-block {
    font-size: 1rem !important;
    margin-bottom: 0.95rem !important;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex {
    align-items: flex-start !important;
    flex-direction: row !important;
    gap: 0.95rem !important;
    text-align: left !important;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 {
    flex: 0 0 138px;
    margin-bottom: 0 !important;
    max-width: 148px;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 img {
    width: 138px !important;
  }

  .sidebar .kch-sidebar-clean-info {
    font-size: 0.88rem;
    gap: 0.36rem;
  }

  .sidebar .kch-sidebar-events-card .flex-grow-1 {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
  }

  .sidebar .kch-sidebar-nav-btn {
    font-size: 0.88rem;
    width: auto;
  }

  .sidebar .kch-sidebar-events-card .btn-group-calendar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sidebar .kch-sidebar-events-card .btn-group-calendar a {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 399.98px) {
  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex {
    align-items: center !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 {
    max-width: 220px;
    width: 100%;
  }

  .sidebar .kch-sidebar-events-card .list-group-item > .d-flex > a.flex-shrink-0 img {
    width: 100% !important;
  }

  .sidebar .kch-sidebar-events-card .flex-grow-1 {
    width: 100%;
  }
}

/* ========================= */
/* Über-uns-Seite */
/* ========================= */
.kch-about-shell {
  background: #ffffff;
  padding: 0 0 2.5rem;
}

.kch-global-breadcrumbs {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.kch-global-breadcrumbs__inner {
  background: #f8f9fa;
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  padding: 0.72rem 0.9rem;
}

.breadcrumbs-container {
  display: none !important;
}

.breadcrumb-container {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-left: 4px solid #ffcc00;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: #4b5563;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 0.45rem;
  line-height: 1.2;
  margin: 0 0 1.15rem;
  max-width: 100%;
  padding: 0.55rem 0.78rem;
}

.breadcrumb-container .breadcrumb-label {
  color: #1f272e;
  font-weight: 850;
}

.breadcrumb-container a {
  color: #a00000;
  font-weight: 850;
  text-decoration: none;
}

.breadcrumb-container a:hover,
.breadcrumb-container a:focus-visible {
  color: #7a0000;
  text-decoration: underline;
}

.breadcrumb-container span[aria-hidden="true"],
.breadcrumb-container .breadcrumb-separator,
.breadcrumb-container .separator {
  color: #b7bdc6;
  font-weight: 800;
}

.breadcrumb-container [aria-current="page"] {
  color: #28394d;
  font-weight: 800;
}

.kch-about-shell .breadcrumb-container {
  margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
  .kch-global-breadcrumbs {
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .kch-global-breadcrumbs__inner {
    padding: 0.6rem;
  }

  .breadcrumb-container {
    font-size: 0.84rem;
    gap: 0.35rem;
    padding: 0.5rem 0.62rem;
  }
}

.kch-about-article {
  color: #20262d;
}

.kch-about-page-title {
  color: #a00000;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 1.2rem;
}

.kch-about-featured-image {
  margin-bottom: 1.5rem;
}

.kch-about-featured-image img {
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.kch-about-editor-content > .kch-about {
  max-width: none;
}

.kch-about-shell .kch-about,
.kch-about-shell .kch-about > *,
.kch-about-shell .kch-about > .wp-block-group__inner-container {
  max-width: none !important;
}

.kch-about-shell .kch-about > *,
.kch-about-shell .kch-about > .wp-block-group__inner-container > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.kch-about :where(h2, h3, p) {
  letter-spacing: 0;
}

.kch-about .wp-block-columns {
  margin-bottom: 0;
}

.kch-about-hero {
  align-items: stretch !important;
  background:
    linear-gradient(135deg, rgba(160, 0, 0, 0.96), rgba(188, 24, 28, 0.94) 47%, rgba(255, 193, 7, 0.92)),
    #a00000;
  border: 2px solid #ffd24a;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(70, 21, 0, 0.18);
  color: #ffffff;
  gap: 1.4rem;
  margin-bottom: 1.3rem;
  overflow: hidden;
  position: relative;
}

.kch-about-shell .kch-about-hero.wp-block-columns {
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr) !important;
}

.kch-about-shell .kch-about-hero > .wp-block-column {
  flex-basis: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0;
  width: auto !important;
}

.kch-about-hero::before {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 16px
  );
  content: "";
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
}

.kch-about-hero__copy,
.kch-about-hero__visual {
  position: relative;
  z-index: 1;
}

.kch-about-hero__copy {
  align-self: center;
  padding: clamp(1.15rem, 3vw, 2.1rem);
}

.kch-about-kicker {
  align-items: center;
  background: rgba(30, 58, 95, 0.76);
  border: 1px solid rgba(255, 210, 74, 0.8);
  border-radius: 999px;
  color: #ffd95a;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.8rem;
  padding: 0.36rem 0.7rem;
  text-transform: uppercase;
}

.kch-about-hero h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 4.1vw, 3.4rem);
  font-weight: 900;
  line-height: 1.03;
  margin: 0 0 0.85rem;
  max-width: 11em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.kch-about-lead {
  color: #fff9e8;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.62;
  margin: 0 0 1.25rem;
  max-width: 42rem;
}

.kch-about-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.kch-about-actions .wp-block-button {
  margin: 0 !important;
}

.kch-about-button .wp-block-button__link {
  align-items: center;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(24, 30, 38, 0.18);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1.1;
  min-height: 44px;
  padding: 0.82rem 1rem;
  text-align: center;
  white-space: nowrap;
  width: auto;
}

.kch-about-button--primary .wp-block-button__link {
  background: #1e3a5f;
  color: #ffffff;
}

.kch-about-button--whatsapp .wp-block-button__link {
  background: #178f4f;
  color: #ffffff;
}

.kch-about-button .wp-block-button__link:hover,
.kch-about-button .wp-block-button__link:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.kch-about-hero__visual {
  align-self: stretch;
  display: flex;
  margin: 0;
  min-height: 360px;
}

.kch-about-hero__image {
  height: 100%;
  margin: 0 !important;
  width: 100%;
}

.kch-about-hero__image img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.kch-about-stats {
  display: block !important;
  margin: 0 0 1.6rem !important;
  width: 100%;
}

.kch-about-shell .kch-about-stats > .wp-block-group__inner-container {
  display: grid !important;
  gap: 0.8rem !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-content: stretch;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kch-about-shell .kch-about-stats > .wp-block-group__inner-container > .wp-block-group {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kch-about-stat {
  background: #ffffff;
  border: 1px solid #ead7a2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(82, 56, 10, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  padding: 1rem;
  position: relative;
}

.kch-about-stat::after {
  background: linear-gradient(90deg, #a00000, #ffc107);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.kch-about-stat h3 {
  color: #a00000;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 950;
  line-height: 1;
  margin: 0 0 0.28rem;
}

.kch-about-stat p {
  color: #4f5963;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}

.kch-about-story,
.kch-about-events {
  gap: 1rem !important;
  margin: 0 0 2.1rem !important;
}

.kch-about-shell .kch-about-story.wp-block-columns,
.kch-about-shell .kch-about-events.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.kch-about-shell .kch-about-story > .wp-block-column,
.kch-about-shell .kch-about-events > .wp-block-column {
  flex-basis: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0;
  width: auto !important;
}

.kch-about-story__main,
.kch-about-story__side,
.kch-about-events .wp-block-column {
  background: #ffffff;
  border: 1px solid #e7e9ee;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(24, 30, 38, 0.07);
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.kch-about-story h2,
.kch-about-events h2,
.kch-about-cta h2 {
  color: #a00000;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.kch-about-story h3 {
  color: #1e3a5f;
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 0.7rem;
}

.kch-about-story p,
.kch-about-events p,
.kch-about-cta p {
  color: #35404a;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.kch-about-story ul {
  display: grid;
  gap: 0.48rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kch-about-story li {
  color: #303942;
  font-weight: 700;
  padding-left: 1.25rem;
  position: relative;
}

.kch-about-story li::before {
  color: #ffc107;
  content: "\f630";
  font-family: "Font Awesome 7 Free";
  font-size: 0.78rem;
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0.13rem;
}

.kch-about-section-title {
  color: #a00000;
  font-size: clamp(1.58rem, 3vw, 2.22rem);
  font-weight: 950;
  line-height: 1.1;
  margin: 0 0 0.35rem !important;
}

.kch-about-section-intro {
  color: #57616c;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 48rem;
}

.kch-about-groups {
  display: block !important;
  margin: 0 0 2.1rem !important;
  width: 100%;
}

.kch-about-shell .kch-about-groups > .wp-block-group__inner-container {
  display: grid !important;
  gap: 1rem !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-content: stretch;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kch-about-shell .kch-about-groups > .wp-block-group__inner-container > .wp-block-group {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kch-about-group-card {
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 30, 38, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
}

.kch-about-group-card > .wp-block-group__inner-container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.kch-about-group-card figure {
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  margin: 0 !important;
  overflow: hidden;
}

.kch-about-group-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.22s ease;
  width: 100%;
}

.kch-about-group-card:hover img {
  transform: scale(1.035);
}

.kch-about-group-card h3 {
  color: #a00000;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 0;
  padding: 0.85rem 0.95rem 0.25rem;
}

.kch-about-group-card p {
  color: #4f5963;
  flex: 1 1 auto;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
  padding: 0 0.95rem 1rem;
}

.kch-about-board-image {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(24, 30, 38, 0.09);
  margin: 0 0 1.8rem !important;
  overflow: hidden;
}

.kch-about-board-image img {
  display: block;
  width: 100%;
}

.kch-about-board-image figcaption {
  background: #ffffff;
  color: #525d68;
  font-size: 0.9rem;
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: left;
}

.kch-about-cta {
  background:
    linear-gradient(135deg, rgba(30, 58, 95, 0.96), rgba(160, 0, 0, 0.94)),
    #1e3a5f;
  border-radius: 8px;
  color: #ffffff;
  display: grid !important;
  gap: 0.3rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.kch-about-cta h2,
.kch-about-cta p {
  color: #ffffff;
}

.kch-about-cta p {
  max-width: 56rem;
}

.kch-about-cta .kch-about-actions {
  margin-top: 0.35rem;
}

.kch-js .kch-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--kch-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.kch-js .kch-scroll-reveal--left {
  transform: translate3d(-32px, 0, 0);
}

.kch-js .kch-scroll-reveal--right {
  transform: translate3d(32px, 0, 0);
}

.kch-js .kch-scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@supports (content-visibility: auto) {
  .kch-about-stat,
  .kch-about-story__main,
  .kch-about-story__side,
  .kch-about-group-card,
  .kch-about-events .wp-block-column,
  .kch-about-board-image,
  .kch-about-cta {
    content-visibility: auto;
    contain-intrinsic-size: 1px 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kch-js .kch-scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .kch-about-shell {
    padding-top: 0;
  }

  .kch-about-hero {
    gap: 0;
  }

  .kch-about-shell .kch-about-hero.wp-block-columns {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr) !important;
  }

  .kch-about-hero__visual,
  .kch-about-hero__image img {
    min-height: 300px;
  }

  .kch-about-stats {
    display: block !important;
  }

  .kch-about-shell .kch-about-stats > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .kch-about-groups {
    display: block !important;
  }

  .kch-about-shell .kch-about-groups > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .kch-about-shell {
    padding: 0 0 2rem;
  }

  .kch-about-page-title {
    font-size: 2rem;
    margin-bottom: 0.9rem;
  }

  .kch-about-hero {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .kch-about-shell .kch-about-hero.wp-block-columns,
  .kch-about-shell .kch-about-story.wp-block-columns,
  .kch-about-shell .kch-about-events.wp-block-columns {
    grid-template-columns: 1fr !important;
  }

  .kch-about-hero__copy {
    padding: 1rem;
  }

  .kch-about-kicker {
    font-size: 0.68rem;
    margin-bottom: 0.62rem;
  }

  .kch-about-hero h2 {
    font-size: 1.78rem;
    max-width: none;
  }

  .kch-about-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .kch-about-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .kch-about-actions .wp-block-button {
    width: 100%;
  }

  .kch-about-button .wp-block-button__link {
    display: flex;
    justify-content: center;
    white-space: normal;
    width: 100%;
  }

  .kch-about-hero__visual,
  .kch-about-hero__image img {
    min-height: 240px;
  }

  .kch-about-stats {
    gap: 0.55rem;
  }

  .kch-about-shell .kch-about-stats > .wp-block-group__inner-container {
    gap: 0.55rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .kch-about-stat {
    min-height: 96px;
    padding: 0.78rem;
  }

  .kch-about-stat h3 {
    font-size: 1.62rem;
  }

  .kch-about-stat p {
    font-size: 0.82rem;
  }

  .kch-about-story,
  .kch-about-events {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .kch-about-section-title {
    font-size: 1.75rem;
  }

  .kch-about-section-intro {
    font-size: 0.96rem;
  }

  .kch-about-groups {
    gap: 0.7rem;
  }

  .kch-about-shell .kch-about-groups > .wp-block-group__inner-container {
    gap: 0.7rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .kch-about-group-card figure {
    aspect-ratio: 4 / 3;
  }

  .kch-about-group-card h3 {
    font-size: 0.98rem;
    padding: 0.7rem 0.68rem 0.18rem;
  }

  .kch-about-group-card p {
    font-size: 0.8rem;
    line-height: 1.38;
    padding: 0 0.68rem 0.75rem;
  }
}

@media (max-width: 359.98px) {
  .kch-about-groups {
    grid-template-columns: 1fr !important;
  }

  .kch-about-shell .kch-about-groups > .wp-block-group__inner-container {
    grid-template-columns: 1fr !important;
  }
}
