/* ==========================================================================
   REDESIGN EVENT2.HEBAMMENZENTRUM.AT (ANALOG ZU WWW2.HEBAMMENZENTRUM.AT)
   Komplett-Version: Das Custom-CSS-Feld im Helix-Template kann geleert werden!
   ========================================================================== */

/* 0. FONTS, GRUNDFARBEN, HEADER & FOOTER (AUS DEM TEMPLATE INTEGRIERT) */
@font-face {
    font-family: 'robotoregular';
    src: url('/templates/shaper_helixultimate/fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('/templates/shaper_helixultimate/fonts/roboto-regular-webfont.woff') format('woff'),
         url('/templates/shaper_helixultimate/fonts/roboto-v30-latin-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body, p, h1, h2, h3, h4, h5, a, span {
    font-family: 'robotoregular', Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #18196b;
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
    hyphens: auto;
    -webkit-hyphens: auto;
}

h2 { font-size: 1.1rem; color: #7a6300; font-weight: bold; text-transform: uppercase; }
h3 { font-size: 1.1rem; color: #7a6300; font-weight: bold; }
h4 { font-size: 1.0rem; color: #18196b; font-weight: bold; }
h5 { font-size: 1.0rem; color: #9763C4; font-weight: bold; }

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

#sp-top-bar {
    background: #ffffff;
    color: #aaaaaa;
    min-height: 90px;
}

#sp-header {
    height: unset !important;
    box-shadow: none !important;
}

.logo-image-phone {
    height: 0px !important;
}

#sp-main-body {
    padding: 0 0 50px 0;
}

@media only screen and (min-width: 769px) {
    .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

#sp-footer,
#sp-bottom {
    background: #7a6300 !important;
    color: #ffffff !important;
}

#sp-footer a,
#sp-bottom a {
    color: #ffffff !important;
}

#sp-footer a:hover,
#sp-bottom a:hover {
    color: #e3e6c4 !important;
}

#sp-footer {
    font-size: 1rem;
    padding: 0 !important;
}

/* SUCHE (com_finder & awesomplete): Markierung in #9763C4 statt Gelb & Links in #7a6300 */
.awesomplete mark,
.awesomplete li:hover mark,
.awesomplete li[aria-selected="true"] mark {
    background-color: #9763C4 !important;
    color: #ffffff !important;
}

#awesomplete_list_1 {
    z-index: 999 !important;
}

/* TOP-BAR: LOGOS BÜNDIG LINKS/RECHTS & SUCHFELD MITTIG AUSRICHTEN (#sp-top1 | #sp-search | #sp-top2) */
#sp-top-bar .container-inner > .row,
.container-inner > .row:has(> #sp-search) {
    display: flex !important;
    align-items: center !important;
}

#sp-top1 > .sp-column,
#sp-top1 .sp-module,
#sp-top1 .sp-module-content,
#sp-top1 .mod-sppagebuilder,
#sp-top1 .page-content,
#sp-top1 .sppb-section,
#sp-top1 .sppb-row-container,
#sp-top2 > .sp-column,
#sp-top2 .sp-module,
#sp-top2 .sp-module-content,
#sp-top2 .mod-sppagebuilder,
#sp-top2 .page-content,
#sp-top2 .sppb-section,
#sp-top2 .sppb-row-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#sp-top1 .sppb-row,
#sp-top2 .sppb-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#sp-top1 [class*="sppb-col-"],
#sp-top1 .sppb-row-column,
#sp-top2 [class*="sppb-col-"],
#sp-top2 .sppb-row-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#sp-top1 > .sp-column {
    display: flex !important;
    justify-content: flex-start !important;
}

#sp-top1 .sppb-addon-content,
#sp-top1 .sppb-addon-content p {
    text-align: left !important;
    margin-bottom: 0 !important;
}

#sp-top1 .textaddons_ausnahme img,
[data-module_id="153"] .textaddons_ausnahme img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (min-width: 768px) {
    #sp-top1 .textaddons_ausnahme img,
    [data-module_id="153"] .textaddons_ausnahme img {
        width: 300px !important;
        min-width: 300px !important;
        max-width: none !important;
    }
}

#sp-top2 > .sp-column {
    display: flex !important;
    justify-content: flex-end !important;
}

#sp-top2 .sppb-addon-content,
#sp-top2 .sppb-addon-content p {
    width: 100% !important;
    text-align: right !important;
    margin-bottom: 0 !important;
}

