/* TVFL Upcoming Events Shortcode */

.tvfl-upcoming-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tvfl-event-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.tvfl-event-item:last-child {
    border-bottom: none;
}

/* Date block */
.tvfl-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 52px;
    padding: 6px 8px;
    background-color: var(--e-global-color-primary);
    border-radius: 4px;
    line-height: 1.2;
}

.tvfl-event-date-day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.tvfl-event-date-month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Info block */
.tvfl-event-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.tvfl-event-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--e-global-color-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tvfl-event-place {
    display: block;
    font-size: 13px;
    color: rgba(224, 224, 224, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tablet */
@media (max-width: 1024px) {
    .tvfl-event-item {
        gap: 10px;
        padding: 8px 0;
    }

    .tvfl-event-date {
        min-width: 46px;
        padding: 5px 6px;
    }

    .tvfl-event-date-day {
        font-size: 18px;
    }

    .tvfl-event-date-month {
        font-size: 10px;
    }

    .tvfl-event-name {
        font-size: 14px;
    }

    .tvfl-event-place {
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tvfl-event-item {
        gap: 8px;
        padding: 6px 0;
    }

    .tvfl-event-date {
        min-width: 40px;
        padding: 4px 6px;
    }

    .tvfl-event-date-day {
        font-size: 16px;
    }

    .tvfl-event-date-month {
        font-size: 9px;
    }

    .tvfl-event-name {
        font-size: 13px;
    }

    .tvfl-event-place {
        font-size: 11px;
    }
}
