/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child Theme für TMK Windhag
Author: TMK Windhag
Template: astra
Version: 1.0
*/
:root {

    --color-primary: #0B5D82;
    --color-secondary: #A61E2D;
    --color-accent: #C8A34D;

    --color-background: #F7F5F1;
    --color-surface: #FFFFFF;

    --color-text: #222222;

    --border-radius: 12px;

    --shadow-soft: 0 8px 24px rgba(0,0,0,.08);

}

/* =========================
   EVENT DETAIL INFORMATIONEN
========================= */


.event-information {

    margin: 30px 0;
    padding: 25px;

    border: 1px solid #ddd;
    border-radius: 12px;

}


.event-information h2 {

    margin-bottom: 20px;

}


.event-info-item {

    display: flex !important;
    justify-content: space-between !important;
    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid #eee;

}


.event-info-item:last-child {

    border-bottom: none;

}


.event-info-item strong {

    display: flex;
    align-items: center;

    width: 180px;

    font-weight: 600;
    color: #333;

}


.event-info-item strong i {

    width: 25px;

    margin-right: 10px;

    color: #1e73be;

    font-size: 18px;

}


.event-info-item span {

    text-align: right;

    color: #555;

}





/* =========================
   EVENT ÜBERSICHT
========================= */



/* =========================
   EVENT ÜBERSICHT
========================= */

.event-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;

    background: #fff;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
/* Gesamte Veranstaltungskarte anklickbar */
.event-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}


/* Sichtbare Links bleiben über dem Overlay anklickbar */
.event-card > .event-card-cta,
.event-card > .event-card-gallery-link {
    position: relative;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.event-card img,
.event-card .event-placeholder {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    object-fit: cover;
}
.event-card .event-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: linear-gradient(145deg, #f2f5f7, #e2e9ee);
    color: var(--color-primary);
}

.event-placeholder-icon {
    font-size: 48px;
    line-height: 1;
    opacity: 0.65;
}

.event-placeholder-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.75;
}

.event-card .event-date {
    display: inline-block;
    align-self: flex-start;
    margin: 16px 22px 0;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f1f4f6;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.event-card h2 {
    margin: 0;
    padding: 18px 22px 10px;

    font-size: 27px;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.event-card h2 a {
    color: var(--color-primary);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.event-card h2 a:hover {
    color: var(--color-secondary);
}

.event-card p:not(.event-date) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;

    margin: 0 0 18px;
    padding: 0 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.event-card > .event-card-cta,
.event-card > .event-card-gallery-link {
    display: inline-block;
    align-self: flex-start;

    margin: auto 22px 22px;
    padding: 10px 17px;

    border-radius: 8px;
    background: #edf3f6;

    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease;
}

.event-card > .event-card-cta:hover,
.event-card > .event-card-gallery-link:hover {
    background: var(--color-primary);
    color: #fff;
}

/* =========================
   EVENT ÜBERSICHT RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 600px) {
    .event-list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .event-card img,
    .event-card .event-placeholder {
        height: 190px;
    }

    .event-card h2 {
        font-size: 23px;
    }

    .event-card p:not(.event-date) {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    }
}

/* =========================
   EVENT-ÜBERSICHT ALT
========================= */

.event-overview {
    margin-top: 30px;
}

.event-overview-item {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.event-overview-date {
    font-weight: 600;
    width: 150px;
}

.event-overview-title a {
    text-decoration: none;
}


.page-hero {

    position: relative;

    min-height: 550px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

}


.page-hero-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.35);

}


.page-hero-content {

    position: relative;
    z-index: 2;

    max-width: 900px;

    text-align: center;

    padding: 40px;

}


.page-hero h1 {

    color: white;

    font-size: 64px;

    font-weight: 700;

    margin-bottom: 20px;

    text-shadow: 0 3px 10px rgba(0,0,0,.5);

}


.page-hero p {

    color: white;

    font-size: 24px;

    line-height: 1.6;

    text-shadow: 0 2px 8px rgba(0,0,0,.5);

}

/* =====================================
   ALLGEMEINES LAYOUT
===================================== */

body {

    background-color: var(--color-background);
    color: var(--color-text);

}

/* =========================
   REGISTERÜBERSICHT
========================= */

.register-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 40px;

}

.register-card {

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0,0,0,.08);

    transition: .25s;

}

.register-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0,0,0,.12);

}

.register-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    display: block;

}

.register-card-content {

    padding: 20px;

}

.register-card-content h3 {

    margin: 0 0 15px 0;

}

.register-card-content h3 a {

    text-decoration: none;

    color: var(--color-primary);

}

.register-button {

    display: inline-block;

    margin-top: 10px;

    text-decoration: none;

    font-weight: 600;

}


/* =====================================
   TMK WINDHAG – EINHEITLICHER HEADER
===================================== */

/* Header am oberen Seitenrand */
#masthead {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 12px;
    background: transparent !important;
    box-shadow: none !important;
}

