/* Rank Engine shared footer */

body:is(.re-owned-template, .re-member-app-template) .footer-main,
body:is(.re-owned-template, .re-member-app-template) .footer-main * {
    box-sizing: border-box;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main {
    color: #f0f7fc;
    background: #043d6b;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main .re-footer-background-overlay,
body:is(.re-owned-template, .re-member-app-template) .dashboard_footer {
    display: none;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav {
    padding: 76px 0 34px;
    background: transparent;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
    width: min(1218px, calc(100% - 48px));
    max-width: none;
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.2fr) minmax(270px, 0.95fr);
    gap: 42px;
    align-items: start;
    margin: 0 auto;
    padding: 0;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-layout::before,
body:is(.re-owned-template, .re-member-app-template) .re-footer-layout::after {
    content: none;
    display: none;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin: 0 0 24px;
    text-decoration: none;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-brand img {
    width: 200px;
    height: auto;
    display: block;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-description,
body:is(.re-owned-template, .re-member-app-template) .re-footer-cta p,
body:is(.re-owned-template, .re-member-app-template) .re-footer-copyright {
    margin: 0;
    color: rgba(240, 247, 252, 0.86);
    font-family: Rubik, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-description {
    max-width: 300px;
    margin-bottom: 24px;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    align-items: center;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-social a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(240, 247, 252, 0.82);
    line-height: 1;
    text-decoration: none;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-social a:hover,
body:is(.re-owned-template, .re-member-app-template) .re-footer-social a:focus-visible {
    color: #ffffff;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-social svg {
    width: 20px;
    height: 20px;
    display: block;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    gap: 30px;
    justify-content: space-between;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group h4,
body:is(.re-owned-template, .re-member-app-template) .re-footer-cta h4 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.24;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group li {
    margin: 0;
    padding: 0;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group a {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 3px 0;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a {
    color: rgba(240, 247, 252, 0.84);
    font-family: Rubik, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a:hover,
body:is(.re-owned-template, .re-member-app-template) .footer-main a:focus-visible {
    color: #ffffff;
}

@media (min-width: 768px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group a {
        white-space: nowrap;
    }
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-cta {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 22px 48px rgba(13, 47, 73, 0.91);
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__eyebrow {
    margin-bottom: 10px !important;
    color: #9fddff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-cta h4 {
    margin-bottom: 12px;
    font-size: 21px;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 3px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-action svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--primary {
    color: #ffffff;
    background: #e96f30;
    border: 1px solid #e96f30;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--primary:hover,
body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--primary:focus-visible {
    color: #ffffff;
    background: #f38145;
    border-color: #f38145;
    box-shadow: 0 12px 28px rgba(243, 129, 69, 0.22);
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--secondary {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--secondary:hover,
body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action--secondary:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-copyright {
    color: rgba(200, 222, 236, 0.72);
    font-size: 13px;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-end;
}

body:is(.re-owned-template, .re-member-app-template) .re-footer-legal a {
    color: rgba(200, 222, 236, 0.82);
    font-size: 12px;
}

@media (min-width: 1600px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        width: 90vw;
        max-width: none;
        grid-template-columns: 300px minmax(0, 1fr) 428px;
        gap: clamp(36px, 3.6vw, 80px);
        justify-content: stretch;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
        grid-template-columns: repeat(5, max-content);
        gap: 0;
        justify-content: space-between;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    }
}

@media (min-width: 1121px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        align-items: center;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-bottom {
        align-self: start;
    }

    body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action {
        padding-right: 12px;
        padding-left: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 1599px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group--account {
        display: none;
    }
}

@media (min-width: 1121px) and (max-width: 1599px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        grid-template-columns: minmax(210px, 0.78fr) minmax(0, 2fr) minmax(270px, 0.9fr);
        gap: clamp(16px, 1.9vw, 28px);
        align-items: center;
        width: calc(100% - 96px);
        max-width: none;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(8px, 1vw, 16px);
        justify-content: stretch;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta {
        width: 100%;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-bottom {
        grid-column: 1 / -1;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta p:not(.re-footer-cta__eyebrow) {
        display: none;
    }

    body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action {
        width: 100%;
        min-height: 40px;
        font-size: 13.5px;
    }
}

@media (min-width: 1121px) and (max-width: 1279px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2fr) minmax(250px, 0.84fr);
        gap: 14px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-brand img {
        width: 178px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-description {
        font-size: 12.5px;
        line-height: 1.5;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group h4,
    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta h4 {
        font-size: 16px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group a {
        min-height: 31px;
        font-size: 12px;
        white-space: normal;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta {
        padding: 18px;
    }

    body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action {
        font-size: 12.5px;
    }
}

@media (min-width: 981px) and (max-width: 1120px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        width: calc(100% - 96px);
        max-width: none;
    }
}

@media (max-width: 1120px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.45fr);
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        justify-content: stretch;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px 28px;
        align-items: center;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__eyebrow,
    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta h4,
    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta p {
        grid-column: 1;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__actions {
        min-width: 250px;
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav {
        padding: 44px 0 28px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        width: min(100% - 36px, 520px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-logo-link {
        margin-bottom: 18px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-brand img {
        width: 178px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-description {
        max-width: none;
        margin-bottom: 18px;
        font-size: 13.5px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta {
        display: block;
        padding: 20px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta h4 {
        font-size: 19px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-cta__actions {
        margin-top: 18px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 24px;
        justify-content: stretch;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group h4 {
        margin-bottom: 12px;
        font-size: 17px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-group ul {
        gap: 2px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-bottom {
        display: grid;
        gap: 14px;
        justify-content: stretch;
        margin-top: 0;
        padding-top: 22px;
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-legal {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    body:is(.re-owned-template, .re-member-app-template) .re-footer-layout {
        width: calc(100% - 32px);
    }

    body:is(.re-owned-template, .re-member-app-template) .re-footer-nav-grid {
        gap: 24px 18px;
    }

    body:is(.re-owned-template, .re-member-app-template) .footer-main a.re-footer-action {
        width: 100%;
    }
}

