/* -------------------------------------
   Suchsektion & Event-Grid
-------------------------------------- */
.ek-search-section {
    margin-bottom: 40px;
    max-width: 830px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

.ek-search-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.ek-search-section form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    position: relative;
    flex-direction: row;
}

.ek-search-section input[type="text"] {
    flex: 1 1 250px;
    padding: 19px!important;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    min-height: 10px!important;
}

.ek-search-section #ek_reset_date_filter,
.ek-search-section #ek_event_search_button,
.ek-search-section .search-form-main button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#ek_event_search_button{
    border-radius: 30px!important;
}

.ek-search-section #ek_reset_date_filter:hover {
    background-color: #333!important;
}

.ek-search-section a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
}

.ek-search-section a:hover {
    text-decoration: underline;
}

.ek-month-scroller, .ek-tax-filter{
    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    -ms-overflow-style: none;
}

.ek-tax-filter button.active{
    background: #332E2E!important;
    color: #ffffff;
}

.ek-tax-filter {
    overflow-y: hidden;
    overflow-x: hidden;
}

/* Event Grid */
.ek-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

/* Event Card */
.ek-event-card {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ek-event-card-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-event-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.ek-event-card-content {
    padding: 20px;
    text-align: left;
}

.ek-event-card-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.ek-event-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ek-event-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
}

.ek-event-button:hover {
    background-color: #005f8a;
}

/* Badges */
.ek-event-badges {
    display: flex;
    gap: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-direction: column;
    width: 100%;
}

.ek-badge {
    color: black;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 20px;
    justify-content: center;
    width: max-content;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 5px;
}

.ek-badge p{
 margin: 0px;
}

.ek-badge-icon {
    max-width: 16px!important;
    margin-right: 4px;
}

.ek-badge-default {
    background-color: #999;
}

/* Single-Event-Details */
.ek-single-event-details {
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.ek-single-event-details p {
    margin: 5px 0;
}

.ek-single-event-details ul {
    margin: 0 0 10px 20px;
    list-style-type: disc;
}

/* Filter */
.ek-month-scroller, .ek-tax-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 10px 0;
    overflow: scroll;
    font-weight: bold;
    font-size: 12px;
}

.ek-month-scroller{
    overflow: scroll;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
}

.ek-month-box, .ek-tax-filter button {
    flex: 0 0 auto;
    background: #eee;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100px;
    width: 80px;
    border-bottom: 3px solid #edf8ff;
}

.ek-month-box:hover, .ek-tax-filter button:hover {
    background-color: #332E2E!important;
    color: #fff!important;
}

.ek-month-box:hover svg{
    fill: #ffffff;
}

.ek-month-scroller .ek-month-box.active{
    background-color: #332E2E!important;
    color: #fff!important;
    fill: #fff;
}

.ek-month-box.active, .ek-tax-filter button.active {
    background: #ccc;
    font-weight: bold;
}

.ek-month-box.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ek-month-box svg{
    min-height: 14px;
}

.ek_reset_date_filter{
    color: var(--text-global-text-base, #332e2e);
}
.ek_reset_date_filter:focus,
.ek_reset_date_filter:hover{
    color: #FCF5F2;
}

/* Pagination */
#ek_pagination {
    margin-top: 20px;
}

.ek-pagination-button {
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    background: #eee;
    border: none;
    border-radius: 4px;
    margin-top: 12px;
}

/* "Alle Veranstaltungen" Button */
.ek-show-all-events {
    text-align: center;
    margin-top: 30px;
}

.ek-show-all-events a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.ek-show-all-events a:hover {
    background-color: #333;
}

/* -------------------------------------
   Slider (Swiper)
-------------------------------------- */

/* Äußeres Container-Element */
.swiper-container.ek-slider-container {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
}

/* Wrapper ohne extra Abstände */
.swiper-container.ek-slider-container .swiper-wrapper {
    padding: 0;
    gap: 0;
}

/* Jede Slide */
.swiper-container .swiper-slide {
    /* Wenn du eine feste Breite willst: */
    width: 1141px !important;
    min-height: 800px;
    /* Alternativ: max-width statt width, oder responsive anpassen. */
}

