/* Public footer: a focused closing section instead of the legacy link columns. */
body:not(.panel-body) footer.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 76px) 0 20px;
    color: rgba(235, 244, 255, .76) !important;
    background:
        radial-gradient(circle at 91% 0%, rgba(75, 147, 255, .24), transparent 25rem),
        radial-gradient(circle at 7% 82%, rgba(0, 99, 255, .17), transparent 28rem),
        linear-gradient(135deg, #05183F 0%, #062A73 53%, #003FC9 155%) !important;
}

body:not(.panel-body) footer.site-footer::before {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173, 211, 255, .68), transparent);
    content: "";
}

body:not(.panel-body) footer.site-footer::after {
    position: absolute;
    top: -190px;
    inset-inline-start: -140px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(183, 216, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(183, 216, 255, .025), 0 0 0 125px rgba(183, 216, 255, .018);
    content: "";
    pointer-events: none;
}

body:not(.panel-body) footer.site-footer .site-footer-inner {
    position: relative;
    z-index: 1;
}

body:not(.panel-body) footer.site-footer .site-footer-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .66fr);
    gap: clamp(24px, 5vw, 68px);
    align-items: center;
    padding: clamp(22px, 3.2vw, 34px);
    border: 1px solid rgba(207, 228, 255, .17);
    border-radius: 20px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body:not(.panel-body) footer.site-footer .site-footer-brand > a {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF !important;
    text-decoration: none;
}

body:not(.panel-body) footer.site-footer .platform-logo--footer {
    filter: drop-shadow(0 8px 16px rgba(0, 10, 42, .22));
}

body:not(.panel-body) footer.site-footer .site-footer-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    color: #063AAB !important;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: -.06em;
    background: #FFFFFF;
    box-shadow: 0 9px 20px rgba(0, 15, 55, .22);
}

body:not(.panel-body) footer.site-footer .site-footer-brand > a > span:last-child {
    display: grid;
    gap: 2px;
}

body:not(.panel-body) footer.site-footer .site-footer-brand strong {
    color: #FFFFFF !important;
    font-size: 1.05rem;
    line-height: 1.05;
}

body:not(.panel-body) footer.site-footer .site-footer-brand small {
    color: rgba(222, 237, 255, .61) !important;
    font-size: .61rem;
    letter-spacing: .04em;
}

body:not(.panel-body) footer.site-footer .site-footer-brand > p {
    max-width: 610px;
    margin: 15px 0 0;
    color: rgba(231, 242, 255, .78) !important;
    font-size: .9rem;
    line-height: 1.85;
}

body:not(.panel-body) footer.site-footer .site-footer-cta {
    display: grid;
    gap: 7px;
    padding-inline-start: clamp(0px, 3vw, 32px);
    border-inline-start: 1px solid rgba(211, 231, 255, .16);
}

body:not(.panel-body) footer.site-footer .site-footer-cta > span {
    color: #A8D0FF !important;
    font-size: .68rem;
    font-weight: 800;
}

body:not(.panel-body) footer.site-footer .site-footer-cta strong {
    max-width: 265px;
    color: #FFFFFF !important;
    font-size: 1.06rem;
    line-height: 1.45;
}

body:not(.panel-body) footer.site-footer .site-footer-cta > a {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    min-height: 39px;
    margin-top: 5px;
    padding: 8px 12px;
    border-radius: 9px;
    color: #0038AE !important;
    font-size: .75rem;
    font-weight: 900;
    text-decoration: none;
    background: #FFFFFF;
    box-shadow: 0 9px 20px rgba(0, 13, 57, .15);
    transition: transform .18s ease, box-shadow .18s ease;
}

body:not(.panel-body) footer.site-footer .site-footer-cta > a:hover { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(0, 13, 57, .24); }
body:not(.panel-body) footer.site-footer .site-footer-cta > a span { color: currentColor !important; font-size: 1rem; line-height: 1; }

body:not(.panel-body) footer.site-footer .site-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr minmax(230px, 1.25fr);
    gap: clamp(22px, 4vw, 55px);
    padding: clamp(29px, 5vw, 54px) 6px 34px;
}

body:not(.panel-body) footer.site-footer .site-footer-column,
body:not(.panel-body) footer.site-footer .site-footer-contact {
    display: grid;
    align-self: start;
    align-content: start;
    gap: 9px;
    margin: 0;
    padding: 0;
}

body:not(.panel-body) footer.site-footer .site-footer-heading {
    margin: 0 0 4px;
    color: #FFFFFF !important;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.55;
}

