/* SMBC Event Carousel Styles */
.smbc-date-event-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow:
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.06);
    background-color: #444;
    color: white;
    width: calc(100% / 6);
    min-width: 150px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.smbc-date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    min-width: 60px;
}

.smbc-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.smbc-date-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.smbc-date-time {
    font-size: 0.625rem;
    color: #ccc;
}

.smbc-event-description-section {
    flex-grow: 1;
    padding-left: 0.75rem;
    border-left: 1px solid #555;
}

.smbc-event-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.smbc-carousel-container {
    position: relative;
    width: 100%;
    /*max-width: 1200px;*/
    overflow: hidden;
    margin: 20px auto;
}

.smbc-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    scroll-snap-type: x mandatory;
    gap: 1rem;
}

.smbc-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.smbc-carousel-button:hover:not(:disabled) {
    opacity: 1;
}

.smbc-carousel-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.smbc-carousel-prev {
    left: 10px;
}

.smbc-carousel-next {
    right: 10px;
}

.smbc-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 20px;
}

.smbc-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.smbc-pagination-dot.active {
    background-color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .smbc-date-event-card {
        width: calc((100% - (3 * 1rem)) / 4);
    }
}

@media (max-width: 768px) {
    .smbc-date-event-card {
        width: calc((100% - (2 * 1rem)) / 3);
    }
}

@media (max-width: 640px) {
    .smbc-date-event-card {
        width: calc((100% - (1 * 1rem)) / 2);
    }
    .smbc-carousel-button {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 480px) {
    .smbc-date-event-card {
        width: 100%;
    }
    .smbc-date-section {
        min-width: 80px;
    }
}
