/**
 * General
 */

html {
    scroll-padding-top: calc(
        var(--wp-admin--admin-bar--height, 0px) +
        var(--header-top-height) +
        var(--header-bottom-height)
    );
}

.site-main h1 {
    font: 500 2.8rem/1.5 var(--font-headers);
    margin: 0.5rem 0;
}

.site-main h2 {
    font: 500 2.8rem/1.5 var(--font-headers);
    margin: 1.5rem 0;
}

.site-main p {
    font: 400 1.6rem/1.85 var(--font);
}

.site-main p.line-height-relaxed {
    line-height: 2.25;
}

.color-accent {
    color: var(--color-accent);
}

.font-header {
    font-family: var(--font-headers) !important;
}

.site-main .wp-block-image figcaption {
    display: block;
    margin: 2.5rem 0 0 0;
}

.site-main .wp-block-image .aligncenter {
    text-align: center;
}



/**
 * Header
 */

.site-header {
    position: fixed;
    top: var(--header-offset);
    right: 0;
    left: 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.site-header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .header-top {
    display: none;
    font: 400 1.5rem/1.26 var(--font);
    padding: 1.5rem 0;
}

.site-header .header-top .item {
    margin: 0 4rem 0 0;
}

.site-header .header-top .item:last-child {
    margin: 0;
}

.site-header .header-top .item a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
}

.site-header .header-top .item a:last-child {
    margin-right: 0;
}

.site-header .header-top .item a[href^="mailto:"]:before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.014' height='15.571' viewBox='0 0 22.014 15.571'%3E%3Cpath fill='%23000' d='M1.879 0A1.881 1.881 0 0 0 0 1.879v11.813a1.881 1.881 0 0 0 1.879 1.879h18.256a1.881 1.881 0 0 0 1.879-1.879V1.879A1.881 1.881 0 0 0 20.135 0Zm0 .537h18.256a1.346 1.346 0 0 1 .738.218l-8.935 9.036a1.31 1.31 0 0 1-1.879 0L1.141.755a1.346 1.346 0 0 1 .738-.218Zm-1.124.6 6.863 6.955-6.863 6.351a1.351 1.351 0 0 1-.218-.747V1.879a1.351 1.351 0 0 1 .218-.747Zm20.5 0a1.352 1.352 0 0 1 .218.747v11.813a1.351 1.351 0 0 1-.218.747l-6.871-6.359ZM14.006 8.47l6.863 6.351a1.348 1.348 0 0 1-.738.218H1.879a1.347 1.347 0 0 1-.738-.218l6.855-6.343 1.678 1.695a1.868 1.868 0 0 0 2.651 0l1.686-1.7Z' data-name='Path 547'/%3E%3C/svg%3E");
    background-size: contain;
    width: 2.2rem;
    height: 1.5rem;
    margin: 0 0.5rem 0 0;
}

.site-header .header-top .item a[href^="tel:"]:before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.571 14.691'%3E%3Cg%3E%3Cpath fill='%23cc1e1e' d='m13.274 11.445-.082-.163c-.229-.539-3.039-1.356-3.267-1.372l-.18.016c-.343.065-.719.376-1.454 1.013a.444.444 0 0 1-.523.065A12.832 12.832 0 0 1 5.04 8.728a10.259 10.259 0 0 1-1.764-2.794.489.489 0 0 1 .131-.506c.833-.752 1.193-1.111 1.225-1.5.016-.229-.474-3.12-.98-3.4l-.147-.1A1.851 1.851 0 0 0 2.149.02a1.5 1.5 0 0 0-.376.147 4.911 4.911 0 0 0-1.666 1.65c-.245.506-.359 5.1 3.071 8.969a10.618 10.618 0 0 0 8.217 3.872h.016l.049-.016a4.833 4.833 0 0 0 1.846-1.454 1.568 1.568 0 0 0-.033-1.748Z' data-name='Path 1'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0 0.5rem 0 0;
}