/* Dunkle, abgerundete Navigation */
#masthead .ast-primary-header-bar,
#masthead .main-header-bar {
    background: rgba(28, 43, 58, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 999px !important;
    overflow: hidden;
    max-width: 1650px;
    margin: 0 auto;
    min-height: 70px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.16);
}

/* Logo */
#masthead .custom-logo {
    filter: brightness(0) invert(1);
    max-height: 48px;
    width: auto;
}

/* Navigation */
#masthead .main-header-menu .menu-link {
    color: #ffffff !important;
    transition: color 0.25s ease;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Aktiver Menüpunkt */
#masthead .main-header-menu .current-menu-item > .menu-link {
    color: #a8d64a !important;
}

/* Hover */
#masthead .main-header-menu .menu-link:hover {
    color: #a8d64a !important;
}

/* Social Media */
#masthead .ast-builder-social-element {
    color: #ffffff !important;
    opacity: 1 !important;
}

#masthead .ast-builder-social-element svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* Header beim Scrollen */
#masthead.tmk-scrolled {
    position: fixed;
    top: 0;
    padding: 10px 12px;
    background: transparent !important;
}

/* Admin-Leiste berücksichtigen */
body.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar #masthead {
        top: 46px;
    }
}

/* Desktop-Ausrichtung */
@media (min-width: 922px) {
    #masthead .ast-primary-header-bar .ast-builder-grid-row {
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center;
    }

    #masthead .site-header-primary-section-left {
        justify-self: start;
    }

    #masthead .site-header-primary-section-center {
        justify-self: center;
    }

    #masthead .site-header-primary-section-right {
        justify-self: end;
    }
}

/* Mobile Header */
@media (max-width: 921px) {
    #masthead .ast-primary-header-bar,
    #masthead .main-header-bar {
        border-radius: 28px !important;
    }
}


/* =====================================
   STARTSEITE – HERO VERBESSERUNG
===================================== */

/* Dunkler Farbverlauf über dem Hintergrundbild */
.page-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(15, 30, 48, 0.70) 0%,
        rgba(15, 30, 48, 0.35) 55%,
        rgba(15, 30, 48, 0.10) 100%
    );
}

/* Dezenter Übergang vom Titelbild zum weißen Inhaltsbereich */
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 65%,
        #ffffff 100%
    );
    z-index: 1;
    pointer-events: none;
}


/* =====================================
   TMK WINDHAG – STARTSEITE HERO
===================================== */

.wp-block-cover.tmk-home-hero {
    min-height: 650px !important;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    /* Dezenter Schatten unter dem Titelbild */
    box-shadow: 0 12px 28px rgba(20, 35, 50, 0.12);
}

/* Dezenter Übergang vom Titelbild zum weißen Inhalt */
.wp-block-cover.tmk-home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65px;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 65%,
        #ffffff 100%
    );

    z-index: 1;
    pointer-events: none;
}


/* Dezente Abdunkelung für bessere Lesbarkeit */
.wp-block-cover.tmk-home-hero .wp-block-cover__background {
    background: linear-gradient(
        90deg,
        rgba(15, 30, 48, 0.65) 0%,
        rgba(15, 30, 48, 0.30) 60%,
        rgba(15, 30, 48, 0.08) 100%
    ) !important;

    opacity: 1 !important;
}

/* Textposition */
.wp-block-cover.tmk-home-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

