/* 网站地图：sitemap / sitemap2 */
.hke-sitemap-page {
    background: #fff;
    min-height: 50vh;
}

.hke-sitemap-body {
    padding: 0 0 48px;
}

.hke-sitemap-home-portal {
    margin: 8px 0 24px;
    padding: 16px 18px 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hke-sitemap-home-portal + .hke-sitemap-home-portal {
    margin-top: 0;
}

.hke-sitemap-home-portal__title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid var(--hke-primary, #2968b5);
}

.hke-sitemap-home-portal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hke-sitemap-home-portal__links a {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    text-decoration: none;
}

.hke-sitemap-home-portal__links a:hover {
    color: var(--hke-primary, #2968b5);
}

.hke-sitemap-result-wrap {
    margin: 12px 0 20px;
}

.hke-sitemap-result-wrap[hidden] {
    display: none !important;
}

.hke-sitemap-result {
    position: relative;
    margin: 0;
    padding: 12px 40px 12px 16px;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
    background: #f7fafc;
    border: 1px solid #e3edf5;
    border-radius: 6px;
}

.hke-sitemap-result strong {
    margin: 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--hke-primary, #2968b5);
}

.hke-sitemap-result__kw {
    margin: 0 4px;
    font-weight: 600;
    color: #222;
}

.hke-sitemap-result--empty {
    color: var(--hke-text-muted, #888);
    background: #fff9f9;
    border-color: #f0e0e0;
}

.hke-sitemap-result__clear {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #e02424;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.hke-sitemap-result__clear:hover {
    color: #c41e1e;
    background: rgba(224, 36, 36, 0.1);
}

.hke-sitemap-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hke-sitemap-block--hidden {
    display: none !important;
}

.hke-sitemap-mega {
    margin: 0 0 28px;
    padding: 16px 18px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hke-sitemap-mega__heading {
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid var(--hke-primary, #2968b5);
}

.hke-sitemap-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px 24px;
}

.hke-sitemap-mega__col-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.hke-sitemap-mega__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hke-sitemap-mega__links li {
    margin: 0 0 6px;
}

.hke-sitemap-mega__links a {
    font-size: var(--hke-font-small, 13px);
    line-height: 1.45;
    color: #444;
    text-decoration: none;
}

.hke-sitemap-mega__links a:hover {
    color: var(--hke-primary, #2968b5);
}

.hke-sitemap-mega__links--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.hke-sitemap-industry {
    margin-bottom: 28px;
}

.hke-sitemap-industry__heading {
    display: inline-block;
    min-width: 120px;
    margin: 0 0 14px;
    padding: 8px 14px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.hke-sitemap-industry .hke-sitemap-city__groups {
    gap: 5px;
}

.hke-sitemap-city__head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--hke-primary, #2968b5);
}

.hke-sitemap-city__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.hke-sitemap-city__hint {
    margin: 0;
    font-size: var(--hke-font-small, 13px);
    color: var(--hke-text-muted, #888);
}

.hke-sitemap-city__groups {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hke-sitemap-city-group {
    padding: 16px 18px 18px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.hke-sitemap-city-group__title {
    margin: 0 0 12px;
}

.hke-sitemap-city-group__title a,
.hke-sitemap-city-group__title .hke-sitemap-city-group__label {
    display: inline-block;
    max-width: 100%;
    padding: 8px 22px 8px 14px;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    background: var(--hke-zt-sub-block-head-bg, none) no-repeat left center / 100% 100%;
}

.hke-sitemap-city__groups--portal {
    margin-bottom: 5px;
}

.hke-sitemap-city-group__title a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

.hke-sitemap-city-group__subs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hke-sitemap-city-group__sub a {
    display: inline-block;
    max-width: 100%;
    padding: 4px 0;
    font-size: var(--hke-font-small, 13px);
    line-height: 1.45;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hke-sitemap-city-group__sub a:hover {
    color: var(--hke-primary, #2968b5);
}

@media (max-width: 991.98px) {
    .hke-sitemap-city-group__sub {
        width: calc(50% - 8px);
    }

    .hke-sitemap-city-group__sub a {
        white-space: normal;
    }
}

/* 回到顶部（仅网站地图页） */
.hke-sitemap-back-top {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 48px;
    height: 48px;
    padding: 6px 4px;
    border: 1px solid #d8e3f0;
    border-radius: 8px;
    background: #fff;
    color: var(--hke-primary, #2968b5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.hke-sitemap-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hke-sitemap-back-top:hover {
    background: var(--hke-primary, #2968b5);
    color: #fff;
    border-color: var(--hke-primary, #2968b5);
}

.hke-sitemap-back-top__label {
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
}

.hke-sitemap-back-top i {
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .hke-sitemap-back-top {
        right: 14px;
        bottom: 72px;
        width: 44px;
        height: 44px;
    }
}
