/** COMMONS **/

/*
 * Write common website styles here that you don't expect to see in the admin
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Globals
2.0 Utils
3.0 Forms
4.0 Sliders
5.0 Page commons
6.0 Header
7.0 Footer

--------------------------------------------------------------*/
/*- 1.0 Globals */
[id] {
    scroll-margin-top: calc(var(--custom-theme-site-header-height-small) + 50px);
}

/*- 2.0 Utils */
.reset-nav {
    padding: 0;
    margin: 0;
}

.reset-nav li {
    display: block;
}

.reset-nav a {
    text-decoration: none;
}

.js-clickable-block {
    cursor: pointer;
}

/* Text meant only for screen readers. */
.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;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*- 3.0 Forms */
/* Moved to 08-contact.css, we have only one form on this website ... */

/*- 4.0 Sliders */
.slick-slide:focus {
    outline: none;
}

.slider__arrow__prev,
.slider__arrow__next {
    background: none;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 100;
    transition: 0.2s ease-in-out;
}
.slider__arrow__prev.slick-disabled,
.slider__arrow__next.slick-disabled {
    display: none!important;
}

.slick-dots {
    padding: 0;
    margin: 41px 0 0 0;
    display: flex;
    gap: 3px;
    justify-content: center;
}

.slick-dots li {
    list-style-type: none;
}

.slick-dots button {
    position: relative;
    width: 16px;
    height: 16px;
    color: var(--wp--preset--color--grey);
    text-indent: -200%;
    overflow: hidden;
}

.slick-dots button::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -5px;
    margin-top: -5px;
    background: currentColor;
}

.slick-dots .slick-active button {
    color: var(--wp--preset--color--black-like);
}

.has-black-like-background-color .slick-dots .slick-active button {
    color: var(--wp--preset--color--off-white);
}

.has-slide-equal-height .slick-track {
    display: flex;
}
.has-slide-equal-height .slick-slide {
    height: inherit;
}
.has-slide-equal-height .slick-slide > div {
    height: 100%;
}


