.tp-events-grid,
.tp-events-grid * {
    box-sizing: border-box;
}

.tp-events-grid {
    --tp-date-color: #a2c1c5;
    --tp-accent: #BEF443;
    --tp-ink: #12272b;
    --tp-text: #111111;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

.tp-event-card {
    min-width: 0;
    text-align: center;
    font-family: inherit;
}

.tp-event-date {
    min-height: 186px;
    border: 3px solid var(--tp-ink);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px 14px;
    background: transparent;
}

.tp-event-day {
    color: var(--tp-date-color);
    font-size: clamp(58px, 5.7vw, 82px);
    line-height: .8;
    font-weight: 300;
    letter-spacing: -4px;
}

.tp-event-month {
    margin-top: 12px;
    color: var(--tp-date-color);
    font-size: clamp(26px, 2.3vw, 35px);
    line-height: 1;
    font-weight: 300;
    text-transform: uppercase;
}

.tp-event-title {
    margin: 15px auto 10px !important;
    padding: 0 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-text);
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    text-align: center;
}

.tp-event-divider {
    height: 2px;
    width: calc(100% - 22px);
    margin: 0 auto 10px;
    background: var(--tp-accent);
}

.tp-event-area {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 0 20px;
    color: #707070;
    text-align: left;
}

.tp-event-icon {
    width: 30px;
    height: 38px;
    flex: 0 0 30px;
    object-fit: contain;
    display: block;
}

.tp-event-area-name {
    font-size: 17px;
    line-height: 1.05;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .tp-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .tp-event-date {
        min-height: 180px;
    }

    .tp-event-day {
        font-size: 74px;
    }

    .tp-event-month {
        font-size: 31px;
    }
}

@media (max-width: 620px) {
    .tp-events-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tp-event-card {
        max-width: 420px;
        width: 100%;
        margin-inline: auto;
    }

    .tp-event-date {
        min-height: 170px;
        border-radius: 24px;
    }

    .tp-event-day {
        font-size: 72px;
    }

    .tp-event-month {
        font-size: 30px;
    }

    .tp-event-title {
        min-height: auto;
        font-size: 18px !important;
    }

    .tp-event-area {
        justify-content: center;
        padding: 0 14px;
        text-align: left;
    }
}