/* Titel */
.wp-block-cover.tmk-home-hero h2 {
    color: #ffffff;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 700;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* Untertitel */
.wp-block-cover.tmk-home-hero h3 {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Gemeinsamer Inhaltsbereich der Aktuelles-Seite */
.event-section-inner {
    display: block;
    width: calc(100% - 40px) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0;
    box-sizing: border-box;
}


/* Abstand nach den kommenden Veranstaltungen */
.kommende-veranstaltungen {
    margin-bottom: 50px;
}

/* Vergangene Veranstaltungen optisch abgrenzen */
.vergangene-veranstaltungen {
    margin-bottom: 60px;
}

/* Dezente Trennlinie innerhalb des Inhaltsbereichs */
.vergangene-veranstaltungen .event-section-inner {
    border-top: 1px solid #d8e5eb;
    padding-top: 45px;
}

/* Kartenabstände */
.event-section-inner .event-list {
    gap: 30px;
}

@media (max-width: 768px) {
    .event-section-inner {
        padding: 0 16px;
    }

    .kommende-veranstaltungen {
        margin-bottom: 50px;
    }
    .vergangene-veranstaltungen .event-section-inner {
    padding-top: 30px;
    }
}

/* =====================================
   TMK – MODERNE ABSCHNITTSÜBERSCHRIFTEN
===================================== */

/* Kleine Kategorie */
.tmk-section-eyebrow {
    margin: 0 0 2px !important;
    color: var(--color-secondary);
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

/* Hauptüberschrift */
.tmk-section-title {
    margin: 0 0 2px !important;
    padding: 0 !important;
    color: #173B55;
    font-size: clamp(28px, 2.5vw, 36px) !important;
    font-weight: 650;
    line-height: 1.15 !important;
}

/* Untertitel */
.tmk-section-subtitle {
    margin: 0 0 15px !important;
    color: #64717B;
    font-size: 15px !important;
    line-height: 1.4 !important;
}



/* =====================================
   TMK – EINHEITLICHE TITELBEREICHE
===================================== */

.wp-block-cover.tmk-page-hero {
    min-height: 600px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

/* Dunkler Bildverlauf */
.wp-block-cover.tmk-page-hero .wp-block-cover__background {
    background: linear-gradient(
        90deg,
        rgba(15, 30, 48, 0.82) 0%,
        rgba(15, 30, 48, 0.55) 55%,
        rgba(15, 30, 48, 0.15) 100%
    ) !important;
    opacity: 1 !important;
}

/* Inhalt linksbündig ausrichten */
.wp-block-cover.tmk-page-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    text-align: left !important;
}

/* Einheitliche Schrift und Ausrichtung im Titelbereich */
.tmk-hero-eyebrow,
.tmk-hero-title,
.tmk-hero-subtitle {
    width: 100%;
    text-align: left !important;
    font-family: inherit !important;
}

/* Kategorie */
.tmk-hero-eyebrow {
    margin: 0 0 8px !important;
    color: #E2B95F !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Seitentitel */
.tmk-hero-title {
    margin: 0 0 12px !important;
    color: #FFFFFF !important;
    font-size: clamp(36px, 4vw, 54px) !important;
    font-weight: 700;
    line-height: 1.15;
}

/* Untertitel */
.tmk-hero-subtitle {
    max-width: 650px;
    margin: 0 !important;
    color: #F1F4F7 !important;
    font-size: 18px !important;
    line-height: 1.6;
}

/* Dezenter Übergang vom Titelbild zum weißen Inhalt */
.wp-block-cover.tmk-page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 65%,
        #ffffff 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .wp-block-cover.tmk-page-hero {
        min-height: 450px !important;
    }

    .wp-block-cover.tmk-page-hero .wp-block-cover__inner-container {
        padding: 45px 22px;
    }

    .tmk-hero-title {
        font-size: 36px !important;
    }

    .tmk-hero-subtitle {
        font-size: 15px !important;
    }
}



/* =====================================
   TMK WINDHAG – BILDERCHRONIK
===================================== */

/* Kartenraster */
.bilderchronik-grid {
    max-width: 1200px;
    margin: 50px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* Einzelne Veranstaltungskarte */
.bilderchronik-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(20, 35, 50, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bilderchronik-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(20, 35, 50, 0.14);
}

/* Großes Vorschaubild */
.bilderchronik-card-bild {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
}

.bilderchronik-vorschaubild {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bilderchronik-card:hover .bilderchronik-vorschaubild {
    transform: scale(1.05);
}

/* Bild-Overlay */
.bilderchronik-bild-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 30, 48, 0.45);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bilderchronik-card:hover .bilderchronik-bild-overlay {
    opacity: 1;
}

/* Karteninhalt */
.bilderchronik-card-inhalt {
    padding: 22px 24px 25px;
}

/* Datum */
.bilderchronik-datum {
    margin: 0 0 8px;
    color: #A61E2D;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Veranstaltungstitel */
.bilderchronik-titel {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.3;
}

.bilderchronik-titel a {
    color: #1C2B3A;
    text-decoration: none;
}

.bilderchronik-titel a:hover {
    color: #0B5D82;
}

/* Galerie-Link */
.bilderchronik-link {
    color: #0B5D82;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.bilderchronik-link:hover {
    color: #A61E2D;
}

/* Tablet */
@media (max-width: 900px) {
    .bilderchronik-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .bilderchronik-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 16px;
        margin-top: 30px;
    }

    .bilderchronik-card-bild {
        height: 230px;
    }
}


/* =====================================
   TMK – MITGLIEDER: EINLEITUNGSBEREICH
===================================== */

.tmk-member-intro {
    max-width: 1200px !important;
    margin: 30px auto 90px !important;
    padding: 0 20px;
    gap: 55px;
    align-items: center !important;
}

.tmk-member-intro > .wp-block-column:first-child {
    flex-basis: 55% !important;
    margin-bottom: 0 !important;
}

.tmk-member-intro > .wp-block-column:last-child {
    flex-basis: 45% !important;
    margin-bottom: 0 !important;
}

/* Gruppenfoto */
.tmk-member-intro img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 35, 50, 0.12);
}

/* Beschreibung */
.tmk-member-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .tmk-member-intro {
        gap: 25px;
        margin: 20px auto 55px !important;
        padding: 0 18px;
    }

    .tmk-member-intro > .wp-block-column {
        flex-basis: 100% !important;
    }

    .tmk-member-intro p {
        font-size: 16px;
    }
}



/* =====================================
   TMK – MITGLIEDER: PERSONENBEREICHE
===================================== */

.tmk-member-person {
    max-width: 1200px !important;
    margin: 50px auto 90px !important;
    padding: 0 20px;
    gap: 55px;
    align-items: center !important;
}

