.flip-events-list {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;

    .flip-events-filters {
        display: flex;
        flex-direction: column;
        gap: 32px;
        background: #E0E7F0;
        padding: 32px;
        border-radius: 1rem;
        position: sticky;
        border: 1px solid rgba(0, 118, 255, 0.10);
        top: 150px;
    }

    .flip-events-filter-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 32px;
        border-bottom: 1px solid rgba(0, 118, 255, 0.20);

        &:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }
    }

    .flip-events-filter-title {
        font-weight: 700;
        font-size: 20px;
        color: #1A2638;
    }

    .flip-events-filter-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .flip-events-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 2px 16px;
        border-radius: 999px;
        border: 1px solid rgba(120, 128, 144, 0.40);
        background: #F4F5F5;
        color: #1A2638;
        font-size: 13px;
        line-height: 1.2;
        cursor: pointer;
        transition: all .3s ease;

        &:hover:not(.is-active) {
            background: rgba(0, 118, 255, 0.10);
            border: 1px solid rgba(0, 118, 255, 0.20);
            color: #0076FF;
        }

        &.is-active {
            background: #0076FF;
            color: #fff;

            &::before {
                content: "";
                width: 12px;
                height: 12px;
                background: currentColor;
                mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
                -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
            }
        }
    }

    .flip-events-content {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .flip-events-section {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .flip-events-section-title {
        font-family: 'DM Serif Display', Georgia, serif;
        font-size: 1.75rem;
        font-weight: 400;
        margin: 0;
        color: #1A2638;
    }

    .flip-events-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .flip-events-card {
        background: #FAFAF8;
        border-radius: 16px;
        border: 1px solid rgba(0, 118, 255, 0.10);
        padding: 32px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 180px;
        transition: all .3s ease;

        &[hidden] {
            display: none;
        }

        &:hover {
            background: #C2D5EB;
        }

        .flip-events-card__badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .flip-events-card__type,
        .flip-events-card__tag {
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 500;
            border-radius: 999px;
            line-height: 150%;
        }

        .flip-events-card__type {
            background: #ECEDEE;
            color: #0076FF;
        }

        .flip-events-card__tag {
            background: #F1F2F4;
            color: #1A2638;
        }

        .flip-events-card__title {
            font-family: 'DM Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: #1A2638;
            line-height: 1.3;
            margin: 0;
            flex: 1;

            a {
                color: inherit;
                text-decoration: none;
            }
        }

        .flip-events-card__date {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            font-size: 13px;
            color: #0076FF;
            margin: 0;
        }

        .flip-events-card__cta {
            color: #0076FF;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            align-self: flex-start;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .flip-events-empty {
        grid-column: 1 / -1;
        padding: 2rem;
        text-align: center;
        color: #6B7280;
        background: #F5F8FB;
        border-radius: 1rem;
        margin: 0;
    }
}

@media (max-width: 1200px) {
    .flip-events-list {
        .flip-events-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
}

@media (max-width: 980px) {
    .flip-events-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;

        .flip-events-filters {
            position: static;
        }
    }
}

@media (max-width: 600px) {
    .flip-events-list {
        .flip-events-grid {
            grid-template-columns: 1fr;
        }
    }
}