/*
Theme Name: Charlier Tuinen
Template: twentytwentyfive
*/

/* Language switcher */
body .wpml-language-switcher-block ul.horizontal-list,
body .wp-block-navigation .wpml-language-switcher-navigation-block ul.horizontal-list {
    text-transform: uppercase !important;
    gap: 0.8rem !important;
    align-items: start;
}

/* header center logo */
.boom.wp-block-site-logo {
    max-width: fit-content;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Project detail page - Gallery masonry */
.gallery-masonry {
    column-count: 3;
    column-gap: 1.4rem;

    img {
        width: 100%;
        display: block;
        margin-bottom: 1.4rem;
        break-inside: avoid;
    }
}

@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }

    body .wpml-language-switcher-block ul.horizontal-list,
    body .wp-block-navigation .wpml-language-switcher-navigation-block ul.horizontal-list {
        gap: 0.4rem !important;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }

    .wp-block-navigation__responsive-container ul[class*="horizontal-list"],
    .wp-block-navigation__responsive-container ul[class*="vertical-list"] {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
        text-transform: uppercase !important;
        align-items: start !important;
    }
}

/**
 * Remove spacing for horizontal language switcher list items
 */
.wpml-language-switcher-block ul.hasSpacing.isHorizontal li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}