/* ============ START CUSTOM EVENTS V21 ============ */
#home #view-events .events-e7 {
    --custom-events-v21-shadow: 0px 4px 10px 4px rgba(0, 0, 0, 0.1);
    --custom-events-v21-box-radius: 10px;
    --custom-events-v21-date-radius: 10px;
    --custom-events-v21-date-w: 128px;
    --custom-events-v21-date-h: 112px;
    --custom-events-v21-offset-x: 50px;
    --custom-events-v21-offset-y: 37px;
    --custom-events-v21-gap: 64px;

    .events-info {
        container-type: inline-size;
    }

    .events-card {
        position: relative;
        display: block;
        padding: var(--custom-events-v21-offset-y) 0 0;
        margin: 0 0 var(--custom-events-v21-gap);
        background: none;
        border: 0;
        box-shadow: none;

        &:last-child {
            margin-bottom: 0;
        }

        .events-date {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: var(--custom-events-v21-date-w);
            height: var(--custom-events-v21-date-h);
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: var(--custom-border-radius, var(--custom-events-v21-date-radius));

            &::before {
                display: none;
            }

            .month,
            .date-number {
                color: inherit;
                line-height: 1;
                margin: 0;
            }

            .month {
                font-size: 28px;
                font-weight: 700;
                text-transform: uppercase;
            }

            .date-number {
                font-size: 48px;
                font-weight: 800;
            }
        }

        .events-description {
            margin: 0 0 0 var(--custom-events-v21-offset-x);
            min-height: calc(var(--custom-events-v21-date-h) - var(--custom-events-v21-offset-y) + 24px);
            padding: 24px 24px 24px calc(var(--custom-events-v21-date-w) - var(--custom-events-v21-offset-x) + 24px);
            border: 0;
            border-radius: var(--custom-events-v21-box-radius);
            box-shadow: var(--custom-events-v21-shadow);
        }

        .events-title {
            display: block;
            font-size: 24px;
            font-weight: 400;
            line-height: 1.3;
            text-decoration: none;

            &:hover,
            &:focus-visible {
                text-decoration: underline;
            }
        }

        .events-time,
        .events-location {
            margin: 10px 0 0;
            font-size: 15px;
            font-weight: 400;
            line-height: 1.45;
        }

        .event-tag {
            margin-top: 10px;
        }
    }

    @container (max-width: 400px) {
        .events-card {
            --custom-events-v21-date-w: 84px;
            --custom-events-v21-date-h: 80px;
            --custom-events-v21-offset-x: 28px;
            --custom-events-v21-offset-y: 26px;
            margin-bottom: 40px;

            .events-date {
                .month {
                    font-size: 20px;
                }

                .date-number {
                    font-size: 34px;
                }
            }

            .events-description {
                padding: 18px 16px 18px calc(var(--custom-events-v21-date-w) - var(--custom-events-v21-offset-x) + 16px);
            }

            .events-title {
                font-size: 19px;
            }

            .events-time,
            .events-location {
                font-size: 14px;
            }
        }
    }

    @container (max-width: 260px) {
        .events-card .events-description {
            margin-left: 0;
            padding: calc(var(--custom-events-v21-date-h) - var(--custom-events-v21-offset-y) + 14px) 16px 18px;
        }
    }
}

/* ============ END CUSTOM EVENTS V21 ============ */