body a {
    text-underline-offset: 5px;
}

.cmplz-manage-consent{display:none!important;}

header {
    position: relative;
    z-index: 100;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    display: flex;
    padding: 1.75em 0;
    gap: 1.75em;
}

@media (max-width: 620px) {

    header .logo img {
        max-width: 290px;
    }

    header > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.5em 0;
        gap: 1.5em;
        flex-direction: column;
    }
}

header > div > nav > ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 1em;
}

header > div > nav > ul a {
    text-decoration: none;
}

header > div > nav > ul a:hover,
header > div > nav > ul a:focus-visible {
    text-decoration: underline;
}

header > div > nav > ul .lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35em;
    margin-left: 0.5em;
}

header > div > nav > ul .lang-switcher .lang-link {
    color: inherit;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
}

header > div > nav > ul .lang-switcher .lang-link.is-active {
    text-decoration: underline;
}

header > div > nav > ul .lang-switcher .lang-divider {
    color: inherit;
    opacity: 0.65;
}

.navbar {
    --bs-navbar-color: #000000;
    --bs-navbar-hover-color: #000000;
}

header .logo {
    display: inline-block;
}

header .logo img {
    width: 100%;
    max-width: 290px;
    height: auto;
    display: block;
}

.nav-link {
    color: #ffffff;
}

.footer-map {
    max-height: 353px
}

.footer-map .wp-block-cover {
    height: 100%;
    width: 100%;
    min-height: 353px;
    object-fit: cover;
}

footer {
    background: #000000;
    color: #ffffff;
    padding-bottom: 50px;
}

footer .logo {
    margin-top: 30px;
    display: inline-block;
}

footer .logo img {
    width: 100%;
    max-width: 217px;
    height: auto;
    display: block;
}

footer a {
    text-decoration: none;
    cursor: pointer;
}

footer a:hover:not(.logo) {
    text-decoration: underline;
}

@media (max-width: 600px) {
    footer .wp-block-group > .wp-block-group {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        align-content: center;
        text-align: center !important;
    }

    footer .wp-block-group {
        max-width: 100% !important;
    }

    footer .is-layout-flex.is-content-justification-space-between {
        justify-content: center;
    }

    footer .wp-block-group {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }

    footer .wp-block-group .wp-block-group .is-content-justification-left,
    footer .wp-block-group .wp-block-group .is-content-justification-right,
    footer .wp-block-group .wp-block-group .has-text-align-right {
        text-align: center !important;
    }

    footer .wp-block-group p,
    footer .wp-block-group a {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
    }
}
main,
.is-root-container {
    margin: 5.75em 0 0 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 5.75em;
}

.is-root-container > div {
    margin-block-start: var(--wp--preset--spacing--90);
}

.cases-template-default.single main,
.cases-template-default.single .is-root-container{
    margin: 5.75em 0;
}

@media (max-width: 856px) {
    main,
    .is-root-container {
        margin: 4em 0 0 0;
        gap: 4em;
    }

    .cases-template-default.single main,
    .cases-template-default.single .is-root-container{
        margin: 4em 0;
    }
}

.home main {
    margin: 0;
}

.archive-category-filter {
    padding: 60px 0 30px;
}

.archive-category-filter h2 {
    margin-bottom: 0;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.badge {
    display: inline-flex;
    height: 30px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 14px;
    font-weight: 200;
    vertical-align: middle;
    text-decoration: none;
    padding: 0 14px;
    background-color: #000000;
}

.badge:hover {
    color: #fff;
}

.badge .icon {
    display: none;
}

.badge.active .icon {
    vertical-align: middle;
    width: 12px;
    height: 12px;
    display: inline-block;
    line-height: 12px;
    padding: 0;
    margin: 0 10px 0 0;
}

.post-type-archive-cases .categories h2 {
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    padding-right: 34px;
}

.post-type-archive-cases .categories h2::after {
    content: '';
    display: block;
    width: 24px;
    height: 100%;
    background-image: url(../gfx/accordion-arrow-black.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.post-type-archive-cases .categories h2:hover::after {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.post-type-archive-cases .categories h2.collapsed::after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

/* Custom collapse functionality */
.collapse {
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    justify-content: center;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.collapse.show {
    max-height: 1000px;
    opacity: 1;
    padding-top: 24px;
}

.post-type-archive-cases .cases {
    margin: 30px 0;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post-type-archive-cases .cases .case-logo {
    max-width: 40%;
    position: relative;
    width: 220px;
    height: 176px;
    display: inline-flex;
    order: 1;
}

.post-type-archive-cases .cases .case-logo img {
    filter: brightness(0) saturate(100%);
    width: 100%;
    height: auto;
    max-width: 220px;
    max-height: 176px;
    opacity: .7;
    object-fit: contain;
}

.post-type-archive-cases .cases .case-logo.unselected {
    order: 2;
}

.post-type-archive-cases .cases .case-logo.unselected img {
    opacity: .2;
}

.post-type-archive-cases .cases .case-logo:hover img {
    opacity: 1;
}

.post-type-archive-cases .cases .case-logo::after {
    content: '';
    display: block;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../gfx/blob.svg);
    background-repeat: no-repeat;
    background-size: 1%;
    background-position: center;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 1s;
    rotate: 0deg;
}

.post-type-archive-cases .cases .case-logo:hover::after {
    visibility: visible;
    background-size: 100%;
    height: 100%;
    width: 100%;
    opacity: 0.05;
    rotate: 580deg;
}

.block-editor-page .wp-block-post-excerpt__more-link,
.block-editor-page .wp-block-post-terms__suffix,
.block-editor-page .wp-block-post-terms__prefix {
    display: none;
}

.block-editor-page .block-editor-block-list__block.wp-block.taxonomy-category.wp-block-post-terms a {
    display: inline-flex;
    height: 30px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 14px;
    font-weight: 200;
    vertical-align: middle;
    text-decoration: none;
    padding: 0 14px;
    border-radius: var(--bs-border-radius-pill) !important;
    background-color: #000000 !important;
    color: #ffffff;
}

.wp-block-media-text .wp-block-media-text__content {
    padding-top: 0;
    padding-bottom: 0;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding-left: 0;
}

.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content {
    padding-right: 0;
}

.wp-block-button .wp-element-button::before {
    content: '';
    height: 12px;
    display: inline-block;
    width: 12px;
    background-image: url(../gfx/accordion-arrow-white.svg);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    margin-right: 10px;
    top: 1px;
    position: relative;
    rotate: -90deg;
}

@media (max-width: 856px) {
    .wp-block-media-text {
        display: flex;
        flex-direction: column !important;
    }

    .wp-block-media-text .wp-block-media-text__media {
        order: -1;
        margin-bottom: 20px;
    }

    .wp-block-media-text .wp-block-media-text__content {
        order: 0;
    }
}

@media (max-width: 856px) {
    .wp-block-columns {
        flex-direction: column !important;
    }

    .wp-block-columns .wp-block-column {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

[class*="wp-container-core-group-is-layout-"] {
    grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
}

.editor-styles-wrapper [class*="wp-container-core-group-is-layout-"],
.block-editor-block-list__layout [class*="wp-container-core-group-is-layout-"] {
    grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
}
