/* =========================================================
   GSV TERMINE – v1.4.17
   =========================================================
   Layout-Aussenabstaende und Containerbreiten regelt Blocksy.
   Alle Regeln sind auf unsere GSV-Komponenten begrenzt.
   ========================================================= */

.gsv-events { width: 100%; }
.gsv-events__empty { margin: 0; }

/* =========================================================
   TERMINUEBERSICHT – zusammenhaengende, dezente Karten
   ========================================================= */
/* Nur die separate Vorschau-ID darf als Bild erscheinen.
   Beitragsbilder fuer Blocksy-Header werden hier nicht verwendet. */
.gsv-events {
    display: grid;
    gap: 14px;
    width: 100%;
}
.gsv-event-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "details";
    column-gap: 24px;
    row-gap: 0;
    align-items: start;
    min-width: 0;
    margin: 0;
    padding: 20px 22px 21px 22px;
    box-sizing: border-box;
    border: 1px solid #dfebf2;
    border-left: 4px solid #005a8c;
    border-radius: 10px;
    background: #f7fafc;
    transition: transform .22s ease, box-shadow .22s ease,
                background .22s ease, border-color .22s ease;
}
.gsv-event-card--with-image {
    grid-template-columns: minmax(0, 1fr) 176px;
    grid-template-areas:
        "intro visual"
        "details visual";
}
.gsv-event-card__intro {
    grid-area: intro;
    min-width: 0;
}
.gsv-event-card__details {
    grid-area: details;
    min-width: 0;
}
.gsv-event-card__visual {
    grid-area: visual;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    align-self: start;
    min-height: 0;
    min-width: 0;
    padding: 0;
}
.gsv-event-card__image-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    max-width: 100%;
    text-decoration: none;
    border-radius: 8px;
}
.gsv-events .gsv-event-card__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 205px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(15, 42, 67, .11);
    transform-origin: center center;
    transition: transform .22s ease, box-shadow .22s ease;
}
/* Nur verlinkte Vorschauen reagieren; kein Rahmen und kein Layoutsprung. */
@media (hover: hover) and (pointer: fine) {
    .gsv-events .gsv-event-card__image-link:hover .gsv-event-card__image {
        transform: translateY(-2px) scale(1.045);
        box-shadow: 0 9px 20px rgba(15, 42, 67, .20);
    }
}
.gsv-events .gsv-event-card__image-link:focus-visible {
    outline: 2px solid #005a8c;
    outline-offset: 4px;
    border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
    .gsv-events .gsv-event-card__image { transition: none; }
    .gsv-events .gsv-event-card__image-link:hover .gsv-event-card__image {
        transform: none;
    }
}
.gsv-event-date-line {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 7px;
    color: #005a8c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.gsv-event-date-line svg {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
.gsv-event-date-line span { min-width: 0; }

/* Echtes H2: Blocksy bestimmt Groesse, Typografie und Farbe. */
.gsv-event-card__title {
    margin: 0 0 6px !important;
    padding: 0;
    overflow-wrap: break-word;
}
.gsv-event-card__title a {
    color: inherit;
    font: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
}
.gsv-event-card__title a:hover { opacity: .8; }
.gsv-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 16px;
    row-gap: 3px;
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
}
.gsv-event-card__meta-row { margin: 0; }

