@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/open-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bevan";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/bevan-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Bevan";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/bevan-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --acana-content-width: 1400px;
    --gb-container-width: 1400px;
    --acana-page-padding: clamp(16px, 4vw, 40px);
    --acana-font-body: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --acana-font-heading: "Bevan", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--acana-font-body);
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-family: var(--acana-font-heading);
    font-weight: 400;
    font-size: 45px;
    line-height: 1.2;
    color: var(--wp--preset--color--brand-1);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

h2 {
    font-family: var(--acana-font-heading);
    font-weight: 400;
    font-size: 35px;
    line-height: 1.2;
    color: var(--wp--preset--color--brand-1);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

h3,
h4,
h5 {
    font-family: var(--acana-font-body);
    font-weight: 600;
}

@media (max-width: 900px) {
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 20px;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    width: auto;
    height: auto;
    clip: auto;
}

.site-main {
    width: 100%;
}

.alignwide {
    max-width: var(--acana-content-width);
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    width: 100%;
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: min(100% - 40px, var(--gb-container-width));
    margin-inline: auto;
    pointer-events: none;
}

.site-branding,
.site-header__nav-area,
.site-nav-toggle {
    pointer-events: auto;
}

.site-branding {
    position: relative;
    width: 145px;
}

.custom-logo {
    position: relative;
    z-index: 1;
    width: 145px;
    height: auto;
}

.site-title {
    position: relative;
    z-index: 1;
    color: var(--wp--preset--color--text);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header__nav-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 72px;
    padding-top: 0;
}

.site-language-switcher {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 9px 12px;
    color: var(--wp--preset--color--white-bg);
    background: black;
    border-radius: 0 0 6px 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.site-language-switcher--hidden {
    visibility: hidden;
    pointer-events: none;
}

.site-language-switcher a {
    color: inherit;
    text-decoration: none;
}

.site-navigation {
    display: flex;
    justify-content: flex-end;
}

.site-menu,
.site-menu .sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-menu {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
}

.site-menu>.menu-item {
    position: relative;
}

.site-menu>.menu-item>a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--wp--preset--color--text);
    background: var(--wp--preset--color--subtle-1, #F1EFD9);
    border-right: 1px solid rgba(0, 0, 0, 0.24);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-menu>.menu-item:first-child>a {
    border-radius: 5px 0 0 5px;
}

.site-menu>.current-menu-item>a,
.site-menu>.menu-item:hover>a,
.site-menu>.menu-item:focus-within>a {
    background: var(--wp--preset--color--white-bg);
}

.site-menu>.menu-item:last-child>a {
    border-right: 0;
    border-radius: 0 5px 5px 0;
    color: var(--wp--preset--color--white-bg);
    background: var(--wp--preset--color--brand-1);
}

.site-menu>.menu-item:last-child:hover>a,
.site-menu>.menu-item:last-child:focus-within>a {
    color: var(--wp--preset--color--text);
    background: var(--wp--preset--color--white-bg);
}

.site-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 112px;
    padding: 13px 14px 14px;
    background: var(--wp--preset--color--white-bg);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.site-menu .menu-item-has-children:hover>.sub-menu,
.site-menu .menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-menu .sub-menu a {
    display: block;
    padding: 6px 10px;
    margin: 0 -10px;
    color: var(--wp--preset--color--text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.16s ease;
}

.site-menu .sub-menu a:hover,
.site-menu .sub-menu a:focus-visible {
    background: var(--wp--preset--color--subtle-1, #F1EFD9);
}

.site-nav-toggle,
.site-submenu-toggle {
    display: none;
}

.site-nav-toggle {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--wp--preset--color--white-bg);
    cursor: pointer;
}

.site-nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: var(--wp--preset--color--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {

    /*
    .site-header {
        position: relative;
        z-index: 30;
        background: var(--wp--preset--color--brand-1);
        pointer-events: auto;
    }
*/
    .site-header__inner {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding: 0 12px;
        pointer-events: auto;
    }

    .site-branding {
        width: auto;
        min-height: 0;
        background: transparent;
    }

    .site-language-switcher {
        display: none;
    }

    .custom-logo {
        width: 96px;
    }

    .site-nav-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        background: var(--wp--preset--color--subtle-1);
    }

    .site-nav-toggle__bar {
        background: var(--wp--preset--color--text);
    }

    .site-header__nav-area {
        flex: 1 1 100%;
        order: 3;
        align-items: stretch;
        align-self: stretch;
        gap: 10px;
        width: 100%;
        margin-inline: 0;
        margin-top: 10px;
    }

    .site-navigation {
        display: grid;
        width: 100%;
        justify-content: stretch;
        grid-template-rows: 0fr;
        border-radius: 16px;
        overflow: hidden;
        transition: grid-template-rows 0.22s ease;
    }

    .site-navigation.is-open {
        grid-template-rows: auto;
    }

    .site-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .site-navigation.is-open .site-menu {
        min-height: auto;
        overflow: visible;
        background: var(--wp--preset--color--subtle-1);
        border: 1px solid rgba(0, 0, 0, 0.14);
        border-radius: 16px;
        padding: 6px;
    }

    .site-menu>.menu-item {
        width: 100%;
        margin-bottom: 4px;
    }

    .site-menu>.menu-item:last-child {
        margin-bottom: 0;
    }

    .site-menu>.menu-item>a {
        width: 100%;
        box-sizing: border-box;
        min-height: 42px;
        padding: 9px 14px;
        font-size: 16px;
        color: var(--wp--preset--color--text);
        background: var(--wp--preset--color--subtle-1);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
    }

    .site-menu>.current-menu-item>a,
    .site-menu>.menu-item:hover>a,
    .site-menu>.menu-item:focus-within>a {
        background: var(--wp--preset--color--white-bg);
    }

    .site-menu>.menu-item:last-child>a {
        color: var(--wp--preset--color--white-bg);
        background: rgba(144, 152, 61, 0.82);
        border-radius: 12px;
    }

    .site-menu>.menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
    }

    .site-menu>.menu-item-has-children>a {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .site-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        width: 40px;
        min-height: 42px;
        padding: 0;
        margin-left: 6px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        background: var(--wp--preset--color--subtle-1);
        cursor: pointer;
    }

    .site-submenu-toggle::before {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--wp--preset--color--text);
        border-bottom: 2px solid var(--wp--preset--color--text);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .site-menu>.menu-item-has-children.is-submenu-open>.site-submenu-toggle::before {
        transform: rotate(-135deg);
    }

    .site-menu .sub-menu {
        position: static;
        display: none;
        width: calc(100% - 24px);
        margin-inline: 12px;
        min-width: 0;
        margin-top: 6px;
        padding: 8px 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        background: var(--wp--preset--color--white-bg);
    }

    .site-menu>.menu-item-has-children.is-submenu-open>.sub-menu {
        display: block;
    }

    .site-menu .sub-menu a {
        padding: 8px 10px;
        margin: 0;
        font-size: 14px;
        text-align: left;
        border-radius: 8px;
        transition: none;
    }

    .site-menu .sub-menu a:hover,
    .site-menu .sub-menu a:focus-visible {
        background: transparent;
    }
}

a,
p a {
    color: var(--wp--preset--color--brand-1);
    text-decoration: underline;
    font-weight: 700;
}

a:hover,
a:focus,
p a:hover,
p a:focus {
    color: black;
}

.cf7-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.cf7-field {
    display: flex;
    flex-direction: column;
}

.cf7-field-full {
    grid-column: 1 / -1;
}

.cf7-field label {
    margin-bottom: 4px;
}

.cf7-field input,
.cf7-field textarea {
    width: 100%;
    background: #f2f0dc;
    border: none;
    border-radius: 6px;
    padding: 12px;
}

.cf7-field textarea {
    min-height: 280px;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 12px 32px;
    background: #585f0f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus-visible {
    background: #3f4508;
    color: #fff;
    text-decoration: none;
}

.cf7-field p {
    margin: 0;
}

@media (max-width: 768px) {
    .cf7-form-grid {
        grid-template-columns: 1fr;
    }

    .cf7-field-full {
        grid-column: auto;
    }
}

.wp-block-contact-form-7-contact-form-selector {
    width: 100%
}