.kb-html-sitemap {
    --sitemap-ink: var(--kc-ink, #10233f);
    --sitemap-text: var(--kc-text, #334155);
    --sitemap-muted: var(--kc-muted, #64748b);
    --sitemap-line: var(--kc-line, #dbe4ef);
    --sitemap-surface: #ffffff;
    --sitemap-blue: var(--kc-blue-700, #0758a8);
    --sitemap-blue-soft: var(--kc-blue-soft, #eaf3ff);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 clamp(56px, 7vw, 96px);
    color: var(--sitemap-text);
    background:
        radial-gradient(circle at 8% 2%, rgba(44, 130, 224, .11), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0, #f4f7fb 32rem, #f8fafc 100%);
}

.kb-html-sitemap:focus {
    outline: none;
}

.kb-html-sitemap .kb-sitemap-shell {
    width: min(calc(100% - 32px), 1200px);
    margin-inline: auto;
}

.kb-html-sitemap .kb-sitemap-hero {
    position: relative;
    order: 1;
    overflow: hidden;
    padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px);
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(74, 168, 255, .34), transparent 24rem),
        linear-gradient(135deg, #071b33 0%, #0b3767 56%, #0758a8 100%);
}

.kb-html-sitemap .kb-sitemap-hero::after {
    position: absolute;
    right: -110px;
    bottom: -190px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, .035),
        0 0 0 108px rgba(255, 255, 255, .025);
    content: "";
    pointer-events: none;
}

.kb-html-sitemap .kb-sitemap-breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(24px, 4vw, 42px);
}

.kb-html-sitemap .kb-sitemap-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .86rem;
}

.kb-html-sitemap .kb-sitemap-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .76);
}

.kb-html-sitemap .kb-sitemap-breadcrumb li + li::before {
    content: "/";
    color: rgba(255, 255, 255, .45);
}

.kb-html-sitemap .kb-sitemap-breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    text-underline-offset: 4px;
}

.kb-html-sitemap .kb-sitemap-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(16px, 3vw, 26px);
    max-width: 850px;
}

.kb-html-sitemap .kb-sitemap-hero__icon {
    width: clamp(54px, 7vw, 76px);
    height: clamp(54px, 7vw, 76px);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    background: rgba(255, 255, 255, .11);
    box-shadow: inset 0 1px rgba(255, 255, 255, .14);
    font-size: clamp(1.65rem, 4vw, 2.3rem);
    backdrop-filter: blur(12px);
}

