/* Sitewide footer. */

body .site-footer,
body .ast-small-footer,
body .site-below-footer-wrap {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    background: linear-gradient(135deg, #052c22 0%, #064635 50%, #0c2b21 100%) !important;
    color: #f8f2ea !important;
}

body .site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 34% 20%, rgba(212, 173, 96, 0.12), transparent 30%),
        radial-gradient(circle at 78% 85%, rgba(248, 241, 224, 0.06), transparent 34%);
    pointer-events: none;
}

body .site-below-footer-wrap,
body .ast-builder-grid-row-container-inner,
body .site-below-footer-inner-wrap,
body .site-footer-below-section-1,
body .ast-footer-copyright {
    width: 100% !important;
    max-width: none !important;
}

body .site-below-footer-inner-wrap {
    display: block !important;
}

body .site-footer-below-section-1,
body .ast-footer-copyright {
    margin: 0 !important;
    padding: 0 !important;
}

.biest-footer {
    position: relative;
    z-index: 1;
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: clamp(48px, 5vw, 68px) clamp(28px, 5vw, 64px) 26px;
    text-align: left;
}

.biest-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(130px, .7fr) minmax(130px, .7fr) minmax(240px, 1fr);
    gap: clamp(24px, 3.5vw, 54px);
    align-items: start;
}

.biest-footer__brand {
    max-width: 280px;
}

body .site-footer a.biest-footer__wordmark {
    display: inline-block;
    color: #fffaf2 !important;
    font-family: var(--sans-body) !important;
    font-size: clamp(1.55rem, 1.3rem + 0.5vw, 2rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.13em !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

body .site-footer p.biest-footer__strapline,
body .site-footer .biest-footer__column h2 {
    margin: 12px 0 0 !important;
    color: #e4b958 !important;
    font-family: var(--sans-body) !important;
    font-size: 0.66rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.34em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

body .site-footer p.biest-footer__description {
    max-width: 30ch;
    margin: 18px 0 0 !important;
    color: #ddd2e4 !important;
    font-family: var(--serif-header) !important;
    font-size: 1.08rem !important;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

body .site-footer .biest-footer__column h2 {
    margin-top: 0 !important;
}

.biest-footer__column ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.biest-footer__column li {
    margin: 0;
}

body .site-footer .biest-footer__column a {
    color: #d8d0df !important;
    font-family: var(--sans-body) !important;
    font-size: 0.94rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    transition: color 180ms ease, transform 180ms ease;
}

body .site-footer .biest-footer__column a:hover,
body .site-footer .biest-footer__column a:focus-visible {
    color: #f0c96d !important;
}

.biest-footer__contact a {
    overflow-wrap: anywhere;
}

.biest-footer__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 48px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(238, 226, 243, 0.18);
}

body .site-footer .biest-footer__notice {
    max-width: 68ch;
    margin: 0 !important;
    color: #d8d0df !important;
    font-family: var(--sans-body) !important;
    font-size: .82rem !important;
    line-height: 1.55 !important;
}

body .site-footer a.biest-footer__legal {
    flex: 0 1 280px;
    color: #e4b958 !important;
    font-family: var(--sans-body) !important;
    font-size: .82rem !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

body .site-footer a.biest-footer__legal:hover,
body .site-footer a.biest-footer__legal:focus-visible {
    color: #f0c96d !important;
    text-decoration: underline !important;
}

.biest-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding-top: 0;
}

body .site-footer .biest-footer__bottom p {
    margin: 0 !important;
    color: rgba(231, 221, 236, 0.62) !important;
    font-family: var(--sans-body) !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.5 !important;
    text-transform: none !important;
}

@media (max-width: 920px) {
    .biest-footer__grid {
        grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(145px, 0.8fr));
    }

    .biest-footer__contact {
        grid-column: 2 / 4;
    }

    .biest-footer__contact ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .biest-footer__info {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .biest-footer {
        padding: 42px 20px 22px;
    }

    .biest-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .biest-footer__brand,
    .biest-footer__contact {
        grid-column: 1 / -1;
    }

    .biest-footer__brand {
        max-width: none;
    }

    body .site-footer p.biest-footer__description {
        max-width: 32ch;
        margin-top: 20px !important;
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .biest-footer__column ul {
        gap: 0;
        margin-top: 18px;
    }

    .biest-footer__contact ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 16px;
    }

    .biest-footer__contact li:first-child {
        grid-column: 1 / -1;
    }

    .biest-footer__info {
        flex-direction: column;
        gap: 14px;
        margin-top: 28px;
        padding-top: 20px;
    }

    body .site-footer a.biest-footer__legal {
        flex-basis: auto;
    }

    .biest-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 18px;
        padding-top: 0;
    }
}

@media (max-width: 340px) {
    .biest-footer__grid {
        grid-template-columns: 1fr;
    }

    .biest-footer__brand,
    .biest-footer__contact {
        grid-column: auto;
    }
}
