/* =========================================================
   SITEMAP PAGE
   与全站保持统一风格：蓝色主色 + 卡片化布局
   ========================================================= */

/* ---------- Page Hero ---------- */
.sitemap-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 41, 89, 0.35) 0%, rgba(28, 78, 142, 0.30) 100%),
        radial-gradient(circle at 80% 20%, rgba(86, 158, 240, 0.15) 0%, transparent 55%),
        url("/assets/imgs/sitemap/banner.jpg") center / cover no-repeat,
        #0d2959;
    overflow: hidden;
}

.sitemap-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sitemap-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 70px 20px;
}

.sitemap-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 14px 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.sitemap-hero p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
}

/* ---------- Breadcrumbs ---------- */
.sitemap-hero .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.sitemap-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.sitemap-hero .breadcrumbs a:hover {
    color: #fff;
}

.sitemap-hero .bc-divider {
    font-size: 10px;
    opacity: 0.7;
}

.sitemap-hero .bc-current {
    color: #fff;
    font-weight: 500;
}

/* ---------- Sitemap Body ---------- */
.sitemap-section {
    padding: 70px 0 90px;
    background: #f6f8fb;
}

.sitemap-intro {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.sitemap-intro h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0d2959;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

.sitemap-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6478;
    margin: 0;
}

/* ---------- Sitemap Group Card ---------- */
.sitemap-group {
    background: #fff;
    border-radius: 14px;
    padding: 30px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(13, 41, 89, 0.06);
    border: 1px solid #ebeff5;
    transition: box-shadow 0.25s, transform 0.25s;
}

.sitemap-group:hover {
    box-shadow: 0 8px 28px rgba(13, 41, 89, 0.1);
}

.sitemap-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eef1f6;
}

.sitemap-group-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1c4e8e 0%, #2c6cc7 100%);
    color: #fff;
    font-size: 20px;
}

.sitemap-group-title {
    flex: 1;
}

.sitemap-group-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d2959;
    margin: 0 0 4px;
}

.sitemap-group-title span {
    font-size: 13px;
    color: #8895ab;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sitemap-count {
    font-size: 13px;
    color: #6b7a91;
    background: #eef3fb;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- Sitemap Links Grid ---------- */
.sitemap-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-links li {
    margin: 0;
}

.sitemap-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #2a3956;
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: 1px solid transparent;
}

.sitemap-links a::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2c6cc7;
    font-size: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sitemap-links a:hover {
    background: #f3f7fd;
    color: #1c4e8e;
    border-color: #e1ebf7;
}

.sitemap-links a:hover::before {
    transform: translateX(3px);
    color: #1c4e8e;
}

/* ---------- Featured / Parent links inside subcategory ---------- */
.sitemap-sublist {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sitemap-sublist li {
    margin: 0;
}

.sitemap-sublist a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f7fd;
    color: #1c4e8e;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #dde7f4;
    transition: background 0.2s, color 0.2s;
}

.sitemap-sublist a:hover {
    background: #1c4e8e;
    color: #fff;
}

.sitemap-sublist-label {
    display: block;
    font-size: 12px;
    color: #8895ab;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .sitemap-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sitemap-hero h1 {
        font-size: 30px;
    }
    .sitemap-hero p {
        font-size: 15px;
    }
    .sitemap-section {
        padding: 50px 0 70px;
    }
    .sitemap-group {
        padding: 22px 20px;
    }
    .sitemap-group-header {
        flex-wrap: wrap;
    }
    .sitemap-links {
        grid-template-columns: 1fr;
    }
    .sitemap-intro h2 {
        font-size: 24px;
    }
}
