/* Layout */
.single__actualite section + section {
    margin-top: 4rem;
}

/* Hero */
.hero-actualite {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 50dvh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-actualite .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1rem;
    z-index: 1;
}

.hero-actualite__title {
    font-family: "Monteserrat", sans-serif;
    font-size: clamp(2rem, 6vw, 2rem);
    text-align: center;
    /*text-wrap-style: balance;*/
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
    margin: 1rem 0;
    padding: 0;
    letter-spacing: 6px;
    line-height: 1.05;
}

.hero-actualite__surtitle {
    color: #FFFFFF;
}

.hero-actualite__content {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-wrap-style: balance;
    font-family: "Monteserrat", sans-serif;
}

.hero-actualite__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    color: #FFFFFF;
    font-family: "Monteserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actualite__rubrique {
    padding: .35rem .9rem;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
}

.hero-actualite__date {
    padding: .35rem .9rem;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
}

.hero-actualite__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(0deg, var(--c-vert-900) 20%, rgba(0, 0, 0, 0) 80%);
    z-index: 0;
}

/* Section Simple image */
.section-simple-img .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-simple-img h2 {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: var(--c-vert-100);
    text-wrap-style: pretty;
    text-align: center;
}

.section-simple-img__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

.simple-img-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.simple-img-card__image {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
}

.simple-img-card__image--paysage {
    aspect-ratio: 3 / 2;
}

.simple-img-card__image--portrait {
    aspect-ratio: 3 / 4;
    max-width: 440px;
}

.simple-img-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}

.simple-img-card__image img:hover,
.double-img-card__image img:hover {
    opacity: 0.92;
}

.double-img-card__image img {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay__close,
.lightbox-overlay__close:hover,
.lightbox-overlay__close:focus,
.lightbox-overlay__close:active,
.lightbox-overlay__close:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.lightbox-overlay__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff !important;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-overlay__close:hover {
    opacity: 0.7;
}

body.has-lightbox-open {
    overflow: hidden;
}

.simple-img-card__title {
    text-align: center;
    font-family: "Monteserrat", sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    color: var(--c-noir-500);
    text-wrap-style: balance;
}

.simple-img-card__description {
    width: 100%;
    font-size: 14px;
    color: var(--c-noir-500);
    text-align: center;
    line-height: 1.2;
}

.simple-img-card__description p {
    margin: 0;
    line-height: 1.2;
}

.simple-img-card__description p + p {
    margin-top: .15rem;
}

/* Double images */
.section-double-img .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-double-img h2 {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: var(--c-vert-100);
    text-wrap-style: pretty;
    text-align: center;
}

.section-double-img__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

.double-img-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.double-img-card__image {
    width: 100%;
    overflow: hidden;
}

.double-img-card__image--paysage {
    aspect-ratio: 3 / 2;
}

.double-img-card__image--portrait {
    aspect-ratio: 3 / 4;
}

.double-img-card__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.double-img-card__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: var(--c-noir-900);
    text-wrap-style: balance;
}

.double-img-card__description {
    font-size: 14px;
    color: var(--c-noir-500);
    text-align: center;
    line-height: 1.2;
    margin-top: .5rem;
    width: 100%;
}

.double-img-card__description p {
    margin: 0;
    line-height: 1.2;
}

.double-img-card__description p + p {
    margin-top: .15rem;
}

/* Section texte */
.section-texte .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-texte__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-vert-100);
    margin: 0;
    padding: 0;
    text-wrap-style: pretty;
}

.section-texte__content {
    margin-top: 1rem;
    font-weight: 500;
}

.section-texte__content * {
    color: var(--c-vert-100);
    font-size: 16px;
}

.section-texte__content a {
    color: var(--c-orange-900);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Section Fond Gris */
.section-gris .wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    background: var(--c-gris-300);
    border-radius: 80px 0 0 80px;
    padding: 3rem 1rem 3rem 3rem;
    margin: 0 auto;
    z-index: 1;
}

