﻿/* =========================================================
   EVENTS VISIBILITY
========================================================= */

.today_events_count_0 .today_events {
    display: none;
}

.today_events_count_1 .today_events,
.today_events_count_2 .today_events {
    display: block;
}

/* =========================================================
   EVENT
========================================================= */

.today_event {
    inline-size: 100%;
    padding: var(--space_2);
}

    .today_event:first-child:not(:only-child) {
        padding-bottom: 0;
    }

.today_event_secondary {
    height: 50%;
}

/* =========================================================
   DATE
========================================================= */

.today_event_date {
    display: flex;
    justify-content: flex-start;
}

/* =========================================================
   CONTENT
========================================================= */

.today_event_content {
    font-family: var(--font_BovinoLight);
}

    .today_event_content h4 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

/* =========================================================
   MORE BUTTON
========================================================= */

.today_event_more {
    display: flex;
    justify-content: flex-end;
}

    .today_event_more button {
        cursor: pointer;
    }

@media (max-width: 1024px) {
    .today_event {
        display:none;
    }
}

