/* Events Slider Block Styles */
.events-slider-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0D0D0D;
    transition: background-image 0.6s ease-in-out;
}

.events-slider-wrapper {
    margin-bottom: 40px;
}

.events-slider-container {
    position: relative;
    z-index: 2;
    max-width: 460px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 900px;
}

.events-slider-indexes {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.events-slider-indexes span {
    background: #0D0D0D;
    color: #F2EEE6;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
    padding: 8px 20px;
    /* Set dimensions to match SVG mask */
    width: 92px;
    height: 20px;
    /* Center text within the span */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Use SVG as mask for semi-circular edges */
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='92' height='20' viewBox='0 0 92 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M46 0V20H10.8562C10.412 20 10.052 19.6419 10.052 19.2V10C10.052 4.47716 5.5517 0 0 0L46 0Z' fill='%230D0D0D'/%3E%3Cpath d='M46 0V20H81.1438C81.588 20 81.948 19.6419 81.948 19.2V10C81.948 4.47716 86.4483 0 92 0L46 0Z' fill='%230D0D0D'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg width='92' height='20' viewBox='0 0 92 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M46 0V20H10.8562C10.412 20 10.052 19.6419 10.052 19.2V10C10.052 4.47716 5.5517 0 0 0L46 0Z' fill='%230D0D0D'/%3E%3Cpath d='M46 0V20H81.1438C81.588 20 81.948 19.6419 81.948 19.2V10C81.948 4.47716 86.4483 0 92 0L46 0Z' fill='%230D0D0D'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.event-slide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-slide-card-inner {
    background-color: #F2EEE6;
    border-radius: 2px;
    padding: 5px;
    margin-bottom: 5px;
}

.event-slide-title {
    color: #0D0D0D;
    font-family: var(--font-primary);
    font-size: 44px;
    font-weight: 400;
    line-height: 90%;
    margin: 0;
    padding: 75px 23px 40px;
    text-transform: uppercase;
    text-align: center;
}

.event-slide-title .line-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-slide-thumbnail {
    position: relative;
    border-radius: 2px;
    height: 240px;
}

.event-slide-thumbnail-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: 400;
    line-height: 100%;
    color: #0D0D0D;
    text-transform: uppercase;
}

.event-slide-thumbnail-label .overlay-tag {
    --overlay-tag-bg-color: #F2EEE6;
    --overlay-tag-text-color: #0D0D0D;
}

.event-slide-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.events-slider-navigation {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.events-slider-navigation .prev,
.events-slider-navigation .next {
    background-color: #F2EEE6;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

.events-slider-navigation .prev[disabled],
.events-slider-navigation .next[disabled] {
    opacity: .7;
    pointer-events: none;
}

.events-slider-block .swiper-notification {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .events-slider-block {
        padding: 0 20px;
    }

    .events-slider-container {
        min-height: 840px;
    }

    .event-slide-title {
        font-size: 38px;
        padding: 56px 15px 30px;
    }

    .event-slide-thumbnail {
        height: 220px;
    }
}