.section-gris .wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--c-gris-300);
    z-index: 0;
}

.section-gris__item {

}

.section-gris__title:not(.section-gris__title--lead),
.section-vert__title:not(.section-vert__title--lead) {
    font-size: 1.5rem;
    font-weight: 600;
}

.section-gris__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-vert-100);
    margin: 0;
    padding: 0;
    text-wrap-style: pretty;
}

.section-gris__content {
    color: var(--c-vert-100);
    font-size: 16px;
    font-weight: 500;
    margin-top: 1rem;
}

.section-gris__content a {
    color: var(--c-orange-900);
}

/* Section Fond Vert */
.section-vert {
    position: relative;
    background-color: #085d2d;
    padding: 6rem 0;
    color: #FFFFFF;
}

/* Forme du haut */
.section-vert__shape--top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-vert__shape--top svg {
    position: relative;
    display: block;
    width: calc(120% + 1.3px);
    height: 100px;
}

/* Forme du bas */
.section-vert__shape--bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-vert__shape--bottom svg {
    position: relative;
    display: block;
    width: calc(140% + 1.3px);
    height: 130px;
}

.section-vert .wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
    z-index: 1;
}

.section-vert__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    text-wrap-style: pretty;
}

.section-vert__content {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    margin-top: 1rem;
}

.section-vert__content a {
    color: var(--c-vert-300);
}

/* Section Vidéo */
.section-video .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-video__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-vert-100);
    margin: 0;
    padding: 0;
    text-wrap-style: pretty;
    text-align: center;
}

.section-video__video {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

.section-video__video a,
.section-video__poster {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.section-video__poster,
.section-video__poster:hover,
.section-video__poster:focus,
.section-video__poster:active,
.section-video__poster:focus-visible {
    padding: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

.section-video__video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.section-video__video--player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--c-vert-900);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    transition: transform .2s ease-in-out;
    z-index: 1;
}

.section-video__video--player svg {
    width: 32px;
    height: 32px;
    transition: transform .2s ease-in-out;
}

.section-video__video a img,
.section-video__poster img {
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity .2s ease-in-out;
}

.section-video__video a:hover .section-video__video--player,
.section-video__poster:hover .section-video__video--player {
    transform: translate(-50%, -50%) scale(.95);
}

.section-video__video a:hover .section-video__video--player svg,
.section-video__poster:hover .section-video__video--player svg {
    transform: scale(1.2);
}

.section-video__video a:hover img,
.section-video__poster:hover img {
    opacity: .80;
}

.section-video__content {
    font-weight: 500;
    text-align: justify;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

.section-video__content * {
    color: var(--c-vert-100);
    font-size: 16px;
}

/* Section Tableau comparatif */
.section-table-compare .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-table-compare__table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
}

.section-table-compare__table .remove-border {
    border: none !important;
}

.section-table-compare__header {
    background-color: var(--c-vert-900);
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    border-color: var(--c-vert-500);
}

.section-table-compare__label {
    font-weight: 400;
    color: #FFFFFF;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--c-vert-900);
    background-color: rgb(8 93 45 / 0.5) !important;
    text-align: center;
}

.section-table-compare__value {
    text-align: center;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    color: var(--c-vert-900);
    border: 1px solid var(--c-vert-900);
    background-color: #FFFFFF !important;
}

.section-table-compare__table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.section-table-compare__table tbody tr:hover > td,
.section-table-compare__table tbody tr:hover > th {
    background-color: #FFFFFF;
}

.section-table-compare__legende {
    width: 100%;
    max-width: 900px;
    margin: 1rem auto 0 auto;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-noir-500);
}

.related-actualites .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-actualites__title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    font-family: "Monteserrat", sans-serif;
    color: var(--c-noir-900);
    margin-bottom: 2rem;
}