/* Overlay-Bereich */
.ek-slide-overlay {
    background-size: cover;
    height: 50%;
}
.ek-slide-overlay img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 500px;
}

/* Inhalt pro Slide */
.ek-slide-content {
    position: relative;
    color: black;
    padding: 2rem;
}

/* -------------------------------------
   Pagination & Navigation
-------------------------------------- */

/* Container für Pagination + Pfeile unten rechts */
.pagination-main-con {
    position: absolute;
    bottom: 132px;
    left: 62%;
    transform: translateX(100px); /* Verschiebt die Pagination nach rechts */
    display: flex;
    align-items: center;
    z-index: 10;
}


/* -------------------------------------
   Pagination-Dots (weiße Kreise, schwarzer Rand)
-------------------------------------- */
.swiper-pagination{
    width: auto!important;
}

.pagination-main-con .swiper-pagination {
    position: static !important;
    display: flex;
    align-items: center;
    margin-right: 15px; /* Abstand zu den Pfeilen */
}

.pagination-main-con .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;      /* Inaktiver Dot: weiß */
    border: 2px solid #000;      /* schwarzer Rand */
    border-radius: 50%;
    opacity: 1;
    margin: 0 4px !important;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Aktiver Dot: schwarz gefüllt */
.pagination-main-con .swiper-pagination-bullet-active {
    background-color: #000;
    border-color: #000;
}

/* -------------------------------------
   Navigation-Pfeile (weiße Kreise, schwarzer Rand)
-------------------------------------- */
.pagination-main-con .swiper-button-prev,
.pagination-main-con .swiper-button-next {
    position: static !important; /* Alle in einer Zeile neben den Dots */
    cursor: pointer;
    margin: 0 5px;
    min-width: 40px;
    height: 40px;
    border: 2px solid #000;
    border-radius: 50%;
    background-color: #fff; /* Weißer Kreis */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important; /* Default-Icon entfernen */
}

/* Größeres Pfeil-Symbol, damit es optisch zentriert wirkt */
.pagination-main-con .swiper-button-prev::after,
.pagination-main-con .swiper-button-next::after {
    content: "" !important;       /* Standard Swiper-Content überschreiben */
    display: block;
    width: 8px;                   /* Breite des Pfeils */
    height: 8px;                  /* Höhe des Pfeils */
    border-top: 2px solid #000;   /* Pfeil-Linien */
    border-right: 2px solid #000;
    background: none !important;
}

/* Linker Pfeil (<) */
.pagination-main-con .swiper-button-prev::after {
    transform: rotate(-135deg);
}

/* Rechter Pfeil (>) */
.pagination-main-con .swiper-button-next::after {
    transform: rotate(45deg);
}

/* Hover-Effekt (optional) */
.pagination-main-con .swiper-button-prev:hover,
.pagination-main-con .swiper-button-next:hover {
    background-color: #f5f5f5;
}

/* -------------------------------------
   Pagination-Dots (weiße Kreise, schwarzer Rand)
-------------------------------------- */
.pagination-main-con .swiper-pagination .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background-color: #fff !important; /* Inaktiver Dot: weiß */
    border: 2px solid #000 !important; /* Schwarzer Rand */
    border-radius: 50% !important;
    opacity: 1 !important;
    margin: 0 2px !important;
    box-shadow: none !important;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Aktiver Dot: genauso groß, aber schwarz gefüllt */
.pagination-main-con .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    width: 16px !important;
    border-radius: 6px !important;
    transition: width 0.3s;
}

.pagination-main-con .swiper-button-prev::after {
    position: relative;
    left: 2px;
}

.pagination-main-con .swiper-button-next::after {
    position: relative;
    right: 2px;
}