body:not(.panel-body) footer.site-footer .site-footer-contact {
    transform: translateY(0);
}

body:not(.panel-body) footer.site-footer .site-footer-column > a {
    width: fit-content;
    color: rgba(228, 240, 255, .72) !important;
    font-size: .78rem;
    line-height: 1.55;
    text-decoration: none;
    transition: color .16s ease, transform .16s ease;
}

body:not(.panel-body) footer.site-footer .site-footer-column > a:hover {
    color: #FFFFFF !important;
    transform: translateX(-3px);
}

body:not(.panel-body) footer.site-footer .site-footer-inline-link {
    margin-top: 3px;
    color: #9BC9FF !important;
    font-weight: 800;
}

body:not(.panel-body) footer.site-footer .site-footer-inline-link span { color: currentColor !important; }
body:not(.panel-body) footer.site-footer .site-footer-muted { color: rgba(228, 240, 255, .55) !important; font-size: .74rem; line-height: 1.65; }

body:not(.panel-body) footer.site-footer .site-footer-contact-list {
    display: grid;
    gap: 8px;
}

body:not(.panel-body) footer.site-footer .site-footer-contact-list > a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: rgba(235, 244, 255, .82) !important;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease;
}

body:not(.panel-body) footer.site-footer .site-footer-contact-list > a:hover {
    border-color: rgba(215, 234, 255, .17);
    background: rgba(255, 255, 255, .07);
}

body:not(.panel-body) footer.site-footer .site-footer-contact-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    color: #A6D1FF !important;
    background: rgba(157, 205, 255, .12);
}

body:not(.panel-body) footer.site-footer .site-footer-contact-icon svg { width: 15px; height: 15px; }
body:not(.panel-body) footer.site-footer .site-footer-contact-list > a > span:last-child { display: grid; min-width: 0; gap: 1px; }
body:not(.panel-body) footer.site-footer .site-footer-contact-list small { color: rgba(216, 233, 255, .54) !important; font-size: .6rem; }
body:not(.panel-body) footer.site-footer .site-footer-contact-list strong { overflow: hidden; color: #FFFFFF !important; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }

body:not(.panel-body) footer.site-footer .site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 19px;
    border-top: 1px solid rgba(215, 233, 255, .13);
}

body:not(.panel-body) footer.site-footer .site-footer-bottom > p {
    margin: 0;
    color: rgba(222, 237, 255, .53) !important;
    font-size: .67rem;
}

body:not(.panel-body) footer.site-footer .site-footer-social {
    display: flex;
    align-items: center;
    gap: 7px;
}

body:not(.panel-body) footer.site-footer .site-footer-social > span {
    margin-inline-end: 2px;
    color: rgba(220, 237, 255, .6) !important;
    font-size: .66rem;
    font-weight: 800;
}

body:not(.panel-body) footer.site-footer .site-footer-social > a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(210, 231, 255, .16);
    border-radius: 7px;
    color: rgba(255, 255, 255, .84) !important;
    background: rgba(255, 255, 255, .06);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

body:not(.panel-body) footer.site-footer .site-footer-social > a:hover {
    border-color: rgba(255, 255, 255, .38);
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

body:not(.panel-body) footer.site-footer .site-footer-social svg { width: 14px; height: 14px; }
body:not(.panel-body) footer.site-footer :is(a, button):focus-visible { outline: 3px solid rgba(169, 211, 255, .75); outline-offset: 3px; }

@media (max-width: 980px) {
    body:not(.panel-body) footer.site-footer .site-footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 46px; }
}

@media (max-width: 720px) {
    body:not(.panel-body) footer.site-footer { padding-top: 24px; }
    body:not(.panel-body) footer.site-footer .site-footer-lead { grid-template-columns: 1fr; gap: 21px; border-radius: 16px; }
    body:not(.panel-body) footer.site-footer .site-footer-cta { padding: 18px 0 0; border-top: 1px solid rgba(211, 231, 255, .16); border-inline-start: 0; }
    body:not(.panel-body) footer.site-footer .site-footer-content { padding-inline: 0; }
}

@media (max-width: 500px) {
    body:not(.panel-body) footer.site-footer .site-footer-content { grid-template-columns: 1fr; gap: 26px; }
    body:not(.panel-body) footer.site-footer .site-footer-bottom { align-items: start; flex-direction: column; }
    body:not(.panel-body) footer.site-footer .site-footer-social { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.panel-body) footer.site-footer :is(a, button) { transition: none; }
}
