.wh-events-holder.wh-target-width-medium-large .wh-width-target {
    max-width: 1090px;
}

.wh-events-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wh-event-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    transition: opacity 0.3s ease;
}

.wh-event-card.wh-hidden-event {
    display: none;
}

/* Desktop layout: image left, content right */
@media (min-width: 768px) {
    .wh-event-card {
        flex-direction: row;
        gap: 30px;
    }
    
    .wh-event-image {
        width: 48%;
    }
    
    .wh-event-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}

.wh-event-image a {
    display: block;
    line-height: 0;
    padding-bottom: 56.6%;
}

.wh-event-image img {
    transition: transform 0.3s ease;
}

.wh-event-image a:hover img {
    transform: scale(1.05);
}

/* Event Title */
.wh-event-title {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.3;
}

.wh-event-title a {
    color: #1A1A1A;
    text-decoration: none;
}

.wh-event-title a:hover {
    color: var(--wh-color-capri-blue);
}

/* Event Date Badges */
.wh-event-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.wh-event-date-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #E3F2FD; /* Light blue background */
    color: #1565C0; /* Dark blue text */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Alternate badge color for variety */
.wh-event-date-badge:nth-child(even) {
    background: #E8F5E9; /* Light green background */
    color: #2E7D32; /* Dark green text */
}

.wh-event-date-badge:nth-child(3n) {
    background: #FFF3E0; /* Light orange background */
    color: #E65100; /* Dark orange text */
}
