/* =========================================================
   ACTUALITÉS & INSIGHTS
   ========================================================= */

.news-section {
    width: 100%;
    padding: 55px 25px 65px;
    background: #ffffff;
    box-sizing: border-box;
}

.news-container {
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.news-header {
    margin-bottom: 27px;
}

.news-category-block {
    margin-bottom: 48px;
}

.news-category-block:last-child {
    margin-bottom: 0;
}

.news-category-title {
    margin: 0 0 20px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
}

.news-label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: #222222;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.news-label-line {
    display: inline-block;

    width: 17px;
    height: 3px;

    background: #f06408;
}

.news-title {
    margin: 0 0 13px;

    color: #222222;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.news-description {
    max-width: 555px;

    margin: 0;

    color: #666666;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}


/* =========================================================
   GRID
   ========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.75fr);

    gap: 12px;

    align-items: stretch;
}


/* =========================================================
   NEWS CARDS
   ========================================================= */

.news-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #e8e8e8;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}


/* Image */

.news-card-image {
    position: relative;

    width: 100%;
    height: 160px;

    overflow: hidden;

    background: #eeeeee;
}

.news-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.04);
}


/* Content */

.news-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    min-height: 134px;

    padding: 10px 9px 9px;
}

.news-date {
    display: block;

    margin-bottom: 11px;

    color: #777777;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.news-card-title {
    margin: 0;

    color: #171717;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}


/* =========================================================
   LINK
   ========================================================= */

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    width: fit-content;

    margin-top: auto;

    color: #222222;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-link:hover {
    color: #f06408;
}

.news-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: #f06408;

    color: #ffffff;

    font-size: 10px;
    line-height: 1;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.news-link:hover .news-arrow {
    transform: translateX(2px);
    background: #df5c14;
}


/* =========================================================
   FEATURED / CTA
   ========================================================= */

.news-featured {
    position: relative;

    min-height: 246px;

    overflow: hidden;

    background: #263f49;
}

.news-featured-image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-image {
    transform: scale(1.03);
}


/* Overlay */

.news-featured-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(11, 39, 50, 0.78) 0%,
            rgba(11, 39, 50, 0.52) 35%,
            rgba(11, 39, 50, 0.15) 100%
        );
}


/* CTA content */

.news-featured-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    height: 100%;

    box-sizing: border-box;

    padding: 25px 20px 20px;
}

.news-featured-content h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.15;
}


/* Bouton */

.featured-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-height: 27px;

    padding: 0 10px 0 12px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 3px;

    color: #ffffff;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(3px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.featured-button:hover {
    background: #f06408;
    border-color: #f06408;
}

.featured-arrow {
    font-size: 11px;

    transition: transform 0.2s ease;
}

.featured-button:hover .featured-arrow {
    transform: translateX(3px);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .news-section {
        padding: 45px 20px 55px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-featured {
        grid-column: 1 / -1;

        min-height: 260px;
    }

    .news-card-image {
        height: 145px;
    }

    .news-card-content {
        min-height: 145px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .news-section {
        padding: 40px 16px 45px;
    }

    .news-header {
        margin-bottom: 22px;
    }

    .news-title {
        font-size: 22px;
    }

    .news-description {
        max-width: 100%;

        font-size: 10px;
        line-height: 1.6;
    }

    .news-grid {
        display: flex;
        flex-direction: column;

        gap: 15px;
    }

    .news-card {
        width: 100%;
    }

    .news-card-image {
        height: 180px;
    }

    .news-card-content {
        min-height: 145px;

        padding: 13px;
    }

    .news-date {
        font-size: 8px;
    }

    .news-card-title {
        font-size: 11px;
    }

    .news-link {
        font-size: 9px;
    }

    .news-arrow {
        width: 14px;
        height: 14px;

        font-size: 9px;
    }

    .news-featured {
        width: 100%;
        min-height: 300px;
    }

    .news-featured-content {
        padding: 25px 20px 20px;
    }

    .news-featured-content h3 {
        font-size: 24px;
    }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .news-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-featured {
        min-height: 270px;
    }

}


/* =========================================================
   PAGE ACTUALITÉS (LISTING)
   ========================================================= */

.news-section--listing {
    padding: 60px 25px 70px;
}

.news-section--listing .news-header {
    margin-bottom: 36px;
}

.news-section--listing .news-label {
    font-size: 14px;
}

.news-section--listing .news-title {
    font-size: 28px;
    font-weight: 600;
}

.news-section--listing .news-description {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.news-section--listing .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-section--listing .news-card {
    border: 1px solid #e2e2e2;
}

.news-section--listing .news-card-image {
    height: 180px;
}

.news-section--listing .news-card-content {
    min-height: 190px;
    padding: 16px 16px 14px;
}

.news-section--listing .news-date {
    margin-bottom: 8px;
    font-size: 13px;
    color: #777777;
}

.news-section--listing .news-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #171717;
}

.news-section--listing .news-card-excerpt {
    margin: 0 0 16px;
    color: #777777;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.news-section--listing .news-link {
    align-self: flex-end;
    gap: 8px;
    margin-top: auto;
    font-size: 13px;
}

.news-section--listing .news-arrow {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

.news-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.news-more-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 28px;
    border: 1px solid #111111;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.news-more-button:hover {
    background: #f06408;
    border-color: #f06408;
    color: #ffffff;
}

.news-more-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.news-more-button:hover .news-more-arrow {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .news-section--listing .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .news-section--listing {
        padding: 40px 16px 50px;
    }

    .news-section--listing .news-title {
        font-size: 22px;
    }

    .news-section--listing .news-description {
        font-size: 13px;
    }

    .news-section--listing .news-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-section--listing .news-card-image {
        height: 190px;
    }

    .news-section--listing .news-card-content {
        min-height: 0;
    }

    .news-section--listing .news-card-title {
        font-size: 14px;
    }

    .news-section--listing .news-card-excerpt {
        font-size: 12px;
    }

    .news-more {
        margin-top: 28px;
    }
}

.news-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 24px;
    text-align: center;
    color: #666666;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background: #ffffff;
    border: 1px solid #e8e8e8;
}

.news-section--listing .news-empty {
    grid-column: 1 / -1;
}
