/* Arama ile gizlenen etkinlik kartları */
.event-list-item.event-search-hidden {
    display: none !important;
}

/* Kompakt etkinlik arama / filtre çubuğu */
.event-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    background: #f8f9fb;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.event-filter-search {
    flex: 0 1 220px;
    min-width: 160px;
    max-width: 280px;
}

.event-filter-search .input-group-text {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    background: #fff;
    border-color: #dee2e6;
    color: #6c757d;
}

.event-filter-search .form-control {
    font-size: 0.8125rem;
    padding: 0.3rem 0.55rem;
    border-color: #dee2e6;
    height: calc(1.5em + 0.5rem + 2px);
}

.event-filter-search .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.event-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.event-filter-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #868e96;
    margin-right: 2px;
    white-space: nowrap;
}

.event-filter-pill {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    color: #495057;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50rem;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.event-filter-pill:hover {
    color: #0d6efd;
    border-color: #b6d4fe;
    background: #f0f6ff;
}

.event-filter-pill.active {
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.event-filter-pill.active-secondary {
    color: #fff;
    background: #6c757d;
    border-color: #6c757d;
}

.event-filter-submit {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    line-height: 1.4;
}

.event-filter-select {
    font-size: 0.8125rem;
    padding: 0.3rem 0.55rem;
    max-width: 160px;
    height: calc(1.5em + 0.5rem + 2px);
}

/* Sayfalama — Tüm Etkinlikler */
.site-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8ecef;
}

.site-pagination-info {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.site-pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #333;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.site-pagination-btn:hover:not(.disabled):not(.active) {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #333;
    text-decoration: none;
}

.site-pagination-btn.active {
    background: var(--anarenk, #e30917);
    border-color: var(--anarenk, #e30917);
    color: #fff;
}

.site-pagination-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.site-pagination-ellipsis {
    padding: 0 0.25rem;
    color: #6c757d;
}

@media (max-width: 576px) {
    .event-filter-bar {
        padding: 8px 10px;
        gap: 8px;
    }

    .event-filter-search {
        flex: 1 1 100%;
        max-width: none;
    }

    .site-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .site-pagination-list {
        justify-content: center;
    }
}
