/* Global Variables */
:root {
    /* Colors - Don't forget to add the hsl to the theme.json */
    --brand-color-1: hsl(85, 41%, 56%);
    --brand-color-2: hsl(0, 0%, 35%);
    --brand-color-3: hsl(240, 2%, 23%);
    --brand-color-4: hsl(85, 41%, 90%);
    --brand-color-5: hsl(0, 0%, 70%);
    --brand-color-6: hsl(0, 0%, 70%);
    --body-text: hsl(0, 0%, 12%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --overlay: rgba(0, 0, 0, 0.7);
    --green-overlay: hsla(85, 41%, 56%, 0.858);

    /* Buttons */
    --button-color: var(--brand-color-1);
    --button-text-color: hsl(0, 0%, 100%);
    --button-padding: 10px 30px;
    --button-border-radius: 10px;

    /* Fonts */
    --font-family: 'Open Sans', sans-serif;
    --font-family-2: 'Alegreya', serif;

    /* Headings */
    --h1: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 2.6786)), 6rem);
    --h2: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.7857)), 4rem);
    --h3: clamp(1.8rem, calc(1.8rem + ((1vw - 0.32rem) * 0.5357)), 2.4rem);
    --h4: 2.2rem;
    --h5: 2.0rem;
    --h6: 1.8rem;

    /* Text */
    --text: clamp(1.6rem, calc(1.6rem + ((1vw - 0.32rem) * 0.1786)), 1.8rem);
    --ch: 66ch;

    /* Sections */
    --sec-pad-inline: clamp(20px, calc(20px + ((1vw - 3.2px) * 2.6786)), 50px);
    --sec-pad-block: clamp(50px, calc(50px + ((1vw - 3.2px) * 0.8929)), 60px);

    /* Container */
    --container-width: 1440px;

    /* Gap */
    --gap: 1rem;
    --sec-gap: calc(var(--gap) * 3);
    --container-gap: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);
    --content-gap: 25px;
    --grid-gap: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);

    /* Grid */
    --grid-1: repeat(1, minmax(0, 1fr));
    --grid-2: repeat(2, minmax(0, 1fr));
    --grid-3: repeat(3, minmax(0, 1fr));
    --grid-4: repeat(4, minmax(0, 1fr));
    --grid-5: repeat(5, minmax(0, 1fr));
    --grid-6: repeat(6, minmax(0, 1fr));

    /* Border */
    --radius: 1rem;
    --border-radius: calc(var(--radius) * 1);

    /* Shadows */
    --box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.5);
    --box-shadow-2: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    --text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);

    /* Transition */
    --transition-duration: 500ms;
}

/* Fonts */
@font-face {
    font-family: 'Open Sans';
    src: url('../../../uploads/OpenSans-SemiBold.woff2') format('woff2'), url('../../../uploads/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: semibold;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../../../uploads/OpenSans-Light.woff2') format('woff2'), url('../../../uploads/OpenSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: light;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../../../uploads/OpenSans-Bold.woff2') format('woff2'), url('../../../uploads/OpenSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('../../../uploads/Alegreya-Regular.woff2') format('woff2'), url('../../../uploads/Alegreya-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../uploads/roboto-v30-latin-900.woff2') format('woff2'), url('../../../uploads/roboto-v30-latin-900.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Global Reset */
*,
::after,
::before,
html {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

blockquote,
dd,
dl,
figure {
    margin: 0;
}

ol[role=list],
ul[role=list] {
    list-style: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

figure,
img,
picture {
    max-width: 100%;
    height: auto;
    display: flex;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
[role="button"] {
    cursor: pointer;
}

@media (prefers-reduced-motion:reduce){
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    ::after,
    ::before {
        animation-duration: 0s!important;
        animation-iteration-count: 1!important;
        transition-duration: 0s!important;
        scroll-behavior: auto!important;
    }
}

/* Needed to cloak hidden elements before JS loads when using Alpine.js */
[x-cloak] {
    display: none !important;
}

/* Set core body defaults */
body {
    font-family: var(--font-family);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--body-text);
    text-rendering: optimizeSpeed;
    min-height: 100vh;
}

/* Set core heading defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

h1 {
    font-size: var(--h1);
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

h4 {
    font-size: var(--h4);
}

h5 {
    font-size: var(--h5);
}

h6 {
    font-size: var(--h6);
}

/* Set core paragraph defaults */
p {
    margin: 0;
}

/* Header */
header {
    flex-direction: column;
    display: flex;
    transition-duration: 0.6s;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}

header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    max-width: var(--container-width);
    margin: auto;
}

header.sticky {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: hsl(0, 0%, 100%);
}

header.sticky .header-logo {
    max-width: 240px;
    transition-duration: var(--transition-duration);
}

/* logo */
.header-logo {
    display: flex;
    transition-duration: var(--transition-duration);
    background-color: var(--white);
    padding: 30px 15px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: var(--box-shadow);
}

.header-logo .logo {
    width: clamp(200px, calc(200px + ((1vw - 8px) * 23.4375)), 350px);
    transition-duration: var(--transition-duration);
}

/* logo Mobile */
@media (max-width:799px) {
    .header-logo {
        position: static;
        padding: 10px 10px;
        box-shadow: none;
    }
}

/* Main Menu */
.main-nav li {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 1.8rem;
}

.main-nav .menu {
    display: flex;
    list-style-type: none;
    padding-left: 0px;
    margin: 0px;
}

.main-nav .menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
}

.main-nav .menu a:hover {
    color: var(--brand-color-1);
}

.main-nav .menu-item button {
    position: absolute;
    right: -10px;
    top: 12px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transform: rotate(45deg);
}

.main-nav .menu-item button:after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--body-text);
    border-bottom: 1px solid var(--body-text);
    transition: 0.6s;
}

