main{
    padding-bottom: 0 !important;
}

.archive-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 50px;
}

.container {
    width: 300px;
    height: 500px;
}


.container .post-thumb {
    margin-bottom: 15px;
}


.container h3 {
    width: 100%;
    height: auto;
}

.container p {
    width: 100%;
    height: 100%;

}

.container .bouton2 {
    margin-top: 20px;
}

.container.pagination {
    width: 100%;
    height: fit-content;
    min-height: 0;
    margin-top: 50px;
}

.navigation .pagination,
.nav-links {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 18px;
    width: 30px;
    height: 30px;
    font-weight: 500;
    padding: 5px;
    border: solid white 2px;
    border-radius: 8px;

    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    color: white;
    transition: .3s ease-in;

}

.prev.page-numbers {
    margin-right: 20px;
    width: fit-content;
}

.next.page-numbers {
    margin-left: 20px;
    width: fit-content;

}

.current,
.page-numbers:hover {
    color: white;
    background-color: #3D3B4B;
    border: solid #3D3B4B 2px;
    transition: .3s ease-in;
}

.container.pagination:not(:has(.page-numbers)) {
    display: none;
}


/********************* SEARCH ***************************/


.search {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    padding: 5px;
    margin-bottom: 10px;
    transition: .3s ease-in;
}


.results-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 30px;
    flex-wrap: wrap;
}

.result {
    width: fit-content;
    padding: 1px 5px;
    background-color: #B4B7FF;
    border: solid rgba(255, 255, 255, 0.623) 0.5px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

.result .search-result-text {
    font-size: 14px;
    margin-top: 0;
}

.result a {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result a img {
    width: 15px;
    height: auto;
}

.search #filtre {
    box-shadow: none;
    background-color: transparent;
}

/* =========================
   MENU (open / close)
   ========================= */

.filtre-menu {
    position: absolute;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    z-index: 90;
    opacity: 0;
    transform: scale(0) translateY(-20px);
    box-shadow: none;
    transition: 0.3s ease-out;
    transform-origin: top left;
    filter: blur(10px);
}

.filtre-menu.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}


.filtre-menu button {
    margin-top: 20px;
}

/* =========================
   CHECKBOX STYLE
   ========================= */

/* Cache la checkbox native */
.filtre-menu input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label */
.filtre-menu label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    cursor: pointer;
    transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Hover / focus */
.filtre-menu input[type="checkbox"]:focus+label,
.filtre-menu label:hover {
    color: #fff;
}

/* Case */
.filtre-menu label>span {
    position: relative;
    /* 🔑 IMPORTANT */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: transparent;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 3px;
    transition: all 250ms cubic-bezier(.4, .0, .23, 1);
}

.filtre-menu label:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Texte animé */
.filtre-menu label>ins {
    position: absolute;
    display: block;
    bottom: 0;
    left: 28px;
    height: 0;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: height 300ms cubic-bezier(.4, .0, .23, 1);
}

.filtre-menu label>ins>i {
    position: absolute;
    bottom: 0;
    font-style: normal;
    color: #71C5B2;
}

/* Checked */
.filtre-menu input[type="checkbox"]:checked+label>ins {
    height: 100%;
}

.filtre-menu input[type="checkbox"]:checked+label>span {
    border: .5em solid #71C5B2;
    animation: shrink-bounce 200ms cubic-bezier(.4, .0, .23, 1);
}

/* Checkmark centré */
.filtre-menu input[type="checkbox"]:checked+label>span::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    left: 50%;
    border-right: 2px solid #212121;
    border-bottom: 2px solid #212121;
    transform: translate(-50%, -60%) rotate(45deg);
    transform-origin: center;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4, .0, .23, 1) forwards;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes shrink-bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(.85);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkbox-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}


.search button {
    border-radius: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


.search button img {
    width: 30px;
    height: auto;
}

.search a {
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    opacity: 0;
    transform: scale(0);
    transition: .1s ease-in;

}

.search a img {
    width: 25px;
    height: auto;
    border-radius: 0;
}

.search input {
    all: unset;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    color: white;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    padding: 0 20px;
}

.search input::placeholder {
    color: rgb(218, 218, 218);
}

.search input:focus+a,
.search a:hover {
    opacity: 1;
    transform: none;
    transition: .1s ease-in;

}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}


.no-result {
    margin-top: 50px;
    text-align: center;
}


/* =========================
   IA
   ========================= */

   .leo{
    margin-bottom: 0;
   }