/*- 5.0 Page commons */
.page-header__breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.page-header__title {
    min-height: 262px;
    padding-top: 70px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title::after {
    content: '';
    display: block;
    border-bottom: 1px solid var(--wp--preset--color--grey);
    opacity: 0.5;
    margin-top: 7px;
}
.has-blue-background-color .section-title::after {
    border-bottom-color: #FFF;
}

.block-section.case-studies-push {
    padding-top: 75px;
    padding-bottom: 70px;
}

.section--latest-news {
    padding-top: 48px;
    padding-bottom: 53px;
}
.section--latest-news .section-title {
    margin-bottom: 84px;
}

.pagination {
    flex: 1 1 100%;
    margin-top: 20px;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 1.125rem;
    font-weight: 700;
}
.pagination .nav-links a {
    color: inherit;
    text-decoration: none;
}
.pagination .page-numbers {
    border: 1px solid transparent;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .page-numbers.current {
    border-color: currentColor;
}

.join-us__job-offers .block-column:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 991px) {
    .section--latest-news {
        padding-bottom: 61px;
    }
    .section--latest-news .section-title {
        margin-bottom: 41px;
    }
    .section--latest-news .latest-news {
        margin-top: 24px;
        margin-bottom: 44px!important;
    }
}
@media screen and (max-width: 767px) {
    .page-header__breadcrumbs {
        display: none;
    }
}

/*- 6.0 Header */
.site-header {
    position: absolute;
    z-index: var(--custom-theme-z-index-nav);
    left: 0;
    top: 0;
    right: 0;
}
.site-header__inner {
    height: var(--custom-theme-site-header-height);
    align-items: center;
}
.site-header__logo {
    --custom-theme-flex-span: 2;
}
.site-header__logo a {
    color: inherit;
}
.main-navigation {
    display: block;
    --custom-theme-flex-span: 10;
}

.site-header__main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.site-header__main-menu a,
.site-header__main-menu .lvl {
    font-size: 1.25rem;
    color: inherit;
    line-height: 1.3;
    display: block;
    transition: 0.3s ease-out;
    cursor: pointer;
}
.site-header__main-menu a:hover,
.site-header__main-menu .lvl:hover {
    color: var(--wp--preset--color--blue);
}

.site-header__main-menu .wp-block-button__link {
    min-width: 169px;
    padding: 7px 40px 10px;
}


.site-header__main-menu .depth-0 {
    position: relative;
    padding: 11px 0;
}
.site-header__main-menu .depth-0.menu-item-has-children > a,
.site-header__main-menu .depth-0.menu-item-has-children > .lvl {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-header__main-menu .depth-0.menu-item-has-children > a[aria-expanded="true"] .icon,
.site-header__main-menu .depth-0.menu-item-has-children > .lvl[aria-expanded="true"] .icon {
    transform: scaleY(-1);
}
.site-header__main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFF;
    color: var(--wp--preset--color--black-like);
    padding: 48px 60px 48px 37px;
    white-space: nowrap;

    flex-direction: column;
    gap: 15px;
}
.site-header__main-menu .sub-menu[aria-hidden="false"] {
    display: flex;
}

.site-header__contact,
.site-header__menu-toggle,
.site-header__main-menu .icon-plus,
.site-header__social-links,
.site-header__cities {
    display: none;
}

@media screen and (max-width: 1439px) {
    .site-header__main-menu {
        gap: 25px;
    }
    .site-header__main-menu a,
    .site-header__main-menu .lvl {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 1279px) {
    .header-is-open,
    .header-is-open body {
        overflow: hidden;
    }
    .header-is-open .site-header {
        background: var(--wp--preset--color--black-like);
    }
    .main-navigation {
        position: fixed;
        z-index: var(--custom-theme-z-index-nav);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #FFF;
        padding: var(--custom-theme-site-header-height) var(--wp--style--root--padding-right)  28px var(--wp--style--root--padding-left);
        display: flex;
        flex-direction: column;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transition: 0.5s ease-in-out;
    }
    .main-navigation:not(.expandable-is-initialized) {
        display: none;
    }
    .main-navigation[aria-hidden="true"] {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    .main-navigation .push {
        flex: 1 1 auto;
    }
    .main-navigation__menu {
        overflow: auto;
        margin-left: calc(-1 * var(--wp--style--root--padding-left));
        margin-right: calc(-1 * var(--wp--style--root--padding-right));
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);

    }
    .site-header__contact,
    .site-header__menu-toggle {
        display: block;
        color: inherit;
        --custom-theme-flex-span: 1;
    }
    .site-header__logo {
        --custom-theme-flex-span: 10;
    }

    .site-header__contact .icon {
        margin-left: auto;
        display: block;
    }

    .site-header__menu-toggle {
        text-align: right;
        height: 20px;
    }
    .site-header__menu-toggle button {
        color: inherit;
    }


    .site-header__contact,
    .site-header__menu-toggle,
    .site-header__logo {
        position: relative;
        z-index: calc(var(--custom-theme-z-index-nav) + 1);
        transition: 0.5s ease-out;
    }
    .site-header__main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .site-header__main-menu .depth-0 {
        padding: 0;
        width: 100%;
    }

    .site-header__main-menu .depth-0 > a,
    .site-header__main-menu .depth-0 > .lvl {
        font-size: 1.5625rem;
        line-height: 1.1;
        color: #000;
    }
    .site-header__main-menu .depth-0.menu-item-has-children > a,
    .site-header__main-menu .depth-0.menu-item-has-children > .lvl {
        justify-content: space-between;
    }
    .site-header__main-menu .icon:not(.icon-plus) {
        display: none;
    }
    .site-header__main-menu .icon-plus {
        display: block;
        width: 30px;
        height: 30px;
        transition: 0.5s ease-in-out;
        transform-origin: center center;
        opacity: 0.3;
    }
    .site-header__main-menu .icon-plus .icon__vertical-bar {
        transition: 0.5s ease-in-out;
        transform-origin: center center;

    }
    .site-header__main-menu .depth-0 > a[aria-expanded="true"] .icon-plus,
    .site-header__main-menu .depth-0 > .lvl[aria-expanded="true"] .icon-plus {
        transform: rotate(180deg);
    }
    .site-header__main-menu .depth-0 > a[aria-expanded="true"] .icon__vertical-bar,
    .site-header__main-menu .depth-0 > .lvl[aria-expanded="true"] .icon__vertical-bar {
        transform: rotate(90deg);
        opacity: 0;
    }

    .main-navigation[aria-hidden="true"] .sub-menu {
        opacity: 0;
    }
    .site-header__main-menu .sub-menu {
        display: flex;
        position: static;
        padding: 0;
        margin-top: 14px;
        margin-bottom: 9px;
        max-height: 350px;
        overflow: hidden;
        white-space: normal;
        transition: max-height 0.5s ease-in-out, margin 0.3s ease-out;
    }
    .site-header__main-menu .sub-menu[aria-hidden="true"] {
        max-height: 0;
        margin: 0;
        transition-delay: 0s, 0.2s;
    }

    .site-header__main-menu .wp-block-button__link {
        min-width: 0;
        background: none;
        padding: 0;
        text-align: left;
        border-radius: 0;
        border: 0;
    }

    .site-header__social-links {
        display: block;
        margin-top: 37px;
    }

    .site-header__social-links a {
        color: inherit;
    }
    .site-header__social-links a .icon {
        width: 42px;
        height: 42px;
    }
    .site-header__social-links a .icon path {
        transform: scale(0.75);
        transform-origin: center center;
    }

    .site-header__cities {
        display: block;
        margin-top: 37px;
    }
}
@media screen and (max-width: 767px) {
    .site-header__contact,
    .site-header__menu-toggle {
        flex: 0 0 auto;
        width: fit-content;
    }
    .site-header__logo {
        flex: 1 1 auto;
    }
    .main-navigation {
        padding-top: calc(var(--custom-theme-site-header-height) + 36px);
    }
}

/*- 7.0 Footer */
.page-body__content > .has-black-like-background-color:last-child {
    position: relative;
}
.page-body__content > .has-black-like-background-color:last-child::after {
    content: '';
    position: absolute;
    border-bottom: 1px solid;
    width: min(var(--wp--style--global--content-size), calc(100vw - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right)));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.site-footer__inner {
    padding-top: 36px;
    padding-bottom: 55px;
}

.site-footer__identity,
.site-footer__links,
.site-footer__social-legal {
    --custom-theme-flex-span: 4;
}
.footer-links-menu a {
    color: inherit;
}
.footer-links-menu a:hover,
.footer-links-menu button:hover {
    text-decoration: underline;
}

.site-footer__identity {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-footer__who-we-are a {
    color: inherit;
    text-decoration: none;
}
.site-footer__who-we-are a:hover {
    text-decoration: underline;
}
.site-footer__who-we-are__content > :last-child {
    margin-bottom: 0;
}

.site-footer__links .footer-links-menu {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.footer-social-links {
    margin-bottom: 27px;
}
.footer-social-links ul {
    display: flex;
    gap: 10px;
}
.footer-social-links a {
    color: inherit;
}
.footer-social-links .icon {
    width: 42px;
    height: auto;
}

.site-footer__social-legal {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

@media screen and (max-width: 1279px) {
    .site-footer__inner {
        flex-wrap: wrap;
        row-gap: 54px;
        position: relative;
        padding-top: 44px;
    }
    .site-footer__identity {
        flex: 1 1 100%;
    }

    .site-footer__identity > a {
        display: block;
        margin-bottom: 78px;
    }

    .site-footer__identity,
    .site-footer__links,
    .site-footer__social-legal {
        --custom-theme-flex-span: 6;
    }

    .footer-social-links {
        position: absolute;
        top: 93px;
    }
}
@media screen and (max-width: 767px) {
    .site-footer__identity,
    .site-footer__links,
    .site-footer__social-legal {
        --custom-theme-flex-span: 12;
    }
}
@media screen and (max-width: 359px) {
    .site-footer__inner {
        row-gap: 43px;
    }
    .site-footer__who-we-are__content {
        font-size: 0.875rem;
    }

    .footer-legal-links .footer-links-menu {
        display: flex;
        flex-direction: column;
        row-gap: 39px;
    }
}