#sp-top2 .textaddons_ausnahme img,
[data-module_id="152"] .textaddons_ausnahme img {
    width: auto !important;
    height: 70px !important;
    max-height: 70px !important;
    max-width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

@media (min-width: 768px) {
    #sp-search,
    #sp-search > .sp-column {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #sp-search .sp-module,
    #sp-search .sp-module-content,
    #sp-search search {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    #sp-search form.mod-finder {
        width: 100% !important;
        max-width: 260px !important;
        margin: 15px auto 0 auto !important;
    }

    #sp-search .awesomplete,
    #sp-search input.form-control {
        width: 100% !important;
    }
}

/* Mobil (< 768px): Suchfeld über Modul-Klasse .suche-ausblenden samt Spalte ausblenden */
@media (max-width: 767.98px) {
    .suche-ausblenden,
    [class*="suche-ausblenden"],
    #sp-search:has(.suche-ausblenden),
    #sp-search:has([class*="suche-ausblenden"]) {
        display: none !important;
    }
}

/* Suchergebnisseite (com_finder) optisch exakt wie auf www.hebammenzentrum.at:
   1. Kompaktes Eingabefeld + eigenständiger gerundeter Button mit kleinem Abstand
   2. Satz "Für den Suchbegriff ... wurden X Ergebnisse gefunden." ausblenden */
#finder-search .input-group,
.com-finder__search .input-group {
    width: auto !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

#finder-search .input-group > .awesomplete,
.com-finder__search .input-group > .awesomplete {
    flex: 0 1 200px !important;
    width: 200px !important;
    max-width: 100% !important;
}

#finder-search .input-group > .awesomplete > input.form-control,
.com-finder__search .input-group > .awesomplete > input.form-control {
    border-radius: 6px !important;
    width: 100% !important;
}

#finder-search .input-group .btn,
#finder-search .input-group button,
.com-finder__search .input-group .btn,
.com-finder__search .input-group button {
    border-radius: 10px !important;
    font-weight: normal !important;
    padding: 8px 14px !important;
}

#search-query-explained,
.com-finder__explained {
    display: none !important;
}

/* Suchergebnisse (com_finder): Einheitliche Schriftgrößen, Titel-Links in #7a6300 & ohne Unterstreichung */
#search-results .result__title,
.com-finder__results .result__title {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    font-weight: normal !important;
    margin-bottom: 6px !important;
}

#search-results .result__description,
.com-finder__results .result__description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

#search-results .result__title-link,
#search-results .result__title-link:link,
#search-results .result__title-link:visited,
#search-results .result__title-link .result__title-text,
.com-finder__results .result__title-link,
.com-finder__results .result__title-link:link,
.com-finder__results .result__title-link:visited {
    color: #7a6300 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

#search-results .result__title-link:hover,
#search-results .result__title-link:focus,
#search-results .result__title-link:active,
#search-results .result__title-link:hover .result__title-text,
#search-results .result__title-link:focus .result__title-text,
.com-finder__results .result__title-link:hover,
.com-finder__results .result__title-link:focus {
    color: #9763C4 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.eb-notice-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
    color: #9763C4 !important;
}

/* 1. MENÜ, OFF-CANVAS (HANDY-MENÜ) & GLOBALE LINKFARBEN */
a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    display: inline-block;
    padding: 0 15px;
    line-height: 80px;
    color: #7a6300 !important;
    font-size: 1.1rem !important;
    margin: 0;
}

@media (min-width: 1200px) {
    #sp-menu .sp-column {
        justify-content: center !important;
    }
    .sp-megamenu-parent {
        margin: 0;
    }
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding: 0 15px !important;
    }
}

/* Fettschrift-Effekt über text-shadow wie auf www2: verhindert das Hin- und Herspringen der Menüpunkte! */
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a,
.sp-megamenu-parent > li:hover > a {
    color: #7a6300 !important;
    font-weight: normal !important;
    text-shadow: 0 0 0.65px currentColor, 0 0 0.65px currentColor !important;
}

a:hover, a:focus, a:active {
    color: #9763C4;
}

/* 1b. MOBILES OFFCANVAS-MENÜ (ANALOG ZU WWW2) */

/* Such-Index-Handy im Offcanvas-Menü über die Menüpunkte nach oben ziehen */
.offcanvas-menu .offcanvas-inner {
    display: flex !important;
    flex-direction: column !important;
}

