/* CODE Sebastien Micol
--------------------------------------------- */

/* Structure
--------------------------------------------- */

body {
    font-family: "Nova Flat", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #282828;
    background-color: #E1E0E0;
    overflow-x: hidden;
}

.inner {
    padding: 2rem;
    margin: 0 auto;
}

.site-main {
    padding-top: 4rem;
}

.page-id-11 .site-main {
    padding-top: 0rem;
}

.page-id-13 .site-main {
    padding-top: 0rem;
}

/* CAPTURE 3D 
--------------------------------------------- */
[id^='capture-'] {
    width: 500px;
    height: 500px;
    z-index: 1;
}

canvas {
    align-items: center;
    margin: 0 auto;
}

/* Swiper
--------------------------------------------- */

.swiper {
    width: 100%;
    overflow: visible;
}

.swiper-button-prev,
.swiper-button-next {
    font-size: 4.6rem;
    color: #282828;
    transform: scale(2);
    margin-left: 2rem;
    margin-right: 2rem;
}

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

.swiper-slide {
    position: relative;
    /* height: 500px; */
}


.swiper-slide article h3 {
    font-size: 2.8rem;
    text-transform: uppercase;
    position: absolute;
    top: -3.5rem;
    left: 0;
    width: 100%;
    line-height: 3rem;
}

.swiper-pagination-bullet {
    font-size: 1.2rem;
    padding: .4rem;
    align-items: center;
    text-align: center;
    color: #282828;
}



.swiper-pagination-bullet-active {
    padding: .5rem;
    background-color: #282828;
    transition: .2s ease-in-out;
}


.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    position: absolute;
    top: 580px;
}

.page-id-166 .swiper-horizontal>.swiper-pagination-bullets,
.page-id-166 .swiper-pagination-bullets.swiper-pagination-horizontal,
.page-id-166 .swiper-pagination-custom,
.page-id-166 .swiper-pagination-fraction {
    position: absolute;
    top: 400px;

}

.swiper-slide .entry-footer {
    border-top: #282828 2px solid;
    border-bottom: #282828 2px solid;
    position: absolute;
    top: 700px;
    padding: 2rem;
    margin-bottom: 6rem;
    width: 100%;
}

.page-id-166 .swiper-slide .entry-footer {
    border-top: #282828 2px solid;
    border-bottom: #282828 2px solid;
    position: absolute;
    top: 550px;
    padding: 2rem;
    margin-bottom: 6rem;
    width: 100%;
}

.swiper-slide .entry-content {
    margin-left: 3rem;
    margin-right: 3rem;
    background-color: #D5D5D5;
}

.swiper-slide .entry-footer .alignfull {
    margin-bottom: 2rem;
}

.leQ {
    box-sizing: border-box;
    position: relative;
    top: 1rem;
}

/* Typo
--------------------------------------------- */

.site-title {
    font-size: 1.2rem;
    font-family: "Nova Flat", system-ui;
    font-weight: 400;
    font-style: normal;
}

p {
    color: #282828;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 127%;
    /* 25.4px */
    letter-spacing: 0.6px;
}

.site-header .nav-menu li a {
    font-size: 1.2rem;
    color: #282828;
}

a.post-edit-link {
    display: none;
}

#post-9 {
    display: none;
}

.swiper h3 {
    font-size: 2rem;
}

.wp-block-heading {
    font-size: 2.5rem;
    text-transform: uppercase;
}

/* Header
--------------------------------------------- */

.site-header .inner {
    display: flex;
    justify-content: space-between;
}


.main-navigation {
    width: auto;
}

nav #site.navigation.main-navigation {
    padding: 4rem;
}

.site-description {
    display: none;
}


a {
    text-decoration: none;
}

a:visited {
    color: transparent;
}

a:hover {
    border-bottom: #282828 2px solid;
}

.site-title a {
    padding: 0.5rem 1.5rem;
}