.main-nav .menu-item button.open:after {
    transform: rotate(180deg);
}

.main-nav .menu-item:hover > button:after {
    transform: rotate(180deg);
}

/* MAIN NAV SUB MENU */
.main-nav li .sub-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    width: max-content;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate(0px, 0px);
    opacity: 1;
    transition: all 0.6s;
}

.main-nav li ul.open {
    transform: translate(0px, 50px);
    opacity: 0;
}

.main-nav li .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* MAIN NAV SUB MENU LI */
.main-nav li .sub-menu li {
    font-size: 1.8rem;
    color: var(--body-text);
}

/* MAIN NAV SUB MENU LI A */
.main-nav li .sub-menu li a {
    color: var(--body-text);
}

.main-nav li .sub-menu li a:hover {
    color: var(--body-text);
}

@media (max-width:992px) {
    nav.main-nav {
        display: none;
    }
}

/* MOBILE--------------------- */
.mobile-menu {
    display: none;
}

.main-nav-mobile .nav-logo a {
    height: 100%;
}

/* MOBILE MAIN NAV MENU WRAPPER */
.mobile-menu__background {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 999;
    height: 100%;
    top: 0;
    left: 0;
}

.mobile-menu__panel {
    background-color: var(--white);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 80%;
    padding: 10rem 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: scroll;
}

.mobile-menu__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: none;
    padding: 0.5rem;
    border-radius: 4px;
    color: var(--black);
    border: 1px solid var(--black);
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

/* MOBILE MAIN NAV UL */
.main-nav-mobile ul.menu {
    list-style-type: none;
    padding-left: 0px;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* MOBILE MAIN NAV LI */
.main-nav-mobile li {
    font-size: 1.8rem;
    color: var(--body-text);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* MOBILE MAIN NAV LI A */
.main-nav-mobile li a {
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 0px;
    color: var(--body-text);
    width: fit-content;
    text-decoration: none;
}

.main-nav-mobile li a:hover {
    color: var(--body-text);
}

.main-nav-mobile .nav-logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translate(-50%, 0);
}

.main-nav-mobile .nav-logo a {
    width: 100%;
}

.main-nav-mobile .menu-item-has-children > a::after {
    display: none;
}

.main-nav-mobile .menu-item button {
    position: absolute;
    right: -26px;
    top: 12px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transform: rotate(45deg);
}

.main-nav-mobile .menu-item button:after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transition: 0.6s;
}

.main-nav-mobile .menu-item .open:after {
    transform: rotate(180deg);
}

.nav-search-wrapper {
    display: flex;
    align-items: center;
    gap: var(--content-gap);
}

.search-wrapper__button {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.search-wrapper {
    display: none;
}

.search-wrapper__wrapper-form {
    display: flex;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -50px;
    left: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

.search-wrapper__form {
    width: fit-content;
    justify-content: center;
    align-items: center;
}

.search-active + .search-wrapper__wrapper-form {
    max-height: 1000px;
    opacity: 1;
}

.visuallyhidden {
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute!important;
    border: 0;
    padding: 0;
    margin: 0;
}

/* MOBILE MAIN NAV SUB MENU */
.main-nav-mobile li .sub-menu {
    background-color: var(--white);
    padding-left: 10px;
    border-radius: 0;
    list-style-type: none;
    margin: 0px;
    width: 100%;
    transition: 1s;
}

/* MOBILE MAIN NAV SUB MENU LI */
.main-nav-mobile li .sub-menu li {
    font-size: 1.8rem;
    color: var(--body-text);
}

/* MOBILEMAIN NAV SUB MENU LI A */
.main-nav-mobile li .sub-menu li a {
    color: var(--body-text);
}

/* MOBILE NAV MOBILE MENU ICON */
.mobile-menu__trigger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    gap: 5px;
    z-index: 9999;
}

.mobile-menu__trigger-lines {
    --line-width: 3rem;
    display: block;
    width: var(--line-width);
    height: 0.3rem;
    background-color: var(--white);
    transition: all 0.4s;
}

.mobile-menu__trigger[aria-expanded="true"] .mobile-menu__trigger-lines {
    background-color: var(--brand-color-1);
}

/* .mobile-menu__trigger-line-1 {

} */
/* .mobile-menu__trigger-line-2 {

} */
/* .mobile-menu__trigger-line-3 {
} */
.mobile-menu__trigger-lines--line1 {
    transform: translate(0%, 270%) rotate(45deg);
    width: var(--line-width);
}

.mobile-menu__trigger-lines--line2 {
    opacity: 0;
    visibility: hidden;
}

.mobile-menu__trigger-lines--line3 {
    transform: translate(0%, -270%) rotate(-45deg);
    width: var(--line-width);
}

@media (max-width:992px) {
    .mobile-menu {
        display: block!important;
    }
}

/* Set core section defaults */
section {
    padding-inline: var(--sec-pad-inline);
    padding-block: var(--sec-pad-block);
    scroll-margin-top: 50px;
}

/* Set core container defaults */
.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    align-items: flex-start;
    gap: var(--content-gap);
}

