/* =========================================
   SAAE Figma typography presets
   Apply to both editor and frontend
   ========================================= */

/* Heading block styles */
.wp-block-heading.is-style-hero-display {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.wp-block-heading.is-style-display-1 {
    font-size: clamp(7rem, 20vw, 18.75rem);
    font-weight: 200;
    line-height: 1.09;
    letter-spacing: -0.05em;
    vertical-align: middle;
}

.wp-block-heading.is-style-display-2 {
    font-size: clamp(4rem, 10vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.wp-block-heading.is-style-display-3 {
    font-size: clamp(2.625rem, 6vw, 4.75rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-transform: capitalize;
}

.wp-block-heading.is-style-header-1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: -0.05em;
}

.wp-block-heading.is-style-header-2 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.09;
    letter-spacing: -0.05em;
}

.wp-block-heading.is-style-header-3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.2em;
}

/* Paragraph block styles */
.wp-block-paragraph.is-style-paragraph-1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.09;
    letter-spacing: -0.05em;
}

.wp-block-paragraph.is-style-paragraph-2 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.wp-block-paragraph.is-style-paragraph-3 {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.wp-block-paragraph.is-style-link-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

/* Button block style */
.wp-block-button.is-style-figma-button .wp-block-button__link {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

/* Button hover transition */
.wp-block-button .wp-block-button__link {
    transition: opacity 0.3s ease-in-out;
}

.wp-block-button .wp-block-button__link:hover {
    opacity: 0.75;
}

/* =========================================
   Responsive visibility utilities
   ========================================= */

/* Mobile first (default = mobile visible) */

/* Hide on mobile */
.hide-mobile {
    display: none !important;
}

/* Show on desktop */
@media (min-width: 768px) {
    .hide-mobile {
        display: block !important;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Some utilities for the editor limitations */

.reset-p-r {
    padding-right: 0!important;
}

@media (max-width: 768px) {
    .m-reset-p-r {
        padding-right: 0!important;
    }
}

/* Reset default swiper positioning ONLY inside this slider */
.nelios-slider .swiper-button-prev,
.nelios-slider .swiper-button-next {
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
}

/* Style + position */
.nelios-slider .cb-button-prev,
.nelios-slider .cb-button-next {
    position: absolute;
    left: -60px!important;
    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #6C7BFF;
    color: #fff;
    cursor: pointer;
}

/* Stack vertically */
.nelios-slider .cb-button-prev {
    top: 35%!important;
    transform: translateY(10%);
}

.nelios-slider .cb-button-next {
    top: 35%!important;
    transform: translateY(-100%);
}

@media (max-width: 768px) {
    .nelios-slider .cb-button-prev,
    .nelios-slider .cb-button-next {
        left: 0!important;
    }
}

.wp-block-navigation__responsive-container-content a {
    text-decoration: none !important;

    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #6774FF;
}

.wp-block-navigation__responsive-container-content a:hover,
.wp-block-navigation__responsive-container-content a:focus,
.wp-block-navigation__responsive-container-content a:active {
    text-decoration: none !important;
}

.wp-block-button a {
    text-decoration: none !important;
}

.footer-bg {
    background-image: url('/app/uploads/2026/04/footer_bg-1.png');
    background-color: #00202fd6;
    background-blend-mode: overlay;

    background-size: cover;
    background-position: center;

    height: 662px;
}

@media (max-width: 768px) {
    .footer-bg {
        height: auto;!important;
    }
    .m-px-2 {
        padding-left: 2rem!important;
        padding-right: 2rem!important;
    }
}

.overflow-x-hidden {
    overflow-x: hidden!important;
}

.simple-hero {
    background: #6774FF;
    background-blend-mode: luminosity;
    img {
        transition: filter 0.3s ease;
        filter: grayscale(1);
        opacity:0.2;
    }
    &:hover {
        img {
            filter: grayscale(0);
        }
    }
}

.center-xy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.margin-x-auto {
    margin-left: auto!important;
    margin-right: auto!important;
}

.margin-x-auto-img {
    img {
        display: flex!important;
        margin-left: auto!important;
        margin-right: auto!important;
    }
}

.company_member-template {
    .wp-block-post-title {
        font-family: "Manrope", sans-serif;
        font-size: 76px;
        font-style: normal;
        font-weight: 400;
        line-height: 95%; /* 72.2px */
        letter-spacing: -4.56px;
        text-transform: capitalize;
        color: #00202F;
    }
}
.padded-logo {
    aspect-ratio: 1/1;
    border: 1px solid #BCBDBF;
    border-radius: 5px;
    display: flex;
    img {
        width: 100%!important;
        padding: 3rem;
        transition: filter 0.3s ease-in-out;
        filter: grayscale(1);
        object-fit: contain;
    }
    &:hover {
        img {
            filter: grayscale(0);
        }
    }
}

.home {
    .home-nav {
        position: absolute;
        top: 0;
        z-index: 9999;
        right: 0;
        padding-top: 2rem;
        padding-right: 2rem;
    }
}
@media (max-width: 900px) {
    .wp-block-navigation__responsive-dialog{
        span, a {
            color: #0A246A;
        }
    }
}
.cf-turnstile.saae-member-login__turnstile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
}

.wpcf7-form-control-wrap {
    input,textarea {
        background: white;
    }
}

.blog, .wp-singular {
    .wp-block-columns {
        .wp-block-column {
            .wp-block-template-part {
                h3 {
                    color: #006898!important;
                    font-family: "Manrope", sans-serif;
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 135%; /* 24.3px */
                    letter-spacing: -0.36px;
                }
                .wp-block-latest-posts__featured-image {
                    img {
                        border-radius: 5px;
                    }
                }
                .wp-block-group-is-layout-flow {
                    border-radius: 5px;
                    .wp-block-search__inside-wrapper {
                        .wp-block-search__input {
                            background: white;
                            border-radius: 5px!important;
                            padding-right: 12px;
                            &::placeholder {
                                color: #BCBDBF;
                            }
                        }
                        .wp-block-search__button {
                            border-radius: 5px!important;
                            padding:8px!important;
                            .search-icon {
                                width: 40px;
                                height: 40px;
                            }
                        }
                    }

                }
            }
        }
    }
}

.wp-block-navigation__submenu-container {
    a, span {
        color: #0A246A;
    }
}

.page-template-page-no-title {
    .wp-block-heading {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   Scroll-in animation for top-level blocks.
   Class added server-side via render_block filter,
   toggled by IntersectionObserver in nelios-animations.js.
   ========================================= */
.nelios-animate {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1100ms ease-out, transform 1100ms ease-out;
    will-change: opacity, transform;
}
.nelios-animate.is-in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .nelios-animate,
    .nelios-animate.is-in-view {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   Force Manrope as the universal default font.
   Form elements (button/input/select/textarea) inherit
   browser UA fonts and need to be targeted explicitly.
   ========================================= */
html,
body,
button,
input,
select,
textarea,
optgroup,
.wp-block-button__link,
.wp-element-button {
    font-family: "Manrope", sans-serif !important;
}