/* Shared Extra footer rules: Tide */

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

#md-fsr-site-footer.md-fsr-footer-tide {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--md-fsr-foot-bg,#152638) !important;
    color: var(--md-fsr-foot-text,#e8f2fb) !important;
    box-sizing: border-box;
    overflow: hidden;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin-inline: auto;
    padding:
        clamp(40px,6vw,90px)
        clamp(18px,5vw,70px)
        24px;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-kicker,
#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-nav li > span {
    color: var(--md-fsr-foot-muted,#bdcedb) !important;
    opacity: 1 !important;
    font: 750 11px/1.4 system-ui,sans-serif;
    letter-spacing: .1em;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-logo img {
    height: auto !important;
    width: auto !important;
    max-width: min(260px,100%) !important;
    max-height: 78px !important;
    margin: 18px 0 0 !important;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-brand h2 {
    margin: 15px 0 12px;
    font-family: system-ui,sans-serif;
    overflow-wrap: anywhere;
}

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

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-tagline,
#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-legal p {
    color: var(--md-fsr-foot-muted,#bdcedb) !important;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-nav ul {
    display: grid;
    gap: 12px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-nav li {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 12px;
}

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

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-legal h3 {
    color: var(--md-fsr-foot-head,#fff) !important;
    font-size: 15px;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 22px;
    margin-top: 36px;
    border-top: 1px solid var(--md-fsr-foot-muted,#bdcedb);
    color: var(--md-fsr-foot-muted,#bdcedb) !important;
    font: 500 12px/1.5 system-ui,sans-serif;
    opacity: 1 !important;
}

#md-fsr-site-footer.md-fsr-footer-tide .md-fsr-extra-footer-bottom > * {
    opacity: 1 !important;
    color: var(--md-fsr-foot-muted,#bdcedb) !important;
}

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

/* Specific Tide styles */

/* FSR Tide: soft layered horizon. */

#md-fsr-site-footer.md-fsr-site-footer.md-fsr-footer-tide {
    border-top: 7px solid
        var(--md-fsr-foot-muted,#aac3d2) !important;

    border-radius: 44px 44px 0 0;

    background-image:
        radial-gradient(
            ellipse 110% 70% at 15% 0%,
            rgba(255,255,255,.13),
            transparent 70%
        ),
        radial-gradient(
            ellipse 65% 90% at 100% 65%,
            rgba(255,255,255,.08),
            transparent 70%
        ) !important;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-inner {
    display: grid;
    grid-template-columns:
        minmax(0,1.1fr)
        minmax(0,.9fr);
    gap: 42px 8%;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-brand h2 {
    font: 850 clamp(40px,5.8vw,83px)/1.04
        system-ui,sans-serif;
    letter-spacing: -.065em;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-tagline {
    max-width: 520px;
    font-size: 16px;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-nav {
    align-self: center;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-nav ul {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-nav li {
    padding: 10px 13px;
    border: 1px solid
        var(--md-fsr-foot-muted,#aac3d2);
    border-radius: 22px;
    background: rgba(255,255,255,.045);
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-nav li a {
    font: 650 13px/1.4 system-ui,sans-serif;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-legal {
    grid-column: 1 / -1;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.055);
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-legal p {
    max-width: 880px;
    font-size: 13px;
}

#md-fsr-site-footer.md-fsr-footer-tide
.md-fsr-extra-footer-bottom {
    grid-column: 1 / -1;
    margin-top: 0;
}

@media (hover:hover) {
    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-nav li {
        transition:
            transform .2s ease,
            background-color .2s ease;
    }

    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-nav li:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,.12);
    }
}

@media (max-width:760px) {
    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-inner {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-nav ul {
        grid-template-columns: minmax(0,1fr);
    }

    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-legal,
    #md-fsr-site-footer.md-fsr-footer-tide
    .md-fsr-extra-footer-bottom {
        grid-column: 1;
    }
}
