/* Shared site footer, including the existing Partner responsive layout. */

.site-footer.partner-site-footer {
    position: relative;
    color: #333;
    font-family: inherit;
}

.partner-site-footer__main {
    padding: 48px 72px 42px;
    background: linear-gradient(180deg, #e2f2ff 0%, #f6f7f5 48%, #fff4e9 100%);
}

.partner-site-footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 1.25fr) minmax(110px, .55fr) minmax(145px, .7fr) minmax(175px, .85fr) minmax(330px, 1.45fr);
    gap: clamp(24px, 3vw, 58px);
    align-items: start;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding-right: 42px;
}

.partner-site-footer__brand {
    display: block;
    align-self: center;
}

.partner-site-footer__brand img {
    display: block;
    width: min(100%, 290px);
    height: auto;
}

.partner-site-footer h2 {
    margin: 0 0 14px;
    color: #292929;
    font-family: "SVNGilroy Bold", "SVNGilroy", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
}

.partner-site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.partner-site-footer__column a,
.partner-site-footer__organization a,
.partner-site-footer__organization p {
    margin: 0;
    color: #555;
    font-size: 13px;
    font-style: normal;
    line-height: 19px;
}

.partner-site-footer__column a:hover,
.partner-site-footer__column a:focus-visible,
.partner-site-footer__organization a:hover,
.partner-site-footer__organization a:focus-visible {
    color: #043372;
}

.partner-site-footer__organization > img {
    display: block;
    width: min(100%, 310px);
    height: auto;
    margin: 2px 0 18px;
}

.partner-site-footer__organization address {
    display: grid;
    gap: 9px;
    margin: 0;
    font-style: normal;
}

.partner-site-footer__organization strong {
    color: #272727;
    font-weight: 700;
}

.partner-site-footer__socials {
    position: absolute;
    top: 0;
    right: 0;
}

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
}

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials li {
    margin: 0;
}

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials a {
    display: grid;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(117, 135, 151, .7);
    color: #fff;
    place-items: center;
    transition: background-color .2s ease, transform .2s ease;
}

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials a:hover,
.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials a:focus-visible {
    background-color: #043372;
    transform: translateY(-1px);
}

.site-footer.partner-site-footer .footer-copyright {
    padding: 7px 20px;
    background: #043372;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    line-height: 15px;
    text-align: center;
}

@media (max-width: 1199px) {
.partner-site-footer__main {
        padding: 42px 42px 36px;
    }

.partner-site-footer__inner {
        grid-template-columns: minmax(210px, 1fr) repeat(3, minmax(120px, .65fr));
    }

.partner-site-footer__organization {
        grid-column: 2 / -1;
    }

}

@media (max-width: 767px) {
.partner-site-footer__main {
        padding: 36px 20px 32px;
    }

.partner-site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding-right: 0;
    }

.partner-site-footer__brand,
    .partner-site-footer__organization {
        grid-column: 1 / -1;
    }

.partner-site-footer__brand img {
        width: 230px;
    }

.partner-site-footer__organization > img {
        width: 260px;
    }

.partner-site-footer__socials {
        position: static;
        grid-column: 1 / -1;
    }

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials {
        flex-direction: row;
    }

}

@media (max-width: 767px) {
.site-footer.partner-site-footer {
        position: relative;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        overflow: hidden;
    }

.site-footer.partner-site-footer .partner-site-footer__main {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 34px 20px 30px;
    }

.site-footer.partner-site-footer .partner-site-footer__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        column-gap: 22px;
        row-gap: 28px;
        transform: none !important;
    }

.partner-site-footer__brand,
    .partner-site-footer__socials {
        grid-column: 1 / -1;
        min-width: 0;
        max-width: 100%;
    }

.partner-site-footer__column,
    .partner-site-footer__organization {
        grid-column: auto;
        min-width: 0;
        max-width: 100%;
    }

.partner-site-footer__brand img,
    .partner-site-footer__organization > img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
    }

.partner-site-footer__organization address,
    .partner-site-footer__organization p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

.site-footer.partner-site-footer .partner-site-footer__socials {
        position: static !important;
        inset: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        transform: none !important;
    }

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials {
        position: static !important;
        left: auto !important;
        right: auto !important;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: auto;
        max-width: 100%;
        margin: 0 auto !important;
        padding: 0;
        float: none !important;
        list-style: none;
        transform: none !important;
    }

.site-footer.partner-site-footer .partner-site-footer__socials .sc-socials li {
        position: static !important;
        flex: 0 0 auto;
        margin: 0 !important;
        transform: none !important;
    }

}

@media (max-width: 767px) {
.site-footer.partner-site-footer .partner-site-footer__brand,
    .site-footer.partner-site-footer .partner-site-footer__organization,
    .site-footer.partner-site-footer .partner-site-footer__socials {
        grid-column: 1 / -1;
        min-width: 0;
        max-width: 100%;
    }

.site-footer.partner-site-footer .partner-site-footer__column {
        grid-column: auto;
    }

.site-footer.partner-site-footer .partner-site-footer__brand img {
        display: block;
        width: min(44vw, 175px);
        max-width: 175px;
        height: auto;
    }

.site-footer.partner-site-footer .partner-site-footer__organization > img {
        display: block;
        width: min(72vw, 260px);
        max-width: 260px;
        height: auto;
    }

}

@media (max-width: 767px) {
.site-footer.partner-site-footer .partner-site-footer__main {
        padding: 30px 20px 26px;
    }

.site-footer.partner-site-footer .partner-site-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "brand brand"
            "pages partner"
            "pages contact"
            "organization organization"
            "socials socials";
        column-gap: 22px;
        row-gap: 20px;
    }

.site-footer.partner-site-footer .partner-site-footer__brand {
        display: block;
        grid-area: brand;
        justify-self: stretch;
        width: auto;
        margin: 0;
    }

.site-footer.partner-site-footer .partner-site-footer__brand img {
        display: block;
        width: min(44vw, 175px);
        max-width: 175px;
        height: auto;
    }

.site-footer.partner-site-footer .partner-site-footer__column:nth-of-type(1) {
        grid-area: pages;
    }

.site-footer.partner-site-footer .partner-site-footer__column:nth-of-type(2) {
        grid-area: partner;
    }

.site-footer.partner-site-footer .partner-site-footer__column:nth-of-type(3) {
        grid-area: contact;
    }

.site-footer.partner-site-footer .partner-site-footer__organization {
        grid-area: organization;
        margin-top: 2px;
    }

.site-footer.partner-site-footer .partner-site-footer__socials {
        grid-area: socials;
    }

.site-footer.partner-site-footer h2 {
        margin-bottom: 10px;
    }

.site-footer.partner-site-footer .partner-site-footer__column {
        gap: 6px;
    }

.site-footer.partner-site-footer .partner-site-footer__organization > img {
        margin-bottom: 12px;
    }

.site-footer.partner-site-footer .partner-site-footer__organization address {
        gap: 7px;
    }

}
