/* Timelabs sitemap — route-scoped design system pass (Useful Links -> Timelabs sitemap, Figma 5113:89250).
   Rebuilt to the v2 design language while the Figma Dev Mode MCP is unavailable; verify against
   node 5113:89250 when the connection is restored. */

.sitemap-page {
    background: #fff;
}

/* ---------- sitemap link blocks ---------- */
.sitemap-page .sitemap {
    padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px);
    background: #fff;
}

.sitemap-page .sitemap .container {
    max-width: 1240px;
}

.sitemap-page .administration,
.sitemap-page .administration > li,
.sitemap-page .administration ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-page .administration > li {
    text-align: center;
}

.sitemap-page .administration.other {
    margin-top: clamp(48px, 6vw, 84px);
}

/* section eyebrow pill ("Main" / "Other Pages") */
.sitemap-page .sitmapHead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    padding: 8px 18px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #ff6bc9, #7c58ff) border-box;
    color: #0a2540;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
}

.sitemap-page .sitmapHead::after {
    display: none;
}

/* the columns grid */
.sitemap-page .stemapData {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 28px;
    text-align: left;
}

.sitemap-page .stemapData::after {
    display: none !important;
}

.sitemap-page .sitemapList {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e1e6f4;
    border-radius: 20px;
    background: #f8faff;
}

/* group title link */
.sitemap-page .sitemapList > a {
    display: inline-block;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e6f4;
    color: #0a2540;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.sitemap-page .sitemapList > a span {
    color: #0a2540;
}

.sitemap-page .sitemapList > a:hover,
.sitemap-page .sitemapList > a:hover span {
    color: #1e40af;
}

/* link list */
.sitemap-page .sitemapList .sections {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sitemap-page .sitemapList .sections li {
    line-height: 1.35;
}

.sitemap-page .sitemapList .sections a {
    color: #55627e;
    font-family: Inter, sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color .18s ease;
}

.sitemap-page .sitemapList .sections a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* items that are a bare link (no sub-list) */
.sitemap-page .sitemapList:not(:has(.sections)) {
    display: flex;
    align-items: center;
}

.sitemap-page .sitemapList:not(:has(.sections)) > a {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* ---------- closing CTA band ---------- */
.sitemap-page .sitemap-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 12% 94%, rgba(30, 115, 255, .55), transparent 22%),
        radial-gradient(circle at 90% 12%, rgba(46, 76, 220, .45), transparent 25%),
        linear-gradient(114deg, #020316 0%, #06083a 55%, #071451 100%);
}

.sitemap-page .sitemap-cta::before,
.sitemap-page .sitemap-cta::after {
    position: absolute;
    width: clamp(180px, 20vw, 340px);
    aspect-ratio: 1;
    content: "";
    opacity: .18;
    background: url("../images/grayfanimage.png") center / contain no-repeat;
    pointer-events: none;
}

.sitemap-page .sitemap-cta::before {
    top: -88px;
    left: -94px;
    transform: rotate(15deg);
}

.sitemap-page .sitemap-cta::after {
    right: -96px;
    bottom: -120px;
    transform: rotate(190deg);
}

.sitemap-page .sitemap-cta__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.sitemap-page .sitemap-cta h2 {
    margin: 0;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(30px, 3.5vw, 50px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.sitemap-page .sitemap-cta p {
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .87);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 1.55;
}

.sitemap-page .sitemap-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.sitemap-page .sitemap-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.sitemap-page .sitemap-cta__button i {
    margin-left: 8px;
    font-size: 16px;
}

.sitemap-page .sitemap-cta__button:hover {
    transform: translateY(-2px);
}

.sitemap-page .sitemap-cta__button--primary {
    color: #fff;
    background: #1e40af;
}

.sitemap-page .sitemap-cta__button--primary:hover {
    color: #fff;
    background: #183798;
}

.sitemap-page .sitemap-cta__button--light {
    color: #1e40af;
    background: #fff;
}

.sitemap-page .sitemap-cta__button--light:hover {
    color: #102d83;
    background: #eef4ff;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .sitemap-page .stemapData {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .sitemap-page .stemapData {
        grid-template-columns: 1fr;
    }

    .sitemap-page .sitemapList {
        padding: 20px;
    }

    .sitemap-page .sitemap-cta::before {
        top: -58px;
        left: -92px;
    }

    .sitemap-page .sitemap-cta::after {
        right: -100px;
        bottom: -76px;
    }

    .sitemap-page .sitemap-cta__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-right: auto;
        margin-left: auto;
    }

    .sitemap-page .sitemap-cta__button {
        width: 100%;
    }
}
