/* ----- Configuration sections page ----- */
#sec-2{
    color: var(--color-bg1);
    align-items: center;
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 3% 6%;
}
#sec-3{
    color: var(--color-bg1);
    align-items: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3% 6%;
}

#sec-2 .conteneur {
    display: inline-block;
}
#sec-2 .bouton {
	max-width: 50%;
	height: auto;
}


/* ----- EN TETE ----- */
a{
    text-decoration: none;
}


/* ----- ARTICLE A LA UNE ----- */
.sec2-cadre{
    width: 100%;
    height: 50vh;
    border-radius: 1.5rem;
    position: relative;
    display: flex;
}
a:hover .sec2-cadre-info{
    background: var(--orange);
}
.sec2-cadre-img{
    width: 50%;
    height: 50vh;
    border-radius: 1.5rem;
}
.sec2-cadre-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0 1.5rem 1.5rem 0;
}
.sec2-cadre-info {
    background-color: var(--color-bg3);
    width: 50%;
    height: 100%;
    z-index: 1;
    border-radius: 1.5rem 0 0 1.5rem;
    padding: 2rem;
}
.sec2-cadre-info-text{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-evenly;
}
.sec2-cadre h1{
    color: var(--color-bg1);
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.sec2-pdate{
    color: var(--color-bg1);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.sec2-pdescription{
    color: var(--color-bg1);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.sec2-plire{
    position: absolute;
    bottom: 5%;
    font-weight: 800;
    text-decoration: none;
    columns: var(--color-text1);
}
.sec2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.sec2-tag {
    background: var(--color-bg1);
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-size: 14px;
    color: var(--color-text1);
}


/* ----- LISTE ARTICLES ----- */
.container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
h3{
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem; /* 120% */
    letter-spacing: -0.05rem;
    background: linear-gradient(90deg, #FF0000, #8F00FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /*color: var(--orange);*/
    width: fit-content;
}
.liste-cadre-titre{
    display: flex;
    justify-content: center;
}
.liste-cadre{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.cadre{
    display: flex;
    width: 24.5rem;
    height: 30rem;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 0.75rem;
    background: var(--color-bg2);
}
a:hover .cadre{
    background: var(--orange);
}
a:hover h4,a:hover p{
    color: var(--color7);
}
.cadre-img{
    width: 22.5rem;
    height: 13rem;
    border-radius: 0.375rem;
}
.imgcover{
    width: 100%;
    height: 13rem;
    border-radius: 0.375rem;
    object-fit: cover;
}
.cadre-info{
    display: flex;
    padding: 0.5rem;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
    justify-content: space-between;
}
.cadre-info2{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cadre-info h4{
    color: var(--color-text1);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem; /* 116.667% */
}
.pdescription{
    color: var(--color-text1);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.pdate{
    color: var(--color-text3);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: var(--orange);
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--color-text2);
}
a:hover .tag {
    background: var(--color-bg1);
    color: var(--orange);
}


@media screen and (max-width: 1100px) {
    .sec2-cadre{
        flex-direction: column;
        height: auto;
    }
    .sec2-cadre-info {
        width: 100%;
        height: 20%;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    .sec2-cadre-img{
        width: 100%;
        height: 30vh;
        border-radius: 0rem 0rem 1.5rem 1.5rem;
    }
    .sec2-cadre-img img {
        border-radius: 0rem 0rem 1.5rem 1.5rem;
    }
    .sec2-cadre h1{
        color: var(--color-bg1);
        font-size: 1.8125rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .sec2-cadre-info-text{
        gap: 1rem;
    }
}
@media screen and (max-width: 600px) {
    .cadre{
        width: 100%;
    }
    .liste-cadre a{
        width: 100%;
    }
    .cadre-img{
        width: 100%;
    }
    .cadre-info{
        width: 100%;
    }
}