.sitemapplus {
    --sp-navy: #0c234d;
    --sp-blue: #155baa;
    --sp-red: #e51b23;
    --sp-ink: #14233b;
    --sp-line: #e3eaf3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: var(--sp-ink);
}

.sitemapplus *,
.sitemapplus *::before,
.sitemapplus *::after { box-sizing: border-box; }

/* Remove the Educon/Helix demo social link accidentally left in the top bar. */
a[href^="https://www.facebook.com/joomshaper"],
a[href^="http://www.facebook.com/joomshaper"] { display: none !important; }

.sitemapplus-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 230px;
    margin-bottom: 22px;
    padding: 38px 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-navy) 0%, #123d78 58%, var(--sp-blue) 100%);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(12, 35, 77, .20);
}

.sitemapplus-hero::before,
.sitemapplus-hero::after {
    position: absolute;
    content: "";
}

.sitemapplus-hero::before {
    top: -105px;
    right: 80px;
    width: 300px;
    height: 300px;
    border: 52px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
}

.sitemapplus-hero::after {
    right: -78px;
    bottom: -58px;
    width: 330px;
    height: 16px;
    background: var(--sp-red);
    transform: rotate(-18deg);
    opacity: .95;
}

.sitemapplus-hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.sitemapplus-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sitemapplus-hero__eyebrow > span {
    width: 8px;
    height: 8px;
    background: var(--sp-red);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(229, 27, 35, .18);
}

.sitemapplus .sitemapplus-hero__title {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.sitemapplus-hero__text {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.65;
}

.sitemapplus-hero__visual {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    flex: 0 0 138px;
    width: 138px;
    height: 138px;
    margin-left: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 26px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    transform: rotate(3deg);
}

.sitemapplus-hero__icon,
.sitemapplus-card__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.sitemapplus-hero__icon {
    width: 100%;
    height: 100%;
}

.sitemapplus-hero__icon svg {
    display: block;
    width: 78px !important;
    height: 78px !important;
    overflow: visible;
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-3deg);
}

.sitemapplus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sitemapplus-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 35, 59, .07);
}

.sitemapplus-card__header {
    display: flex;
    align-items: center;
    min-height: 74px;
    gap: 13px;
    padding: 15px 20px;
    background: linear-gradient(180deg, #fff 0%, #f9fbfe 100%);
    border-bottom: 1px solid var(--sp-line);
}

.sitemapplus-card__icon {
    width: 40px;
    height: 40px;
    color: var(--sp-blue);
    background: #eaf3ff;
    border-radius: 11px;
}

.sitemapplus-card__icon svg {
    display: block;
    width: 21px !important;
    height: 21px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sitemapplus-card__header h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--sp-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.sitemapplus-card__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    color: var(--sp-blue);
    background: #eaf3ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.sitemapplus-list { margin: 0; padding: 8px 20px 13px; list-style: none; }
.sitemapplus-list__item {
    margin: 0;
    padding-left: min(calc(var(--sitemapplus-level) * 18px), 72px);
    border-bottom: 1px solid #edf1f6;
}
.sitemapplus-list__item:last-child { border-bottom: 0; }

.sitemapplus-list__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 8px 4px;
    color: #304158;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.sitemapplus-list__item a:hover,
.sitemapplus-list__item a:focus-visible { color: var(--sp-red); transform: translateX(3px); }
.sitemapplus-list__item a:focus-visible { outline: 2px solid rgba(18, 103, 217, .32); outline-offset: 2px; border-radius: 5px; }

.sitemapplus-list__arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--sp-blue);
    background: #edf5ff;
    border-radius: 6px;
}

.sitemapplus-list__arrow svg {
    display: block;
    width: 11px !important;
    height: 11px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sitemapplus-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    color: #235a99;
    background: #edf6ff;
    border: 1px solid #cfe4fb;
    border-radius: 14px;
}
.sitemapplus-empty p { margin: 0; }
.sitemapplus-empty__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: #fff;
    background: var(--sp-blue);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .sitemapplus-hero { min-height: 0; padding: 28px 24px; border-radius: 18px; }
    .sitemapplus-hero__visual {
        flex-basis: 88px;
        width: 88px;
        height: 88px;
        margin-left: 18px;
        border-radius: 20px;
    }
    .sitemapplus-hero__icon svg { width: 54px !important; height: 54px !important; }
    .sitemapplus-hero__text { font-size: 14px; line-height: 1.55; }
    .sitemapplus-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 520px) {
    .sitemapplus-hero__visual { display: none; }
}

@media (max-width: 480px) {
    .sitemapplus-card__header,
    .sitemapplus-list { padding-right: 15px; padding-left: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .sitemapplus-list__item a { transition: none; }
}
