/*
Theme Name: Thème Studio Ikadia - Enfant
Theme URI: https://www.ikadia.fr/
Author: Studio Ikadia
Author URI: https://www.ikadia.fr/
Description: Thème Enfant du Studio Ikadia
Version: 3.0.0
License: Tout droits réservés
License URI: https://www.ikadia.fr/
Template: ikadia-theme
Text Domain: ikadia-theme-child
Tags: Studio Ikadia
*/


.yoast-breadcrumbs > span {
    font-size: 0;
}

.yoast-breadcrumbs > span > span:not(:first-child) {
    padding-left: 25px;
    position: relative;
    line-height: 185%;
}

.yoast-breadcrumbs > span > span:not(:first-child)::before {
    content: "";
    width: 12px;
    height: 13px;
    background-image: url("/wp-content/themes/ikadia-theme-child/assets/icons/sep-ariane.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    position: absolute;
    left: 7px;
    top: 1px;
    filter: brightness(0) invert(1);
}


.single-poi .yoast-breadcrumbs > span > span:not(:first-child)::before {
    top: 3px;
}

.single-poi .yoast-breadcrumbs > span > span.breadcrumb_last::before {
    top: 1px;
}


.single-poi .yoast-breadcrumbs > span > span:not(:first-child)::before,
.single-post .yoast-breadcrumbs > span > span:not(:first-child)::before,
.blog .yoast-breadcrumbs > span > span:not(:first-child)::before,
.archive .yoast-breadcrumbs > span > span:not(:first-child)::before {
    filter: none;
}

@media screen and (max-width: 781px) {
    .yoast-breadcrumbs > span > span:not(:first-child)::before {
        top: 0;
    }

    .single-poi .yoast-breadcrumbs > span > span:not(:first-child)::before {
        top: 2px;
    }

    .single-poi .yoast-breadcrumbs > span > span.breadcrumb_last::before {
        top: 0;
    }
}




.wpcf7-turnstile.cf-turnstile {
    display: none;
}


.wp-block-ikadia-carousel-react.swiper .swiper-slide .wp-block-cover {
    width: 100vw;
}


@media screen and (max-width: 781px) {
    .page-id-227 .galerie-fixed .wp-block-column:first-child .ik-block-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .page-id-227 .galerie-fixed .wp-block-column:first-child .ik-block-group figure {
        margin-bottom: 0 !important;
        height: 100%;
    }


    .page-id-227 .galerie-fixed .wp-block-column:first-child .ik-block-group figure img {
        display: block;
        height: 100%;
        object-fit: cover;
    }

    .page-id-227 .galerie-fixed .wp-block-column .ik-block-group:has(figure) figure:nth-child(5) {
        grid-column: span 2;
    }

    .page-id-227 .galerie-fixed .wp-block-column .ik-block-group:has(figure) figure:nth-child(5) img {
        max-height: 150px;
        object-position: center;
    }
}



.poi-block-galerie {
    /*min-width: unset!important;*/
    /*max-width: calc(100vw + 50px - (100vw - var(--wp--style--global--wide-size)));*/
    /*width: calc(100vw + 50px - (100vw - var(--wp--style--global--wide-size)));*/
    /*margin-right: 0!important;*/
    /*padding-right: 0!important;*/
    /*max-width: calc(var(--wp--style--global--wide-size) + var(--padding-section) + ((100% - var(--wp--style--global--wide-size)) / 2))!important;*/
    /*width: calc(var(--wp--style--global--wide-size) + var(--padding-section) + ((100% - var(--wp--style--global--wide-size)) / 2))!important;*/

    min-width: 100% !important;
    max-width: calc(100% + calc(calc(100vw - var(--wp--style--global--wide-size) - var(--padding-section) / 2)));
    width: calc(100% + calc(calc(100vw - var(--wp--style--global--wide-size) - var(--padding-section) / 2)));
}


@media screen and (max-width: 1400px) {
    .poi-block-galerie {
        width: calc(100% + var(--padding-section));
        max-width: calc(100% + var(--padding-section));
    }
}

@media screen and (max-width: 1224px) {
    .single-poi .presentation-container {
        gap: 15px;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .single-poi .presentation-container > .ik-block-group,
    .single-poi .presentation-container > .ik-block-row {
        width: 100%;
        position: relative;
        top: auto;
    }
}

@media screen and (max-width: 781px) {
    .single-poi .poi-header-infos {
        flex-direction: column;
        margin: 10px 0;
    }
}

@media screen and (max-width: 550px) {
    .single-poi .presentation-container > .ik-block-row {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .single-poi .presentation-container > .ik-block-row .coordonnees,
    .single-poi .presentation-container > .ik-block-row .etre-accompagne {
        width: 100%;
    }
}
