/* HERO */
.rosee-page-header--home {



    @media (max-width: 1147px) {
        margin-bottom: 0;
    }

    @media (max-width: 1146px) {

        .wp-block-columns:not(.is-not-stacked-on-mobile) {
            flex-wrap: wrap !important;

            > .wp-block-column {
                flex-basis: 100% !important;
            }
        }
    }

    .wp-block-heading {
        br {
            display: none;
            @media (min-width: 1510px) {
                display: block;
            }
        }
    }
}

.rosee-page-header--home .grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;

    @media (min-width: 1200px) {
        grid-template-columns: 54% 1fr 1fr;

        .rosee-logo-heading {
            grid-row: 1;
            grid-column: 1 / span 1;
        }

        .rosee-carte {
            grid-row: 1;
            grid-column: 2 / span 2;
        }
    }
}

.rosee-page-header--home .rosee-logo-heading {
    margin-bottom: var(--wp--preset--spacing--medium);

    @media (min-width: 1200px) {
        margin-bottom: 0;
    }
}

.rosee-page-header--home .rosee-logo-heading .wp-block-image {
    margin-bottom: var(--wp--preset--spacing--medium);

    @media (min-width: 1200px) {
        margin-bottom: var(--wp--preset--spacing--large);
    }
}

.rosee-page-header--home .rosee-logo-heading h1 {
    text-align: center;
    text-transform: none;
    margin: 0 0 var(--wp--preset--spacing--medium) 0;
    @media (min-width: 1200px) {
        text-align: left;
    }
}

.rosee-page-header--home .rosee-logo-heading .wp-block-buttons {
    justify-content: center;

    @media (min-width: 1200px) {
        justify-content: flex-start;
    }
}

.rosee-page-header--home .rosee-carte {
    max-width: 850px;
    margin: 0 auto;
    align-self: end;
    @media (min-width: 1200px) {
        position: relative;
        top: 190px;
        left: -90px;
        width: 620px;
    }

    @media (min-width: 1440px) {
        position: relative;
        top: 260px;
        left: -150px;
        width: 790px;
    }

    @media (min-width: 1510px) {
        max-width: none;
        position: relative;
        top: 230px;
        left: -180px;
        width: 840px;
    }
}

/* / HERO */



/* RENDEZ-VOUS */
.rosee-event-section-header {

    position: relative;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.75rem;

    text-align: left;


    &::before, &::after {
        content: '';
        display: block;
        width: 100px;
        height: 100px;
        z-index: 0;
        background-size: contain;
        background-position: top;
        background-repeat: no-repeat;
        margin-left: auto;
    }

    &::before {
        background-image: url("../images/calendar.svg");
        transform: rotate(20deg) translateY(10%);
    }

    &::after {
        background-image: url("../images/etoile.svg");
        display: none;
    }

}

@media (min-width: 576px) {
    .rosee-event-section-header  {
        &::before, &::after {
            width: 80px;
            height: 80px;
        }
    }
}

@media (min-width: 1100px) {
    .rosee-event-section-header {
        display: block;
        text-align: center;


        &::before, &::after {
            position: absolute;
            width: 80px;
            height: 80px;
        }

        &::before {
            top: -50%;
            left: 5%;
            transform: rotate(-20deg);
        }

        &::after {
            display: block;
            top: -50%;
            right: 5%;
            transform: rotate(20deg);
        }
    }

    .rosee-small-container {
        text-align: center;
    }
}


@media (min-width: 1200px) {
    .rosee-event-section-header {
        &::before, &::after {
            width: 136px;
            height: 136px;
        }

        &::before {
            top: -20%;
            left: 0;
        }

        &::after {
            top: 100%;
            right: 0;
        }
    }
}
/* / RENDEZ-VOUS */


/* FAIRE TIERS LIEU */
.rosee-faire-tiers-lieu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wp--preset--spacing--small);

    &::before {
        content:'';
        background-image: url("../images/loading.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 60px;
        height: 60px;
        aspect-ratio: 1;
    }

    @media (min-width: 576px) {
        gap: var(--wp--preset--spacing--medium);
        &::before {
            display: block;
            width: 80px;
            height: 80px;
        }

    }

    @media (min-width: 1200px) {
        &::before {
            width: 120px;
            height: 120px;
        }

    }
}
/* / FAIRE TIERS LIEU */
