.louder-events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.event-date-box {
    text-align: center;
    /* width: 85px; */
    display: flex;
    flex-direction: column;
    flex: 0 0 60px;
}

.event-date-box .month {
    text-transform: uppercase;
    font-family: "Proxima Nova", sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.8px;
    color: #2f2f33;
    background: #e0e0e0;
    padding: 5px;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-date-box .day {
    color: #2f2f33;
    text-align: center;
    font-family: "Kazimir Text", serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 103%;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 8px;
    /* min-width: 55px; */
}

.event-content {
    padding: 20px;
    padding-top: 0;
    flex-grow: 1;
}

.event-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 0;
}

.event-type-label {
    display: inline-block;
    padding: 4px 12px;
    color: #fff;
    font-family: "Proxima Nova", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--loud-secondary-color);
}

.virtual-badge {
    display: inline-block;
    padding: 4px 12px;
    color: #fff;
    font-family: "Proxima Nova", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--loud-primary-color);
}

.event-title {
    margin: 0 0 10px 0;
    color: var(--loud-headings-color) !important;
    font-family: "Kazimir Text", serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 103%;
}

.event-title a {
    color: var(--loud-headings-color) !important;
    text-decoration: none;
}

.event-title a:hover {
    color: var(--loud-headings-color);
}

.event-time {
    color: #8b919b;
    font-family: "Proxima Nova", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 15px;
}

.event-excerpt {
    color: #666;
    font-family: "Proxima Nova", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.events-pagination {
    margin-top: 30px;
    text-align: center;
}

/* Font face declarations - you'll need to add these files to your theme */
@font-face {
    font-family: "KazimirText";
    src: url("../fonts/KazimirText-Regular.woff2") format("woff2"),
        url("../fonts/KazimirText-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("../fonts/ProximaNova-Regular.woff2") format("woff2"),
        url("../fonts/ProximaNova-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("../fonts/ProximaNova-Medium.woff2") format("woff2"),
        url("../fonts/ProximaNova-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("../fonts/ProximaNova-Bold.woff2") format("woff2"),
        url("../fonts/ProximaNova-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .event-card {
        flex-direction: row;
        align-items: flex-start;
    }

    /* .event-date-box {
        width: 70px;
    } */

    .event-date-box .day {
        font-size: 24px;
        padding: 8px 6px;
        /* min-width: 45px; */
    }

    .event-content {
        padding: 15px;
        padding-top: 0;
    }

    .event-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .event-excerpt {
        font-size: 14px;
        line-height: 1.4;
    }

    .event-time {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .event-card {
        flex-direction: row;
    }

    /* .event-date-box {
        width: 60px;
    } */

    .event-date-box .day {
        font-size: 22px;
        /* min-width: 40px; */
    }

    .event-content {
        padding: 12px;
        padding-top: 0;
    }

    .event-title {
        font-size: 18px;
    }

    .event-labels {
        gap: 6px;
        margin-bottom: 8px;
    }

    .event-type-label,
    .virtual-badge {
        padding: 3px 8px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .event-time {
        font-size: 11px;
    }
}