.tmk-member-person > .wp-block-column {
    flex-basis: 50% !important;
    margin-bottom: 0 !important;
}

/* Personenbilder */
.tmk-member-person img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 35, 50, 0.12);
}

/* Überschriften */
.tmk-member-person h3 {
    margin-bottom: 18px;
    color: #1C2B3A;
    font-size: 25px;
}

/* Beschreibungstexte */
.tmk-member-person p {
    color: #333333;
    font-size: 16px;
    line-height: 1.8;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .tmk-member-person {
        gap: 25px;
        margin: 35px auto 60px !important;
        padding: 0 18px;
    }

    .tmk-member-person > .wp-block-column {
        flex-basis: 100% !important;
    }

    .tmk-member-person img {
        max-height: 520px;
        height: auto;
        object-fit: contain;
    }

    .tmk-member-person h3 {
        font-size: 22px;
    }
}


/* =====================================
   TMK – KONTAKT: ANSPRECHPERSONEN
===================================== */

.tmk-contact-persons {
    max-width: 1100px !important;
    margin: 50px auto 90px !important;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px !important;
    align-items: stretch;
}

/* Einzelne Kontaktkarten */
.tmk-contact-persons > .wp-block-group {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 28px rgba(20, 35, 50, 0.09);
    border: 1px solid rgba(20, 35, 50, 0.06);
}

/* Kontaktbilder */
.tmk-contact-persons img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 12px;
    margin-bottom: 22px;
}

/* Namen */
.tmk-contact-persons h3 {
    color: #1C2B3A;
    font-size: 23px;
    margin-bottom: 8px;
}

/* Funktion und Kontaktdaten */
.tmk-contact-persons p {
    color: #444444;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Telefonnummer und E-Mail */
.tmk-contact-persons a {
    color: #0B5D82;
    text-decoration: none;
    font-weight: 500;
}

.tmk-contact-persons a:hover {
    color: #A61E2D;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .tmk-contact-persons {
        grid-template-columns: 1fr;
        gap: 25px !important;
        margin: 30px auto 60px !important;
        padding: 0 18px;
    }

    .tmk-contact-persons > .wp-block-group {
        padding: 20px;
    }

    .tmk-contact-persons img {
        height: 240px;
    }
}


/* =====================================
   TMK – KONTAKT: STANDORT
===================================== */

.tmk-contact-location {
    max-width: 1200px !important;
    margin: 50px auto 90px !important;
    padding: 0 20px;
}

/* Google Maps */
.tmk-contact-location iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(20, 35, 50, 0.10);
}

/* Mobile */
@media (max-width: 768px) {
    .tmk-contact-location {
        margin: 30px auto 60px !important;
        padding: 0 18px;
    }

    .tmk-contact-location iframe {
        min-height: 320px;
    }
}


/* Standort: zweispaltiges Layout */
.tmk-contact-location > .wp-block-columns {
    align-items: center !important;
    gap: 50px;
}

.tmk-contact-location > .wp-block-columns > .wp-block-column:first-child {
    flex-basis: 35% !important;
}

.tmk-contact-location > .wp-block-columns > .wp-block-column:last-child {
    flex-basis: 65% !important;
}

/* Standortüberschrift */
.tmk-contact-location h3 {
    color: #1C2B3A;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Adressbeschreibung */
.tmk-contact-location p {
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
}

/* Routenlink */
.tmk-contact-location a {
    color: #0B5D82;
    font-weight: 600;
    text-decoration: none;
}

.tmk-contact-location a:hover {
    color: #A61E2D;
}

@media (max-width: 768px) {
    .tmk-contact-location > .wp-block-columns {
        gap: 25px;
    }

    .tmk-contact-location > .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
    }
}




/* =====================================
   TMK – KONTAKT: SOCIAL MEDIA
===================================== */

.tmk-social-cards {
    max-width: 1100px !important;
    margin: 40px auto 80px !important;
    padding: 0 20px;
    gap: 25px !important;
}

/* Gemeinsames Kartendesign */
.tmk-social-cards > .wp-block-column {
    position: relative;
    padding: 35px 25px !important;
    background: #ffffff;
    border: 1px solid rgba(20, 35, 50, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(20, 35, 50, 0.07);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tmk-social-cards > .wp-block-column:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(20, 35, 50, 0.13);
}

/* Große Symbole */
.tmk-social-cards > .wp-block-column::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 18px;
    font-size: 35px;
    font-weight: 600;
}

/* Instagram */
.tmk-social-instagram::before {
    content: "◎";
    color: #C13584;
    background: #FCEAF4;
}

/* Facebook */
.tmk-social-facebook::before {
    content: "f";
    color: #1877F2;
    background: #EAF2FF;
}

/* TikTok */
.tmk-social-tiktok::before {
    content: "♪";
    color: #1C2B3A;
    background: #EEF0F3;
}

/* Plattformname */
.tmk-social-cards p:first-of-type {
    margin-bottom: 12px !important;
}

