/**
 * LUPKYNIS Pro – 2026 HCP global footer (template-parts/site-footer.php).
 *
 * Its own file rather than the tail of theme-overrides.css: that tail is edited by
 * every branch, and the Pantheon pre-deploy merges each PR into upstream, where it
 * has diverged from master. The element keeps the legacy "footer" class for the ISI
 * tray script, so the rules here are scoped to .footer.site-footer to win over the
 * .footer rules in style-min.css.
 */

.footer.site-footer {
    padding: 2.5rem 1.25rem;
    background: linear-gradient(90deg, #023038 9.698%, #004744 43.684%, #00ada6 110.99%);
    color: #fff;
    font-family: "Mulish", sans-serif;
    font-size: 0.875rem;
    line-height: normal;
}

/* Home uses the lighter brand ramp (Figma Home, footer instance). */
#front .footer.site-footer {
    background: linear-gradient(90deg, #023038 9.698%, #007b76 43.684%, #54c8c3 110.99%);
}

@media (min-width: 768px) {
    .footer.site-footer {
        padding: 3.75rem 2.5rem;
    }
}

@media (min-width: 1200px) {
    .footer.site-footer {
        padding: 3.75rem 6.25rem;
    }
}

.site-footer__container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.site-footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .site-footer__top {
        flex-direction: row;
        align-items: flex-end;
        gap: 2.5rem;
    }
}

.site-footer__brand a {
    display: block;
}

/* Figma footer - DT 2106:4786, logo frame 2106:5910: 210x60 (only a desktop footer is designed; it fits at 768 and 375 too). */
.site-footer__brand img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

.site-footer__nav {
    flex: 1 1 0;
    min-width: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .site-footer__links {
        justify-content: flex-end;
        column-gap: 2.5rem;
    }
}

.site-footer__links li {
    margin: 0;
}

/* The Securiti CMP styles .cmp-revoke-consent as a floating badge; keep it inline. */
.footer.site-footer .site-footer__link,
.footer.site-footer .site-footer__link.cmp-revoke-consent {
    position: static !important;
    display: inline-block;
    padding: 0 !important;
    font-family: "Mulish", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: normal;
    text-transform: none;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    background: none;
}

.footer.site-footer .site-footer__link:hover,
.footer.site-footer .site-footer__link:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.footer.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.site-footer__signoff p {
    margin: 0;
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: normal;
    color: #fff;
}

.site-footer__code {
    white-space: nowrap;
}
