@charset "utf-8";

#gk-site-index {
    min-width: 0;
    padding-block: 40px 64px;
    color: var(--gk-ink);
}

#gk-site-index .gk-sitemap-head {
    margin-block-end: 36px;
}

#gk-site-index h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
}

#gk-site-index .gk-sitemap-head p {
    margin: 0;
    color: var(--gk-muted);
    font-size: 15px;
    line-height: 1.7;
}

#gk-site-index .gk-sitemap-grid {
    display: grid;
    gap: 36px;
}

#gk-site-index .gk-sitemap-grid section {
    min-width: 0;
}

#gk-site-index h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

#gk-site-index h3 {
    margin: 24px 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

#gk-site-index ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#gk-site-index li {
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#gk-site-index li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

#gk-site-index a:hover {
    color: var(--gk-red);
    text-decoration: underline;
}

#gk-site-index a:focus-visible {
    outline: 2px solid var(--gk-red);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    #gk-site-index .gk-sitemap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