.offcanvas-menu .offcanvas-inner .sp-module:has(form.mod-finder),
.offcanvas-menu .offcanvas-inner .mod-finder {
    order: -1 !important;
    margin-bottom: 12px !important;
}

@media (max-width: 1199.98px) {
    .sp-megamenu-parent {
        display: none !important;
    }
    #offcanvas-toggler {
        display: flex !important;
    }
}

.offcanvas-menu {
    background-color: #ffffff !important;
    color: #18196b !important;
}

#offcanvas-toggler .burger-icon span,
.offcanvas-menu .close-offcanvas .burger-icon span {
    background-color: #000000 !important;
}

.offcanvas-menu .offcanvas-inner ul.menu {
    padding: 0 20px !important;
    margin: 0 !important;
    list-style: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li {
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:last-child {
    border-bottom: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    display: block !important;
    font-family: 'robotoregular', Verdana, sans-serif !important;
    color: #7a6300 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    padding: 15px 0 !important;
    opacity: 0.8 !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    background-color: transparent !important;
    transition: color 0.25s ease, opacity 0.25s ease !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li > span:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > span:focus {
    color: #7a6300 !important;
    background-color: transparent !important;
}

.offcanvas-menu .offcanvas-inner ul.menu li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu li.current > a,
.offcanvas-menu .offcanvas-inner ul.menu li.active > .nav-header,
.offcanvas-menu .offcanvas-inner ul.menu li.active > .mod-menu__heading {
    color: #7a6300 !important;
    font-weight: bold !important;
    opacity: 0.8 !important;
    background-color: transparent !important;
}

/* 2. SEITEN-ÜBERSCHRIFTEN (H1) ALS STATISCHER BRAUNER BANNER */
h1.eb-page-heading,
.eb-container > h1,
#eb-event-page h1.eb-page-heading {
    background-color: #7a6300 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    margin: 20px 0 25px 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* 3. KATEGORIE- & EVENT-KACHELN */
.eb-category,
.eb-event,
.eb-event-container,
#eb-categories .eb-category,
#eb-events .eb-event {
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background-color: #e3e6c4 !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
}

#eb-categories .eb-box-heading,
#eb-events .eb-box-heading,
#eb-event-page .eb-box-heading,
.eb-box-heading {
    background-color: #7a6300 !important;
    color: #ffffff !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px !important;
    border: none !important;
    margin: 0 !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

/* Wenn eine Kategorie keinen Beschreibungstext hat: unten ebenfalls runde Ecken */
.eb-category .eb-box-heading:last-child,
.eb-category:not(:has(.eb-description)) .eb-box-heading {
    border-radius: 10px !important;
    padding: 0 !important;
}

.eb-box-heading h2,
.eb-box-heading .eb-category-title,
.eb-box-heading .eb-event-title,
.eb-category-title-link,
.eb-event-title a {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   3a. ANKLICKBARE KATEGORIE-KACHELN KLAR VON DER ÜBERSCHRIFT (H1) ABGRENZEN
   - Ganze Zeile klickbar + Pfeil-Indikator rechts (❯) + Hover-Wechsel auf Lila (#9763C4)
   ========================================================================== */
.eb-category:not(:has(.eb-description)) .eb-category-title-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 16px 22px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease !important;
}

.eb-category:has(.eb-description) .eb-category-title-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.eb-category-title-link::after {
    content: "\276F" !important;
    font-size: 1.15rem !important;
    font-weight: bold !important;
    margin-left: 15px !important;
    transition: transform 0.25s ease !important;
}

#eb-categories .eb-category .eb-box-heading:hover,
.eb-category:not(:has(.eb-description)) .eb-category-title-link:hover {
    background-color: #9763C4 !important;
    color: #ffffff !important;
}

.eb-category-title-link:hover::after {
    transform: translateX(5px) !important;
}

.eb-event-title a:hover {
    color: #e3e6c4 !important;
    text-decoration: none !important;
}

.eb-description {
    padding: 20px !important;
    color: #18196b !important;
    background-color: #e3e6c4 !important;
    border-radius: 0 0 10px 10px !important;
}

/* Kategorie-Einleitungstext mit sauberem seitlichen Innenabstand */
.eb-category-description {
    color: #18196b !important;
    padding: 4px 20px 10px 20px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

.eb-category-description p:last-child {
    margin-bottom: 0 !important;
}

/* Formular-Kopftext (Kursname + "* notwendige Informationen") nahtlos in die grüne Formular-Kachel integrieren */
#eb-individual-registration-page > .eb-message,
#eb-group-registration-page > .eb-message,
.eb-container > .eb-message {
    background-color: #e3e6c4 !important;
    color: #18196b !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 25px 30px 10px 30px !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    border: none !important;
    box-shadow: none !important;
}

/* Kurs-/Gutschein-Titel im Formular-Kopf wie eine echte Kachel-Überschrift (H2) hervorheben */
#eb-individual-registration-page > .eb-message p:first-child,
#eb-group-registration-page > .eb-message p:first-child,
.eb-container > .eb-message p:first-child {
    font-size: 1.15rem !important;
    font-weight: bold !important;
    color: #7a6300 !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

#eb-individual-registration-page > .eb-message p:last-child,
#eb-group-registration-page > .eb-message p:last-child,
.eb-container > .eb-message p:last-child {
    margin-bottom: 0 !important;
    font-size: 0.92rem !important;
}

/* 3b. SYSTEM- & HINWEISMELDUNGEN (z. B. "Veranstaltung abgesagt" in Violett/Weiß) */
.eb-container .alert,
.eb-container .alert-info,
.eb-event .alert,
.eb-event .alert-info,
p.alert.alert-info {
    background-color: #9763C4 !important;
    border-color: #9763C4 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    font-weight: bold !important;
    margin: 15px 20px !important;
    box-shadow: none !important;
}

.eb-container .alert a,
p.alert.alert-info a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 4. KURS-DETAILANSICHT & TERMIN-TABELLE (EINZELKACHELN) */
.eb-event-short-description,
.eb-event .eb-description,
.eb-event .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    color: #18196b !important;
    background-color: #e3e6c4 !important;
}

/* Wenn ein Kurs eigenen Beschreibungstext/Bild hat: sauberer Innenabstand auf allen Geräten */
.eb-event .eb-description-details {
    margin: 0 !important;
    padding: 15px 20px 5px 20px !important;
    width: 100% !important;
    color: #18196b !important;
    background-color: #e3e6c4 !important;
    box-sizing: border-box !important;
    line-height: 1.55 !important;
}

.eb-event .eb-description-details p:last-child {
    margin-bottom: 0 !important;
}

/* Leere linke Spalte (.col-md-7) komplett ausblenden */
.eb-event .col-md-7:empty,
.eb-description-details.col-md-7:not(:has(p:not(:empty))):not(:has(img)) {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Äußerer Container der Tabelle */
.eb-event-properties-table,
.eb-event-properties-table.col-md-5 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Falls ein Kurs links doch eigenen Text/Bild hat: 50/50 Aufteilung auf Desktop */
@media (min-width: 769px) {
    .eb-description-details:has(p:not(:empty)),
    .eb-description-details:has(img) {
        width: 50% !important;
        flex: 0 0 50% !important;
        padding: 15px 20px !important;
    }
    .eb-description-details:has(p:not(:empty)) + .eb-event-properties-table.col-md-5,
    .eb-description-details:has(img) + .eb-event-properties-table.col-md-5 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/* Die eigentliche weiße Tabelle in den Kacheln */
.eb-event-properties-table table.table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-collapse: collapse !important;
    box-sizing: border-box !important;
}

/* Graue Bootstrap-Streifen (table-striped) abschalten & dezentes Creme-Grün setzen */
.eb-event-properties-table table.table > tbody > tr,
.eb-event-properties-table table.table-striped > tbody > tr:nth-of-type(odd) > *,
.eb-event-properties-table table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.eb-event-properties-table table.table > tbody > tr:nth-of-type(even) > td,
.eb-event-properties-table table.table-striped > tbody > tr:nth-of-type(even) > td {
    --bs-table-accent-bg: #f1f3dc !important;
    --bs-table-striped-bg: #f1f3dc !important;
    background-color: #f1f3dc !important;
}

/* Tabellenzellen & Spaltenbreiten */
.eb-event-properties-table table.table td {
    border: none !important;
    border-bottom: 1px solid #d5d9ad !important;
    padding: 10px 16px !important;
    color: #18196b !important;
    vertical-align: middle !important;
}

.eb-event-properties-table table.table tr:last-child td {
    border-bottom: none !important;
}

.eb-event-properties-table td.eb-event-property-label {
    width: 35% !important;
    font-weight: bold !important;
    color: #18196b !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

.eb-event-properties-table td.eb-event-property-value {
    width: 65% !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

.eb-taskbar,
.eb-event .eb-taskbar {
    background-color: #e3e6c4 !important;
    padding: 5px 20px 20px 20px !important;
    margin: 0 !important;
}

/* 4b. KATEGORIE-TABELLENANSICHT (#eb-category-page-table / layout=table) */
#eb-category-page-table table.eb-responsive-table {
    width: 100% !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 2px solid #e3e6c4 !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
    margin-bottom: 25px !important;
}

#eb-category-page-table table.eb-responsive-table thead tr,
#eb-category-page-table table.eb-responsive-table thead th {
    background-color: #7a6300 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 10px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    vertical-align: middle !important;
}

/* Ungerade Zeilen: Weiß */
#eb-category-page-table table.eb-responsive-table > tbody > tr:nth-of-type(odd) > td,
#eb-category-page-table table.eb-responsive-table.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: #ffffff !important;
    --bs-table-striped-bg: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
}

/* Gerade Zeilen: Sanftes Hellgrün (#f1f3dc passend zu #e3e6c4) */
#eb-category-page-table table.eb-responsive-table > tbody > tr:nth-of-type(even) > td,
#eb-category-page-table table.eb-responsive-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: #f1f3dc !important;
    --bs-table-striped-bg: #f1f3dc !important;
    background-color: #f1f3dc !important;
    box-shadow: none !important;
}

/* Feine Trennlinien zwischen den Terminen */
#eb-category-page-table table.eb-responsive-table tbody td {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #d5d9ad !important;
    padding: 12px 10px !important;
    color: #18196b !important;
    vertical-align: middle !important;
}

#eb-category-page-table table.eb-responsive-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Optimierte Spaltenbreiten auf Desktop: Mehr Platz für Preis & gleichbreite Buttons */
@media (min-width: 769px) {
    #eb-category-page-table th.eb-event-title-column,
    #eb-category-page-table tbody td:nth-child(1) {
        width: 22% !important;
        font-weight: 600 !important;
    }

    #eb-category-page-table th.eb-event-date-column,
    #eb-category-page-table tbody td:nth-child(2) {
        width: 13% !important;
        white-space: nowrap !important;
    }

    #eb-category-page-table th.eb-event-location-column,
    #eb-category-page-table tbody td:nth-child(3) {
        width: 16% !important;
    }

    #eb-category-page-table th.eb-event-price-column,
    #eb-category-page-table tbody td:nth-child(4) {
        width: 19% !important;
    }

    #eb-category-page-table th.eb-event-capacity-column,
    #eb-category-page-table tbody td:nth-child(5),
    #eb-category-page-table th.eb-event-available-place-column,
    #eb-category-page-table tbody td:nth-child(6) {
        width: 7% !important;
        text-align: center !important;
    }

    #eb-category-page-table th.eb-register-buttons-column,
    #eb-category-page-table tbody td:nth-child(7) {
        width: 16% !important;
        min-width: 175px !important;
        text-align: center !important;
    }
}

