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

@font-face {
    font-family: "Manrope";
    src: url("/wp-content/uploads/2025/11/Manrope-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Manrope";
    src: url("/wp-content/uploads/2025/11/Manrope-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Manrope";
    src: url("/wp-content/uploads/2025/11/Manrope-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Manrope";
    src: url("/wp-content/uploads/2025/11/Manrope-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Rubik";
    src: url("/wp-content/uploads/2025/11/Rubik-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Rubik";
    src: url("/wp-content/uploads/2025/11/Rubik-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Rubik";
    src: url("/wp-content/uploads/2025/11/Rubik-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

:root {
    --re-blue-950: #073b64;
    --re-blue-900: #084f83;
    --re-blue-800: #0b629a;
    --re-blue-100: #e8f4fb;
    --re-ink: #102235;
    --re-muted: #516276;
    --re-line: #dbe6ee;
    --re-orange: #ff7a3d;
    --re-orange-dark: #e96023;
    --re-green: #00b67a;
    --re-white: #ffffff;
    --re-radius: 8px;
    --re-shadow: 0 18px 42px rgba(6, 40, 69, 0.14);
    --re-pale-blue-section-surface:
        linear-gradient(180deg, rgb(229, 239, 244) 0%, rgba(232, 244, 251, 0.67) 80%, rgba(255, 255, 255, 0.97) 100%),
        url("/wp-content/themes/rankengine/assets/img/textures/rankengine-body-blue.svg") 50% 50% / cover no-repeat,
        linear-gradient(180deg, #f8fcff, #fff);
    --re-beige-section-surface:
        linear-gradient(180deg, rgba(251, 243, 236, 0.72) 0%, rgba(251, 243, 236, 0.47) 82%, rgba(255, 255, 255, 0.97) 100%),
        url(/wp-content/themes/rankengine/assets/img/textures/rankengine-body-warm.svg) 50% 50% / cover no-repeat,
        linear-gradient(180deg, #fbf3ec, #fff);
    --re-image-shadow-cool: 5px 5px 16px rgba(0, 65, 121, 0.26);
    --re-image-shadow-warm: 5px 5px 16px rgba(108, 45, 7, 0.26);
    --re-contour-shadow-cool: drop-shadow(5px 5px 8px rgba(0, 55, 102, 0.2));
    --re-contour-shadow-warm: drop-shadow(5px 5px 8px rgba(93, 37, 0, 0.2));
    --re-blue-surface-dark:
        radial-gradient(circle at 74% 34%, rgba(57, 154, 211, 0.42), transparent 31%),
        linear-gradient(90deg, rgba(1, 53, 93, 0.83), #043d6b),
        url("/wp-content/themes/rankengine/assets/img/textures/rankengine-geometry-base.png") center / cover no-repeat,
        #043d6b;
}

@media (max-width: 1024px) {
    :root {
        --re-blue-surface-dark:
            radial-gradient(circle at 74% 34%, rgba(57, 154, 211, 0.3), transparent 31%),
            linear-gradient(90deg, rgba(1, 53, 93, 0.83), rgba(4, 61, 107, 0.79)),
            url("/wp-content/themes/rankengine/assets/img/textures/rankengine-geometry-base.png") center / cover no-repeat,
            #043d6b;
    }
}

html {
    scrollbar-color: #043d6b #daeaee;
    scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: #043d6b;
    border: 2px solid #daeaee;
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: #043d6b;
}

html::-webkit-scrollbar-track,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-track,
body::-webkit-scrollbar-corner {
    background: #daeaee;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Only while actively smooth-scrolling: stop iframes swallowing wheel events
   mid-scroll. The stock Lenis snippet scopes this to .lenis-smooth alone,
   which is permanent and made every embed (e.g. the Calendly booking widget
   on /discovery/) unclickable. This Lenis build toggles .lenis-scrolling on
   the root during scroll, verified on staging 2026-06-12. */
.lenis.lenis-smooth.lenis-scrolling iframe {
    pointer-events: none;
}

* {
    box-sizing: border-box;
}

body.re-owned-template {
    margin: 0;
}

body.re-owned-template .site_wrapper.fadeOnLoad {
    opacity: 1 !important;
}

html.re-owned-fonts-loading body.re-owned-template,
html.re-owned-fonts-loading body.re-owned-template *::before,
html.re-owned-fonts-loading body.re-owned-template *::after,
html.re-owned-fonts-loading body.re-owned-template * {
    color: transparent !important;
    text-shadow: none !important;
    -webkit-text-fill-color: transparent !important;
}

@media (max-width: 767px) {
    body.re-owned-template {
        --re-texture-body-blue: none !important;
        --re-texture-body-warm: none !important;
    }
}

.re-owned-template img,
.re-owned-template svg {
    max-width: 100%;
    height: auto;
}

html.re-js .re-owned-template img.re-lazy-fade {
    opacity: 0;
    transition: opacity 350ms ease;
}

html.re-js .re-owned-template img.re-lazy-fade.is-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html.re-js .re-owned-template img.re-lazy-fade {
        opacity: 1;
        transition: none;
    }
}

.re-owned-template a {
    color: inherit;
    text-decoration: none;
}

.re-owned-template button,
.re-owned-template input {
    font: inherit;
}

body.re-owned-template .gt3-page-title_wrapper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

body.re-owned-template .back_to_top_container,
body.re-owned-template .gt3_back2top {
    display: none !important;
}

body.re-owned-template #cmplz-manage-consent,
body.re-owned-template .cmplz-manage-consent {
    display: none !important;
}

.cmplz-cookiebanner,
.cmplz-cookiebanner * {
    font-family: "Manrope", sans-serif !important;
}

.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-description,
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner p,
.cmplz-cookiebanner li {
    font-family: "Rubik", sans-serif !important;
    font-weight: 400 !important;
}

.cmplz-cookiebanner .cmplz-label .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.re-owned-template .my-account-navigation-submenu,
body.re-owned-template .re-dashboard-breadcrumb {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.re-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 10px 12px;
    color: var(--re-white);
    background: var(--re-orange);
    border-radius: 6px;
    transform: translateY(-140%);
}

.re-skip-link:focus {
    transform: translateY(0);
}

html {
    overflow-x: hidden;
}

body.re-account-email-action-needed {
    padding-bottom: 74px;
}

.re-account-email-help {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    color: #516276;
    font-family: "Rubik", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.re-account-email-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 14px;
    color: #073b64;
    background: #eaf6fb;
    border: 1px solid #c5e3f2;
    border-left: 3px solid #0b629a;
    border-radius: 3px;
    font-family: "Rubik", sans-serif;
}

.re-account-email-status--warning {
    background: #fff4ea;
    border-color: #ffd9c2;
    border-left-color: #ff7a3d;
}

.re-account-email-status p,
.re-account-email-status span {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.re-account-email-status--field {
    margin-top: 8px;
}

.re-account-email-status a,
.re-account-email-banner a,
.re-account-email-checkout-block__button {
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.re-account-email-status a {
    flex: 0 0 auto;
    color: #e96023;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.re-account-email-status a:hover,
.re-account-email-status a:focus-visible {
    color: #073b64;
}

.re-account-email-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 880px;
    min-height: 50px;
    margin: 0 auto;
    padding: 13px 16px;
    color: #fff;
    background: #073b64;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 3px;
    box-shadow: 0 18px 42px rgba(6, 40, 69, .28);
    font-family: "Rubik", sans-serif;
}

.re-account-email-banner p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.re-account-email-banner a {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: #fff;
    background: #ff7a3d;
    border-radius: 3px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.re-account-email-banner a:hover,
.re-account-email-banner a:focus-visible {
    background: #e96023;
    transform: translateY(-1px);
}

.re-account-email-checkout-block {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 59, 100, .58);
}

.re-account-email-checkout-block__panel {
    width: min(100%, 520px);
    padding: 28px;
    color: #102235;
    background: #fff;
    border: 1px solid #dbe6ee;
    border-radius: 3px;
    box-shadow: 0 24px 60px rgba(6, 40, 69, .28);
    font-family: "Rubik", sans-serif;
}

.re-account-email-checkout-block__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0b629a;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.re-account-email-checkout-block h2 {
    margin: 0 0 12px;
    color: #073b64;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.re-account-email-checkout-block p {
    margin: 0 0 20px;
    color: #516276;
    font-size: 15px;
    line-height: 1.55;
}

.re-account-email-checkout-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    color: #fff !important;
    background: #ff7a3d;
    border-radius: 3px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.re-account-email-checkout-block__button:hover,
.re-account-email-checkout-block__button:focus-visible {
    background: #e96023;
    box-shadow: 0 12px 24px rgba(255, 122, 61, .26);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    body.re-account-email-action-needed {
        padding-bottom: 112px;
    }

    .re-account-email-status,
    .re-account-email-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .re-account-email-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        gap: 10px;
    }
}