/* Beschreibung */
.tmk-social-cards p:not(:first-of-type) {
    color: #68717B;
    font-size: 14px;
    line-height: 1.6;
}

/* Links */
.tmk-social-cards a {
    color: #0B5D82 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.tmk-social-cards a:hover {
    color: #A61E2D !important;
}

/* Mobile */
@media (max-width: 768px) {
    .tmk-social-cards {
        gap: 18px !important;
        padding: 0 18px;
        margin: 30px auto 55px !important;
    }

    .tmk-social-cards > .wp-block-column {
        flex-basis: 100% !important;
        padding: 28px 20px !important;
    }
}


/* Ganze Social-Media-Karte anklickbar */
.tmk-social-cards > .wp-block-column {
    cursor: pointer;
}

/* Link über die gesamte Karte legen */
.tmk-social-cards > .wp-block-column p:first-of-type a {
    position: static;
}

.tmk-social-cards > .wp-block-column p:first-of-type a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
}


/* =====================================
   TMK – KONTAKTFORMULAR
===================================== */

.tmk-contact-form {
    max-width: 1100px !important;
    margin: 40px auto 90px !important;
    padding: 40px !important;
    background: #ffffff;
    border: 1px solid rgba(20, 35, 50, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(20, 35, 50, 0.07);
}

/* Formularbeschriftungen */
.tmk-contact-form label {
    display: block;
    color: #1C2B3A;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Eingabefelder */
.tmk-contact-form input:not([type="checkbox"]),
.tmk-contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #D8DEE5;
    border-radius: 9px;
    background: #FAFBFC;
    color: #222222;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fokus */
.tmk-contact-form input:focus,
.tmk-contact-form textarea:focus {
    outline: none;
    border-color: #0B5D82;
    box-shadow: 0 0 0 3px rgba(11, 93, 130, 0.10);
}

/* Textfeld */
.tmk-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Formularabstände */
.tmk-contact-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 22px;
}

/* Datenschutz */
.tmk-contact-form input[type="checkbox"] {
    accent-color: #0B5D82;
}

/* Absenden-Button */
.tmk-contact-form input[type="submit"] {
    width: auto;
    min-width: 190px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: #1C2B3A;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tmk-contact-form input[type="submit"]:hover {
    background: #0B5D82;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
    .tmk-contact-form {
        margin: 30px 18px 60px !important;
        padding: 24px 18px !important;
    }
}





/* =====================================
   TMK WINDHAG – FOOTER
===================================== */

/* Hintergrund und Schriftfarbe */
#colophon,
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap {
    background: #1C2B3A !important;
    color: #FFFFFF !important;
}

/* Oberer Footer – Hintergrund bleibt volle Breite */
#colophon .site-primary-footer-wrap {
    width: 100%;
    padding: 28px 24px !important;
    box-sizing: border-box;
}

/* Nur den inneren Inhalt begrenzen */
#colophon .site-primary-footer-wrap .ast-builder-footer-grid-columns {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 40px;
}

/* Allgemeine Footer-Blöcke */
.tmk-footer-block {
    text-align: left;
    color: #FFFFFF;
    line-height: 1.6;
}

/* Überschriften */
.tmk-footer-block h3 {
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.4px;
    margin: 0 0 14px !important;
}

/* Adresse */
.tmk-footer-block p {
    color: rgba(255,255,255,.78) !important;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 !important;
}

.tmk-footer-block strong {
    color: #FFFFFF !important;
    font-weight: 600;
}

/* Ansprechpartner */
#colophon .tmk-footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

#colophon .tmk-footer-contact:last-child {
    margin-bottom: 0 !important;
}

#colophon .tmk-footer-contact > * {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.5 !important;
}

#colophon .tmk-footer-contact strong {
    color: #FFFFFF !important;
    font-size: 14px !important;
}

#colophon .tmk-footer-contact span {
    color: rgba(255,255,255,.65) !important;
    font-size: 12px !important;
}

#colophon .tmk-footer-contact a {
    display: block !important;
    color: rgba(255,255,255,.85) !important;
    font-size: 13px !important;
    text-decoration: none;
    transition: color .2s ease;
}

/* Hover */
#colophon a:hover {
    color: #A8D64A !important;
}

/* Social Media */
#colophon .ast-builder-social-element {
    color: #FFFFFF !important;
    margin: 0 12px 0 0 !important;
    transition: color .2s ease, transform .2s ease;
}

#colophon .ast-builder-social-element svg {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

#colophon .ast-builder-social-element:hover {
    color: #A8D64A !important;
    transform: translateY(-3px);
}

#colophon .ast-builder-social-element:hover svg {
    fill: #A8D64A !important;
}

/* Copyright */
#colophon .site-below-footer-wrap {
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,.14);
    padding: 15px 20px !important;
}

#colophon .ast-footer-copyright {
    color: rgba(255,255,255,.72) !important;
    font-size: 13px;
}

/* =====================================
   TMK – STARTSEITE: MITGLIEDERBEREICH
===================================== */