.related-actualites__title span {
    color: var(--c-vert-100);
}

.related-actualites__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.related-actualites__grid .actualite-card__image {
    border-radius: 80px 0 80px 0;
}

.actualite-card {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    color: var(--c-noir-900);
}

.actualite-card__image {
    width: 100%;
    height: 220px;
    display: flex;
    overflow: hidden;
    margin-bottom: .5rem;
}

.actualite-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease-in-out;
}

.actualite-card:hover img {
    transform: scale(1.05);
}

.actualite-card__title {
    margin: 0 0 .5rem 0;
    line-height: 1;
}

.actualite-card__title {
    color: var(--c-noir-900);
    text-decoration: none;
    font-size: 18px;
    font-family: "Monteserrat", sans-serif;
    font-weight: 700;
    transition: color 0.2s ease-in-out;
}

.actualite-card:hover .actualite-card__title {
    color: var(--c-vert-300);
}

.actualite-card__excerpt {
    line-height: 1.2;
    font-size: 14px;
    font-weight: 400;
}

.actualite-card__tag {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .2rem;
    color: #A2A2A2;
    font-family: "Monteserrat", sans-serif;
    font-size: 14px;
    margin: .5rem 0 .8rem 0;
}

.actualite-card__tag-dot {
    position: relative;
    width: 25px;
    height: 25px;
}

.actualite-card__tag-dot span {
    position: absolute;
    top: 0;
    right: 0;
    color: #FFFFFF;
}

.actualite-card__button {
    color: var(--c-noir-900);
    font-size: 14px;
    padding: .5rem 2rem;
    border: 1px solid var(--c-noir-900);
    border-radius: 30px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.actualite-card:hover .actualite-card__button {
    border-color: var(--c-vert-300);
    background-color: var(--c-vert-300);
    color: #FFFFFF;
}

/* Section GoBack */
.section-goback .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-goback__link {
    padding: 1rem 3rem;
    color: #FFFFFF;
    background-color: var(--c-violet-500);
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--c-violet-500);
    border-radius: 0;
    transition: color .2s ease-in-out, background-color .2s ease-in-out;
}

.section-goback__link:hover {
    color: var(--c-violet-500);
    background-color: #FFFFFF;
}

@media (max-width: 1024px) {
    .hero-actualite__title {
        letter-spacing: normal;
    }
}

