/* Shared Next footer rules: Origami */

#md-fsr-site-footer.md-fsr-footer-origami
a:focus-visible {
    outline: 3px solid var(--md-fsr-accent,#bcd99f) !important;
    outline-offset: 3px !important;
}

#md-fsr-site-footer.md-fsr-footer-origami {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--md-fsr-foot-text,#eee) !important;
    background: var(--md-fsr-foot-bg,#182b24) !important;
}

#md-fsr-site-footer .md-fsr-next-foot-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px clamp(20px,5vw,70px) 25px;
}

#md-fsr-site-footer .md-fsr-next-foot-label {
    display: block;
    color: var(--md-fsr-accent,#bcd99f);
    font: 800 11px/1.4 system-ui,sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#md-fsr-site-footer .md-fsr-next-foot-brand h2 {
    margin: 14px 0 10px;
    font: 800 clamp(30px,5vw,76px)/1.08 system-ui,sans-serif;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}

#md-fsr-site-footer .md-fsr-next-foot-brand h2 a {
    color: var(--md-fsr-foot-head,#fff) !important;
    text-decoration: none;
}

#md-fsr-site-footer .md-fsr-next-foot-tagline {
    max-width: 620px;
    margin: 0;
    color: var(--md-fsr-foot-muted,#c5d7c7) !important;
    font-size: 15px;
}

#md-fsr-site-footer .md-fsr-next-foot-logo {
    margin-top: 14px;
}

#md-fsr-site-footer .md-fsr-next-foot-logo img {
    width: auto !important;
    height: auto !important;
    max-width: min(280px,100%) !important;
    max-height: 84px !important;
}

#md-fsr-site-footer .md-fsr-next-foot-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#md-fsr-site-footer .md-fsr-next-foot-nav li {
    display: flex;
    gap: 13px;
    align-items: baseline;
    min-width: 0;
}

#md-fsr-site-footer .md-fsr-next-foot-nav li > span {
    color: var(--md-fsr-accent,#bcd99f);
    font: 700 11px/1.4 system-ui,sans-serif;
}

#md-fsr-site-footer .md-fsr-next-foot-nav a {
    color: var(--md-fsr-foot-text,#eee) !important;
    overflow-wrap: anywhere;
    text-decoration: none;
}

#md-fsr-site-footer .md-fsr-next-foot-legal h3 {
    margin: 0 0 10px;
    color: var(--md-fsr-foot-head,#fff);
    font-size: 15px;
}

#md-fsr-site-footer .md-fsr-next-foot-legal p {
    margin: 0 0 13px;
    color: var(--md-fsr-foot-muted,#c5d7c7);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#md-fsr-site-footer .md-fsr-next-foot-legal a {
    color: var(--md-fsr-foot-text,#eee) !important;
    font-weight: 700;
}

#md-fsr-site-footer .md-fsr-next-foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--md-fsr-foot-muted,#c5d7c7);
}

#md-fsr-site-footer .md-fsr-next-foot-bottom a {
    color: inherit !important;
}

@media (max-width: 760px) {
#md-fsr-site-footer .md-fsr-next-foot-wrap {
        padding: 38px 20px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
#md-fsr-site-footer.md-fsr-footer-origami * {
        animation: none !important;
        transition: none !important;
    }
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-label,
#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav li > span {
    color: var(--md-fsr-foot-muted, #C5D7C7) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-bottom,
#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-bottom > span {
    color: var(--md-fsr-foot-muted, #C5D7C7) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-bottom > a {
    color: var(--md-fsr-foot-text, #E5F4F0) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer.md-fsr-footer-origami a,
#md-fsr-site-footer.md-fsr-footer-origami a:hover,
#md-fsr-site-footer.md-fsr-footer-origami a:focus-visible {
    text-decoration: none !important;
}

#md-fsr-site-footer.md-fsr-footer-origami :is(
    .md-fsr-next-foot-bottom,
    .md-fsr-next-foot-legal
) a {
    display: inline-block;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

@media (hover: hover) {
#md-fsr-site-footer.md-fsr-footer-origami :is(
        .md-fsr-next-foot-bottom,
        .md-fsr-next-foot-legal
    ) a:hover {
        opacity: .8;
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
#md-fsr-site-footer.md-fsr-footer-origami a,
#md-fsr-site-footer.md-fsr-footer-origami a::before,
#md-fsr-site-footer.md-fsr-footer-origami a::after {
        transition: none !important;
    }
}

/* Specific Origami styles */

/* FSR footer-origami. */

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-wrap {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
    gap: 0;
    background: linear-gradient(
        128deg,
        transparent 12%,
        color-mix(in srgb,var(--md-fsr-accent,#bcd99f) 10%,transparent) 100%
    );
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-brand {
    padding: 42px 68px 52px 0;
    background: linear-gradient(
        135deg,
        transparent 65%,
        var(--md-fsr-accent,#bcd99f) 65%,
        var(--md-fsr-accent,#bcd99f) 66%,
        transparent 66%
    );
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav {
    padding: 45px 0 40px 44px;
    border-left: 1px solid var(--md-fsr-accent,#bcd99f);
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav ul {
    display: grid;
    gap: 20px;
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav li {
    transform: skewX(-6deg);
}

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav a {
    font: 750 18px/1.3 system-ui,sans-serif;
}

#md-fsr-site-footer.md-fsr-footer-origami
:is(.md-fsr-next-foot-legal,.md-fsr-next-foot-bottom) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--md-fsr-accent,#bcd99f);
    padding-top: 20px;
}

@media (max-width: 760px) {
#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-wrap {
        grid-template-columns: minmax(0,1fr);
    }

#md-fsr-site-footer.md-fsr-footer-origami
    :is(.md-fsr-next-foot-legal,.md-fsr-next-foot-bottom) {
        grid-column: 1;
    }

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-brand {
        padding: 0 0 30px;
    }

#md-fsr-site-footer.md-fsr-footer-origami .md-fsr-next-foot-nav {
        padding: 26px 0;
        border-left: none;
        border-top: 1px solid var(--md-fsr-accent,#bcd99f);
    }
}

#md-fsr-site-footer.md-fsr-footer-origami
.md-fsr-next-foot-nav a {
    display: inline-block;
    position: relative;
    max-width: 100%;
    padding: 7px 12px;
    transition:
        transform .3s ease,
        background-color .3s ease;
}

#md-fsr-site-footer.md-fsr-footer-origami
.md-fsr-next-foot-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--md-fsr-accent, #D4FF31);
    opacity: 0;
    transform: translateY(-50%) rotate(45deg) scale(0);
    transition:
        opacity .25s ease,
        transform .3s ease;
}

@media (hover: hover) {
#md-fsr-site-footer.md-fsr-footer-origami
    .md-fsr-next-foot-nav a:hover {
        transform: translateX(9px);
        background-color: rgba(255,255,255,.07);
    }

#md-fsr-site-footer.md-fsr-footer-origami
    .md-fsr-next-foot-nav a:hover::before {
        opacity: 1;
        transform: translateY(-50%) rotate(45deg) scale(1);
    }
}

#md-fsr-site-footer.md-fsr-footer-origami
.md-fsr-next-foot-nav a:focus-visible::before {
    opacity: 1;
    transform: translateY(-50%) rotate(45deg) scale(1);
}
