.h5 {
    font-family: var(--wp--preset--font-family--ordina);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
    text-transform: uppercase;
}

p > a {
    font-weight: inherit !important;
    transition: 0.5s all ease-in-out;
}

.bialty-container {
    height: 100%;
}

.noDecorations > a {
    text-decoration: none !important;
}

a {
    transition: 0.5s all ease-in-out;
}

a:hover {
    color: var(--theme--color--1);
}

p.blanc a:hover {
    color: white;
}

h2 a {
    font-family: var(--wp--preset--font-family--ordina);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 100%;
    transition: 0.5s all ease-in-out;
}

/* Blog */
.wp-block-post-template > li:nth-child(even) .wp-block-columns {
    flex-direction: row-reverse;
}

.page-numbers, time, .gform_confirmation_message {
    font-family: var(--wp--preset--font-family--ordina);
}

.ligneJaune, .ligneBlanche  {
    position: relative;
    margin-bottom: 36px;
}

.bordureJaune, .bordureBlanche {
    position: relative;
}

.bordureJaune img, .bordureBlanche img {
    position: relative;
    z-index: 1;
}

.ligneJaune:after, .ligneBlanche:after {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 57px;
    display: block;
    position: absolute;
    top: 100%;
}

.bordureJaune:after, .bordureBlanche:after {
    content: '';
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    position: absolute;
    top: 31px;
    left: clamp(19px, 1.5vw, 31px);
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    z-index: 0;
}

.ligneJaune:after {
    background-image: url("/wp-content/uploads/2024/03/Brush-Titles-Yellow.svg");
}

.ligneBlanche:after {
    background-image: url("/wp-content/uploads/2024/03/Brush-Titles-White.svg");
}

.bordureJaune:after {
    background: url("/wp-content/uploads/2024/03/Brush-Photos-Yellow.svg");
}

.bordureBlanche:after {
    background: url("/wp-content/uploads/2024/03/Brush-Photos-White.svg");
}

.derniereSectionRelever > *:not(:last-child) {
    position: relative;
    z-index: 2;
}

.derniereSectionRelever > *:last-child {
    margin-top: -200px;
    position: relative;
    z-index: 1;
}

.trapezeClip, .firstSectionClip, .parallelogramClip, .lastSectionClip {
    position: relative;
    /*overflow-x: hidden;*/
}

.firstSectionClip > *, .parallelogramClip > *, .lastSectionClip > *, .cinquiemeSection > *, .sixiemeSection > * {
    position: relative;
    z-index: 2;
}

.trapezeClip::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/wp-content/uploads/2024/03/Asphalt-background-Nov-27.jpg);
    clip-path: polygon(0 19%, 100% 0%, 100% 100%, 0 81%);
    position: absolute;
    top: 0;
    left: 0;
    background-blend-mode: multiply;
}

.firstSectionClip::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--theme--color--0);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    position: absolute;
    top: -1px;
    left: 0;
}

.parallelogramClip::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--theme--color--1);
    clip-path: polygon(0 19%, 100% 0%, 100% 81%, 0% 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.lastSectionClip::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--theme--color--1);
    clip-path: polygon(0 19%, 100% 0%, 100% 100%, 0% 100%);
    position: absolute;
    top: 0;
    left: 0;
}

div:is(.wp-block-group.has-background, .wp-block-cover) + .lastSectionClip::after {
    clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%);
}

.bringSectionUp {
    margin-top: -310px;
}

.firstSectionLogo:before {
    content: '';
    background: url("/wp-content/uploads/2024/03/Logo-Trame-Grey.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 1020px;
    height: 93%;
    position: absolute;
    right: calc(100% - 563px);
    top: clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem);
    z-index: 1;
}