.section-texte__content h1:not(:first-child),
.section-texte__content h2:not(:first-child),
.section-texte__content h3:not(:first-child),
.section-texte__content h4:not(:first-child),
.section-texte__content h5:not(:first-child),
.section-texte__content h6:not(:first-child),
.section-gris__content h1:not(:first-child),
.section-gris__content h2:not(:first-child),
.section-gris__content h3:not(:first-child),
.section-gris__content h4:not(:first-child),
.section-gris__content h5:not(:first-child),
.section-gris__content h6:not(:first-child),
.section-vert__content h1:not(:first-child),
.section-vert__content h2:not(:first-child),
.section-vert__content h3:not(:first-child),
.section-vert__content h4:not(:first-child),
.section-vert__content h5:not(:first-child),
.section-vert__content h6:not(:first-child),
.section-video__content h1:not(:first-child),
.section-video__content h2:not(:first-child),
.section-video__content h3:not(:first-child),
.section-video__content h4:not(:first-child),
.section-video__content h5:not(:first-child),
.section-video__content h6:not(:first-child),
.section-chapeau__inner h1:not(:first-child),
.section-chapeau__inner h2:not(:first-child),
.section-chapeau__inner h3:not(:first-child),
.section-chapeau__inner h4:not(:first-child),
.section-chapeau__inner h5:not(:first-child),
.section-chapeau__inner h6:not(:first-child) {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-actualite__gradient {
        height: 100%;
    }

    .hero-actualite__title {
        letter-spacing: normal;
        font-weight: 600;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    .hero-actualite__content {
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        font-weight: 400;
    }

    .section-simple-img h2,
    .section-double-img h2,
    .section-texte__title,
    .section-gris__title,
    .section-vert__title,
    .section-video__title {
        font-size: 1.4rem;
        text-wrap-style: pretty;
        text-align: left;
    }

    /*.section-texte__content,
    .section-gris__content {
        text-align: justify;
    }*/
    .section-table-compare__table thead {
        display: none;
    }

    .section-table-compare__table,
    .section-table-compare__table tbody,
    .section-table-compare__table tr,
    .section-table-compare__table td {
        display: block;
        width: 100%;
    }

    .section-table-compare__table tr {
        margin-bottom: 1.5rem;
    }

    .section-table-compare__label {
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        border: none;
        border-bottom: 2px solid var(--c-vert-900);
    }

    .section-table-compare__value {
        text-align: left;
        padding: 0.8rem 1.5rem;
        border: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .section-table-compare__value::before {
        content: attr(data-label);
        display: block;
        font-weight: 400;
        font-size: 12px;
        color: var(--c-vert-500);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.2rem;
    }

    .section-gris .wrapper {
        padding: 2rem 1rem;
        border-radius: 40px 0 0 40px;
    }

    .section-vert__shape--top svg {
        height: 55px;
    }

    .section-vert__shape--bottom svg {
        height: 80px;
    }

    .load-more-btn {
        padding: 1rem;
        font-size: 14px;
    }
}

/* Lien vers la filière associée (bas de fiche bioagresseur) */
.related-filiere-cta .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-filiere-cta__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 4rem;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.related-filiere-cta--count-1 .related-filiere-cta__grid {
    grid-template-columns: minmax(0, 346px);
}

.related-filiere-cta--count-2 .related-filiere-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 346px));
}

.related-filiere-cta .filiere-card {
    display: block;
    width: 100%;
    max-width: 346px;
    text-decoration: none;
    color: inherit;
}

@media screen and (max-width: 768px) {
    .related-filiere-cta__grid,
    .related-filiere-cta--count-1 .related-filiere-cta__grid,
    .related-filiere-cta--count-2 .related-filiere-cta__grid {
        grid-template-columns: minmax(0, 346px);
    }
}

.related-filiere-cta .filiere-card__image {
    position: relative;
}

.related-filiere-cta .filiere-card__image--icon {
    position: absolute;
    top: -45px;
    left: 45px;
    width: 119px;
    height: 114px;
    object-fit: contain;
    object-position: center;
    transform: scale(.85);
    transform-origin: top left;
    z-index: 1;
    will-change: transform;
    transition: transform .2s ease-in-out;
}

.related-filiere-cta .filiere-card__image--img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 346 / 212;
    object-fit: cover;
    -webkit-mask-image: url(/wp-content/themes/bmvcom/assets/images/filiere-card-mask.png);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url(/wp-content/themes/bmvcom/assets/images/filiere-card-mask.png);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.4));
    will-change: transform;
    transition: transform .2s ease-in-out, filter .2s ease-in-out;
}

.related-filiere-cta .filiere-card:hover .filiere-card__image--icon {
    transform: scale(.85) rotate(4deg);
}

.related-filiere-cta .filiere-card:hover .filiere-card__image--img {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transform: scale(1.05);
}

.related-filiere-cta .filiere-card__body {
    margin-top: 1rem;
}

.related-filiere-cta .filiere-card__body span {
    font-family: "Monteserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-noir-900);
}

