/* Shared storefront footer, approved desktop and mobile layout. */
.site-footer.site-footer--aligned {
    display: block;
    width: 100%;
    margin: 32px 0 0;
    padding: 0 0 calc(90px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e5e7eb;
    background: #f7f9fc;
    color: #4b5563;
    box-shadow: none;
    font-family: inherit;
    text-align: left;
}
.site-footer--aligned > .container {
    width: 100%;
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}
body:has(main.guide-page) .site-footer--aligned > .container { max-width: 1180px; }
.site-footer--aligned .site-footer__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 26px 0;
    border-bottom: 1px solid #e5e7eb;
}
.site-footer--aligned .site-footer__feature {
    min-width: 0;
    padding: 0 16px;
    justify-content: center;
    gap: 12px;
}
.site-footer--aligned .site-footer__feature:not(:last-child)::after {
    content: "";
    top: 5px;
    right: 0;
    width: 1px;
    height: 34px;
    background: #e5e7eb;
}
.site-footer--aligned .site-footer__feature-copy { gap: 4px; }
.site-footer--aligned .site-footer__feature-copy strong {
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;
}
.site-footer--aligned .site-footer__feature-copy small {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
}
.site-footer--aligned .site-footer__main-grid {
    display: grid;
    grid-template-columns: minmax(270px, 1fr) minmax(0, 1.85fr);
    align-items: start;
    gap: 60px;
    padding: 34px 0;
}
.site-footer--aligned .site-footer__identity { min-width: 0; }
.site-footer--aligned .site-footer__brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #1f2937;
    text-decoration: none;
}
.site-footer--aligned .site-footer__logo {
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.site-footer--aligned .site-footer__brand strong {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.site-footer--aligned .site-footer__intro {
    max-width: 330px;
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}
.site-footer--aligned .site-footer__link-groups {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, 1fr);
    gap: 28px;
    min-width: 0;
}
.site-footer--aligned .site-footer__link-group { min-width: 0; }
.site-footer--aligned .site-footer__link-group h3 {
    margin: 0 0 13px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}
.site-footer--aligned .site-footer__link-group ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer--aligned .site-footer__link-group li {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}
.site-footer--aligned .site-footer__link-group a {
    display: inline-block;
    max-width: 100%;
    padding: 0;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 150ms ease;
}
.site-footer--aligned .site-footer__link-group a:hover,
.site-footer--aligned .site-footer__brand:hover strong { color: #126b9b; }
.site-footer--aligned .site-footer__keep-together { white-space: nowrap; }
.site-footer--aligned a:focus-visible {
    outline: 2px solid #126b9b;
    outline-offset: 4px;
    border-radius: 2px;
}
.site-footer--aligned .site-footer__legal {
    width: 100%;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid #e5e7eb;
}
.site-footer--aligned .site-footer__copyright,
.site-footer--aligned .site-footer__disclaimer {
    margin: 0;
    padding: 0;
    border: 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.site-footer--aligned .site-footer__disclaimer { margin-top: 8px; }
@media (max-width: 991.98px) {
    .site-footer--aligned .site-footer__main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 0;
    }
    .site-footer--aligned .site-footer__intro { max-width: none; }
    .site-footer--aligned .site-footer__link-groups {
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .site-footer.site-footer--aligned {
        margin-top: 22px;
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }
    .site-footer--aligned .site-footer__features { padding: 22px 0; }
    .site-footer--aligned .site-footer__feature {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 0 8px;
        text-align: center;
    }
    .site-footer--aligned .site-footer__feature:not(:last-child)::after {
        top: 7px;
        height: calc(100% - 14px);
    }
    .site-footer--aligned .site-footer__feature-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .site-footer--aligned .site-footer__feature-copy { gap: 4px; }
    .site-footer--aligned .site-footer__main-grid { gap: 28px; }
    .site-footer--aligned .site-footer__intro { margin-top: 12px; }
    .site-footer--aligned .site-footer__link-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }
    .site-footer--aligned .site-footer__link-group h3 { margin-bottom: 10px; }
    .site-footer--aligned .site-footer__link-group ul { gap: 10px; }
    .site-footer--aligned .site-footer__link-group a { line-height: 1.8; }
    .site-footer--aligned .site-footer__legal { padding-top: 20px; }
}

/* Self-contained base styles also serve authentication and member templates. */
.site-footer--aligned > .container { box-sizing: border-box; padding-left: calc(var(--bs-gutter-x, 19.5px) * .5); padding-right: calc(var(--bs-gutter-x, 19.5px) * .5); }
body.uc-body .site-footer--aligned > .container { max-width: 1180px; }
.site-footer--aligned .site-footer__feature { position: relative; display: flex; align-items: center; }
.site-footer--aligned .site-footer__feature-icon { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid rgba(70,171,226,.16); border-radius: 14px; color: #188dcc; background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(221,244,255,.92)); box-shadow: 0 8px 20px rgba(47,154,232,.12); font-size: 18px; }
.site-footer--aligned .site-footer__feature-copy { display: flex; min-width: 0; flex-direction: column; }
@media(max-width:575.98px) { .site-footer--aligned .site-footer__feature-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; font-size: 15px; } }
