/* Wrapper */
.tebc-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 0px;
}

/* Header */
.tebc-header {
    text-align: center;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 700;
    color: #001F3F;
    margin-bottom: 20px;
}

/* Carousel container */
.tebc-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel */
.tebc-events-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding: 10px 5px;
}
.tebc-events-carousel:active {
    cursor: grabbing;
}

.tebc-events-carousel::-webkit-scrollbar {
    display: none;
}

/* Event Card */
.tebc-event-card {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #001F3F;
    color: white;
    text-align: left;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tebc-event-card:hover {
    transform: scale(1.05);
}

.tebc-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Event Info */
.tebc-card-info {
    padding: 15px;
    background-color: #001F3F;
    color: #FFD700;
}

.tebc-card-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.tebc-card-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #ffffffcc;
}

/* Arrows */
.tebc-carousel-btn {
    display: none; /* Start hidden */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    z-index: 20;
    transition: opacity 0.3s ease;
}


.tebc-carousel-btn.faded {
    opacity: 0.2;
    pointer-events: none;
}

.tebc-carousel-btn:hover {
    opacity: 1;
}

.tebc-prev {
    left: 5px;
}

.tebc-next {
    right: 5px;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .tebc-event-card {
        width: 160px;
    }

    .tebc-card-info h3 {
        font-size: 16px;
    }

    .tebc-card-info p {
        font-size: 13px;
    }
}
.tebc-events-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.tebc-events-carousel:active {
    cursor: grabbing;
}