.related-filiere-cta .filiere-card__body h3 {
    font-family: "Monteserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

/* Related actualités — carrousel horizontal scroll-snap sur mobile */
@media (max-width: 768px) {
    .related-actualites__grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        column-gap: 1rem;
        row-gap: 0;
        margin: 2rem -1rem 0;
        padding: 1rem 1.25rem;
        scroll-padding-left: 1.25rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .related-actualites__grid::-webkit-scrollbar {
        display: none;
    }

    .related-actualites__grid .actualite-card {
        flex: 0 0 78%;
        min-width: 78%;
        scroll-snap-align: start;
    }
}

.section-chapeau {
    margin: 3rem 0;
}

.section-chapeau .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-chapeau__inner {
    background-color: #C1C931;
    color: #FFFFFF;
    border-radius: 80px 0 80px 0;
    padding: 2.5rem 3rem;
    font-size: 18px;
    line-height: 1.6;
    text-wrap-style: pretty;
}

.section-chapeau__inner p,
.section-chapeau__inner ul,
.section-chapeau__inner ol {
    margin: 0 0 1rem 0;
    color: #FFFFFF;
}

.section-chapeau__inner p:last-child,
.section-chapeau__inner ul:last-child,
.section-chapeau__inner ol:last-child {
    margin-bottom: 0;
}

.section-chapeau__inner strong {
    color: #FFFFFF;
    font-weight: 700;
}

.section-chapeau__inner a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .section-chapeau {
        margin: 2rem 0;
    }

    .section-chapeau .wrapper {
        padding: 0 1rem;
    }

    .section-chapeau__inner {
        border-radius: 50px 0 50px 0;
        padding: 1.5rem 1.5rem;
        font-size: 15px;
        line-height: 1.5;
    }
}

/* === Recolor bioagresseurs : sortir du tout-vert (charte rose + orange) === */
.single-guide-bioagresseurs .section-chapeau__inner {
    background-color: #ab577c;
}

.single-guide-bioagresseurs .section-vert {
    background-color: #ba7e36;
}

/* === Couleur d'accent par thématique (single actualité, related cards) ===
   Identique au système de l'index : --card-accent défini par thématique,
   appliqué au fill SVG inline du tag-dot et aux hovers (titre + bouton).
   Le tag-dot est ici un <svg> inline (pas un background-image), donc on
   override son fill via CSS. */
.actualite-card[data-thematique="environnement-et-sante"] {
    --card-accent: #3d3937;
}

.actualite-card[data-thematique="biosolutions"] {
    --card-accent: #C7D101;
}

.actualite-card[data-thematique="biotechnologies"] {
    --card-accent: #87C1E4;
}

.actualite-card[data-thematique="reglementation"] {
    --card-accent: #775570;
}

.actualite-card[data-thematique="phytopharmacie"] {
    --card-accent: #835d39;
}

.actualite-card[data-thematique="approche-combinatoire"] {
    --card-accent: #ba7e36;
}

.actualite-card[data-thematique="agronomie-digitale"] {
    --card-accent: #00692F;
}

.actualite-card[data-thematique="parole-dexperts"] {
    --card-accent: #538e90;
}

