/* Fonts */

@font-face {
    font-family: 'Media Sans';
    src: url('/wp-content/themes/astra/assets/fonts/media-sans-regular.woff2') format('woff2'),
         url('/wp-content/themes/astra/assets/fonts/media-sans-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* General */

.page-container {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.pt-lg {
    padding-top: 80px;
}
.pb-lg {
    padding-bottom: 80px;
}
.pt-md {
    padding-top: 60px;
}
.pb-md {
    padding-bottom: 60px;
}

.page h1 {
    font-family: "Barlow", sans-serif;
    font-size: 54px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.1;
    text-transform: uppercase;
}
.page h2 {
    font-family: "Barlow", sans-serif;
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.1;
}
@media (max-width: 768px) {
    .page h2 {
        font-size: 30px;
    }
}

.page p {
    font-family: "Barlow", sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
}

.white h1, .white h2, .white h3, .white h4, .white h5, .white p {
    color: #FFFFFF !important;
}

/* Navigation */

.custom-site-header {
    background: #FFFFFF;
    border-top: 1px solid #B1B1B1;
    border-bottom: 1px solid #B1B1B1;
    position: fixed;
    width: 100%;
    z-index: 100;
    margin: 2rem 0;
}
.custom-site-header__inner {
    min-height: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
}
.custom-site-header__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.custom-site-header__logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.custom-site-header__logo img,
.custom-site-header__logo .custom-logo {
    display: block;
    max-height: 120px;
    width: auto;
}
.custom-site-header__site-name {
    text-decoration: none;
    color: #4C68B1;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}
.custom-site-header__nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.custom-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 0;
}
.custom-nav-menu > li {
    margin: 0;
    padding: 0;
    position: relative;
}
.custom-nav-menu > li > a {
    text-decoration: none;
    color: #4C68B1;
    font-family: "Media Sans", sans-serif;;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}
.custom-nav-menu > li > a:hover,
.custom-nav-menu > li.current-menu-item > a,
.custom-nav-menu > li.current_page_item > a {
    opacity: 0.7;
}
.custom-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}
.custom-menu-toggle span {
    display: block;
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: #4C68B1;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.custom-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.custom-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.custom-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
  
@media (max-width: 920px) {
    .custom-site-header {
        position: absolute;
    }
    .custom-site-header__inner {
        min-height: 60px;
        height: 60px;
    }
    .custom-site-header__logo img,
    .custom-site-header__logo .custom-logo {
        max-height: 75px;
    }
    .custom-menu-toggle {
        display: inline-flex;
    }
    .custom-site-header__nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        height: calc(100vh - 93px);
        background: #FFFFFF;
        padding: 30px 20px;
        justify-content: flex-start;
    }
    .custom-site-header__nav.is-open {
        display: block;
    }
    .custom-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 18px;
        width: 100%;
    }
    .custom-nav-menu > li {
        width: 100%;
    }
    .custom-nav-menu > li > a {
        display: block;
        width: 100%;
        font-size: 14px;
        line-height: 1.3;
    }
}
@media (min-width: 921px) {
    .custom-site-header__nav {
      display: flex !important;
      justify-content: flex-end;
    }
}

/* Homepage Hero */

.homepage-hero {
    padding-top: 16rem;
    padding-bottom: 8rem;
}
.homepage-hero__inner .wpb_wrapper .wpb_text_column {
    max-width: 600px;
    margin-right: auto;
}
.homepage-hero .vc_column_container > .vc_column-inner {
    padding: 0 !important;
}
.homepage-hero h1 {
    font-size: 54px;
}
.homepage-hero h1 em {
    font-weight: 900;
    color: #4C68B1 !important;
}
.homepage-hero p {
    font-size: 18px !important;
    max-width: 460px;
}

@media (max-width: 768px) {
    .homepage-hero h1 {
        font-size: 32px;
    }
}

/* Hero */

.hero {
    padding-top: 16rem;
}
.page-hero {
    padding-top: 16rem;
    padding-bottom: 4rem;
}

.page-hero .wpb_content_element {
    margin-bottom: 0 !important;
}

/* Logo Marquee */

.wpb_raw_html {
    margin-bottom: 0 !important;
}
.logo-marquee {
    overflow: hidden;
    width: 100%;
}
.logo-marquee__track {
    display: flex;
    width: max-content;
    animation: logo-scroll 45s linear infinite;
}
.logo-marquee__group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 15px;
} 
.logo-marquee__group img {
    max-height: 35px;
    width: auto;
    flex-shrink: 0;
} 
@keyframes logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Text Image */

.text-image-stretch {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.text-image-stretch.vc_row:after, .text-image-stretch.vc_row:before {
    display: none !important;
}
.text-image-stretch__image .vc_column-inner {
    padding: 0 !important;
}
.text-image-stretch__image img {
    border-radius: 0 8px 8px 0;
}
.text-image-stretch__text .vc_column-inner {
    padding: 0 20px !important;
    max-width: 600px;
    margin-right: auto;
}
@media (max-width: 920px) {
    .text-image-stretch {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .text-image-stretch__image .vc_column-inner {
        padding-right: 20px !important;
    }
}



/* Overrides */

.page .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner {
    padding-top: 0 !important;
}