.kb-html-sitemap .kb-sitemap-eyebrow {
    margin: 0 0 8px;
    color: var(--sitemap-blue);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.kb-html-sitemap .kb-sitemap-hero .kb-sitemap-eyebrow {
    color: #9dd1ff;
}

.kb-html-sitemap .kb-sitemap-hero h1 {
    max-width: 18ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.25rem, 7vw, 4.4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1;
    text-wrap: balance;
}

.kb-html-sitemap .kb-sitemap-intro {
    max-width: 66ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.kb-html-sitemap .kb-sitemap-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 850px;
    margin: clamp(28px, 5vw, 46px) 0 0;
}

.kb-html-sitemap .kb-sitemap-summary > div {
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.kb-html-sitemap .kb-sitemap-summary dt {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, .66);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.kb-html-sitemap .kb-sitemap-summary dd {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.kb-html-sitemap .kb-sitemap-content {
    order: 3;
    padding-top: clamp(28px, 5vw, 56px);
}

.kb-html-sitemap .kb-voice-summary {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
}

.kb-html-sitemap > .kb-voice-summary {
    order: 2;
    width: min(calc(100% - 32px), 1200px);
    margin: clamp(24px, 4vw, 38px) auto 0;
}

.kb-html-sitemap .kb-sitemap-jump-nav {
    margin: 0 0 clamp(26px, 4vw, 42px);
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--sitemap-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 42px rgba(15, 39, 68, .07);
}

.kb-html-sitemap .kb-sitemap-jump-nav > p {
    margin: 0 0 13px;
    color: var(--sitemap-ink);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kb-html-sitemap .kb-sitemap-jump-nav__links {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.kb-html-sitemap .kb-sitemap-jump-nav__links a {
    min-height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #d8e3ef;
    border-radius: 999px;
    color: var(--sitemap-ink);
    background: #f8fbff;
    font-size: .86rem;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    scroll-snap-align: start;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.kb-html-sitemap .kb-sitemap-jump-nav__links a:hover {
    border-color: #8ebcec;
    color: var(--sitemap-blue);
    background: var(--sitemap-blue-soft);
    transform: translateY(-1px);
}

.kb-html-sitemap .kb-sitemap-jump-count {
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #486078;
    background: #e7eef6;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.kb-html-sitemap .categories-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.kb-html-sitemap .category-section {
    --category-accent: #1970c8;
    --category-soft: #edf6ff;
    min-width: 0;
    scroll-margin-top: 110px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--sitemap-line);
    border-top: 4px solid var(--category-accent);
    border-radius: 20px;
    background: var(--sitemap-surface);
    box-shadow: 0 10px 30px rgba(15, 39, 68, .055);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.kb-html-sitemap .category-section:hover {
    border-color: color-mix(in srgb, var(--category-accent) 38%, var(--sitemap-line));
    box-shadow: 0 18px 44px rgba(15, 39, 68, .09);
    transform: translateY(-2px);
}

.kb-html-sitemap .category-section[data-category="apple"] {
    --category-accent: #455267;
    --category-soft: #f2f4f7;
}

.kb-html-sitemap .category-section[data-category="markalar"] {
    --category-accent: #7c3aed;
    --category-soft: #f4efff;
}

.kb-html-sitemap .category-section[data-category="aksesuar"] {
    --category-accent: #b45309;
    --category-soft: #fff6e9;
}

.kb-html-sitemap .category-section[data-category="hizmetler"] {
    --category-accent: #0f766e;
    --category-soft: #eaf9f6;
}

.kb-html-sitemap .category-section[data-category="alisveris"] {
    --category-accent: #16843d;
    --category-soft: #edf9f1;
}

.kb-html-sitemap .category-section[data-category="oyun"] {
    --category-accent: #c026d3;
    --category-soft: #fbeefd;
}

.kb-html-sitemap .category-section[data-category="kurumsal"] {
    --category-accent: #475569;
    --category-soft: #f1f5f9;
}

.kb-html-sitemap .category-section[data-category="blog"] {
    --category-accent: #c2410c;
    --category-soft: #fff1eb;
}

.kb-html-sitemap .category-section[data-category="diger"] {
    --category-accent: #64748b;
    --category-soft: #f1f5f9;
}

.kb-html-sitemap .category-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
    padding: 0 0 17px;
    border-bottom: 1px solid var(--sitemap-line);
}

.kb-html-sitemap .category-icon {
    width: 47px;
    height: 47px;
    display: grid;
    flex: 0 0 47px;
    place-items: center;
    border-radius: 14px;
    background: var(--category-soft);
    font-size: 1.45rem;
}

.kb-html-sitemap .category-title {
    margin: 0;
    color: var(--sitemap-ink);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 820;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.kb-html-sitemap .page-count {
    margin: 4px 0 0;
    color: var(--sitemap-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
}

.kb-html-sitemap .page-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-html-sitemap .page-list li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.kb-html-sitemap .page-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--sitemap-text);
    background: transparent;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.kb-html-sitemap .page-list a:hover {
    border-color: color-mix(in srgb, var(--category-accent) 22%, transparent);
    color: var(--category-accent);
    background: var(--category-soft);
    transform: translateX(2px);
}

.kb-html-sitemap .page-link-arrow {
    flex: 0 0 auto;
    color: var(--category-accent);
    font-size: .94rem;
    opacity: .62;
}

.kb-html-sitemap .kb-sitemap-help {
    display: grid;
    gap: 20px;
    margin-top: clamp(30px, 5vw, 54px);
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid #bcd6f1;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(52, 143, 235, .14), transparent 20rem),
        #eef6ff;
}

.kb-html-sitemap .kb-sitemap-help h2 {
    margin: 0;
    color: var(--sitemap-ink);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: -.025em;
    line-height: 1.2;
}

.kb-html-sitemap .kb-sitemap-help p:not(.kb-sitemap-eyebrow) {
    max-width: 62ch;
    margin: 10px 0 0;
    color: var(--sitemap-muted);
    line-height: 1.65;
}

.kb-html-sitemap .kb-sitemap-help__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.kb-html-sitemap .kb-sitemap-help__actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--sitemap-blue);
    border-radius: 12px;
    color: #fff;
    background: var(--sitemap-blue);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.kb-html-sitemap .kb-sitemap-help__actions a:last-child {
    color: var(--sitemap-blue);
    background: #fff;
}

.kb-html-sitemap .kb-sitemap-help__actions a:hover {
    transform: translateY(-1px);
}

.kb-html-sitemap :is(a, button, input):focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

@media (min-width: 40rem) {
    .kb-html-sitemap .kb-sitemap-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kb-html-sitemap .kb-sitemap-help {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 48rem) {
    .kb-html-sitemap .kb-sitemap-jump-nav__links {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 2px;
        scroll-snap-type: none;
    }

    .kb-html-sitemap .page-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .kb-html-sitemap .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .kb-html-sitemap .category-section--dense {
        grid-column: 1 / -1;
    }

    .kb-html-sitemap .category-section--dense .page-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 31.25rem) {
    .kb-html-sitemap .kb-sitemap-hero__content {
        grid-template-columns: 1fr;
    }

    .kb-html-sitemap .kb-sitemap-hero__icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .kb-html-sitemap .kb-sitemap-help__actions,
    .kb-html-sitemap .kb-sitemap-help__actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kb-html-sitemap *,
    .kb-html-sitemap *::before,
    .kb-html-sitemap *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
