/* Sitemap page specific styles */

.sitemap-wrap {
    background: #f5f5f5;
    border: 1px solid #d7d7d7;
    padding: 18px;
    margin-bottom: 10px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sitemap-page-title {
    font-size: 1.9rem;
    line-height: 1.2;
    color: #222222;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 16px;
    font-family: inherit;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    overflow: hidden;
}

.sitemap-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    min-width: 0;
    overflow: hidden;
}

.sitemap-card-title {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 700;
    padding: 12px 14px;
    margin: 0;
    font-family: inherit;
}

.sitemap-links {
    margin: 0;
    padding: 8px 14px 12px;
    list-style: none;
    columns: 2;
    column-gap: 26px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sitemap-links li {
    break-inside: avoid;
    border-bottom: 1px dotted #cfcfcf;
    margin: 0 0 7px;
    padding: 0 0 7px;
    overflow-wrap: anywhere;
}

.sitemap-links li:last-child {
    margin-bottom: 0;
}

.sitemap-links a {
    display: block;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #2c2c2c;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: inherit;
    overflow-wrap: anywhere;
}

.sitemap-links a::before {
    content: "\00BB";
    color: #c40000;
    font-size: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.sitemap-links a:hover {
    color: #aa092f;
}

.zox-dark .sitemap-wrap {
    background: #191919;
    border-color: #2f2f2f;
}

.zox-dark .sitemap-page-title {
    color: #f3f3f3;
}

.zox-dark .sitemap-card {
    background: #202020;
    border-color: #353535;
}

.zox-dark .sitemap-links li {
    border-bottom-color: #3c3c3c;
}

.zox-dark .sitemap-links a {
    color: #e6e6e6;
}

.zox-dark .sitemap-links a:hover {
    color: #ff7a9a;
}

.zox-dark .sitemap-links a::before {
    color: #ff6b6b;
}

.sitemap-card.is-blue .sitemap-card-title {
    background: #3f6ca7;
}

.sitemap-card.is-green .sitemap-card-title {
    background: #0da63a;
}

.sitemap-card.is-orange .sitemap-card-title {
    background: #ea993f;
}

.sitemap-card.is-red .sitemap-card-title {
    background: #be2a4f;
}

.sitemap-card.is-purple .sitemap-card-title {
    background: #8c36a0;
}

.sitemap-card.is-lime .sitemap-card-title {
    background: #08a837;
}

.sitemap-card.is-indigo .sitemap-card-title {
    background: #5965c4;
}

@media (max-width: 1003px) {
    .sitemap-wrap {
        padding: 12px;
    }

    .sitemap-page-title {
        font-size: 1.6rem;
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-links {
        columns: 1;
        column-gap: 0;
    }

    .sitemap-card-title {
        font-size: 1rem;
    }

    .sitemap-links a {
        font-size: 0.92rem;
    }
}

@media (max-width: 767px) {
    .sitemap-wrap {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        padding: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .sitemap-page-title {
        font-size: 1.35rem;
        margin-bottom: 12px;
        word-break: break-word;
    }

    .sitemap-grid {
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }

    .sitemap-card {
        width: 100%;
        max-width: 100%;
    }

    .sitemap-card-title {
        font-size: 0.95rem;
        padding: 10px 12px;
        word-break: break-word;
    }

    .sitemap-links {
        padding: 8px 12px 10px;
        width: 100%;
        max-width: 100%;
    }

    .sitemap-links li {
        margin-bottom: 6px;
        padding-bottom: 6px;
        word-break: break-word;
    }

    .sitemap-links a {
        font-size: 0.88rem;
        line-height: 1.45;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .sitemap-wrap {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        padding: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .mvp-main-box {
        margin-left: -2px
    }

    #nav-breadcrumb {
        margin-left: 7px;
    }

    .sitemap-page-title {
        font-size: 1.2rem;
        word-break: break-word;
    }

    .sitemap-grid {
        width: 100%;
    }

    .sitemap-card {
        max-width: 100%;
    }

    .sitemap-card-title {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .sitemap-links {
        max-width: 100%;
    }

    .sitemap-links a {
        font-size: 0.84rem;
        word-break: break-word;
    }
}