.sitemap-page {
    background: #fff;
}

.sitemap-hero {
    background: linear-gradient(180deg, #f7f9fb 0%, #edf2f6 100%);
    border-top: 1px solid #dce4ea;
    border-bottom: 1px solid #dce4ea;
    padding: 1.45rem 0 1.55rem;
}

.sitemap-filter-card {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.sitemap-filter-wrap {
    position: relative;
}

.sitemap-filter-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7a87;
}

.sitemap-filter-input {
    height: 54px;
    border-radius: 14px;
    padding-left: 2.8rem;
    border-color: #cfd8df;
    box-shadow: none;
}

.sitemap-filter-input:focus {
    border-color: #0f6f2f;
    box-shadow: 0 0 0 3px rgba(15, 111, 47, .12);
}

.sitemap-filter-help {
    margin: .65rem 0 0;
    color: #62717f;
    font-size: .92rem;
}

.sitemap-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: .8rem;
    margin-top: 1rem;
}

.sitemap-stat-card {
    padding: .95rem 1rem;
    border-radius: 16px;
}

.sitemap-stat-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f6f2f;
    line-height: 1;
}

.sitemap-stat-label {
    display: block;
    margin-top: .3rem;
    color: #5f6d79;
    font-size: .93rem;
    font-weight: 600;
}

.sitemap-section {
    padding-top: 1.75rem;
    padding-bottom: .35rem;
}

.sitemap-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sitemap-section-kicker {
    margin: 0 0 .2rem;
    color: #0f6f2f;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sitemap-section-title {
    margin: 0;
    color: #17384d;
    font-size: 1.45rem;
    font-weight: 800;
}

.sitemap-section-count {
    color: #62717f;
    font-size: .92rem;
    font-weight: 700;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.sitemap-card {
    border-radius: 18px;
    padding: 1rem 1rem 1.05rem;
}

.sitemap-card-head {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.sitemap-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff7f1;
    color: #0f6f2f;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sitemap-card-copy {
    min-width: 0;
}

.sitemap-card-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
}

.sitemap-card-title a {
    color: #17384d;
    text-decoration: none;
}

.sitemap-card-title a:hover {
    color: #0f6f2f;
}

.sitemap-details-card {
    padding: 0;
    overflow: hidden;
}

.sitemap-details-card > summary {
    list-style: none;
}

.sitemap-details-card > summary::-webkit-details-marker {
    display: none;
}

.sitemap-details-summary {
    cursor: pointer;
    padding: 1rem 1rem 1.05rem;
    align-items: center;
}

.sitemap-details-summary:hover {
    background: #f9fbf9;
}

.sitemap-details-indicator {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #f6faf7;
    color: #0f6f2f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
}

.sitemap-details-indicator i {
    transition: transform .18s ease;
}

details[open] .sitemap-details-indicator i {
    transform: rotate(180deg);
}

.sitemap-details-body {
    padding: 0 1rem 1rem;
}

.sitemap-details-root-link {
    display: inline-flex;
    margin: 0 0 .85rem;
    color: #0f6f2f;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.sitemap-details-root-link:hover {
    text-decoration: underline;
}

.sitemap-plain-card {
    display: flex;
    flex-direction: column;
}

.sitemap-card-list,
.sitemap-quick-list {
    list-style: none;
    padding: 0;
    margin: .95rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .55rem;
}

.sitemap-card-list a,
.sitemap-quick-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid #dfe8e2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f9fbf9 100%);
    color: #24303b;
    text-decoration: none;
    padding: .72rem .82rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.sitemap-card-list a:hover,
.sitemap-quick-list a:hover {
    border-color: #0f6f2f;
    background: #f4fbf6;
    box-shadow: 0 6px 16px rgba(15, 111, 47, .08);
    transform: translateY(-1px);
}

.sitemap-card-link-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sitemap-card-link-copy strong {
    font-size: .95rem;
    line-height: 1.25;
    font-weight: 700;
}

.sitemap-card-link-copy small {
    margin-top: .15rem;
    color: #667785;
    font-size: .82rem;
    line-height: 1.35;
}

.sitemap-card-more,
.sitemap-card-empty {
    margin-top: .85rem;
    padding: .82rem .9rem;
    border-radius: 12px;
    background: #f8fafb;
    color: #667785;
    font-size: .9rem;
    line-height: 1.45;
}

.sitemap-card-more {
    background: #f4fbf6;
    color: #1f5a34;
    font-weight: 700;
}

.sitemap-quick-card .sitemap-quick-list a {
    background: #fff;
}

.sitemap-legacy-children {
    list-style: none;
    padding: 0;
    margin: .9rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .65rem;
}

.sitemap-legacy-item {
    margin: 0;
}

.sitemap-legacy-link {
    display: flex;
    align-items: center;
    border: 1px solid #dfe8e2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f9fbf9 100%);
    color: #24303b;
    text-decoration: none;
    padding: .72rem .82rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.sitemap-legacy-link:hover {
    border-color: #0f6f2f;
    background: #f4fbf6;
    box-shadow: 0 6px 16px rgba(15, 111, 47, .08);
    transform: translateY(-1px);
}

.sitemap-legacy-root-link {
    font-weight: 800;
}

.sitemap-legacy-node {
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f9fbf9 100%);
    padding: 0;
    overflow: hidden;
}

.sitemap-legacy-node > summary {
    list-style: none;
}

.sitemap-legacy-node > summary::-webkit-details-marker {
    display: none;
}

.sitemap-legacy-summary {
    display: flex;
    align-items: center;
    gap: .65rem;
    cursor: pointer;
    padding: .72rem .82rem;
}

.sitemap-legacy-summary:hover {
    background: #f4fbf6;
}

.sitemap-legacy-title {
    flex: 1 1 auto;
    color: #24303b;
    font-weight: 700;
}

.sitemap-legacy-panel {
    padding-left: .9rem;
    border-left: 2px solid #e5ece7;
    margin: .6rem .8rem .8rem 1rem;
}

.sitemap-legacy-panel > .sitemap-legacy-children {
    margin-top: 0;
}

.sitemap-empty {
    padding: 1rem 0 2.5rem;
    color: #5f6d79;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

@media (max-width: 991.98px) {
    .sitemap-section-head {
        align-items: start;
        flex-direction: column;
    }
}
