/* Shared footer for the storefront and CMS pages. */
.portal-footer { position: relative; width: min(1180px, calc(100% - 64px)); margin: 32px auto 24px; padding: 40px 42px 20px; background: #f1ebf8; color: var(--ink, #30294e); border-radius: 36px 42px 28px 34px; }
.portal-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 30px; }
.portal-footer .brand { display: inline-flex; margin: 0; }
.portal-footer-brand > p { margin: 18px 0 0; color: var(--muted, #645f74); font-size: 14px; line-height: 1.6; }
.portal-footer .portal-footer-group h3 { margin: 3px 0 12px; font-size: 14px; line-height: 1.5; font-weight: 900; color: var(--ink, #30294e); letter-spacing: 0; }
.portal-footer ul { list-style: none; margin: 0; padding: 0; }
.portal-footer-group li + li { margin-top: 4px; }
.portal-footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 32px; color: #615374; font-size: 14px; line-height: 1.5; font-weight: 650; text-decoration: none; text-underline-offset: 4px; }
.portal-footer a:not(.brand):hover { color: #4c2b83; text-decoration: underline; }
.portal-footer a:focus-visible { outline: 3px solid #946be0; outline-offset: 4px; border-radius: 4px; }
.portal-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid #dcd2e7; }
.portal-footer-bottom small { font-size: 12px; color: #615374; }
.portal-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.portal-footer-bottom a:not(.brand) { font-size: 12px; }
@media (max-width: 760px) {
 .portal-footer { width: calc(100% - 36px); padding: 28px 24px 18px; border-radius: 28px 34px 24px 29px; }
 .portal-footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 22px; }
 .portal-footer-brand { grid-column: 1 / -1; }
 .portal-footer-brand > p { margin-top: 12px; }
 .portal-footer a:not(.brand) { min-height: 44px; }
 .portal-footer-group li + li { margin-top: 0; }
 .portal-footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 18px; }
 .portal-footer-bottom ul { gap: 0 20px; }
}
@media (max-width: 380px) {
 .portal-footer-main { column-gap: 14px; }
 .portal-footer a:not(.brand) { font-size: 13px; }
 .portal-footer-bottom a:not(.brand) { font-size: 12px; }
}
@media print { .portal-footer { display: none; } }
