/* ========================================================================
   SHARED PUBLIC WEBSITE FOOTER
   Used by Home, Firmware, Downloads and OTP Checker only.
   All selectors are prefixed so page-specific styles cannot change it.
   ======================================================================== */

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    border-top: 1px solid #042e28;
    background: #042e28;
    color: #bbd8cc;
    font-family: Outfit, Arial, sans-serif;
    /* Keep footer spacing identical when a page framework sets line-height. */
    line-height: normal;
    padding: 29px 0 11px;
}

.site-footer__shell {
    width: min(1480px, calc(100% - 48px));
    margin: auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 28px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.site-footer__brand-icon {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    flex: 0 0 47px;
    border: 2px solid #f5a116;
    border-radius: 14px;
    background: #05332d;
    box-shadow: 4px 4px 0 #f5c568;
    color: #f5a116;
    font-size: 19px;
}

.site-footer__brand b {
    display: block;
    font-size: 21px;
    font-weight: 800;
    line-height: 25px;
    letter-spacing: -.55px;
}

.site-footer__brand small {
    display: block;
    margin-top: 3px;
    color: #66847a;
    font-size: 10px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 1.35px;
}

.site-footer p {
    max-width: 360px;
    margin: 19px 0 0;
    color: #bbd8cc;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer h4 {
    margin: 5px 0 16px;
    color: #fff;
    font-family: Oxanium, Outfit, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 13px;
}

.site-footer__grid > div:not(:first-child) > a {
    display: block;
    margin: 10px 0;
    color: #bbd8cc;
    font-size: 13px;
    line-height: 13px;
    text-decoration: none;
}

.site-footer__grid > div:not(:first-child) > a:hover {
    color: #fff;
}

.site-footer__copyright {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid #1c554b;
    color: #bbd8cc;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 920px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .site-footer__shell {
        width: calc(100% - 28px);
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand b {
        font-size: 17px;
    }
}
