/*
 * Footer V3 — CSP-1852.
 */
.footer.footer-v3 {
    position: static;
    flex-shrink: 0;
    min-height: 0;
    line-height: 1.6;
    text-align: left;
    border-top: none;
    background-color: #CCEEFB;
    color: #414042;
    font-family: "Inter", "Montserrat", Helvetica, sans-serif;
    padding: 3rem 1.5rem 2rem;
}

/* Keeps the footer at the bottom of the viewport on pages with little content. */
body:has(.footer-v3) {
    margin-bottom: 0;
    /* header.css pulls the body up by --header-body-offset, so add it back here
       to keep the bottom of the body on the bottom of the viewport. */
    min-height: calc(100vh + var(--header-body-offset, 0px));
    display: flex;
    flex-direction: column;
}

body:has(.footer-v3) .content {
    flex: 1 0 auto;
}

@media (min-width: 992px) {
    .footer.footer-v3 {
        padding: 4rem 3rem 2rem;
    }
}

.footer-v3-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.footer.footer-v3 ul {
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer.footer-v3 ul li {
    display: block;
    margin: 0 0 0.5rem 0;
    color: inherit;
}

.footer.footer-v3 a {
    color: #414042;
    text-decoration: none;
}

.footer.footer-v3 a:hover,
.footer.footer-v3 a:focus {
    color: var(--content-primary);
    text-decoration: underline;
}

.footer-v3-brand img {
    height: auto;
    max-width: 210px;
}

.footer-v3-rule {
    width: 1.5rem;
    border: 0;
    border-top: 2px solid #414042;
    opacity: 1;
    margin: 1.5rem 0;
}

.footer-v3-brand p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 23.5rem;
}

.footer-v3-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #414042;
    margin-bottom: 0.5rem;
}

.footer-v3-heading-accent {
    color: var(--content-primary);
}

.footer.footer-v3 .footer-v3-links {
    line-height: 1.35;
}

.footer.footer-v3 .footer-v3-links li {
    margin-bottom: 0.1rem;
}

.footer.footer-v3 .footer-v3-contact li {
    margin-bottom: 1rem;
}

.footer-v3-contact li a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-v3-contact i {
    color: var(--content-primary);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    line-height: inherit;
}

.footer-v3-contact span {
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .footer-v3-inner > .row > .footer-v3-brand {
        width: 34%;
    }

    .footer-v3-inner > .row > .footer-v3-col {
        width: 13.667%;
    }

    .footer-v3-inner > .row > .footer-v3-col-contact {
        width: 25%;
    }
}

.footer-v3-copyright {
    text-align: center;
    font-size: 0.7rem;
    margin: 3rem 0 0;
    color: #414042;
}
