@font-face {
    font-family: "Sunshine Footer Sans";
    src: url("assets/theme/urbanist.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Sunshine Footer Serif";
    src: url("assets/theme/marcellus.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Sunshine Footer Icons";
    src: url("/V4.0/fonts/fa-brands-400.woff2") format("woff2");
    font-display: block;
}

.home-footer.sunshine-shared-footer {
    box-sizing: border-box;
    display: block;
    flex: 0 0 auto;
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 60px 0 90px;
    background: #5e3672;
    color: #fff;
    font: 400 17px/1.65 "Sunshine Footer Sans", Arial, sans-serif;
    letter-spacing: .15px;
    text-align: start;
}
.sunshine-shared-footer *, .sunshine-shared-footer *::before { box-sizing: border-box }
.sunshine-shared-footer > .container {
    width: min(1240px, calc(100% - 64px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}
.home-footer.sunshine-shared-footer .home-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .95fr 1fr 1.2fr;
    gap: clamp(1.25rem, 3vw, 2.75rem);
}
.sunshine-shared-footer .home-footer-grid > * { min-width: 0 }
.home-footer.sunshine-shared-footer .home-footer-grid img {
    display: block;
    width: 185px;
    max-width: 100%;
    height: auto;
    margin: 0 0 23px;
    border: 0;
}
.home-footer.sunshine-shared-footer :is(h3,p,a,.home-legal) { color: #fff }
.home-footer.sunshine-shared-footer h3 {
    margin: 9px 0 18px;
    padding: 0;
    font: 400 17px/1.22 "Sunshine Footer Serif", Georgia, serif;
    letter-spacing: -.01em;
    text-transform: none;
}
.home-footer.sunshine-shared-footer .home-footer-grid p {
    max-width: 350px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}
.home-footer.sunshine-shared-footer a { text-decoration: none; overflow-wrap: anywhere }
.home-footer.sunshine-shared-footer a:hover { text-decoration: underline; text-underline-offset: .16em }
.home-footer.sunshine-shared-footer a:focus-visible { outline: 2px solid #f7d487; outline-offset: 4px }
.home-footer.sunshine-shared-footer .home-footer-grid a:not(:has(img)) {
    display: block;
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.65;
}
.home-footer.sunshine-shared-footer .footer-socials ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-footer.sunshine-shared-footer .footer-socials a:not(:has(img)) {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    margin: 0;
    padding: .4rem .65rem;
    border: 1px solid currentColor;
    border-radius: .55rem;
    background: #ffffff12;
    font-weight: 700;
}
.home-footer.sunshine-shared-footer .footer-socials a:hover { background: #ffffff2b }
.sunshine-shared-footer .footer-socials .social-icon {
    flex: 0 0 1.15rem;
    font: 400 1rem/1 "Sunshine Footer Icons";
    text-align: center;
}
.home-footer.sunshine-shared-footer .home-legal {
    display: grid;
    gap: .65rem;
    margin: 35px 0 0;
    padding: 23px 0 0;
    border-top: 1px solid #ffffff45;
    font-size: 12px;
    line-height: 1.65;
}
.sunshine-shared-footer .footer-policy-links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem }
.sunshine-shared-footer .footer-policy-links a { margin: 0; padding: 0 }

/* Older account forms centre the whole body. Centre the form before the footer instead. */
body.sunshine-footer-form-page { display: block; padding: 0; margin: 0 }
.sunshine-footer-form-page > .sunshine-footer-form-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

@media (max-width: 1050px) {
    .sunshine-shared-footer > .container { width: calc(100% - 44px) }
}
@media (max-width: 1023px) {
    .home-footer.sunshine-shared-footer .home-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)) }
}
@media (max-width: 760px) {
    .home-footer.sunshine-shared-footer { padding: 38px 0 95px }
    .sunshine-shared-footer > .container { width: calc(100% - 36px) }
    .home-footer.sunshine-shared-footer .home-footer-grid { grid-template-columns: minmax(0,1fr); gap: 25px }
    .home-footer.sunshine-shared-footer .home-footer-grid img { width: 170px; margin-bottom: 20px }
}
@media (min-width: 1500px) {
    .sunshine-shared-footer > .container { width: min(1240px, calc(100% - 100px)) }
}
@media print {
    .home-footer.sunshine-shared-footer { padding: 18px 0 0; background: #fff; color: #251835 }
    .home-footer.sunshine-shared-footer :is(h3,p,a,.home-legal) { color: #251835 }
    .home-footer.sunshine-shared-footer img { filter: brightness(0) }
}
