/*
    BASES
    El contenidor principal te un padding horitzontal var(--wp--custom--gap--horizontal)
    Si volem contingut 100% hem de fer el contingut + 2 cops el gap horitzontal;
*/

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer nav ul a {
    text-decoration: none;
}


#container {
    width: 100%;
    /* padding-left: var(--wp--style--block-gap);
    padding-right: var(--wp--style--block-gap); */
}

.wp-block-cover__inner-container>*,
.entry-content>*,
.bodyguard-single-product>* {
    margin: 0 auto;
}

.wp-block-cover__inner-container>*+*,
.entry-content>*+* {
    margin-top: var(--wp--style--block-gap);
    margin-bottom: 0;
}

.entry-content>*:not(.alignfull):not(.alignwide) {
    max-width: var(--wp--style--global--content-size);
}

.wp-block-cover,
.alignwide,
.alignfull {
    margin-bottom: var(--wp--style--block-gap);
    margin-top: var(--wp--style--block-gap);
}

.wp-block-image {
    margin-bottom: var(--wp--style--block-gap);
}

.alignwide {
    max-width: var(--wp--style--global--wide-size);
}

.entry-content>.alignfull {
    /* margin-left: calc(-1 * var(--wp--style--block-gap));
    margin-right: calc(-1 * var(--wp--style--block-gap)); */
    max-width: 100% !important;
    width: 100%;
}

.alignfull.has-background>.alignfull {
    /* margin-left: calc(-1 * var(--wp--style--block-gap));
    margin-right: calc(-1 * var(--wp--style--block-gap)); */
    max-width: 100% !important;
    width: 100%;
}

/* .wp-block-cover,
.has-background:not(.wp-block-button__link, .wp-block-separator, .wp-block-media-text) {
    padding: var(--wp--style--block-gap);
} */


.has-background.wp-block-separator,
.has-background.wp-block-media-text {
    padding: 0;
}

h1.alignfull:not(.has-background),
h2.alignfull:not(.has-background),
h3.alignfull:not(.has-background),
h4.alignfull:not(.has-background),
h5.alignfull:not(.has-background),
h5.alignfull:not(.has-background) {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

h1.has-background,
h2.has-background,
h3.has-background,
h4.has-background,
h5.has-background,
h5.has-background {
    padding-right: var(--wp--style--block-gap);
    padding-left: var(--wp--style--block-gap);
}

.is-style-list-columns-2, .is-style-list-columns-3 {
    page-break-inside: avoid;
    break-inside: avoid;
}

.is-style-list-columns-2 {
    column-gap: calc(2 * var(--wp--style--block-gap));
    columns: auto 2;
}

.is-style-list-columns-3 {
    column-gap: calc(2 * var(--wp--style--block-gap));
    columns: auto 3;
}



/* images */

figure[class*="is-style-aspect-ratio"] img {
    object-fit: cover;
}

.is-style-aspect-ratio-1_1 img {
    aspect-ratio: 1/1;
}

.is-style-aspect-ratio-4_3 img {
    aspect-ratio: 4/3;
}

.is-style-aspect-ratio-3_4 img {
    aspect-ratio: 3/4;
}

.is-style-aspect-ratio-3_2 img {
    aspect-ratio: 3/2;
}

.is-style-aspect-ratio-2_3 img {
    aspect-ratio: 2/3;
}

.is-style-aspect-ratio-16_9 img {
    aspect-ratio: 16/9;
}

.is-style-aspect-ratio-9_16 img {
    aspect-ratio: 9/16;
}

.is-style-aspect-ratio-21_9 img {
    aspect-ratio: 21/9;
}

.is-style-aspect-ratio-9_21 img {
    aspect-ratio: 9/21;
}

.is-style-aspect-ratio-1_1 img {
    aspect-ratio: 1/1;
}



/*** TEMA ***/

.wp-block-button .wp-element-button {
    transition: .3s all;
    position: relative;
}
.wp-block-button .wp-element-button:before {
    content: url('../images/arrow-button.svg');
    transition: .3s all;
    position: absolute;
    filter: invert();
    height: 20px;
    width: 50px;
    opacity: 0;
    top: 12px;
    right: 0;
}
.wp-block-button .wp-element-button:hover:before {
    opacity: 1;
}
.wpcf7-submit {
    border-color: var(--wp--preset--color--theme-black);
    color: var(--wp--preset--color--theme-black);
    background-color: transparent;
    text-decoration: none;
    font-family: inherit;
    border-style: solid;
    transition: .3s all;
    border-radius: 2px;
    padding: 12px 25px;
    border-width: 1px;
    line-height: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}
.wpcf7-submit:hover {
    background-color: var(--wp--preset--color--theme-black)!important;
    color: white!important;
}

.intro-page {
    padding: 100px 30px 80px;
}
.intro-page h1 {
    margin-bottom: 50px;
    margin-top: 0;
}
.intro-page h1 sub {
    vertical-align: initial;
    font-size: .7em;
    margin-top: 0;
    display: block;
}

.texte-image {
    padding: 80px 30px 80px;
    flex-direction: column;
    overflow: hidden;
    display: flex;
    gap: 50px;
}
.texte-image .wp-block-columns {
    min-height: 550px;
    gap: 70px;
}
.texte-image .la-image img {
    max-height: 550px;
    width: 100%;
}
.texte-image .le-texte h2 {
    margin-bottom: 30px;
}
.texte-image .le-texte .wp-block-buttons {
    margin-top: 30px;
}

.les-articles {
    gap: 40px;
}
.les-articles .image {
    border-radius: 10px;
}
.les-articles .image img {
    min-height: 500px;
    max-height: 500px;
}
.les-articles .titre {
    margin: 20px 0 10px;
}
.les-articles .date {
    font-size: 13px;
    color: black;
    margin: 0;
}
.les-articles .extrait a {
    text-decoration: underline;
    font-size: 16px;
    color: black;
}

#retrouvez-tous-nos-conseils .wp-block-columns {
    gap: 80px;
}
#retrouvez-tous-nos-conseils .wp-block-cover {
    max-height: 630px;
    min-height: 630px;
    border-radius: 15px;
}

#banniere-mosaic .columne-fons {
    padding: 50px;
}
#banniere-mosaic .columne-fons > .wp-block-group {
    padding: 60px !important;
}

.nos-forces {
    padding: 100px 30px;
}
.nos-forces h3 {
    margin-bottom: 70px;
}

.section-parfums {
    padding: 80px 30px;
}
.section-parfums .les-parfums {
    justify-content: center;
    align-items: stretch;
    margin-top: 60px;
    gap: 30px;
}
.section-parfums .les-parfums .wp-block-group {
    flex-basis: calc(33% - 17px);
    padding: 30px;
}
.section-parfums .les-parfums .wp-block-group ul {
    padding-left: 25px;
    font-weight: 300;
    margin-top: 12px;
    font-size: 15px;
}
.section-parfums .les-parfums .wp-block-group p, .section-parfums .les-parfums .wp-block-group ul {
    color: var(--wp--preset--color--theme-semi-grey);
}

.icones-philosophie {
    padding: 70px 30px;
    gap: 50px;
}
.icones-philosophie > .wp-block-group {
    flex-basis: calc(33% - 25px);
}
.icones-philosophie .wp-block-group img {
    height: 250px;
    width: auto;
}
    #instagram-suivez-nous img {
        width: 15px;
        height: auto;
        opacity: .6;
        margin-right: 5px;
        margin-bottom: -2px;
    }