/* assets/css/pages/sin-slavy.css */

/* Statistiky a sdílení */
.stats-share-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-top: var(--space-md);
    position: relative;
    overflow: hidden;
}

.stats-share-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-md);
}

.stats-share-header .stats-logo {
    height: 48px;
    width: auto;
}

.stats-share-header h2 {
    margin: 0;
    font-size: var(--text-xl);
    color: var(--color-text);
}

.stats-share-header p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.share-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.share-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #ffffff;
    background: #10241e;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
}

.share-card span {
    margin-bottom: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.62);
}

.share-card strong {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.05;
}

.share-card p {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.76);
}

@media (max-width: 900px) {
    .stats-grid,
    .share-card-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 10px;
    padding: 24px;
    text-align: left;
}

.stat-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold-10);
    border: 1px solid rgba(184, 148, 58, 0.22);
    border-radius: 50%;
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.stat-card h3 {
    margin: 0 0 var(--space-sm) 0;
    font-size: var(--text-md);
    color: var(--text);
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.stat-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: var(--text-sm);
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
.stat-list li:last-child {
    border-bottom: none;
}

.stat-list strong {
    font-weight: 500;
    color: var(--text);
}

.stat-list span {
    color: var(--gold);
    white-space: nowrap;
}

/* Filtr a seznam */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: flex-end;
    background: #ffffff;
    padding: var(--space-md);
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.results-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-md);
    padding: 9px 14px;
    color: var(--text);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.results-count strong {
    color: var(--green-dark);
}

.active-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: -2px 0 14px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.active-filters__label {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    color: #f5f7f8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #0f5340;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

.hall-table-wrap {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 10px;
    backdrop-filter: blur(10px) saturate(1.06);
}

.hall-table {
    width: 100%;
    border-collapse: collapse;
}

.hall-table th,
.hall-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.hall-table th {
    color: var(--text3);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.72);
}

.hall-table td {
    color: var(--text);
    font-size: 15px;
}

.hall-table tbody tr:last-child td {
    border-bottom: 0;
}

.hall-table tbody tr:hover {
    background: rgba(38, 128, 104, 0.06);
}

.hall-full-link {
    margin-top: 22px;
}

.hall-list-page .section-intro {
    margin-bottom: 24px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.pagination-info {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

@media (max-width: 860px) {
    .hall-table thead {
        display: none;
    }

    .hall-table,
    .hall-table tbody,
    .hall-table tr,
    .hall-table td {
        display: block;
        width: 100%;
    }

    .hall-table tr {
        padding: 10px 14px;
        border-bottom: 1px solid var(--border);
    }

    .hall-table tbody tr:last-child {
        border-bottom: 0;
    }

    .hall-table td {
        padding: 6px 0;
        border: 0;
        display: flex;
        justify-content: space-between;
        gap: 14px;
    }

    .hall-table td::before {
        content: attr(data-label);
        color: var(--text3);
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
    }
}