.tmk-home-members {
    box-sizing: border-box;
    position: relative;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 45px auto 65px !important;
    padding: 35px 30px !important;
    border-radius: 26px;
    background: #FFFFFF;
    box-shadow: 0 12px 35px rgba(28, 43, 58, 0.09);
}

/* Überschrift und Einleitung */
.tmk-home-members h2 {
    color: #1C2B3A;
    margin-bottom: 12px;
}

.tmk-home-members > p {
    color: #66717D;
    margin-bottom: 28px;
}

/* Bild-Text-Layout */
.tmk-home-members .wp-block-media-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* Bild */
.tmk-home-members .wp-block-media-text__media {
    min-width: 0;
}

.tmk-home-members .wp-block-media-text img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(28, 43, 58, 0.14);
}

/* Textbereich */
.tmk-home-members .wp-block-media-text__content {
    min-width: 0;
    padding: 0 !important;
}

/* Button */
.tmk-home-members .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 999px;
    background: #1C2B3A;
    color: #FFFFFF !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(28, 43, 58, 0.18);
    transition: all 0.25s ease;
}

.tmk-home-members .wp-block-button__link:hover {
    background: #A8D64A;
    color: #1C2B3A !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(28, 43, 58, 0.18);
}

/* Mobile */
@media (max-width: 768px) {
    .tmk-home-members {
        width: calc(100% - 30px);
        margin: 25px auto 45px !important;
        padding: 22px 18px !important;
        border-radius: 20px;
    }

    .tmk-home-members .wp-block-media-text {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tmk-home-members .wp-block-media-text img {
        border-radius: 14px;
    }
}
/* Mitgliederbereich exakt mittig ausrichten */
.tmk-home-members {
    width: min(1200px, calc(100vw - 40px)) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Ansprechpartner nebeneinander */
#colophon .tmk-footer-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#colophon .tmk-footer-contacts .tmk-footer-contact {
    margin: 0 !important;
    min-width: 0;
}

/* Auf Mobilgeräten untereinander */
@media (max-width: 768px) {
    #colophon .tmk-footer-contacts {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* =====================================
   TMK – MODERNE VERANSTALTUNGSSEITE
===================================== */

/* Gesamter Inhaltsbereich */
.event-page {
    width: 100%;
    padding: 0 24px 70px;
}

.event-article {
    max-width: 1200px;
    margin: 0 auto;
}

/* Titelbereich – Abstand zur Navigation */
.event-header {
    padding-top: 140px;
    margin-bottom: 30px;
}

.event-eyebrow,
.event-section-heading > span {
    display: block;
    color: #A61E2D;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 9px;
}

.event-header h1 {
    color: #1C2B3A;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
    font-weight: 700;
    margin: 0;
}

/* Veranstaltungsbild */
.event-image-wrapper {
    width: 85%;
    max-width: 1050px;
    margin: 0 auto 42px !important;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 12px 30px rgba(28, 43, 58, 0.12);
}

.event-featured-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .event-image-wrapper {
        width: 100%;
        border-radius: 14px;
    }

    .event-featured-image {
        border-radius: 14px;
    }
}
/* Gemeinsame Abschnittsüberschriften */
.event-section-heading {
    margin-bottom: 22px;
}

.event-section-heading h2 {
    color: #1C2B3A;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

/* Veranstaltungsinformationen */
.event-information {
    padding: 30px;
    margin-bottom: 42px;
    border: 1px solid #E5E9ED;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(28, 43, 58, 0.06);
}

.event-info-list {
    display: flex;
    flex-direction: column;
}

.event-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #E9EDF0;
    font-size: 16px;
}

.event-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-info-item:first-child {
    padding-top: 0;
}

.event-info-item strong {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1C2B3A;
    font-weight: 600;
}

.event-info-item strong i {
    width: 20px;
    color: #0B5D82;
    text-align: center;
}

.event-info-item > span {
    color: #536170;
    text-align: right;
}

.event-info-item a {
    color: #0B5D82;
    font-weight: 600;
    text-decoration: none;
}

.event-info-item a:hover {
    color: #A61E2D;
}

/* Kurzbeschreibung und Bericht */
.event-excerpt,
.event-content {
    max-width: 900px;
    margin: 0 auto 48px;
}

.event-text {
    color: #394653;
    font-size: 17px;
    line-height: 1.85;
}

.event-text p {
    margin-bottom: 18px;
}

.event-text h2,
.event-text h3,
.event-text h4 {
    color: #1C2B3A;
    margin-top: 28px;
    margin-bottom: 12px;
}

/* Kommentare */
.event-page .comments-area {
    max-width: 900px;
    margin: 55px auto 0;
    padding-top: 30px;
    border-top: 1px solid #E5E9ED;
}

/* Mobile */
@media (max-width: 768px) {
    .event-page {
        padding: 0 16px 45px;
    }

    .event-header {
        padding-top: 135px;
        margin-bottom: 24px;
    }

    .event-image-wrapper {
        border-radius: 14px;
        margin-bottom: 28px;
    }

    .event-featured-image {
        max-height: 420px;
    }

    .event-information {
        padding: 22px 18px;
        border-radius: 14px;
        margin-bottom: 32px;
    }

    .event-info-item {
        gap: 12px;
        font-size: 14px;
    }

    .event-info-item strong {
        gap: 8px;
    }

    .event-excerpt,
    .event-content {
        margin-bottom: 36px;
    }

    .event-text {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* =====================================
   TMK – EVENT HERO
===================================== */

.event-hero {
    max-width: 1200px;
    margin: 0 auto 55px;
    padding: 0 24px;
}

/* Titelbereich */
.event-hero-heading {
    margin-bottom: 35px;
    padding-top: 135px;
}

.event-hero-eyebrow {
    color: #A61E2D;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.event-hero-heading h1 {
    color: #1C2B3A;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.event-hero-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(28, 43, 58, 0.13);
    opacity: 1;
    transform: scale(1);
    transition: opacity .45s ease, transform .55s ease;
}

.event-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Beim Scrollen nach unten */
.event-hero-image.is-hidden {
    opacity: 0;
    transform: scale(.98);
    pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
    .event-hero {
        padding: 0 18px;
        margin-bottom: 35px;
    }

    .event-hero-heading {
        padding-top: 25px;
        margin-bottom: 18px;
    }

    .event-hero-image,
    .event-hero-image img {
        max-height: 340px;
        height: 340px;
    }

    .event-hero-image {
        border-radius: 16px;
    }
}
/* =====================================
   TMK – EVENT INFORMATIONEN
   FEINSCHLIFF
===================================== */

/* Informationszeilen */
.event-info-item {
    padding: 13px 0 !important;
    border-bottom: 1px solid #E8EDF1 !important;
    transition: background .2s ease, padding .2s ease;
}

/* Icons */
.event-info-item strong i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 10px;
    background: #EAF2F7;
    color: #0B5D82;
    font-size: 15px;
}

/* Bezeichnungen */
.event-info-item .event-label {
    font-weight: 600;
    color: #34485B;
}

/* Werte */
.event-info-item > span {
    color: #34485B;
    font-weight: 500;
}

/* Dezenter Hover-Effekt */
.event-info-item:hover {
    background: #F8FAFB;
}

/* Links */
.event-info-item a {
    color: #0B5D82;
    font-weight: 600;
    text-decoration: none;
}

.event-info-item a:hover {
    color: #A61E2D;
}
/* =====================================
   TMK – EVENT: KURZBESCHREIBUNG
===================================== */

.event-excerpt {
    max-width: 1200px;
    margin: 55px auto 45px !important;
    padding: 30px 36px !important;
    background: #F4F7F9;
    border: 1px solid #E2E8ED;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(28, 43, 58, 0.05);
}

.event-excerpt h2 {
    color: #1C2B3A;
    font-size: 27px;
    margin: 0 0 16px !important;
}

.event-excerpt p {
    color: #536170;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

/* =====================================
   TMK – EVENT: BERICHT
===================================== */

.event-content {
    max-width: 1200px;
    margin: 0 auto 60px !important;
    padding: 10px 5px;
}

.event-content h2 {
    color: #1C2B3A;
    font-size: 32px;
    margin: 0 0 22px !important;
}

.event-content p {
    color: #3F4B57;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .event-excerpt {
        margin: 35px 16px !important;
        padding: 24px 20px !important;
    }

    .event-excerpt h2 {
        font-size: 23px;
    }

    .event-content {
        margin: 0 20px 45px !important;
    }

    .event-content h2 {
        font-size: 27px;
    }
}

/* =====================================
   TMK – EVENT: KOMMENTARBEREICH
===================================== */

#comments {
    max-width: 1000px;
    margin: 65px auto 60px !important;
    padding: 35px 0 0;
    border-top: 1px solid #E2E8ED;
}

#comments .comments-title,
#comments .comment-reply-title {
    color: #1C2B3A;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
}

