/* Pulsierende Ladefläche für die Mitgliederliste */
.ajax-processing {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--wp--preset--color--neutral);
    border-radius: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.wp-block-uec-events-list .wp-block-columns.wp-container-core-columns-is-layout-28232c24.is-layout-flex {
    gap: 0 !important;
}

.wp-block-button.is-style-cancel .wp-block-button__link:hover {
    background-color: #919191 !important;
    text-decoration: none;
}

.wp-block-uec-event-details__modal {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: rgba(19, 47, 85, .95) !important;
    color: var(--wp--preset--color--base);
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: none;
}

/* Slide in when explicitly entering */
.wp-block-uec-event-details__modal.enter {
    transform: translateX(0);
}

/* Slide out when closing class is present */
.wp-block-uec-event-details__modal.closing {
    transform: translateX(100%);
}

.wp-block-uec-event-details__modal header {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: var(--wp--preset--spacing--70);
    margin-bottom: var(--wp--preset--spacing--30);
    display: flex;
    justify-content: end;
}

.wp-block-uec-event-details__modal header .modal-close-button {
    cursor: pointer;
}

.wp-block-uec-event-details__modal header .modal-close-button:hover .has-secondary-background-color {
    background-color: #9F160A !important;
}

.wp-block-events-details__message {
    position: relative;
}

.wp-block-events-details__message .message-dismiss {
    position: absolute;
    top: 0;
    bottom: 0;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
}

.wp-block-events-details__message .message-dismiss:hover {
    opacity: .65;
}

.wp-block-uec-event-details__modal article {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--wp--preset--spacing--40);
}

.wp-block-uec-event-details__modal .wp-block-button.is-style-cta .wp-block-button__link {
    position: relative;
    transition: all 0.3s ease;
    background: none;
    color: var(--wp--preset--color--base);
    padding: 0;
    padding-right: 0px;
    padding-right: 2em;
}

.wp-block-uec-event-details__modal .wp-block-button.is-style-cta .wp-block-button__link::after {
    position: absolute;
    top: 50%;
    right: 0.5em;
    z-index: 1;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    content: '\f178';
    transform: translate(0, -50%);
    transition: all 0.3s ease;
}

.wp-block-uec-event-details__modal .wp-block-button.is-style-cta .wp-block-button__link:hover::after {
    transform: translate(0.5em, -50%);
    transition: all 0.3s ease;
}

.wp-block-uec-event-details__modal .wp-block-button.is-style-cta .wp-block-button__link[target="_blank"]::after {
    content: '\f08e';
    font-weight: 600;
}

.wp-block-uec-event-details__modal .wp-block-button.is-style-cta .wp-block-button__link[target="_blank"]:hover::after {
    transform: translate(0, -50%) scale(1.1);
}

.wp-container-core-group-is-layout-92b9201d > * + * {
    margin-block-start: var(--wp--preset--spacing--30) !important;
    margin-block-end: 0 !important;
}

.wp-container-core-group-is-layout-32724b1b > * + *,
.wp-container-core-group-is-layout-5f5c486e > * + * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.wp-container-core-group-is-layout-d0921e6e {
    align-items: flex-start !important;
}

/* Scroll-Lock wenn Modal geöffnet ist */
body.modal-open {
    overflow: hidden;
}

/* Gallery Slider */
.wp-block-ueberseeclub-gallery-slider {}

/* Minimal Swiper Layout CSS (falls Swiper CSS nicht geladen ist) */
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.swiper-slide img {
    margin: 0 auto;
}

.wp-block-ueberseeclub-gallery-slider__swiper .wp-element-caption {
    font-size: var(--wp--preset--font-size--small);
    margin-top: 1em;
}

.wp-block-ueberseeclub-gallery-slider__button {
    all: unset;
    cursor: pointer;
    width: 1.8em;
    height: 1.8em;
    background: var(--wp--preset--color--secondary);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--wp--preset--font-size--large);
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translate(0, -50%);
}

.wp-block-ueberseeclub-gallery-slider__button[disabled] {
    visibility: hidden;
}

.wp-block-ueberseeclub-gallery-slider__button:hover {
    outline: 2px solid var(--wp--preset--color--permalink);
    outline-offset: 2px;
}

.wp-block-ueberseeclub-gallery-slider__button.prev {
    left: 0;
}

.wp-block-ueberseeclub-gallery-slider__button.next {
    right: 0;
}

.wp-block-ueberseeclub-gallery-slider__pagination button {
    all: unset;
    cursor: pointer;
    border: 3px solid transparent;
}

.wp-block-ueberseeclub-gallery-slider__pagination button:hover,
.wp-block-ueberseeclub-gallery-slider__pagination button:focus-visible {
    box-shadow: 0 0 0 3px var(--wp--preset--color--secondary);
}

.wp-block-ueberseeclub-gallery-slider__pagination .active {
    box-shadow: 0 0 0 3px var(--wp--preset--color--tertiary);
}

.wp-container-core-group-is-layout-1a47906f {
    grid-template-columns: repeat(auto-fill, minmax(min(7rem, 100%), 1fr));
    container-type: inline-size;
}

.wp-container-core-group-is-layout-fc054d2d {
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--30) !important;
}

.wp-container-core-buttons-is-layout-62fb7275 {
    margin-block-start: var(--wp--preset--spacing--50) !important;
    gap: 0.5em var(--wp--preset--spacing--50) !important;
}

.wp-container-core-columns-is-layout-b0157a5b {
    flex-wrap: nowrap !important;
    gap: 0 0 !important;
}