/* Rank Engine shared footer
 * Shared child-theme CSS. Keep page-specific layout in the page CSS file.
 */

body:is(.re-owned-template, .re-member-app-template) .footer-main {
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(180deg, #014e8a 0%, #014375 100%);
}

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: 64px 0 42px;
    background: transparent;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
    width: min(1218px, calc(100% - 44px));
    max-width: none;
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 2fr) minmax(220px, 0.75fr);
    gap: 34px;
    margin: 0 auto;
    padding: 0;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row div {
    width: auto;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(110px, 0.78fr) minmax(110px, 0.78fr) minmax(210px, 1.22fr);
    gap: 32px;
    align-items: start;
}

@media (min-width: 981px) {
    body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .first-section {
        grid-column: 1;
        grid-row: 1;
    }

    body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
        grid-column: 2;
        grid-row: 1;
    }

    body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .third-section {
        grid-column: 3;
        grid-row: 1;
    }
}

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

body:is(.re-owned-template, .re-member-app-template) .footer-main p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav h4 {
    margin: 0 0 14px;
    color: var(--re-white);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

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

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

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a:hover,
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a:focus-visible {
    color: var(--re-orange);
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col > div {
    margin-bottom: 12px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image,
body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image img {
    width: 46px;
    height: 46px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image img {
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .content {
    min-width: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.35;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0 18px;
    color: var(--re-white);
    border-radius: 6px;
    background: var(--re-orange);
    font-weight: 900;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a:hover,
body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a:focus-visible {
    color: var(--re-white);
    background: var(--re-orange-dark);
}

@media (max-width: 980px) {
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

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

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

@property --re-footer-button-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes re-footer-button-border-sweep {
    to {
        --re-footer-button-border-angle: 360deg;
    }
}

@media (min-width: 1700px) {
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav {
        padding: 127.39px 0 86px;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
        width: 90vw;
        max-width: none;
        padding: 0 25px;
        display: grid;
        grid-template-columns: 293.69px 919.64px 343.89px;
        column-gap: 91.42px;
        margin: 0 auto;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col {
        margin-left: 20.53px;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
        grid-template-columns: 153.32px 151.2px 140px 1fr;
        column-gap: 37.8px;
    }
}

@media (min-width: 981px) and (max-width: 1699px) {
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav {
        padding: 96px 0 68px;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
        width: calc(100% - 96px);
        max-width: none;
        display: grid;
        grid-template-columns: minmax(250px, 0.72fr) minmax(610px, 2fr) minmax(300px, 0.8fr);
        column-gap: 48px;
        margin: 0 auto;
        padding: 0;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
        grid-template-columns: minmax(112px, 0.78fr) minmax(112px, 0.78fr) minmax(112px, 0.78fr) minmax(176px, 1.18fr);
        column-gap: 26px;
    }
}

body:is(.re-owned-template, .re-member-app-template) .footer-main {
    color: #f0f0f0;
    background: #014e8a;
}

body:is(.re-owned-template, .re-member-app-template) .footer-first-col img {
    width: 200px;
    height: auto;
    margin: 0 0 35.99px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-main p {
    color: #f0f0f0;
    font-family: Rubik, sans-serif;
    font-size: 14.4px;
    font-weight: 400;
    line-height: 21.6px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-first-col .footer_first_description {
    margin: 0 0 18px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-first-col .footer_second_description {
    margin: 0 0 35.99px;
}

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

body:is(.re-owned-template, .re-member-app-template) .re-footer-social a {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d8dee5;
    line-height: 1;
}

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: #fff;
}

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) .footer-main p.re-footer-copyright {
    margin: 0;
    color: #81a2b9;
    font-size: 14px;
    line-height: 19.6px;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav h4 {
    margin: 0 0 17.99px;
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: 19.8px;
    font-weight: 800;
    line-height: 25.74px;
}

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

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a {
    color: #f0f0f0;
    font-family: Rubik, sans-serif;
    font-size: 12.8px;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a:hover,
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav a:focus-visible {
    color: #fff;
    text-shadow: 0 8px 20px #ffffff63;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col > div {
    margin: 0 0 11.18px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col a {
    display: grid;
    grid-template-columns: 41.6px minmax(0, 1fr);
    gap: 16.2px;
    align-items: center;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image,
body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image img {
    width: 41.6px;
    height: 41.6px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .blog_image img {
    border-radius: 3px;
    object-fit: cover;
}

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col .content {
    color: #f0f0f0;
    font-family: Rubik, sans-serif;
    font-size: 12.8px;
    font-weight: 300;
    line-height: 15px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col p {
    margin: 37.99px 0 20px;
    max-width: 343.89px;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button {
    --re-footer-button-border-angle: 0deg;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 8px 20px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 3px;
    box-shadow: none;
    isolation: isolate;
    line-height: 12.852px;
    overflow: hidden;
    position: relative;
    text-shadow: 0 8px 20px #ffffff00;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button::after {
    animation: re-footer-button-border-sweep 3.2s linear infinite;
    background: conic-gradient(
        from var(--re-footer-button-border-angle),
        rgba(255, 255, 255, 0) 0deg,
        rgba(255, 255, 255, 0) 236deg,
        rgba(255, 255, 255, 0.22) 262deg,
        rgba(255, 255, 255, 0.92) 282deg,
        rgba(255, 255, 255, 0.34) 302deg,
        rgba(255, 255, 255, 0) 332deg,
        rgba(255, 255, 255, 0) 360deg
    );
    border-radius: inherit;
    box-sizing: border-box;
    content: "";
    inset: 0;
    opacity: 0;
    padding: 1px;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.2s ease;
    z-index: 0;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button:hover,
body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(0, 29, 52, 0.16);
    color: #fff;
    text-shadow: 0 8px 20px #ffffff63;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button:hover::after,
body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button:focus-visible::after {
    opacity: 1;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col .schedule-icon,
body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col .schedule-icon-svg {
    position: relative;
    z-index: 1;
}

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col .schedule-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

@media (min-width: 768px) and (max-width: 980px) {
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 40px 30px !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 30px !important;
        grid-column: 1 / -1 !important;
        order: 1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .first-section {
        order: 2 !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .third-section {
        order: 3 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-second-col {
        order: 1 !important;
        grid-column: 1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-third-col {
        order: 2 !important;
        grid-column: 2 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-fourth-col {
        order: 3 !important;
        grid-column: 1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col {
        order: 4 !important;
        grid-column: 2 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col {
        width: auto !important;
        grid-column: auto !important;
    }
}

@media (max-width: 767px) {
body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .second-section {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 24px !important;
        order: 1 !important;
        grid-column: 1 / -1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .third-section {
        order: 2 !important;
        grid-column: 1 / -1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) section.footer-section-nav .first-section {
        order: 3 !important;
        grid-column: 1 / -1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-fifth-col {
        order: 1 !important;
        grid-column: 1 / -1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-fourth-col {
        order: 2 !important;
        grid-column: 1 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-third-col {
        order: 3 !important;
        grid-column: 2 !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-second-col {
        order: 4 !important;
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col {
        grid-column: auto !important;
    }
}

@media (max-width: 980px) {
body:is(.re-owned-template, .re-member-app-template) .footer-sixth-col a.re-footer-schedule-button::after {
        animation: none;
    }
}