.gsv-event-card__meta-row strong,
.gsv-event-card__meta-row--strong { color: #263746; font-weight: 700; }
.gsv-event-card__meta-row a {
    color: #374151;
    text-decoration: none;
}
.gsv-event-card__meta-row a:hover {
    color: #005a8c;
    text-decoration: underline;
}
.gsv-event-card__summary {
    margin-top: 12px;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
}
.gsv-event-card__summary > :first-child { margin-top: 0; }
.gsv-event-card__summary > :last-child { margin-bottom: 0; }
.gsv-event-card__summary p { margin-bottom: 10px; }
.gsv-event-card__summary a { color: #005a8c; }
/* Gemeinsamer Buttonstil fuer Weiterlesen und Zuruecklink. */
.gsv-event-card__more,
.gsv-event-single-actions__back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 40px;
    margin: 14px auto 0 0;
    padding: 6px 7px 6px 14px;
    box-sizing: border-box;
    border: 1px solid #cbdfea;
    border-radius: 8px;
    background: #f6fafc;
    color: #005a8c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease,
                color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gsv-event-card__more span,
.gsv-event-single-actions__back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #e4f0f6;
    color: #005a8c;
    font-size: 17px;
    line-height: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gsv-event-single-actions__back:hover {
    border-color: #005a8c;
    background: #005a8c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 90, 140, .12);
    text-decoration: none;
}
.gsv-event-single-actions__back:hover .gsv-event-single-actions__back-arrow {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    transform: translateX(2px);
}
.gsv-event-card__more:focus-visible,
.gsv-event-single-actions__back:focus-visible {
    outline: 2px solid #005a8c;
    outline-offset: 3px;
}

/* Hover nur in der Terminuebersicht; keine Aenderung am Zuruecklink. */
.gsv-events .gsv-event-card__more {
    color: #005a8c;
    transform-origin: left center;
}

@media (hover: hover) and (pointer: fine) {
    .gsv-events .gsv-event-card:hover {
        z-index: 1;
        background: #edf5fa;
        border-color: #b8d5e6;
        border-left-color: #005a8c;
        transform: translateY(-2px) scale(1.008);
        box-shadow: 0 7px 20px rgba(15, 42, 67, .12);
    }
    .gsv-events .gsv-event-card__more:hover {
        background: #005a8c;
        border-color: #005a8c;
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px) scale(1.035);
        box-shadow: 0 5px 13px rgba(0, 90, 140, .22);
    }
    .gsv-events .gsv-event-card__more:hover span {
        background: rgba(255, 255, 255, .2);
        color: #fff;
        transform: translateX(3px);
    }
    .gsv-events .gsv-event-card__more:active {
        transform: translateY(0) scale(1);
        box-shadow: none;
    }
}

/* Tastatur: gleicher Farbkontrast, gut sichtbarer Fokus ohne Bewegung. */
.gsv-events .gsv-event-card__more:focus-visible {
    background: #005a8c;
    border-color: #005a8c;
    color: #fff;
    text-decoration: none;
}
.gsv-events .gsv-event-card__more:focus-visible span {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .gsv-events .gsv-event-card,
    .gsv-events .gsv-event-card__more,
    .gsv-events .gsv-event-card__more span {
        transition: none;
    }
    .gsv-events .gsv-event-card:hover,
    .gsv-events .gsv-event-card__more:hover,
    .gsv-events .gsv-event-card__more:active,
    .gsv-events .gsv-event-card__more:hover span {
        transform: none;
    }
}

/* Zurueck: Pfeilkachel vorne, Text dahinter. */
.gsv-event-single-actions__back {
    margin: 0;
    padding: 6px 14px 6px 7px;
}
.gsv-event-single-actions__back:hover .gsv-event-single-actions__back-arrow {
    transform: translateX(-2px);
}

/* =========================================================
   EINZELTERMIN
   Blocksy selbst verwaltet Seitenheader und Breadcrumbs.
   ========================================================= */
.gsv-termin-single .entry-header .entry-meta,
.gsv-termin-single .hero-section .entry-meta,
.gsv-termin-single .ct-entry-meta { display: none !important; }

/* Optionaler separater H2-Titel und Infokasten bilden dieselbe
   Blocksy-Inhaltsspalte. Keine eigenen Seiten-Aussenabstaende. */
.gsv-event-single-intro {
    width: 100%;
    min-width: 0;
}

/* Optionale Detailseiten-Ueberschrift: Blocksy verwaltet H2-Typografie. */
.gsv-event-single-title {
    margin: 0 0 18px !important;
    overflow-wrap: break-word;
}

/* Einzelansicht: gleiche Datumstypografie und Kartenoptik wie die Liste. */
.gsv-event-single-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    margin: 0 0 28px;
    padding: 18px 22px;
    box-sizing: border-box;
    border: 1px solid #dfebf2;
    border-left: 4px solid #005a8c;
    border-radius: 10px;
    background: #f7fafc;
}
.gsv-event-single-meta .gsv-event-date-line {
    margin: 0;
}
.gsv-event-single-meta__details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 18px;
    row-gap: 4px;
    min-width: 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.gsv-event-single-meta__row strong { color: #263746; font-weight: 700; }
.gsv-event-single-meta__row a { color: #374151; text-decoration: none; }
.gsv-event-single-meta__row a:hover { color: #005a8c; text-decoration: underline; }

/* Einzeltermin: Textbreite ausschliesslich durch Blocksy steuern.
   Keine kuenstliche Begrenzung auf 960px fuer redaktionellen Inhalt. */
.gsv-event-single-body > :first-child { margin-top: 0; }
.gsv-event-single-body > :last-child { margin-bottom: 0; }

.gsv-event-single-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #dce4ea;
}
.gsv-event-single-actions__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid #005a8c;
    border-radius: 7px;
    background: #005a8c;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gsv-event-single-actions__primary:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #005a8c !important;
}

/* Tastaturbedienung */
.gsv-events a:focus-visible,
.gsv-event-single-meta a:focus-visible,
.gsv-event-single-actions a:focus-visible {
    outline: 2px solid #005a8c;
    outline-offset: 4px;
    border-radius: 3px;
}

/* =========================================================
   STARTSEITE / NAECHSTER TERMIN
   ========================================================= */
.gsv-naechster-termin {
    color: #005b8f;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}
.gsv-naechster-termin a { color: inherit; text-decoration: none; }
.gsv-naechster-termin strong {
    display: block;
    margin-bottom: 2px;
    color: #005b8f;
    font-weight: 700;
}
.gsv-naechster-termin a:hover strong { text-decoration: underline; }
.gsv-naechster-termin__details,
.gsv-naechster-termin__location { display: block; }
.gsv-naechster-termin__time { white-space: nowrap; }

/* =========================================================
   TABLET / MOBIL
   ========================================================= */
@media (max-width: 690px) {
    .gsv-events { gap: 10px; }
    .gsv-event-card {
        padding: 17px 16px 18px 17px;
        border-left-width: 3px;
        column-gap: 14px;
    }
    .gsv-event-card--with-image {
        grid-template-columns: minmax(0, 1fr) 108px;
        grid-template-areas:
            "intro visual"
            "details details";
    }
    .gsv-event-card__visual {
        height: auto;
        min-height: 0;
        align-self: start;
    }
    .gsv-events .gsv-event-card__image {
        max-height: 128px;
    }
    .gsv-event-date-line { font-size: 16px; margin-bottom: 7px; }
    .gsv-event-card__summary { margin-top: 11px; }
    .gsv-event-date-line svg { width: 17px; height: 17px; flex-basis: 17px; }

    .gsv-event-card__title { margin-bottom: 6px !important; }
    .gsv-event-card__meta,
    .gsv-event-single-meta__details { font-size: 14px; line-height: 1.5; }
    .gsv-event-card__summary { font-size: 15px; }
    .gsv-event-card__more,
    .gsv-event-single-actions__back {
        min-height: 38px;
        font-size: 14px;
    }
    .gsv-event-card__more { margin: 13px auto 0 0; }

    .gsv-event-single-meta {
        margin-bottom: 24px;
        padding: 16px 17px;
        border-left-width: 3px;
    }
    .gsv-event-single-meta__details { column-gap: 12px; }
    .gsv-event-single-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        margin-top: 28px;
        padding-top: 20px;
    }
    .gsv-event-single-actions__primary { width: 100%; box-sizing: border-box; }
    .gsv-event-single-actions__back { align-self: flex-start; }
}

@media (max-width: 420px) {
    .gsv-event-card--with-image { grid-template-columns: minmax(0, 1fr) 92px; column-gap: 10px; }
    .gsv-events .gsv-event-card__image { max-height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    .gsv-event-card__title a,
    .gsv-event-card__more,
    .gsv-event-card__more span,
    .gsv-event-single-actions__back-arrow,
    .gsv-event-single-actions__primary,
    .gsv-event-single-actions__back { transition: none; }
}


/* =========================================================
   GSV BILDERGALERIE / EIGENE LIGHTBOX
   Der Inhalt der Termine bekommt selbst keine Scripts oder Styles.
   Die Galeriebilder sind vollstaendig sichtbar (object-fit: contain).
   ========================================================= */
.gsv-tgallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    width: 100%;
    margin: 18px 0 30px;
}
.gsv-tgallery__item { min-width: 0; margin: 0 !important; }
.gsv-tgallery__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 290px;
    background: #f8fafc;
    border: 1px solid #dce4ea;
    border-radius: 7px;
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gsv-tgallery__link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}
@media (hover: hover) {
    .gsv-tgallery__link:hover {
        border-color: #005a8c;
        box-shadow: 0 3px 15px rgba(0, 90, 140, .09);
    }
}
.gsv-tgallery__link:focus-visible { outline: 3px solid #005a8c; outline-offset: 3px; }
.gsv-tgallery__item figcaption {
    margin: 7px 0 0 !important;
    color: #4b5563;
    font-size: 13px;
    text-align: center;
    line-height: 1.45;
}

/* Dezenter GSV-Anmeldebutton fuer redaktionelle Termininhalte. */
.gsv-event-signup-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 11px 19px;
    min-height: 45px;
    border: 2px solid #005a8c;
    border-radius: 7px;
    background: #005a8c;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}
.gsv-event-signup-button:hover { background: #fff; color: #005a8c !important; }
.gsv-event-signup-button:focus-visible { outline: 2px solid #005a8c; outline-offset: 3px; }

/* Overlay sitzt per JavaScript DIREKT im Body, ausserhalb von Blocksy-Containern. */
body.gsv-tgallery-open { overflow: hidden !important; }
.gsv-tgallery-modal[hidden] { display: none !important; }
.gsv-tgallery-modal {
    --gsv-modal-blue: #005a8c;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(6, 15, 26, .94) !important;
    color: #fff !important;
    box-sizing: border-box;
}
.gsv-tgallery-modal, .gsv-tgallery-modal * { box-sizing: border-box; }
.gsv-tgallery-modal__stage {
    position: absolute;
    top: 55px; left: 70px; right: 70px; bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.gsv-tgallery-modal__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
    background: transparent !important;
}
.gsv-tgallery-modal__close, .gsv-tgallery-modal__prev, .gsv-tgallery-modal__next {
    position: absolute;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 50% !important;
    background: rgba(33,49,65,.85) !important;
    padding: 0 !important;
    color: white !important;
    font-family: inherit;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
}
.gsv-tgallery-modal__close { top: 12px; right: 18px; width: 40px; height: 40px; font-size: 28px; }
.gsv-tgallery-modal__prev, .gsv-tgallery-modal__next { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 31px; }
.gsv-tgallery-modal__prev { left: 13px; }
.gsv-tgallery-modal__next { right: 13px; }
.gsv-tgallery-modal button:hover { background: var(--gsv-modal-blue) !important; }
.gsv-tgallery-modal button:focus-visible, .gsv-tgallery-modal a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.gsv-tgallery-modal__counter { position: absolute; top: 25px; left: 22px; color: #e1eaf1; font-size: 13px; }
.gsv-tgallery-modal__footer {
    position: absolute; bottom: 17px; left: 15px; right: 15px;
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px;
    color: #fff; font-size: 13px; text-align: center;
}
.gsv-tgallery-modal__original { color: #cfeafc !important; text-decoration: underline !important; }
.gsv-tgallery-modal__original:hover { color: #fff !important; }
@media (max-width: 690px) {
    .gsv-tgallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .gsv-tgallery__item:first-child { grid-column: 1 / -1; }
    .gsv-tgallery__link { height: 204px; }
    .gsv-tgallery__item:first-child .gsv-tgallery__link { height: 310px; }
    .gsv-tgallery-modal__stage { top: 62px; left: 10px; right: 10px; bottom: 103px; }
    .gsv-tgallery-modal__prev, .gsv-tgallery-modal__next { top: auto; bottom: 50px; transform: none; width: 40px; height: 40px; }
    .gsv-tgallery-modal__footer { bottom: 12px; padding: 0 34px; gap: 4px; flex-direction: column; }
    .gsv-tgallery-modal__counter { top: 25px; }
}
.gsv-tgallery-modal button[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
    .gsv-tgallery__link, .gsv-event-signup-button { transition: none !important; }
}


/* =========================================================
   OSTERCAMP-ARTIKEL V4 – LUFTIG, MIT EINER PREIS-HERVORHEBUNG
   - Keine zusaetzlichen Kaesten unter dem Termin-Infoblock
   - Inhaltsbreite und Seitenabstaende bestimmt weiterhin Blocksy
   - Die Galerie/Lightbox wird unveraendert wiederverwendet
   ========================================================= */
.gsv-event-single-body .gsv-camp-v4 {
    width: 100%;
    min-width: 0;
}

/* Einleitung: nur Typografie + schmaler Akzent, KEINE Infokarte. */
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-lead {
    margin: 0 0 36px;
    padding: 1px 0 1px 18px;
    border-left: 3px solid #005a8c;
    background: transparent;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-lead__eyebrow {
    margin: 0 0 5px !important;
    color: #005a8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-lead__text {
    margin: 0 !important;
    color: #263746;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.65;
}
.gsv-event-single-body .gsv-camp-v4 > h2 {
    margin: 34px 0 20px !important;
}

/* Vier Leistungen als offenes Raster ohne Kartenrahmen oder Schattierung. */
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 20px;
    margin: 0 0 38px;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlight {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 0 17px 34px;
    border-bottom: 1px solid #dce4ea;
    background: transparent;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlight::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f3f8;
    color: #005a8c;
    font-size: 13px;
    font-weight: 700;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlight h3 {
    margin: 0 0 5px !important;
    color: #005a8c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlight p {
    margin: 0 !important;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

/* Einzige hervorgehobene Flaeche: Preise und Anmeldung zusammen. */
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration {
    margin: 0 0 38px;
    padding: 22px 26px 23px;
    border-top: 3px solid #005a8c;
    border-radius: 7px;
    background: #f4f9fc;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__prices {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 0 0 15px;
    padding: 0 0 17px;
    border-bottom: 1px solid #d6e6ef;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__price {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    gap: 2px;
    margin: 0 !important;
    min-width: 180px;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__price strong {
    color: #005a8c;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__price span {
    color: #263746;
    font-size: 14px;
    line-height: 1.5;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__note {
    margin: 0 0 12px !important;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__limited {
    margin: 0 !important;
    color: #263746;
    font-size: 14px;
    line-height: 1.5;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__footer .wp-block-buttons,
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__footer .wp-block-button {
    margin: 0 !important;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__footer .gsv-event-signup-button {
    margin: 0 !important;
}
.gsv-event-single-body .gsv-camp-v4 .gsv-camp-gallery-note {
    margin: -5px 0 16px !important;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 690px) {
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-lead {
        margin-bottom: 29px;
        padding-left: 14px;
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlights {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        margin-bottom: 28px;
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-highlight {
        padding-bottom: 14px;
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration {
        margin-bottom: 29px;
        padding: 18px 17px 20px;
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__prices {
        gap: 12px;
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__price {
        min-width: min(100%, 195px);
    }
    .gsv-event-single-body .gsv-camp-v4 .gsv-camp-registration__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsv-event-single-body .gsv-camp-v4 .gsv-event-signup-button { transition: none; }
}

/* Auf sehr schmalen Displays bleibt Platz fuer lange Termintitel. */
@media (max-width: 400px) {
    .gsv-event-card--with-image { grid-template-columns: minmax(0, 1fr) 82px; column-gap: 10px; }
    .gsv-events .gsv-event-card__image { max-height: 112px; }
}