#comments .comment-notes,
#comments .logged-in-as {
    color: #66717D;
    font-size: 14px;
    line-height: 1.7;
}

#comments label {
    color: #1C2B3A;
    font-weight: 600;
    font-size: 14px;
}

#comments textarea,
#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #DCE4EA;
    border-radius: 12px;
    background: #F8FAFB;
    color: #1C2B3A;
    font-size: 15px;
    box-shadow: none;
}

#comments textarea {
    min-height: 160px;
    resize: vertical;
}

#comments textarea:focus,
#comments input:focus {
    border-color: #0B5D82;
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 93, 130, 0.10);
}

#comments input[type="submit"] {
    background: #1C2B3A !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 30px !important;
    font-weight: 600;
    transition: all .25s ease;
}

#comments input[type="submit"]:hover {
    background: #A8D64A !important;
    color: #1C2B3A !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #comments {
        margin: 45px 20px 40px !important;
        padding-top: 25px;
    }
}
/* TMK – Kommentarformular: Textfeld abrunden */
#comments textarea {
    border-radius: 16px !important;
}



/* =====================================
   TMK – KOMMENTARFORMULAR: FINALES LAYOUT
===================================== */

/* Formular selbst */
#commentform {
    display: block !important;
}

/* Hinweis und Kommentarfeld */
#commentform > .comment-notes,
#commentform > .comment-form-comment {
    width: 100% !important;
    margin: 0 0 18px !important;
}

