/* Shared navigation, independent of the template's old header and side panels. */
.pey-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e3ebe6;
    box-shadow: 0 3px 15px #173e2405;
}
.pey-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 116px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.pey-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-decoration: none;
    color: #173f32;
}
.pey-brand img {
    display: block;
    width: 92px;
    height: auto;
    object-fit: contain;
}
.pey-brand-description {
    display: block;
    padding-left: 16px;
    border-left: 1px solid #dce8e0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.3px;
}
.pey-brand-description > span {
    display: block;
    color: #65766d;
    font-size: 10px;
    font-weight: 400;
}
.pey-desktop-nav > ul {
    display: flex;
    align-items: center;
    gap: 20px;
}
.pey-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pey-desktop-nav > ul > li {
    position: relative;
}
.pey-desktop-nav > ul > li > a,
.pey-desktop-nav .pey-nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    color: #263e35;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.pey-desktop-nav > ul > li > a:hover,
.pey-desktop-nav .pey-nav-dropdown > summary:hover,
.pey-header a[aria-current="page"],
.pey-desktop-nav .pey-nav-dropdown:has(a[aria-current="page"]) > summary {
    color: #007648;
}
.pey-desktop-nav > ul > li > a[aria-current="page"] {
    box-shadow: inset 0 -2px #008659;
}
.pey-header summary {
    list-style: none;
    cursor: pointer;
}
.pey-header summary::-webkit-details-marker {
    display: none;
}
.pey-nav-dropdown > summary::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.pey-nav-dropdown[open] > summary::after {
    transform: rotate(225deg);
    margin-top: 3px;
}
.pey-desktop-nav .pey-nav-dropdown > ul {
    position: absolute;
    top: calc(100% + 6px);
    left: -20px;
    width: 230px;
    padding: 10px;
    border: 1px solid #dde8e1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px #000d4412;
}
.pey-desktop-nav .pey-nav-dropdown > ul a {
    display: block;
    padding: 12px;
    border-radius: 7px;
    color: #263e35;
    font-size: 14px;
    text-decoration: none;
}
.pey-desktop-nav .pey-nav-dropdown > ul a:hover,
.pey-desktop-nav .pey-nav-dropdown > ul a[aria-current="page"] {
    background: #edf6f0;
    color: #00683f;
}
.pey-header a:focus-visible,
.pey-header summary:focus-visible {
    outline: 3px solid #1f5fff;
    outline-offset: 5px;
    border-radius: 4px;
}
.pey-mobile-menu {
    display: none;
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .pey-header-inner {
        gap: 22px;
    }
    .pey-brand {
        gap: 12px;
    }
    .pey-brand img {
        width: 84px;
    }
    .pey-brand-description {
        padding-left: 12px;
        font-size: 10px;
    }
    .pey-brand-description > span {
        font-size: 9px;
    }
    .pey-desktop-nav > ul {
        gap: 16px;
    }
    .pey-desktop-nav > ul > li > a,
    .pey-desktop-nav .pey-nav-dropdown > summary {
        font-size: 13px;
    }
}
@media (max-width: 1199px) {
    .pey-header-inner {
        min-height: 100px;
        gap: 18px;
    }
    .pey-brand img {
        width: 76px;
    }
    .pey-desktop-nav {
        display: none;
    }
    .pey-mobile-menu {
        display: block;
    }
    .pey-mobile-menu > summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-width: 86px;
        min-height: 46px;
        padding: 10px 14px;
        border: 1px solid #d4e4da;
        border-radius: 9px;
        background: #f0f7f3;
        color: #174e37;
        font-size: 13px;
        font-weight: 600;
    }
    .pey-menu-lines {
        position: relative;
        display: block;
        width: 17px;
        height: 12px;
        border-top: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
    }
    .pey-menu-lines::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 0;
        right: 0;
        height: 1.5px;
        background: currentColor;
    }
    .pey-mobile-menu[open] > summary {
        background: #00683f;
        color: #fff;
        border-color: #00683f;
    }
    .pey-mobile-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        padding: 14px 24px 22px;
        background: #fff;
        border-top: 1px solid #e3ebe6;
        border-bottom: 1px solid #d4e4da;
        box-shadow: 0 16px 20px #000d440d;
    }
    .pey-mobile-panel nav > ul > li {
        border-bottom: 1px solid #eef2ef;
    }
    .pey-mobile-panel nav > ul > li:last-child {
        border: 0;
    }
    .pey-mobile-panel a,
    .pey-mobile-panel .pey-nav-dropdown > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 8px;
        color: #263e35;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none;
    }
    .pey-mobile-panel .pey-nav-dropdown > ul {
        padding: 0 0 10px 18px;
    }
    .pey-mobile-panel .pey-nav-dropdown > ul a {
        padding: 11px 12px;
        border-radius: 7px;
        color: #577064;
        background: #f5f9f6;
        margin-bottom: 4px;
    }
    .pey-mobile-panel a[aria-current="page"] {
        color: #00683f;
        font-weight: 600;
    }
}
@media (max-width: 575px) {
    .pey-header-inner {
        min-height: 94px;
    }
    .pey-brand {
        gap: 12px;
    }
    .pey-brand img {
        width: 70px;
    }
    .pey-brand-description {
        padding-left: 12px;
        font-size: 10px;
    }
    .pey-brand-description > span {
        font-size: 9px;
    }
    .pey-mobile-panel {
        padding-left: 16px;
        padding-right: 16px;
        max-height: calc(100dvh - 100px);
    }
}
@media (max-width: 374px) {
    .pey-brand-description {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pey-desktop-nav > ul > li > a,
    .pey-desktop-nav .pey-nav-dropdown > summary {
        transition: none;
    }
}
.pey-home section[id],
main[id] {
    scroll-margin-top: 132px;
}
/* The short-lived loader must remain above the sticky navigation. */
.preloader {
    z-index: 2000;
}
