.advice-hero-content {
    text-align: center;
    padding-top: 149px;
    padding-bottom: 148px;
    color: white;
}

.advice-hero-content h2 {
    font-family: "Poppins",sans-serif;
}

.advice-hero-content p {
    font-family: "Inter",sans-serif;
    font-size: 14px;
    padding-top: 8px;
}

.advice-hero {
    background-image: url('../images/hero-blog.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.advice-item-flex {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.advice-item-flex + .advice-item-flex {
    margin-top: 80px;
}

.advice-item-flex--reverse {
    flex-direction: row-reverse;
}

.all-advice {
    padding-top: 80px;
    padding-bottom: 90px;
}

.advice-item-content {
    width: 698px;
    max-width: 100%;
}

.advice-item-content h3 {
    font-family: "Poppins",sans-serif;
    font-size: 24px;
}

.advice-item-content h3 a {
    color: inherit;
    text-decoration: none;
}

.advice-item-content h3 a:hover {
    color: var(--primary-color);
}

.advice-item-content p {
    font-family: "Inter",sans-serif;
    font-size: 14px;
    padding-top: 8px;
    line-height: 25px;
    color: #636E86;
}

/* Chaque conseil est illustré par une vidéo plutôt qu'une image fixe */
.advice-item-media {
    flex: 1 1 380px;
    min-width: 280px;
    max-width: 452px;
}

.advice-video,
.advice-video--empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

video.advice-video {
    object-fit: cover;
}

.advice-video--empty {
    background-color: #eee;
}

.advice-empty {
    font-family: "Inter",sans-serif;
    font-size: 14px;
    color: #636E86;
    text-align: center;
}

/* ===== Page single conseil ===== */
.advice-hero--single {
    background-position: center 30%;
}

.advice-single {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advice-item-media--single {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.advice-item-content--single {
    max-width: 800px;
    width: 100%;
    margin: auto;
    font-family: "Inter",sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #636E86;
}

.advice-back-link {
    display: inline-block;
    margin-top: 12px;
    font-family: "Inter",sans-serif;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.advice-back-link:hover {
    text-decoration: underline;
}

.advice-read-more {
    color: #BC7B3B;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .advice-item-flex,
    .advice-item-flex--reverse {
        flex-direction: column;
    }

    .advice-item-content {
        width: 100%;
    }

    .advice-item-media {
        max-width: 100%;
        width: 100%;
    }
}