/* Taskbar & mehrere Anmelde-Buttons sauber untereinander mit Abstand & gleicher Breite */
#eb-category-page-table td .eb-taskbar {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

#eb-category-page-table td .eb-taskbar ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: stretch !important;
    width: 100% !important;
}

#eb-category-page-table td .eb-taskbar li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
}

#eb-category-page-table td .eb-taskbar a.btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

/* 4c. SPALTEN-LAYOUT / GUTSCHEIN-SEITE (#eb-category-page-columns / layout=columns) */
#eb-category-page-columns #eb-events.eb-columns-layout-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    background-color: transparent !important;
}

#eb-category-page-columns #eb-events > [class*="col-"] {
    padding: 0 12px !important;
    margin-bottom: 24px !important;
    display: flex !important;
}

#eb-category-page-columns .eb-event-box {
    background-color: #e3e6c4 !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

#eb-category-page-columns .eb-event-title-container {
    background-color: #7a6300 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border-radius: 10px 10px 0 0 !important;
    line-height: 1.35 !important;
}

#eb-category-page-columns .eb-event-title-container a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Bei Gutscheinen (Kategorie 93) "Noch zu bestätigen", Ort und doppeltes Preisschild ausblenden */
#eb-category-page-columns .eb-category-93 .eb-event-date-time,
#eb-category-page-columns .eb-category-93 .eb-event-location,
#eb-category-page-columns .eb-category-93 .eb-event-location-price {
    display: none !important;
}