.actualite-card[data-thematique]:not([data-thematique=""]) .actualite-card__tag-dot svg path {
    fill: var(--card-accent, #e8eca5);
}

.actualite-card:hover .actualite-card__title {
    color: var(--card-accent, var(--c-vert-300));
}

.actualite-card:hover .actualite-card__button {
    border-color: var(--card-accent, var(--c-vert-300));
    background-color: var(--card-accent, var(--c-vert-300));
    color: #FFFFFF;
}

.section-texte__content table,
.section-gris__content table,
.section-vert__content table,
.chapeau table {
    width: 100% !important;
    height: auto !important;
    max-width: 900px;
    margin: 1.5rem auto;
    border-collapse: collapse;
}

.section-texte__content table td,
.section-texte__content table th,
.section-gris__content table td,
.section-gris__content table th,
.section-vert__content table td,
.section-vert__content table th,
.chapeau table td,
.chapeau table th {
    height: auto !important;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    padding: 0.6rem 1rem;
    color: var(--c-vert-900);
    border: 1px solid var(--c-vert-900);
    background-color: #FFFFFF;
}

.section-texte__content table tr:first-child td,
.section-texte__content table tr:first-child th,
.section-gris__content table tr:first-child td,
.section-gris__content table tr:first-child th,
.section-vert__content table tr:first-child td,
.section-vert__content table tr:first-child th,
.chapeau table tr:first-child td,
.chapeau table tr:first-child th {
    background-color: var(--c-vert-900);
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    padding: 0.8rem 1rem;
    border-color: var(--c-vert-500);
}

.section-texte__content table tr:nth-child(even):not(:first-child) td,
.section-gris__content table tr:nth-child(even):not(:first-child) td,
.section-vert__content table tr:nth-child(even):not(:first-child) td,
.chapeau table tr:nth-child(even):not(:first-child) td {
    background-color: #f5f5f5;
}

.section-texte__content table tr:hover:not(:first-child) td,
.section-gris__content table tr:hover:not(:first-child) td,
.section-vert__content table tr:hover:not(:first-child) td,
.chapeau table tr:hover:not(:first-child) td {
    background-color: #FFFFFF;
}

.actualite-card[data-thematique="maladies"] {
    --card-accent: #ab577c;
}

.actualite-card[data-thematique="insectes"] {
    --card-accent: #835d39;
}

.actualite-card[data-thematique="adventices"] {
    --card-accent: #C7D101;
}

.actualite-card[data-thematique="champignons"] {
    --card-accent: #ba7e36;
}

.actualite-card[data-thematique="autre"] {
    --card-accent: #538e90;
}

.single-guide-bioagresseurs .actualite-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem 1rem;
}

.single-guide-bioagresseurs .actualite-card__meta .actualite-card__tag {
    margin: .5rem 0 0 0;
}

.single-guide-bioagresseurs .actualite-card__meta .actualite-card__date {
    flex-basis: 100%;
    font-size: 12px;
    margin-bottom: .5rem;
}

.single-guide-bioagresseurs .related-actualites__grid .actualite-card {
    position: relative;
}

.related-actualites__grid .actualite-card__filiere {
    position: absolute;
    top: 220px;
    left: 0;
    transform: translateY(-100%);
    z-index: 2;
    padding: .4rem 1.1rem;
    font-family: "Monteserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 80px 0 80px 0;
    line-height: 1.2;
}

/* Carrousel */
.section-carrousel .wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-carrousel__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 2rem 0;
    color: var(--c-vert-100);
    text-align: center;
    text-wrap-style: pretty;
}

.carrousel {
    position: relative;
    width: 100%;
}

.carrousel__viewport {
    width: 100%;
    overflow: hidden;
}

.carrousel__track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, .2, .2, 1);
}

.carrousel__slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    padding: 0 8px;
}

.carrousel__slide img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px 0 24px 0;
    cursor: zoom-in;
    transition: opacity .15s ease;
}

.carrousel__slide img:hover {
    opacity: .92;
}

.carrousel--paysage .carrousel__slide img {
    aspect-ratio: 3 / 2;
}

.carrousel--portrait .carrousel__slide img {
    aspect-ratio: 3 / 4;
}

.carrousel__nav,
.carrousel__nav:hover,
.carrousel__nav:focus,
.carrousel__nav:active,
.carrousel__nav:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important;
}

.carrousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--c-vert-900) !important;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease, color .2s ease;
}

.carrousel__nav:hover,
.carrousel__nav:focus {
    background: var(--c-vert-300) !important;
    color: #FFFFFF !important;
}

.carrousel__nav--prev {
    left: -6px;
}

.carrousel__nav--next {
    right: -6px;
}

.carrousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
}

.carrousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d4d4d4;
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}

.carrousel__dot.is-active {
    background: var(--c-vert-300);
    transform: scale(1.2);
}

@media screen and (max-width: 900px) {
    .carrousel__slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .carrousel__slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carrousel__nav {
        width: 36px;
        height: 36px;
    }
}
