    .events-page {
        padding: 30px 0;
    }
    .events-page-header h1 {
        font-size: 32px;
        color: var(--text-primary);
        margin-bottom: 16px;
    }
    .events-filters {
        background: var(--bg-card);
        padding: 20px;
        border-radius: 16px;
        box-shadow: var(--shadow);
        margin-bottom: 20px;
    }
    .filter-form {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-end;
    }
    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 150px;
    }
    .filter-group label {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-secondary);
    }
    .filter-group select {
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--bg-input);
        color: var(--text-primary);
        font-size: 14px;
    }
    .btn-filter {
        padding: 8px 24px;
        background: var(--gradient-main);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        height: 40px;
    }
    .btn-filter:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }
    .btn-filter-reset {
        padding: 8px 20px;
        background: var(--bg-hover);
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        height: 40px;
        display: flex;
        align-items: center;
    }
    .btn-filter-reset:hover {
        background: var(--border-color);
    }
    .events-count {
        font-size: 14px;
        color: var(--text-muted);
        padding: 8px 0;
    }
    .events-count strong {
        color: var(--text-primary);
    }
    .events-sort {
        margin-left: 12px;
    }
    .events-sort a {
        color: var(--color-primary-text);
        text-decoration: none;
        font-weight: 600;
    }
    .events-sort a:hover {
        text-decoration: underline;
    }
    .events-sort-map {
        float: right;
        color: var(--color-primary-text);
        text-decoration: none;
        font-weight: 600;
    }
    .events-sort-map:hover {
        text-decoration: underline;
    }

    /* ===== СОВРЕМЕННЫЕ КАРТОЧКИ ===== */
    .events-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }

    .event-card-modern {
        background: var(--bg-card);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        display: flex;
        flex-direction: column;
    }
    .event-card-modern:hover {
        border-color: var(--border-color);
        box-shadow: var(--shadow-hover);
    }

    .event-card-image {
        position: relative;
        height: 200px;
        overflow: hidden;
        background: var(--bg-hover);
        flex-shrink: 0;
    }
    .event-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .event-card-image img {
        transform: none;
    }

    .event-card-badges {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        gap: 6px;
        flex-direction: column;
        align-items: flex-end;
    }

    .event-card-body {
        padding: 18px 20px 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .event-card-category {
        margin-bottom: 6px;
    }
    .category-tag {
        display: inline-block;
        padding: 2px 12px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        background: var(--tag-bg);
        color: var(--tag-color);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .event-card-title {
        font-size: 19px;
        font-weight: 650;
        color: var(--text-primary);
        margin: 0 0 8px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .event-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 14px;
    }
    .event-card-meta i {
        margin-right: 4px;
        color: var(--color-primary-text);
        width: 14px;
    }

    .event-card-footer {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px solid var(--border-light);
        flex-wrap: wrap;
    }

    .event-card-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
    }
    .price-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        font-weight: 600;
    }
    .price-value {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-primary-text);
        line-height: 1.1;
    }

    .event-card-tickets {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 12px;
        border-left: 1px solid var(--border-light);
        border-right: 1px solid var(--border-light);
    }
    .tickets-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        font-weight: 600;
    }
    .tickets-value {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.1;
    }
    .tickets-value.low {
        color: var(--toast-error);
    }

    .btn-detail {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 36px;
        padding: 0 14px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        background: transparent;
        color: var(--text-primary);
        text-decoration: none;
        transition: background-color 0.15s ease, border-color 0.15s ease;
        border: 1px solid var(--border-color);
        cursor: pointer;
        margin-left: auto;
        white-space: nowrap;
    }
    .btn-detail:hover {
        background: var(--bg-hover);
        border-color: var(--text-muted);
        color: var(--text-primary);
        transform: none;
        box-shadow: none;
    }

    .empty-state {
        text-align: center;
        padding: 60px 20px;
        grid-column: 1 / -1;
    }
    .empty-state i {
        font-size: 48px;
        color: var(--text-muted);
        margin-bottom: 15px;
    }
    .empty-state h3 {
        font-size: 24px;
        color: var(--text-primary);
        margin-bottom: 10px;
    }
    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: 20px;
    }
    .empty-state .btn-primary {
        display: inline-block;
    }

    @media (max-width: 768px) {
        .events-grid {
            grid-template-columns: 1fr;
        }
        .event-card-footer {
            flex-wrap: wrap;
        }
        .event-card-tickets {
            border-left: none;
            border-right: none;
            padding: 0 8px;
        }
        .btn-detail {
            margin-left: 0;
            width: 100%;
            justify-content: center;
        }
        .filter-form {
            flex-direction: column;
        }
        .filter-group {
            min-width: 100%;
        }
        .events-page-header h1 {
            font-size: 28px;
        }
        .events-filters {
            padding: 16px;
        }
        .btn-filter, .btn-filter-reset {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .event-card-title {
            font-size: 18px;
        }
        .price-value {
            font-size: 20px;
        }
        .tickets-value {
            font-size: 18px;
        }
        .event-card-footer {
            flex-direction: column;
            align-items: stretch;
        }
        .event-card-price {
            align-items: center;
        }
        .event-card-tickets {
            border-left: none;
            border-right: none;
            padding: 4px 0;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }
    }
    .filter-form {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 12px;
    }
    .filter-group--search { flex: 1 1 220px; }
    .filter-group--dates { flex: 0 1 190px; }
    .filter-dates { position: relative; }
    .filter-dates > summary {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 40px;
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: var(--bg-card);
        color: var(--text-secondary);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        list-style: none;
        width: 100%;
        justify-content: space-between;
    }
    .filter-dates > summary::-webkit-details-marker { display: none; }
    .filter-dates > summary::after { content: "\25BE"; font-size: 11px; color: var(--text-muted); }
    .filter-dates[open] > summary { border-color: var(--color-primary-text); }
    .filter-dates__fields {
        position: absolute;
        z-index: 30;
        top: calc(100% + 6px);
        left: 0;
        display: flex;
        gap: 8px;
        padding: 12px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: var(--shadow-heavy);
    }
    .filter-dates__field { display: flex; flex-direction: column; gap: 4px; }
    .filter-dates__field label { font-size: 11px; color: var(--text-muted); font-weight: 600; }
    .filter-dates__field input { min-width: 140px; }
    .filter-group--price { flex: 0 1 170px; }
    .filter-price-row { display: flex; gap: 6px; }
    .filter-price-row input { width: 100%; min-width: 0; }
    .filter-actions { display: flex; gap: 8px; margin-left: auto; }
    .filter-form input[type="search"],
    .filter-form input[type="date"],
    .filter-form input[type="number"] {
        width: 100%;
        min-height: 40px;
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: var(--bg-card);
        color: var(--text-primary);
    }
    .events-empty {
        margin: 28px 0;
        padding: 56px 24px;
        text-align: center;
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: 20px;
    }
    .events-empty-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--bg-hover);
        color: var(--color-primary);
        font-size: 26px;
    }
    .events-empty h2 { margin: 0 0 8px; font-size: 22px; }
    .events-empty p { margin: 0 auto 20px; max-width: 460px; color: var(--text-secondary); }
    .pagination {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: 28px 0 8px;
    }
    .pagination-link {
        min-width: 40px;
        min-height: 40px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        color: var(--text-primary);
        text-decoration: none;
        background: var(--bg-card);
    }
    .pagination-link.is-active { background: var(--gradient-main); color: #fff; border-color: transparent; }
    .pagination-gap { color: var(--text-muted); padding: 0 4px; }
    @media (max-width: 768px) {
        .filter-form { flex-direction: column; align-items: stretch; }
        .filter-actions { margin-left: 0; }
        .filter-actions .btn-filter, .filter-actions .btn-filter-reset { flex: 1; }
        .filter-group--date, .filter-group--price, .filter-group--search { flex: 1 1 auto; }
    }
    /* Сетка фильтров: 12 колонок, поля не прыгают между строками. */
    .events-page .filter-form {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 12px;
        align-items: end;
    }
    .events-page .filter-group { min-width: 0; }
    .events-page .filter-group--search { grid-column: span 6; }
    .events-page .filter-group:nth-of-type(2),
    .events-page .filter-group:nth-of-type(3),
    .events-page .filter-group:nth-of-type(4) { grid-column: span 2; }
    .events-page .filter-group--date { grid-column: span 2; }
    .events-page .filter-group--price { grid-column: span 4; }
    .events-page .filter-actions { grid-column: span 4; margin-left: 0; }
    .events-page .filter-actions .btn-filter,
    .events-page .filter-actions .btn-filter-reset { flex: 1; }
    @media (max-width: 900px) {
        .events-page .filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .events-page .filter-group--search,
        .events-page .filter-group:nth-of-type(2),
        .events-page .filter-group:nth-of-type(3),
        .events-page .filter-group:nth-of-type(4),
        .events-page .filter-group--date,
        .events-page .filter-group--price,
        .events-page .filter-actions { grid-column: span 1; }
        .events-page .filter-group--search,
        .events-page .filter-group--price,
        .events-page .filter-actions { grid-column: span 2; }
        .events-page .filter-group:nth-of-type(4) { grid-column: span 2; }
    }