.site-header .header-top .item a.directions:before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.261' height='16.75' viewBox='0 0 12.261 16.75'%3E%3Cpath fill='%23000' d='M6.131 0A6.213 6.213 0 0 0 0 6.131c0 3.142 2.444 6.337 5.9 10.509a.3.3 0 0 0 .466 0c3.453-4.172 5.9-7.368 5.9-10.509A6.213 6.213 0 0 0 6.135 0Zm0 9.084a2.956 2.956 0 1 1 2.088-.866 2.954 2.954 0 0 1-2.088.866Z' data-name='Path 622'/%3E%3C/svg%3E");
    background-size: contain;
    width: 1.2rem;
    height: 1.6rem;
    margin: 0 0.5rem 0 0;
}

.site-header .header-top .item .working-hours {
    display: inline-flex;
    align-items: center;
}

.site-header .header-top .item .working-hours:before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.125' height='15.125' viewBox='0 0 15.125 15.125'%3E%3Cg fill='%23fff' fill-rule='evenodd'%3E%3Cpath d='M7.563 0a7.563 7.563 0 1 0 7.567 7.563A7.566 7.566 0 0 0 7.567 0Zm0 .658A6.905 6.905 0 1 1 .658 7.563 6.909 6.909 0 0 1 7.563.658Z' data-name='Path 549'/%3E%3Cpath d='M7.234 3.939v4.315a.319.319 0 0 0 .329.308h4.6a.309.309 0 1 0 0-.617H7.889V3.938a.33.33 0 0 0-.658 0Z' data-name='Path 550'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.5rem 0 0;
}

.site-header .header-top .item.right {
    float: right;
}

.site-header .header-bottom {
    padding-left: 64px;
    height: var(--header-bottom-height);
    border-bottom: 1px solid #DADADA;
}

.site-header .site-logo {
    display: block;
    width: 15rem;
    height: auto;
    text-align: center;
    z-index: 3;
}

.site-header .site-logo img {
    width: auto;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.site-header .site-navigation {
    flex-grow: 1;
}

@media (max-width: 991px) {
    .site-header .container {
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    .site-header .container {
        align-items: flex-start;
        align-items: center;
    }

    .site-header .header-top {
        display: block;
        height: var(--header-top-height);
        border-bottom: 1px solid #DADADA;
    }

    .site-header .header-top .container {
        display: flex;
        justify-content: flex-end;
    }

    .site-header .header-top .container .columns .column:last-child {
        text-align: right;
    }

    .site-header .site-logo img {
        width: 27rem;
        height: auto;
    }

    .site-header .header-bottom {
        position: sticky;
        padding-left: 0;
        height: var(--header-bottom-height);
        z-index: 1000;
    }

    .site-header .header-bottom .header-navigation {
        display: flex;
        align-items: center;
        flex-grow: 1;
    }
}



/**
 * Main menu
 */

.btn-menu-main {
    display: none;
    -webkit-tap-highlight-color: transparent;
}

.site-dim {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .75);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 1000;
}

.menu-main {
    font: 400 max(16px, 1.6rem)/1.26 var(--font);
    padding: 0;
    margin: 0;
}

.menu-main li a {
    display: block;
    padding: max(15px, 1.6rem);
    outline: none;
    text-decoration: none;
    transition: background-color .1s;
    -webkit-tap-highlight-color: transparent;
}

.menu-main li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent)>a {
    color: var(--color-accent-dark);
}

.menu-main li>a:is(:hover, :focus) {
    background-color: rgba(255, 255, 255, .2);
}

.menu-main li.icon-eco>a::after {
    content: '';
    display: inline-block;
    width: .9rem;
    height: .9rem;
    margin: 0 0 0 .6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.277' height='9.288' viewBox='0 0 9.277 9.288'%3E%3Cpath fill='%2314a898' d='M.955 8.561a4.527 4.527 0 0 1 .371-5.974 4.968 4.968 0 0 1 .835-.626 10.686 10.686 0 0 1 3.1-1.325A26.439 26.439 0 0 1 9.278.001a15.525 15.525 0 0 1-1.415 6.418 5.461 5.461 0 0 1-2.018 2.319 4.787 4.787 0 0 1-3.664.331c.119.03.583-1.2.633-1.325a9.848 9.848 0 0 1 1.153-1.988q.282-.378.59-.736.156-.182.331-.358c.076-.083.215-.295.331-.331a6.123 6.123 0 0 0-2.468 1.753 18.719 18.719 0 0 0-1.8 2.478Z'/%3E%3C/svg%3E");
    background-size: contain;
}