/* Bei Gutscheinen (Kategorie 93) den Button-Text von "Anmeldung" auf "Kaufen" ändern */
#eb-category-page-columns .eb-category-93 .eb-taskbar a.eb-register-button {
    font-size: 0 !important;
}

#eb-category-page-columns .eb-category-93 .eb-taskbar a.eb-register-button::after {
    content: "Kaufen" !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

#eb-category-page-columns .eb-event-date-time {
    padding: 15px 20px 0 20px !important;
    color: #18196b !important;
    font-weight: bold !important;
    background-color: #e3e6c4 !important;
}

#eb-category-page-columns .eb-event-location-price {
    background-color: #e3e6c4 !important;
    padding: 15px 20px 5px 20px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#eb-category-page-columns .eb-event-location {
    padding: 0 !important;
    color: #18196b !important;
    font-weight: 600 !important;
    width: auto !important;
    flex: 1 1 auto !important;
}

#eb-category-page-columns .eb-event-location a {
    color: #18196b !important;
    text-decoration: none !important;
}

#eb-category-page-columns .eb-event-location a:hover {
    color: #9763C4 !important;
    text-decoration: none !important;
}

/* Preisschild im Akzent-Violett (#9763C4) */
#eb-category-page-columns .eb-event-price,
#eb-category-page-columns .eb-event-price.text-bg-primary {
    background-color: #9763C4 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-weight: bold !important;
    font-size: 1.05rem !important;
    width: auto !important;
    text-align: center !important;
    float: none !important;
}

