@media screen and (min-width: 1700px) {
    .ctn-onglet > .item {
        width: 19.92%;
    }
}
@media screen and (min-width: 1700px) and (max-width: 1800px) {
    .ctn-onglet .inner > figure {
        height: 197px;
        min-height: 11vw;
    }
}
@media screen and (min-width: 1801px) {
    .ctn-onglet > .item {
        width: 16.55%;
    }
}
@media screen and (max-width: 1700px) {
    .ctn-onglet .inner > figure {
        min-height: 16vw;
    }
}
@media screen and (max-width: 1200px) {
    .sc-realisation .list .item > .inner {
        height: 55vw;
    }
    .ban-full-pg .item .wp-txt {
        text-align: center;
    }
    .ban-full-pg .item > .sc-xxl::before, .ban-full-pg .item {
        height: 70vh;
        min-height: 620px;
    }
    .sc-spl-txt .container {
        padding: 9rem 0;
    }
    [data-shadow].hyphen {
        margin-left: 0;
    }
    [data-shadow]:after {
        inset: 0 -4vw;
    }
    h1.opac,
    [data-shadow]:after {
        font-size: 12.6vw;
        letter-spacing: .29em;
    }
    .hyphen::after {
        margin-right: 0;
    }
    .ban-spl .container {
        min-height: 40vw;
    }
}
@media screen and (max-width: 1100px) {
    header nav {
        padding-right: 1rem;
    }
    header .wp-logo {
        flex: 0 0 5rem;
    }
    .ban-full-pg .item > .sc-xxl::before, .ban-full-pg .item {
        height: 50vh;
    }
    .sc-realisation .list .item > .inner {
        height: 45vw;
    }
    .container.divider-v {
        padding: 7rem 0;
    }
}
@media screen and (min-width: 1024px) {
    .wp-toggle {
        display: none;
    }
}
@media screen and (max-width: 1023px) {
    header {
        padding: 0.5rem 0;
    }
    header .wp-logo {
        z-index: 2;
        line-height: 1;
    }
    header .wp-nav {
        position: fixed;
        display: block;
        overflow: hidden;
        visibility: hidden;
        inset: 0 0 0 calc(100% - 400px);
    }
    body.toggle-nav .wp-nav {
        visibility: visible;
    }
    header nav {
        position: absolute;
        inset: 0 -100% 0 100%;
        overflow-y: scroll;
        padding: 6rem 0 2rem;
        background: #0d0909;
        transition: all 400ms ease;
    }
    .ban-img-notxt .container {padding-block: 7rem;}
    body.toggle-nav header nav {
        transform: translateX(-100%);
    }
    header .primary {
        position: relative;
        gap: 1rem 0;
        flex-direction: column;
        justify-content: flex-start;
    }
    header .primary > li {
        padding: 0 1.5rem;
    }
    header .primary li > a {
        width: 100%;
        font-size: 1.3rem;
        text-align: center;
        display: inline-block;
    }
    header .wp-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        row-gap: .4rem;
        flex: 0 0 auto;
        width: max-content;
        padding: .5rem .5rem;
        flex-direction: column;
        margin: auto 0 auto auto;
        transition: all 400ms ease;
    }
    header .wp-toggle > span {
        position: relative;
        width: 2.3rem;
        height: 0.1rem;
        border-radius: 1rem;
        display: inline-block;
        background: #CBA12D;
        transition: all 300ms ease;
    }
    header .wp-toggle > span:nth-child(even) {
        width: 80%;
        margin-left: auto;
    }
    body.toggle-nav {
        overflow: hidden;
    }
    body.toggle-nav header .wp-toggle {
        row-gap: 0;
        transform: scale(.6);
    }
    body.toggle-nav header .wp-toggle > span {
        transform-origin: 55% center;
    }
    body.toggle-nav header .wp-toggle > span:nth-child(even) {
        background: transparent;
    }
    body.toggle-nav header .wp-toggle > span:first-child {
        transform: rotate(-45deg);
    }
    body.toggle-nav header .wp-toggle > span:last-child {
        transform: rotate(45deg);
    }
    /* .isotop .ctn-onglet > .item:not(.active) {
        margin-right: -33.35%;
    } */
    body.error404:not(.sticky) header .primary > li > a:not(:hover), 
    body.page-template-tpl-actus:not(.sticky) header .primary > li > a:not(:hover), 
    body.page-template-tpl-realisation:not(.sticky) header .primary > li > a:not(:hover) {
        color: #ffffff;
    }
    .ctn-onglet .inner > figure {
        height: 225px;
    }
}
@media screen and (min-width: 601px) {
    .sc-realisation .list:hover > .item:not(:hover) {
        width: 0vw;
    }
    .sc-realisation .list:hover > .item:not(:hover) .bx-txt {
        opacity: 0;
        visibility: hidden;
    }
    .sc-realisation .list > .item:hover {
        width: 100vw;
    }
}
@media screen and (max-width: 600px) {
    [class*="wp-txt"][class*="-2col"] {
        column-count: 1;
    }
    h1:not(.opac) {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    header .wp-nav {
        inset: 0;
    }
    h1.opac, [data-shadow]:after {
        font-size: 11.5vw;
    }
    .ban-full-pg .wp-bt-sld {
        column-gap: 1rem;
    }
    .ban-full-pg .item > .sc-xxl::before {
        left: calc(-63vw + 8rem);
    }
    .ban-full-pg .wp-rs {
        column-gap: 1rem;
        transform: initial;
        top: calc(100% + 2.6rem);
    }
    .ban-full-pg .separate {
        width: 5vw;
    }
    .ban-full-pg .pagin {
        column-gap: .4rem;
    }
    .ban-full-pg .item .wp-txt {
        z-index: 2;
    }
    .sc-actus .item:nth-child(3n + 2):not(:nth-child(2)) {
        margin-top: 0;
        margin-bottom: 0;
    }
    .ban-full-pg .pagin > span {
        font-size: .9rem;
    }
    .sc-actus .item:nth-child(2n + 2) {
        margin-top: -3rem;
        margin-bottom: 3rem;
    }
    .sc-actus .item:nth-child(2) .inner {
        height: 100%;
    }
    .sc-actus .item .inner > .bx-txt {
        bottom: -.4rem;
    }
    .sc-actus .item .inner > .bx-txt .wp-txt {
        padding: 1rem 1rem;
    }
    .sc-actus .item .inner > .bx-txt .wp-txt + .wp-txt {
        line-height: 1.1rem;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        height: calc((1.1rem * 4) + 2rem);
    }
    .sc-actus .item .inner > .bx-txt .wp-txt + .wp-txt p {
        display: block;
    }
    .sc-actus .item .inner > .bx-txt .wp-txt time,
    .sc-actus .item .inner > .bx-txt .wp-txt h6,
    .sc-actus .item .inner > .bx-txt .wp-txt + .wp-txt p,
    .sc-actus .item .inner > .bx-txt .wp-txt + .wp-txt p *  {
        font-size: .8rem;
    }
    .sc-infos {
        margin: -1rem auto -6rem;
    }
    .sc-realisation .list > .item {
        width: 100%;
    }
    .sc-realisation .list .item > .inner {
        height: 70vw;
    }
    .sc-text-bg + .sc-text-bg {
        margin-top: -5rem;
    }
    .sc-text-bg[style*="--bg-right:"],
    .sc-text-bg[style*="--bg-left:"] {
        background-size: 100%;
    }
    .sc-text-bg:not(.sc-text-bg ~ .sc-text-bg) > [style*="--pad"] {
        padding-top: 5rem;
    }
    .sc-text-bg[style*="--bg-"] h2 {
        margin-bottom: 1.3rem;
    }
    .sc-img-txt-2col h3,
    .sc-text-bg[style*="--bg-left:"] .wp-txt > h2 {
        padding-left: 16vw;
    }
    .sc-img-txt-2col + .sc-img-txt-2col {
        padding-top: 5rem;
    }
    .sc-text-bg[style*="--bg-right:"] .wp-txt > h2 {
        padding-right: 16vw;
    }
    .sc-img-txt-2col h3::before,
    .sc-text-bg[style*="--bg-left:"] .wp-txt > h2::before {
        inset: 2rem calc(100% - 13vw) auto 0;
    }
    .sc-text-bg[style*="--bg-right:"] .wp-txt > h2::after {
        inset: 2rem 0 auto calc(100% - 13vw);
    }
    .sc-img-txt-2col .bx-txt  {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .container.divider-v {
        row-gap: 1rem;
        padding: 5rem 0;
    }
    .divider-v::before {
        height: 5rem;
    }
    body.sticky header {
        padding: 0.6rem 0;
    }
    .sc-isotop .btns-onglet {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .isotop .ctn-onglet > .item:not(.active) {
        margin-top: -100%;
        margin-right: initial;
    }
    blockquote[data-shadow] {
        padding: 0 2rem;
    }
    blockquote:not([data-shadow])::before, blockquote[data-shadow] span.in::before, blockquote:not([data-shadow])::after, blockquote[data-shadow] span.in::after {
        padding: .9rem;
    }
    [data-shadow] span.in {
        line-height: 2.3rem;
    }
    .col-2 {
        column-count: inherit;
    }
    .ctn-onglet .inner > figure {
        height: 240px;
    }
    .sc-list-article figure {
        height: min(500px,150vw);
    }
    footer {
        text-align: center;
    }
    footer .wp-logo {
        width: 4.5rem;
        margin: auto;
    }
    footer .secondary,
    footer .wp-rs {
        margin: auto;
    }
}