section {
    padding: 10vh 14vw;
    min-height: 90vh;
}

section .header {
    text-align: center;
}

section > .latests {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 6rem 0;
}

section .card {
    background: var(--c-light-black);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

section .card > .top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 125px;
}

section .card > .top > ul.stars {
    display: flex;
    gap: 5px;
}

section .card > .top > ul.stars > li.star {
    width: 20px;
    height: 20px;
    background: url(../Components/FullStar.svg) center no-repeat;
    background-size: contain;
}

section .card > .top > p {
    font-family: 'Outfit', sans-serif;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

section .card > .top > span.subTitle {
    margin-bottom: 0;
}

section .card hr {
    margin: 1.5rem 0;
    border: solid 0.5px var(--c-dark-grey);
}

section .card p.who {
    color: var(--c-grey);
    font-size: 1.1rem;
    font-weight: 400;
}

section .card p.who span {
    color: var(--c-white);
}

section > .allReviews > .text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section > .allReviews > .text > select {
    color: var(--c-white);
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    height: min-content;
    border: none;
    background: var(--c-dark-grey);
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    border-right: 16px solid transparent;
    transition: all .3s ease-in-out;
}

section > .allReviews > .text > select:hover {
    background: var(--c-light-black);
}

section > .allReviews > .text > select:focus {
    outline: none;
}

section > .allReviews > .text > select > option:hover {
    background: var(--c-secondary);
}

section > .allReviews > .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

section > .allReviews > .reviews > .card > .top > p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}


/* !MOBILE RESPONSIVE */
@media screen and (max-width: 992px) {
    section {
        padding: 10vh 7vw;
    }

    section .card {
        padding: 1.5rem;
    }

    section .header {
        text-align: left;
    }

    section > .allReviews > .reviews,
    section > .latests {
        grid-template-columns: repeat(1, 1fr);
    }

    section > .allReviews > .text {
        display: block;
    }
}





/* Style de la Modale */
.modal {
    display: none; 
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--c-light-black);
    padding: 3rem;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--c-dark-grey);
    animation: modalAppear 0.3s ease-out;
}

.modal-content #modal-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    color: var(--c-white);
    font-family: 'Outfit', sans-serif;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--c-grey);
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--c-main);
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section .card {
    cursor: pointer;
    transition: all 0.2s ease;
}
section .card:hover {
    background: var(--c-light-black-hover);
}