/* Set core address defaults */
address {
    font-style: normal;
    display: flex;
    flex-direction: column;
}

/* Set core link defaults */
a {
    color: var(--brand-color-1);
    text-decoration: none;
}

a:hover {
    color: var(--brand-color-1);
    text-decoration: none;
}

/* Set core button defaults */
.btn {
    color: var(--button-text-color);
    background-color: var(--button-color);
    border: 1px solid var(--white);
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: var(--transition-duration);
}

.btn-text {
    padding: 1rem 1.5rem;
}

.btn-arrow {
    padding: 1rem;
    border-left: 1px solid var(--white);
    transition-duration: var(--transition-duration);
}

.btn-arrow svg {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn:hover {
    background-color: var(--white);
    color: var(--brand-color-1);
    border: 1px solid var(--brand-color-1);
    transition-duration: var(--transition-duration);
}

.btn:hover svg path {
    fill: var(--brand-color-1);
    transition-duration: var(--transition-duration);
}

.btn:hover .btn-arrow {
    border-left: 1px solid var(--brand-color-1);
    margin-left: 15px;
    transition-duration: var(--transition-duration);
}

.btn--second {
    --button-color: var(--brand-color-2);
}

/* .btn--second:hover {
} */
/* Set core form defaults */
form {
    width: 100%;
}

.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme select {
    font-size: 1.8rem;
    padding: 10px;
    color: var(--body-text);
    background-color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 83%);
    border-radius: 10px;
}

input[type=button],
input[type=submit],
input[type=reset],
::-webkit-file-upload-button {
    color: var(--button-text-color);
    background-color: var(--button-color);
    padding: var(--button-padding);
    border: 1px solid var(--button-color);
    border-radius: var(--button-border-radius);
    cursor: pointer;
    transition: 0.6s;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover,
::-webkit-file-upload-button:hover {
    color: var(--button-text-color);
    background-color: var(--button-color);
    padding: var(--button-padding);
    border: 1px solid var(--button-color);
    border-radius: var(--button-border-radius);
    transition: 0.6s;
}

.back-to-top {
    padding: 0.5rem;
    background-color: var(--brand-color-1);
    position: fixed;
    display: flex;
    right: 1rem;
    bottom: 2rem;
    opacity: 0;
    cursor: pointer;
}

.back-to-top__icon {
    width: 4rem;
    height: 4rem;
    fill: currentColor;
}

.btt-show {
    opacity: 1;
}

footer {
    padding: 20px var(--sec-pad-inline);
    padding-top: calc(var(--sec-pad-block) / 2);
    background-color: var(--brand-color-3);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--container-gap);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: var(--content-gap);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* 404 Page */
.section-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-404-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: var(--grid-gap);
    max-width: var(--container-width);
    margin: auto;
}

.content-wrapper-404 {
    display: flex;
    flex-direction: column;
    gap: var(--container-gap);
    align-items: flex-start;
    justify-content: center;
}

.content-wrapper-404 :is(h1, p) {
    color: var(--black);
}

.content-wrapper-404 .btn-text {
    color: white;
}

.content-wrapper-404 .btn:hover .btn-text {
    color: var(--brand-color-1);
}

.img-wrapper-404 {
    margin-block: auto;
    padding-inline: clamp(25px, calc(1.5625rem + ((1vw - 7.5px) * 10.8696)), 100px);
}

@media (max-width:749px) {
    .page-404-grid {
        grid-template-columns: repeat(1, minmax(0,1fr));
    }

    .content-wrapper-404 {
        align-items: center;
        text-align: center;
    }

    .img-wrapper-404 {
        display: flex;
        flex-direction: column;
        margin-inline: auto;
    }

    .img-wrapper-404 svg {
        max-width: 400px;
    }
}

/* WPe Blocks */