.sitemap-shell {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 0 20px;
}

.sitemap-hero {
    background: radial-gradient(circle at top, #db2777, #be185d);
    color: white;
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.18);
    overflow: hidden;
    position: relative;
}

.sitemap-hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    background: rgba(255,255,255,0.08);
    filter: blur(120px);
    top: -220px;
    right: -120px;
}

.sitemap-hero > div {
    position: relative;
    z-index: 1;
}

.sitemap-kicker {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
    color: white;
    margin: 0 0 8px;
}

.sitemap-hero h1 {
    color: white !important;
    margin: 0 0 10px;
    font-size: 2.6rem;
}

.sitemap-hero p {
    margin: 0;
    max-width: 760px;
    color: white;
    line-height: 1.7;
    font-size: 1.04rem;
}

.sitemap-panel {
    background: white;
    border-radius: 26px;
    padding: 28px;
    margin-top: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.07);
}

.sitemap-search-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #fdf2f8, #ffffff);
    border: 1px solid #fbcfe8;
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 20px;
}

.sitemap-search-input {
    position: relative;
}

.sitemap-search-input i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #be185d;
}

.sitemap-search-input input {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid #fbcfe8;
    background: white;
    color: #111827;
    padding: 0 18px 0 48px;
    font-size: 0.98rem;
    font-weight: 700;
    outline: none;
}

.sitemap-search-input input:focus {
    border-color: #be185d;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.08);
}

.sitemap-search-card button,
.clear-search {
    min-height: 52px;
    border-radius: 999px;
    padding: 0 22px;
    border: none;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sitemap-search-card button {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(190, 24, 93, 0.18);
}

.clear-search {
    background: white;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.sitemap-category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    margin-bottom: 20px;
}

.sitemap-category-strip a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #4b5563;
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sitemap-category-strip a span {
    background: white;
    color: #be185d;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.78rem;
}

.sitemap-category-strip a.active,
.sitemap-category-strip a:hover {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
}

.sitemap-category-strip a.active span,
.sitemap-category-strip a:hover span {
    color: #be185d;
}

.sitemap-results-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.sitemap-results-top h2 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.75rem;
}

.sitemap-results-top p {
    margin: 0;
    color: #6b7280;
}

.sitemap-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sitemap-result-card {
    position: relative;
    display: block;
    background: linear-gradient(135deg, #ffffff, #fffafb);
    border: 1px solid #edf2f7;
    border-radius: 22px;
    padding: 20px 44px 20px 20px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sitemap-result-card::after {
    content: "›";
    position: absolute;
    right: 18px;
    top: 22px;
    color: #be185d;
    font-size: 1.5rem;
    line-height: 1;
}

.sitemap-result-card:hover {
    transform: translateY(-3px);
    border-color: #fbcfe8;
    box-shadow: 0 18px 38px rgba(0,0,0,0.08);
}

.result-category {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #fce7f3;
    border: 1px solid #fbcfe8;
    color: #be185d;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 900;
}

.sitemap-result-card strong {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    margin-bottom: 7px;
    line-height: 1.35;
}

.sitemap-result-card small {
    display: block;
    color: #6b7280;
    line-height: 1.55;
    word-break: break-word;
}

.sitemap-empty {
    text-align: center;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 22px;
    padding: 34px;
}

.sitemap-empty i {
    color: #be185d;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.sitemap-empty h3 {
    margin: 0 0 8px;
    color: #111827;
}

.sitemap-empty p {
    margin: 0;
    color: #6b7280;
}

.sitemap-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.sitemap-pagination a,
.sitemap-pagination span {
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #be185d;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sitemap-pagination span {
    color: #9ca3af;
}

.sitemap-pagination a.active,
.sitemap-pagination a:hover {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
}

.pagination-control {
    padding: 0 18px !important;
}

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

    .sitemap-search-card button,
    .clear-search {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sitemap-shell {
        padding: 0 14px;
        margin-top: 20px;
    }

    .sitemap-hero {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .sitemap-hero h1 {
        font-size: 2rem;
    }

    .sitemap-panel {
        padding: 20px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .sitemap-hero h1 {
        font-size: 1.8rem;
    }

    .sitemap-search-card,
    .sitemap-result-card,
    .sitemap-empty {
        padding: 18px;
        border-radius: 18px;
    }

    .sitemap-result-card {
        padding-right: 40px;
    }

    .sitemap-pagination {
        gap: 6px;
    }

    .sitemap-pagination a,
    .sitemap-pagination span {
        min-width: 38px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .pagination-control {
        min-width: 92px !important;
    }
}