/* Kommentarfeld */
#commentform textarea {
    width: 100% !important;
    border-radius: 16px !important;
    box-sizing: border-box;
}

/* Innerer Astra-Container */
#commentform .ast-comment-formwrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 2% !important;
    margin: 0 !important;
}

/* Name und E-Mail nebeneinander */
#commentform .ast-comment-formwrap .comment-form-author,
#commentform .ast-comment-formwrap .comment-form-email {
    flex: 0 0 49% !important;
    width: 49% !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Eingabefelder */
#commentform .comment-form-author input,
#commentform .comment-form-email input {
    width: 100% !important;
    box-sizing: border-box;
}

/* Datenschutz – eigene Zeile */
#commentform .ast-comment-formwrap .comment-form-cookies-consent {
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin: 4px 0 0 !important;
}

/* Checkbox */
#commentform .comment-form-cookies-consent input {
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Datenschutztext */
#commentform .comment-form-cookies-consent label {
    flex: 1;
    margin: 0 !important;
    line-height: 1.6;
}

/* Button – eigene Zeile */
#commentform .ast-comment-formwrap .form-submit {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    text-align: left;
}

/* Mobile */
@media (max-width: 600px) {
    #commentform .ast-comment-formwrap .comment-form-author,
    #commentform .ast-comment-formwrap .comment-form-email {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

/* =====================================
   TMK – VERANSTALTUNGSGALERIE
===================================== */

.event-content .wp-block-gallery {
    gap: 18px !important;
    margin-top: 28px;
}

.event-content .wp-block-gallery .wp-block-image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(20, 35, 50, 0.08);
}
.event-content .wp-block-gallery .wp-block-image img {
    border-radius: 16px !important;
}


/* =====================================
   TMK – LIGHTBOX
===================================== */

.tmk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(12, 22, 32, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tmk-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.tmk-lightbox-image {
    display: block;
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.tmk-lightbox button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tmk-lightbox button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.tmk-lightbox-close {
    top: 25px;
    right: 30px;
    width: 46px;
    height: 46px;
    font-size: 30px;
}

.tmk-lightbox-prev,
.tmk-lightbox-next {
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 22px;
    transform: translateY(-50%);
}

.tmk-lightbox-prev {
    left: 25px;
}

.tmk-lightbox-next {
    right: 25px;
}

body.tmk-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .tmk-lightbox {
        padding: 15px;
    }

    .tmk-lightbox-image {
        max-width: 100%;
        max-height: 80vh;
    }

    .tmk-lightbox-prev {
        left: 8px;
    }

    .tmk-lightbox-next {
        right: 8px;
    }
}
/* TMK – Lightbox-Steuerung: echte Kreise */

.tmk-lightbox button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    line-height: 1 !important;
}

.tmk-lightbox-close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    font-size: 27px !important;
}
/* TMK – Galerie: Hover-Effekt und Mauszeiger */

.event-content .wp-block-gallery .wp-block-image {
    cursor: pointer !important;
}

.event-content .wp-block-gallery .wp-block-image img {
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-content .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.035);
}



/* =====================================
   TMK – KOMMENTARE (ASTRA)
===================================== */

/* Gesamter Kommentarbereich */
#comments {
    max-width: 1000px;
    margin: 60px auto 40px;
}

/* Überschrift */
#comments .comments-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 28px !important;
}

/* Liste zurücksetzen */
#comments .ast-comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Trennlinien entfernen */
#comments .ast-comment-list > li {
    border: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

/* Kommentar-Karte */
#comments .ast-comment-list > li > article {
    background: #F7F9FB !important;
    border: 1px solid #E1E8EE !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin: 0 !important;
}

/* Profilbild entfernen */
#comments .ast-comment-avatar-wrap {
    display: none !important;
}

/* Name und Datum */
#comments .ast-comment-meta {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px !important;
}

/* Name */
#comments .ast-comment-cite-wrap {
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Datum */
#comments .ast-comment-time,
#comments .ast-comment-time a {
    font-size: 13px !important;
    color: #718096 !important;
    text-decoration: none !important;
}

/* Kommentartext */
#comments .ast-comment-content {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #344256 !important;
    margin: 0 !important;
}

/* Antworten und Bearbeiten */
#comments .reply,
#comments .edit-link {
    font-size: 13px !important;
    margin-top: 12px !important;
}

#comments .reply a,
#comments .edit-link a {
    color: #0B5D82 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 600px) {
    #comments .ast-comment-list > li > article {
        padding: 18px !important;
    }

    #comments .ast-comment-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