.thirdSection:before {
    content: '';
    background: url("/wp-content/uploads/2024/03/Logo-Trame-Grey.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 940px;
    max-width: 100%;
    height: 610px;
    position: absolute;
    left: 50%;
    top: 19px;
    z-index: 0;
    transform: translateX(-50%);
    opacity: 0.4;
}

.cinquiemeSection {
    overflow: hidden;
}

.cinquiemeSection:before {
    content: '';
    background: url("/wp-content/uploads/2024/03/Logo-Trame-Yellow.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 940px;
    height: 610px;
    position: absolute;
    left: 90%;
    top: 0%;
    z-index: 1;
    transform: translateX(-50%);
    max-height: 100%;
}

.sixiemeSection {
    position: relative;
}

.sixiemeSection:before {
    content: '';
    background: url("/wp-content/uploads/2024/03/Logo-Trame-Yellow.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 940px;
    height: 610px;
    position: absolute;
    right: 88%;
    top: 0;
    z-index: 0;
    transform: translateX(50%);
}

.mobile {
    display: none;
}

.card .wp-block-cover__inner-container .wp-block-group {
    position: relative;
}

.card .wp-block-cover__inner-container .wp-block-group:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--theme--color--1);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.85;
    z-index: -1;
    clip-path: polygon(0 29%, 100% 0, 100% 100%, 0% 100%);
}

input, textarea {
    padding: 17px 20px !important;
    font-size: 14px !important;
    border-radius: 10px;
    border: 0px;
    outline: none;
    font-family: var(--wp--preset--font-family--generalsans);
    font-weight: 500;
    background-color: var(--theme--color--0);
    color: var(--theme--color--1);
}

.lastSectionClip input, .lastSectionClip textarea {
    background-color: white;
    color: var(--theme--color--0);
}

.ginput_counter {
    display: none;
}

input[type='submit'] {
    background-color: var(--theme--color--0);
    color: white;
    font-family: var(--wp--preset--font-family--ordina);
    text-transform: uppercase;
    padding: 16px 40px !important;
    cursor: pointer;
    transition: 0.5s all ease-in-out;
}

input[type='submit']:hover {
    background-color: white;
    color: black;
}

summary {
    font-family: var(--wp--preset--font-family--ordina);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
}

@media screen and (min-width: 782px) {
    .gform_wrapper.gravity-theme .ginput_container_address span, .gform_wrapper.gravity-theme .ginput_full:not(:last-of-type) {
        margin-bottom: 16px !important;
    }
}


@media screen and (max-width: 782px) {
    *:is(.ligneJaune, .bordureBlanche, .bordureJaune, .ligneBlanche):after {
        content: none;
    }

    .ginput_complex {
        gap: 17px;
    }

    .reverseMobile {
        flex-direction: column-reverse;
        display: flex;
    }

    .noPaddingTopMobile {
        padding-top: 0 !important;
    }

    .ligneJaune, .ligneBlanche {
        margin-bottom: auto !important;
    }

    .parallelogramClip {
        padding-top: var(--wp--preset--spacing--80) !important;
        padding-bottom: var(--wp--preset--spacing--80) !important;
    }

    .hideMobile {
        display: none !important;
    }

    .minHeightCover {
        min-height: 300px !important;
    }

    .parallelogramClip > .wp-block-columns {
        margin-top: 0px !important;
        margin-bottom: 0 !important;
    }

    .noPaddingMobileHor {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .noPaddingMobile {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .gallerieContent .wp-container-content-1 {
        display: none;
    }

    .gallerieContent > div {
        grid-column: span 4;
    }
    .derniereSectionRelever > div:last-child {
        margin-top: 0;
    }

    .has-text-align-right {
        text-align: left;
    }

    figure.is-resized img {
        width: 100% !important;
    }

    .lastSectionClip::after {
        clip-path: polygon(0 7%, 100% 0%, 100% 100%, 0% 100%);
    }

    .parallelogramClip::after {
        clip-path: polygon(0 7%, 100% 0%, 100% 93%, 0% 100%)
    }

    .trapezeClip::after {
        clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
    }

    .firstSectionClip::after {
        clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
    }

    .firstSectionClip:not(.firstSectionLogo) {
        padding-bottom: 150px !important;
    }

    .wp-block-post-template > li  {
        padding-bottom: 70px;
    }
}

@media screen and (max-width: 640px) {
    .gform_wrapper.gravity-theme .ginput_complex span {
        flex: 0 0 100%;
        margin-bottom: 0 !important;
        padding-left: 0;
    }
}