/* STYLE DE L'ONGLET ASTUCES(GUIDE APICOLE) */

.content-card {
    width: 70vw;
    margin: 2rem auto;
}

/* actualité */

.actu {
    align-items: stretch;
}

.actu-img {
    flex-direction: row-reverse;
    height: 400px;
}

#date {
    text-align: right;
}

#titre {
    text-align: left;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

#actus {
    flex-direction: column;
}

#actus .container-img {
    height: 100%;
    width: 100%;
    flex-basis: 40%;
}

#actus .container-text {
    flex-basis: 60%;
    padding-left: 1rem;
}

#actus .card {
    flex-basis: inherit;
    max-height: 500px;
    width: 80vw;
    max-width: 1200px;
    margin: 1rem auto;
}


#actus img {
    width: auto;
    height: 100%;
    border-radius: 1rem;
    margin: 0 auto;
}
/* bibliothèque */

.livre {
    display: flex;
        flex-direction: row;
}

#img-livre {
    flex-basis: 30%;
    margin: 1rem;
    overflow: hidden;
}

#img-livre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texte-livre {
    flex-basis: 70%;
    padding: 1rem;
    display: flex;
        flex-direction: column;
        align-items: flex-start;
}

.texte-livre h3 {
    text-align: left !important;
    font-weight: 600;
}

#resume {
    font-weight: 400;
    text-align: left !important;
}

/* législation */

.legislation h2 {
    margin: 1rem 0;
}

.legislation h3 {
    margin-top: 1rem;
}

.legislation .btn-brown {
    scale: 0.8;
    margin: 0.5rem 0;
}

#etiquette-tri {
    width: 20vw;
    margin: 1rem;
}