.site-header .nav-menu li.current-menu-item a,
.site-header .nav-menu li a:hover {
    border-bottom: #282828 2px solid;
}

/* Nav
--------------------------------------------- */

.site-header .nav-menu li a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
}

#primary-menu ul {
    padding: 2rem;
}

#primary-menu ul li a {
    display: inline-block;
}


/* Footer
--------------------------------------------- */

.site-footer {
    position: absolute;
    bottom: -130px;
}

.page-id-166 .site-footer {
    position: absolute;
    bottom: 20px;
}


.page-id-11 .site-footer {
    position: absolute;
    bottom: -870px;
}

.page-id-13 .site-footer {
    position: absolute;
    bottom: -70px;
}


/* Archive --- Content
--------------------------------------------- */
.archive-thumbnail img {
    border-radius: 50%;
}

.archive-grid {
    background-color: pink;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.archive-grid article {
    width: 30%;
    text-align: center;
    position: relative;
}

.archive-grid .entry-header {
    position: absolute;
    top: 50%;
    width: 100%;
}

.archive-grid .entry-header h3 {
    text-align: center;
    color: white;
}

.post-166 {
    display: none;
}

.entry-title {
    font-size: 5.6rem;
    text-transform: uppercase;
    margin: 0;
}

.p-video {
    width: 550px;
}


.video {
    border: 1px solid #E1E0E0;
}

:where(.wp-block-columns) {
    margin-bottom: 0;
}

.wp-image-203 {
    position: relative;
    top: -70px;
}

.wp-image-220 {
    position: relative;
    top: -72px;
    z-index: -1;
}

.button-upload {
    color: #282828;
    background-color: #D5D5D5;
    position: relative;
    right: 178px;
}

.button-upload:hover a {
    color: #D5D5D5;
    background-color: #282828;
    transition: .2s ease-in-out;
    border: solid #282828 2px;
}



/* FULLWIDTH BLOCK
--------------------------------------------- */

.entry-footer .full {
    margin-left: 0;
    width: calc(100% + 240px)
}

@media screen and (min-width: 960px) {
    .alignfull {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .alignwide {
        width: calc(100% + 240px) !important;
        position: relative;
        left: -120px;
    }
}

@media screen and (max-width: 600px) {
    .no-mobile {
        display: none;
    }
}

/* RESPONSIVE
--------------------------------------------- */

@media screen and (max-width: 960px) {

    .swiper-button-prev,
    .swiper-button-next {
        font-size: 2rem;
        transform: scale(1.3);
    }

    .swiper-slide article h3 {
        font-size: 1.5rem;
    }

    .archive-grid article {
        width: 45%;
        /* 2 colonnes sur écrans moyens */
    }

    .wp-image-203 {
        display: none;
    }

    .wp-image-191 {
        display: none;
    }
}

@media screen and (max-width: 790px) {
    .wp-image-203 {
        display: none;
    }

    .wp-image-191 {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .site-title {
        font-size: 1.2rem;
    }

    .site-header {
        display: flex;
        justify-content: space-around;
    }

    .archive-grid article {
        width: 100%;
        /* Article prend 100% de largeur sur mobile */
    }

    .swiper-slide {
        width: 100%;
        /* Affiche un seul élément */
        box-sizing: border-box;
    }

    .swiper-wrapper {
        height: auto;
    }

    .swiper-button-prev,
    .swiper-button-next {
        font-size: 1.5rem;
        transform: scale(1.2);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .swiper-slide article h3 {
        font-size: 1.3rem;
    }

    .swiper-pagination-bullet {
        font-size: 0.8rem;
    }

    .site-header .inner {
        flex-direction: column;
    }

    .main-navigation {
        padding: 0.5rem;
    }

    .wp-image-203 {
        display: none;
    }

    .wp-image-191 {
        display: none;
    }
}



@media screen and (max-width: 300px) {
    .wp-image-203 {
        display: none;
    }

    .wp-image-191 {
        display: none;
    }
}