#eb-category-page-columns .eb-event-short-description {
    padding: 10px 20px 15px 20px !important;
    color: #18196b !important;
    background-color: #e3e6c4 !important;
    flex-grow: 1 !important;
}

#eb-category-page-columns .eb-event-short-description p:last-child {
    margin-bottom: 0 !important;
}

#eb-category-page-columns .eb-taskbar {
    padding: 0 20px 20px 20px !important;
    background-color: #e3e6c4 !important;
    margin-top: auto !important;
}

#eb-category-page-columns .eb-taskbar ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. BUTTONS IM WWW2-STIL (Braun #7a6300 -> Hover Lila #9763C4) */
.btn-primary,
.sppb-btn-primary,
.eb-btn,
#eb-event-page .btn,
.eb-taskbar a.btn,
input.btn-primary,
button.btn-primary {
    background-color: #7a6300 !important;
    border-color: #7a6300 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.sppb-btn-primary:hover,
.eb-btn:hover,
.eb-taskbar a.btn:hover,
input.btn-primary:hover,
button.btn-primary:hover {
    background-color: #9763C4 !important;
    border-color: #9763C4 !important;
    color: #ffffff !important;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: 100%;
}

.input-group .btn,
.input-group button {
    border-radius: 0 10px 10px 0 !important;
    padding: 8px 14px !important;
}

/* 6. ANMELDEFORMULAR / EINZEL- & GRUPPEN-ANMELDUNG */
#eb-group-registration-form,
#eb-individual-registration-form,
#eb-individual-registration-page form#adminForm,
#eb-group-registration-page form#adminForm,
.eb-container form.form-horizontal,
form.eb-form {
    background-color: #e3e6c4 !important;
    border-radius: 10px !important;
    padding: 25px 30px !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
    border: none !important;
    box-shadow: none !important;
}

/* Wenn über dem Formular der .eb-message Block steht: Formular komplett nahtlos unten anschließen */
#eb-individual-registration-page .eb-message + form#adminForm,
#eb-group-registration-page .eb-message + form#adminForm,
.eb-container .eb-message + form#adminForm,
.eb-container .eb-message + form.form-horizontal,
.eb-message + form#adminForm,
.eb-message + form.form-horizontal,
.eb-message + form.eb-form {
    border-radius: 0 0 10px 10px !important;
    margin-top: 0 !important;
    padding-top: 10px !important;
    border: none !important;
    box-shadow: none !important;
}

.eb-form-heading,
h3.eb-heading {
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    color: #7a6300 !important;
    font-size: 1.15rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    padding: 10px 0 5px 0 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Saubere Zeilenabstände & Ausrichtung im Formular */
#eb-individual-registration-page .form-row,
#eb-group-registration-page .form-row,
.eb-container form.form-horizontal .form-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 14px !important;
    align-items: center !important;
}

#eb-individual-registration-page .form-control-label,
#eb-group-registration-page .form-control-label,
.eb-container form.form-horizontal .form-control-label {
    font-weight: 600 !important;
    color: #18196b !important;
    padding-left: 0 !important;
    padding-right: 15px !important;
}

#eb-individual-registration-page .eb-form-control,
#eb-group-registration-page .eb-form-control,
.eb-container form.form-horizontal .eb-form-control {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Eingabefelder & Select-Boxen im Formular */
form.eb-form input[type="text"],
form.eb-form input[type="email"],
form.eb-form input[type="tel"],
form.eb-form select,
form.eb-form textarea,
#adminForm input[type="text"],
#adminForm input[type="email"],
#adminForm input[type="tel"],
#adminForm select,
#adminForm textarea,
.form-control {
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #18196b !important;
}

/* Euro-Addon (€) bei Betrag / Rabatt / Bruttobetrag sauber abrunden */
.eb-addon-container.input-group .input-group-text {
    background-color: #7a6300 !important;
    border-color: #7a6300 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 8px 0 0 8px !important;
    padding: 8px 14px !important;
}

.eb-addon-container.input-group .form-control {
    border-radius: 0 8px 8px 0 !important;
}

/* Checkboxen (Hörrohr, AGB, Datenschutz, Newsletter) */
.eb-checkboxes-container,
.eb-checkboxes-container .row,
.eb-checkboxes-container [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.eb-checkboxes-container label.checkbox,
.eb-subscribe-to-newsletter-container label.checkbox {
    display: block !important;
    position: relative !important;
    padding-left: 28px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

.eb-checkboxes-container input[type="checkbox"],
.eb-subscribe-to-newsletter-container input[type="checkbox"] {
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    margin: 0 !important;
}

.eb-checkboxes-container label.checkbox a {
    display: inline !important;
    color: #7a6300 !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.eb-checkboxes-container label.checkbox a:hover {
    color: #9763C4 !important;
    text-decoration: none !important;
}

#adminForm .control-group.eb-message {
    margin: 15px 0 !important;
    padding: 0 !important;
    color: #18196b !important;
}

#adminForm .form-actions {
    margin-top: 20px !important;
    padding-top: 10px !important;
}

.star,
span.required {
    color: #9763C4 !important;
    font-weight: bold !important;
}

/* Fehler-Popups (validationEngine) analog zu www2 (JoomDonation / AcyMailing) */
.formError {
    z-index: 9999 !important;
    max-width: 250px !important;
}

.formError .formErrorContent {
    background: #9763C4 !important;
    color: #ffffff !important;
    font-size: 0.80rem !important;
    line-height: 1.3 !important;
    border: 2px solid #ffffff !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: 250px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.formError .formErrorArrow div {
    background: #9763C4 !important;
}

/* 7. MOBILE OPTIMIERUNGEN (SMARTPHONES & SCHMALE SCREENS) */
@media (max-width: 768px) {
    #sp-main-body .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    h1.eb-page-heading,
    .eb-container > h1,
    #eb-event-page h1.eb-page-heading {
        font-size: 1.05rem !important;
        padding: 12px 10px !important;
    }

    .eb-category-description {
        padding: 2px 12px 8px 12px !important;
    }

    #eb-individual-registration-page > .eb-message,
    #eb-group-registration-page > .eb-message,
    .eb-container > .eb-message {
        padding: 18px 16px 12px 16px !important;
    }

    .eb-event .eb-description-details {
        padding: 12px 14px 4px 14px !important;
    }

    .eb-container .alert,
    .eb-container .alert-info,
    .eb-event .alert,
    .eb-event .alert-info,
    p.alert.alert-info {
        margin: 10px 6px !important;
        padding: 12px 14px !important;
    }

    .eb-event-properties-table,
    .eb-event-properties-table.col-md-5 {
        padding: 8px 6px !important;
    }

    .eb-taskbar,
    .eb-event .eb-taskbar {
        padding: 5px 6px 12px 6px !important;
    }

    .eb-taskbar .btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        margin-bottom: 6px !important;
    }

    .eb-event-properties-table table.table td {
        padding: 8px 8px !important;
        font-size: 0.92rem !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .eb-event-properties-table td.eb-event-property-label {
        width: 42% !important;
    }

    .eb-event-properties-table td.eb-event-property-value {
        width: 58% !important;
    }

    /* Mobile Karten-Ansicht für die Kategorie-Tabelle (layout=table) */
    #eb-category-page-table table.eb-responsive-table {
        border: none !important;
        background-color: transparent !important;
    }

    #eb-category-page-table table.eb-responsive-table thead {
        display: none !important;
    }

    #eb-category-page-table table.eb-responsive-table tbody tr {
        display: block !important;
        background-color: #ffffff !important;
        border: 2px solid #e3e6c4 !important;
        border-radius: 10px !important;
        margin-bottom: 16px !important;
        padding: 6px 10px !important;
        overflow: hidden !important;
    }

    #eb-category-page-table table.eb-responsive-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: right !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 6px !important;
        background-color: transparent !important;
        border-bottom: 1px solid #e3e6c4 !important;
    }

    #eb-category-page-table table.eb-responsive-table tbody td::before {
        content: attr(data-content) !important;
        font-weight: bold !important;
        color: #7a6300 !important;
        text-align: left !important;
        padding-right: 12px !important;
        flex: 0 0 45% !important;
    }

    #eb-category-page-table table.eb-responsive-table tbody td:last-child {
        border-bottom: none !important;
        padding-top: 10px !important;
        justify-content: center !important;
    }

    #eb-category-page-table table.eb-responsive-table tbody td:last-child::before {
        display: none !important;
    }

    #eb-category-page-table td .eb-taskbar {
        width: 100% !important;
    }

    /* Formular-Innenabstand auf Smartphones */
    #eb-group-registration-form,
    #eb-individual-registration-form,
    #eb-individual-registration-page form#adminForm,
    #eb-group-registration-page form#adminForm,
    .eb-container form.form-horizontal,
    form.eb-form {
        padding: 18px 16px !important;
        overflow: hidden !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Auf Smartphones ebenfalls nahtloser Übergang ohne Abstand & ohne Schatten */
    #eb-individual-registration-page .eb-message + form#adminForm,
    #eb-group-registration-page .eb-message + form#adminForm,
    .eb-container .eb-message + form#adminForm,
    .eb-container .eb-message + form.form-horizontal,
    .eb-message + form#adminForm,
    .eb-message + form.form-horizontal,
    .eb-message + form.eb-form {
        border-radius: 0 0 10px 10px !important;
        margin-top: 0 !important;
        padding-top: 8px !important;
    }

    #eb-individual-registration-page .form-control-label,
    #eb-group-registration-page .form-control-label,
    .eb-container form.form-horizontal .form-control-label {
        margin-bottom: 4px !important;
    }

    /* Violette Fehler-Popups am Smartphone rechtsbündig im Formular halten */
    #adminForm .formError,
    .formError {
        left: auto !important;
        right: 10px !important;
        max-width: calc(100vw - 40px) !important;
        pointer-events: none !important;
    }

    #adminForm .formError .formErrorArrow,
    .formError .formErrorArrow {
        margin-left: auto !important;
        margin-right: 20px !important;
    }

    #adminForm .form-actions .btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   8. FLOATING SPENDEN-BUTTON & MODUL-TITEL FIX (ANALOG ZU WWW2)
   ========================================================================== */

/* 8 A) Modultitel für den Spendenbutton auf event2 unterdrücken */
.sticky-desktop h3,
.sticky-desktop .sp-module-title,
#sp-debug h3,
#sp-debug .sp-module-title,
.mod-sppagebuilder:has(.btn-jetzt-spenden) h3,
.mod-sppagebuilder:has(.btn-jetzt-spenden) .sp-module-title {
    display: none !important;
}

/* 8 B) Schwebender Kreis-Button (Werte aus www2) */
.btn-jetzt-spenden {
    position: fixed !important;
    bottom: 30px !important;
    right: 50px !important;
    z-index: 99999 !important;
    width: 150px;
    height: 150px;
    background-color: #D10066;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-jetzt-spenden:hover {
    transform: scale(1.06);
    background-color: #a8004c;
    color: #ffffff !important;
}

/* 8 C) Mobile Ansicht */
@media (max-width: 767.98px) {
    .btn-jetzt-spenden {
        width: 120px;
        height: 120px;
        font-size: 12px;
        bottom: 20px !important;
        right: 20px !important;
    }
}
