/* Sitemapa — obsah pod prémiovým hero */

.sitemap-page {
    --sitemap-green: var(--fl-green-primary);
    --sitemap-dark: #0f172a;
    --sitemap-muted: #64748b;
    --sitemap-border: rgba(148, 163, 184, 0.18);
}

.sitemap-page .cr-hero {
    margin-bottom: 1.35rem;
}

.sitemap-page .sp-intro {
    margin-bottom: 2rem;
}

.sitemap-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 1.5rem;
}

.sitemap-summary-card {
    min-height: 118px;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(0, 155, 58, 0.06);
    border: 1px solid rgba(0, 155, 58, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sitemap-summary-card strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1;
    font-weight: 900;
    color: var(--sitemap-green);
    margin-bottom: 0.5rem;
}

.sitemap-summary-card span {
    color: var(--sitemap-muted);
    line-height: 1.5;
    font-size: 0.84rem;
    font-weight: 700;
}

.sitemap-section {
    padding-bottom: 2rem;
}

.sitemap-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sitemap-topbar h2 {
    margin: 0;
    color: var(--sitemap-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.sitemap-topbar p {
    margin: 0.6rem 0 0;
    color: var(--sitemap-muted);
    line-height: 1.75;
    max-width: 760px;
}

.sitemap-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.sitemap-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sitemap-border);
    color: var(--sitemap-dark);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 20px 34px -30px rgba(15, 23, 42, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sitemap-action:hover {
    transform: translateY(-2px);
    color: var(--sitemap-dark);
    border-color: rgba(22, 163, 74, 0.22);
    box-shadow: 0 24px 38px -28px rgba(15, 23, 42, 0.3);
}

.sitemap-grid {
    display: grid;
    gap: 26px;
}

.sitemap-group {
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--sitemap-border);
    box-shadow: 0 32px 60px -44px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}

.sitemap-group-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 1.75rem 1.75rem 1.4rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.sitemap-group-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.sitemap-group-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 163, 74, 0.08);
    color: var(--sitemap-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sitemap-group-title h3 {
    margin: 0;
    color: var(--sitemap-dark);
    font-size: 1.55rem;
    font-weight: 900;
}

.sitemap-group-desc {
    margin: 0;
    color: var(--sitemap-muted);
    line-height: 1.7;
    max-width: 760px;
}

.sitemap-group-count {
    display: inline-flex;
    align-items: center;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sitemap-border);
    color: var(--sitemap-dark);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 1.5rem;
}

.sitemap-link-card {
    display: block;
    height: 100%;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sitemap-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 163, 74, 0.2);
    box-shadow: 0 26px 38px -28px rgba(15, 23, 42, 0.22);
}

.sitemap-link-topline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.sitemap-link-title {
    color: var(--sitemap-dark);
    font-size: 1.02rem;
    font-weight: 900;
}

.sitemap-link-path {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 100%;
    color: var(--sitemap-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.sitemap-link-desc {
    margin: 0;
    color: var(--sitemap-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.sitemap-link-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.95rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sitemap-empty {
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    color: var(--sitemap-muted);
}

@media (max-width: 991px) {
    .sitemap-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sitemap-summary {
        grid-template-columns: 1fr;
    }

    .sitemap-group-head,
    .sitemap-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .sitemap-group,
    .sitemap-link-card {
        border-radius: 24px;
    }

    .sitemap-action {
        width: 100%;
        justify-content: center;
    }
}