.ek-event-badges-event-upgrade{
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.event-detail-search-grid-one .ek-event-badges-event-upgrade{
    flex-direction: row;
}

.ek-event-badges-event-upgrade .ek-badge {
    border-top-right-radius: 5px!important;
    color: white;
    transition: padding 0.3s;
}

.ek-event-badges-event-upgrade .ek-badge:hover {
    padding: 5px 30px;
}



.ek-badge-ausverkauft,
.ek-badge-zusatztermin,
.ek-badge-abgesagt,
.ek-badge-verschoben{
    width: auto;
    text-transform: capitalize;
    /*max-width: max-content; */
    min-width: 75px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.ek-badge-ausverkauft {
    background: #E5A8DE;
    color: var(--text-global-text-base, #332E2E);
}

.ek-badge-zusatztermin {
    background: var(--backgrounds-success-bg-success-strong, #78C95B);
    color: var(--text-button-text-on-success, #1C3314);
}

.ek-badge-abgesagt {
    background: var(--backgrounds-error-bg-error-strong, #B51F29);
    color: var(--text-button-text-on-danger, #FAE1E3);
}

.ek-badge-verschoben {
    background: #FAE571;
    color: var(--text-global-text-base, #332E2E);
}

.ek-month-scroller-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ek-month-scroller {
    display: flex;
    overflow-x: auto;
    /*scroll-behavior: smooth;*/
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
}
.ek-month-scroller::-webkit-scrollbar {
    display: none;
}
.ek-scroll-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}
.ek-scroll-button:focus {
    outline: 2px solid #000;
}
.ek-scroll-button.left {
    z-index: 2;
}
.ek-scroll-button.right {
    z-index: 2;
}

.ek-scroll-button.hidden,
.ek-scroll-button.hidden{
    display: none;
}

.ek-scroll-button.right:before {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    right: -12px;
    z-index: -1;
    height: 50px;
    width: 110px;
    background: linear-gradient(270deg, var(--backgrounds-page-bg-page-body, #FCF5F2) 51.82%, rgba(252, 245, 242, 0.00) 100%);
}

.ek-scroll-button.left:before {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    left: -12px;
    z-index: -1;
    height: 50px;
    width: 110px;
    background: linear-gradient(90deg, var(--backgrounds-page-bg-page-body, #FCF5F2) 51.82%, rgba(252, 245, 242, 0.00) 100%);
}

.ek-month-scroller-wrapper .ek-scroll-button.right:before {
    height: 135px;
    top: -25px;
}

.ek-month-scroller-wrapper .ek-scroll-button.left:before {
    height: 135px;
    top: -25px;
}

@media only screen and (max-width: 600px) {
    .ek-scroll-button.left {
        padding-right: 25px;
    }
    .ek-scroll-button.right {
        padding-left: 25px;
    }
    .ek-month-scroller {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.custom-breadcrumbs-events{
    color: var(--text-global-text-inverse, #FCF5F2)!important;

    /* Desktop/Paragraph/P-sm */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-top: 25px;
    margin: auto;
    max-width: 1120px;
}

.custom-breadcrumbs-events a{
    text-decoration: none!important;
    color: var(--text-global-text-inverse, #FCF5F2)!important;
}

.custom-breadcrumbs-events .active{
    color: var(--text-global-text-inverse, #FCF5F2);
    font-weight: 700;
    line-height: 20px; /* 142.857% */
    text-decoration: none;
}




.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
    font-size: 14px;
    text-decoration: none;
    transform: translateY(-100%);
    transition: transform .2s ease-in-out;
}
.skip-link:focus {
    transform: translateY(0);
}
.skip-links {
    position: relative;
}
.skip-to-search-wrapper {
    margin-bottom: 4px;
}
.skip-link.small {
    padding: 4px 8px;
    font-size: 12px;
    position: static;
    transform: none;
    display: inline-block;
    background: #333;
    border-radius: 4px;
    margin-right: 8px;
}





/* loader overlay */
.ek-loader-overlay {
    margin-top: 0px;
    margin-bottom: 0px;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page-body, FFFFFF99);
    z-index: 500;
}

/* spinner */
.ek-spinner {
    width: 32px;
    height: 32px;
    border: 4px solid rgba(0,0,0,0.1);
    border-top-color: #332E2E; /* gleiche Farbe wie andere Icons */
    border-radius: 50%;
    animation: ek-spin .8s linear infinite;
}

@keyframes ek-spin {
    to { transform: rotate(360deg); }
}

.ek-month-scroller,
.ek-tax-filter {                  /* die eigentlichen Laufleisten */
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scroll-behavior: smooth;        /* sanftes Scrollen */
}

.ek-month-scroller.dragging,
.ek-tax-filter.dragging {
    cursor: grabbing;
}

.dragging         { cursor: grabbing; }
.no-select        { user-select: none; }