/* Flat editorial footer shared across the site. */
.site-footer {
    position: relative;
    margin-top: 0 !important;
    padding: 4.5rem 0 1.5rem;
    overflow: hidden;
    border-top: 1px solid #263442;
    background: #14202c;
    color: #b9c2ca;
}

.site-footer::before {
    content: none;
}

.site-footer .footer-widgets {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.9fr) minmax(230px, 1.15fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    margin: 0 0 3.75rem;
}

.site-footer .footer-widget {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.site-footer .footer-widget h2 {
    margin: 0 0 1.25rem;
    padding: 0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-footer .footer-widget h2::after {
    content: none;
}

.site-footer .footer-brand p {
    max-width: 38ch;
    margin: 0;
    color: #9da8b2;
    font-size: 0.9rem;
    line-height: 1.75;
}

.site-footer .footer-menu,
.site-footer .footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-menu li,
.site-footer .footer-contact li {
    margin: 0 0 0.7rem;
}

.site-footer .footer-menu a,
.site-footer .footer-contact li,
.site-footer .footer-contact a {
    color: #b9c2ca;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: none;
}

.site-footer .footer-menu a {
    display: inline-block;
    padding: 0;
    transition: color 0.2s ease;
    transform: none;
}

.site-footer .footer-menu a::before {
    content: none;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-contact a:hover {
    color: #fff;
    text-decoration: none;
    transform: none;
}

.site-footer .footer-contact li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    transition: none;
}

.site-footer .footer-contact li:hover {
    color: #b9c2ca;
}

.site-footer .footer-contact li i {
    width: auto;
    margin: 0.24rem 0 0;
    color: var(--main-color, #e83e8c);
    font-size: 0.75rem;
    text-align: center;
}

.site-footer .footer-social-links {
    display: flex;
    justify-content: flex-start;
    gap: 0.45rem;
    margin: 1.5rem 0 0;
}

.site-footer .footer-social-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #354452;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: #d5dbe0;
    font-size: 0.84rem;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    transform: none;
}

.site-footer .footer-social-link:hover {
    border-color: var(--main-color, #e83e8c);
    background: var(--main-color, #e83e8c);
    box-shadow: none;
    color: #fff;
    transform: none;
}

.site-footer .footer-bottom {
    margin: 0;
    padding: 1.35rem 0 0;
    border-top: 1px solid #2b3947;
    text-align: left;
}

.site-footer .copyright {
    margin: 0;
    color: #7f8b96;
    font-size: 0.72rem;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .site-footer {
        padding-top: 3.75rem;
    }

    .site-footer .footer-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.75rem 3rem;
    }

    .site-footer .footer-brand,
    .site-footer .footer-contact-widget {
        grid-column: span 1;
    }
}

@media (max-width: 575px) {
    .site-footer {
        padding: 3rem 0 1.25rem;
    }

    .site-footer .footer-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.25rem;
        margin-bottom: 2.75rem;
    }

    .site-footer .footer-brand,
    .site-footer .footer-contact-widget {
        grid-column: 1 / -1;
    }

    .site-footer .footer-widget,
    .site-footer .footer-widget h2,
    .site-footer .footer-brand p {
        text-align: left;
    }

    .site-footer .footer-widget h2 {
        margin-bottom: 1rem;
    }

    .site-footer .footer-social-links {
        justify-content: flex-start;
    }

    .site-footer .footer-bottom {
        padding-top: 1.15rem;
    }
}

@media (max-width: 359px) {
    .site-footer .footer-widgets {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-brand,
    .site-footer .footer-contact-widget {
        grid-column: auto;
    }
}
