/* Event Cards Styles */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin: 0 auto;
}

.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.event-card-link:hover {
    transform: translateY(-5px);
}

.rounded--s {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pill-date-container {
    display: flex;
    flex-direction: row;
    background-color: inherit;
    align-items: center;
    padding: 12px;
    justify-content: space-between;
}

.pill-dark {
    background: #007bff;
    color: #008cff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: clamp(0.75rem, 1.5vw, 1.1rem);
}

.time-container {
    font-size: clamp(0.75rem, 1.5vw, 1.1rem);
}

.event-image-container {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.event-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,255,0.15), rgba(0,0,255,0.15));
    z-index: 1;
}

.event-image {
    width: 100%;
    object-fit: cover;
}

.card-title {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
}

.headline {
    font-size: clamp(1.25rem, 2vw, 2.3rem);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.text-block.text--m {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #666;
    line-height: 1.5;
}

.text-block.text--s {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    color: #888;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.location-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    color: #ffffff; 
}

.date-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    color: #ffffff;
}

/* Responsive breakpoints */
@media (max-width: 1280px) {
    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    }
}

@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .rounded--s {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.75rem;
    }

    .pill-date-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .headline {
        font-size: 1.25rem;
    }

    .text-block.text--m {
        font-size: 0.875rem;
    }

    .text-block.text--s {
        font-size: 0.75rem;
    }
}

/* Speakers Carousel Styles */
.speakers-carousel {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

.speakers-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    padding: 0 1rem;
}

.speaker-card {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.speaker-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    filter: grayscale(1);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.speaker-designation {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff00;
    color: #ffffff;
    border: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.carousel-control:hover {
    background: #f0f0f0;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

/* Responsive styles for speakers carousel */
@media (max-width: 1280px) {
    .speaker-card {
        width: 180px;
    }
    
    .speaker-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 992px) {
    .speaker-card {
        width: 160px;
    }
    
    .speaker-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .speaker-card {
        width: 140px;
    }
    
    .speaker-image {
        width: 140px;
        height: 140px;
    }
    
    .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        width: 120px;
    }
    
    .speaker-image {
        width: 120px;
        height: 120px;
    }
    
    .carousel-control {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
} 