.menu-main .menu-item-has-children>a:after {
    content: '';
    display: inline-block;
    position: relative;
    bottom: 1px;
    left: 0.6rem;
    width: 0.8rem;
    height: 0.8rem;
    border: none;
    border-right: 0.1rem solid currentColor;
    border-bottom: 0.1rem solid currentColor;
    margin-left: 0;
    transform: rotateZ(-45deg);
    transition: transform .3s;
}

.menu-main .sub-menu {
    opacity: 0;
    pointer-events: none;
    padding-left: 0;
}

@media (max-width: 991px) {
    .btn-menu-main {
        display: inline-block;
        position: fixed;
        top: var(--header-offset);
        left: 0;
        width: 64px;
        height: 64px;
        padding: 16px;
        border: none;
        outline: none;
        background-color: transparent;
        z-index: 1010;
        cursor: pointer;
    }

    .btn-menu-main .icon-open,
    .btn-menu-main .icon-close {
        position: absolute;
        top: 16px;
        right: 16px;
        bottom: 16px;
        left: 16px;
        opacity: 1;
        color: #000;
        transition: opacity .3s;
    }

    .btn-menu-main .icon-close {
        opacity: 0;
    }

    body.menu-main-open .btn-menu-main .icon-open {
        opacity: 0;
    }

    body.menu-main-open .btn-menu-main .icon-close {
        opacity: 1;
    }

    body.menu-main-open .site-dim {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-main-wrapper,
    .menu-main .sub-menu {
        background: #fff;
        top: 0;
        bottom: 0;
        left: 0;
        width: 300px;
        height: 100%;
        padding-top: calc(var(--header-offset) + 64px);
        transform: translateX(-100%);
        transition: transform .3s, opacity .3s;
        transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
        pointer-events: none;
    }

    .menu-main-wrapper {
        position: fixed;
        z-index: 1000;
        overflow-x: hidden;
    }

    .menu-main .sub-menu {
        position: absolute;
        z-index: 1001;
        transform: translateX(-100%);
    }

    body.menu-main-open .menu-main-wrapper,
    .menu-main .menu-item-has-children.open .sub-menu {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-main .menu-item-has-children.open .sub-menu {
        transform: translateX(0px);
        box-shadow: 0 0 30px rgb(0 0 0 / 10%);
    }

    .menu-main li.icon-eco>a::after {
        width: 9px;
        height: 9px;
        margin: 0 0 0 9px;
    }
}

@media (min-width: 992px) {
    .menu-main-wrapper {
        display: flex;
    }

    .menu-main {
        display: flex;
        padding: 0 3rem;
    }

    .menu-main>li {
        margin-right: 4rem;
    }

    .menu-main>li:last-child {
        margin-right: 0;
    }

    .menu-main>li.left-margin {
        margin-left: 3rem;
    }

    .menu-main>li>a {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: .5rem .5rem;
        height: var(--header-bottom-height);
        position: relative;
    }

    .menu-main>li>a::before {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        content: '';
        width: 100%;
        height: .3rem;
        background: var(--color-accent-dark);
        opacity: 0;
        transition: opacity .1s;
    }

    .menu-main>li:is(:hover, :focus)>a::before,
    .menu-main li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent)>a::before {
        opacity: 1;
    }

    .menu-main>li:last-child>a {
        margin-right: -1.5rem;
    }

    .menu-main>.menu-item-has-children:hover .sub-menu,
    .menu-main>.menu-item-has-children:focus .sub-menu {
        pointer-events: auto;
        opacity: 1;
        transform: none;
    }

    .menu-main .menu-item-has-children>a {
        padding-right: 2.4rem;
    }

    .menu-main .menu-item-has-children>a:after {
        width: .5rem;
        height: .5rem;
        bottom: .3rem;
        left: 1.5rem;
        transform: rotateZ(45deg);
    }

    .menu-main .menu-item-has-children:hover>a:after,
    .menu-main .menu-item-has-children:focus>a:after {
        transform: translateY(3px) rotateZ(225deg);
    }

    .menu-main>li .sub-menu {
        position: absolute;
        overflow: auto;
        background: #fff;
        z-index: 1000;
        min-width: 20rem;
        padding: 1rem 0;
        border: 1px solid #E3E3E3;
        transform: translateY(-16px);
        transition: opacity .3s, transform .3s;
    }

    .menu-main>li .sub-menu li>a {
        position: relative;
        text-transform: none;
        font: 600 max(16px, 1.8rem)/1.27 var(--font);
        color: #000000;
        padding: 1.6rem 2.6rem;
        transition: background-color .1s;
    }

    .menu-main>li .sub-menu li>a:after {
        position: absolute;
        right: 2.6rem;
        bottom: 0;
        left: 2.6rem;
        content: '';
        display: block;
        height: 1px;
        background: #F1F1F1;
    }

    .menu-main>li .sub-menu li:last-child>a:after {
        display: none;
    }

    .menu-main>li .sub-menu li:is(:hover, :focus, .current-menu-item)>a {
        color: var(--color-accent-dark);
    }

    .menu-main>li .sub-menu li:is(:hover, :focus)>a {
        text-decoration: underline;
    }

    .menu-main li .sub-menu li.menu-item-parent {
        display: none;
    }

    .menu-main li .sub-menu li:last-child a {
        border-bottom: none;
    }

    .menu-main li .sub-menu li a:hover,
    .menu-main li .sub-menu li a:focus {
        background-color: var(--border-color);
    }
}



/**
 * Breadcrumbs
 */

.breadcrumbs {
    font-size: 0;
    margin: 1rem 0;
    color: #B6B6B6;
}

.breadcrumbs :is(a, .breadcrumb_last) {
    font: 300 max(13px, 1.3rem)/1.25 var(--font);
    text-decoration: none;
}

.breadcrumbs a:after {
    content: '>';
    margin: 0 0.5rem;
}



/**
 * Footer
 */

.site-footer {
    padding: 2.5rem 0;
    font: 400 max(12px, 1.2rem)/1.5 var(--font);
    background-color: #EFEFEF;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:is(:hover, :focus) {
    text-decoration: underline;
}

.site-footer .column {
    margin-bottom: 3rem;
}

.site-footer .column:last-child {
    margin-bottom: 0;
}

.site-footer .column p:first-child {
    --font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .site-footer br {
        display: none;
    }

    .site-footer .columns {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .site-footer .column {
        flex: initial;
        width: auto;
        margin-bottom: 0;
    }
}



/**
 * Pagination
 */

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    margin: 6rem 0;
}

.navigation.pagination .nav-links :is(a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 0.25rem;
    border: 1px solid transparent;
    border-radius: .3rem;
    width: 3.4rem;
    height: 3.4rem;
}

.navigation.pagination .nav-links a:is(:hover, :focus),
.navigation.pagination .nav-links .current {
    border: 1px solid var(--color-accent);
}

.navigation.pagination .nav-links :is(.prev, .next) {
    text-indent: -9999px;
    font: 400 1.6rem/1.55 var(--font);
    background-size: contain;
}

.navigation.pagination .nav-links .prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23CC1E1E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 32 32'%3E%3Cpath d='M20 30 8 16 20 2'/%3E%3C/svg%3E");
}

.navigation.pagination .nav-links .next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23CC1E1E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 32 32'%3E%3Cpath d='m12 30 12-14L12 2'/%3E%3C/svg%3E");
}



/**
 * Gutenberg - contact section
 */

.section-contact {
    padding: 4rem 0;
    border-top: 2px solid #ECECEC;
    border-bottom: 2px solid #ECECEC;
    margin: 4rem 0;
}

.section-contact p {
    margin: 0;
}

.section-contact .wp-block-button__link {
    border: 1px solid var(--color-accent);
    background: none;
    color: var(--color-accent);
    font: 400 1.7rem/1.5 var(--font);
    padding: 1.5rem 4.5rem;
    border-radius: 1.4rem;
    transition: background-color .3s, color .3s;
}

.section-contact .wp-block-button__link:is(:hover, :focus) {
    background: var(--color-accent);
    color: #fff;
}

@media (max-width: 781px) {
    .section-contact .wp-block-buttons {
        justify-content: center !important;
    }
}

