
/* =========================================================
   DETAIL ACTUALITE
========================================================= */

.actualite-detail-page {
    padding-bottom: 90px;
}

a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.actualite-detail-hero {

    position: relative;

    min-height: 180px;

    display: flex;

    align-items: center;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;

}


/* Overlay */

.actualite-detail-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(4,28,50,.92),
            rgba(8,127,73,.70)
        );

}


/* Cercle décoration */

.actualite-detail-hero::after {

    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    right: -100px;

    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.actualite-detail-hero-content {

    position: relative;

    z-index: 2;

    padding: 70px 0;

}


/* Eyebrow */

.actualite-detail-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #f77f00;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .12em;

    margin-bottom: 18px;

}


.actualite-detail-eyebrow i {

    font-size: 15px;

}


/* Titre */

.actualite-detail-hero h1 {

    color: #fff;

    font-size: clamp(
        34px,
        5vw,
        58px
    );

    line-height: 1.12;

    font-weight: 800;

    margin: 0 0 22px;

}


/* Meta */

.actualite-detail-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    color: rgba(255,255,255,.85);

    font-size: 14px;

}


.actualite-detail-meta span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

}


.actualite-detail-meta i {

    color: #f77f00;

}


/* =========================================================
   BREADCRUMB
========================================================= */

.actualite-detail-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;

}


.actualite-detail-breadcrumb a {

    color: #fff;

    text-decoration: none;

    transition: .2s ease;

}


.actualite-detail-breadcrumb a:hover {

    color: #f77f00;

}


.actualite-detail-breadcrumb span {

    color: rgba(255,255,255,.45);

}


.actualite-detail-breadcrumb strong {

    color: #f77f00;

    font-weight: 600;

}
.actualite-detail-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;

}


.actualite-detail-breadcrumb a {

    color: #fff;

    text-decoration: none;

    transition: .2s ease;

}


.actualite-detail-breadcrumb a:hover {

    color: #f77f00;

}


.actualite-detail-breadcrumb span {

    color: rgba(255,255,255,.45);

}


.actualite-detail-breadcrumb strong {

    color: #f77f00;

    font-weight: 600;

}


/* =========================================================
   CONTENEUR PRINCIPAL
========================================================= */

.actualite-detail-wrapper {

    position: relative;

    z-index: 5;

}


/* =========================================================
   COLONNE ARTICLE
========================================================= */

.actualite-detail-card {

    background: #fff;

    box-shadow:
        0 20px 60px rgba(0,0,0,.10);

    overflow: hidden;
    border-radius:20px;

}


/* =========================================================
   IMAGE
========================================================= */

.actualite-detail-image-wrapper {

    width: 100%;

    max-height: 560px;

    overflow: hidden;

    background: #f1f5f9;

}


.actualite-detail-image {

    width: 100%;

    max-height: 560px;

    object-fit: cover;

    display: block;

}


/* =========================================================
   BODY
========================================================= */

.actualite-detail-body {

    padding: 45px;

}


/* =========================================================
   DATE
========================================================= */

.actualite-detail-date {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #087f49;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 18px;

}


.actualite-detail-date i {

    color: #f77f00;

}


/* =========================================================
   TITLE
========================================================= */

.actualite-detail-title {

    color: #172b4d;

    font-size: clamp(
        18px,
        4vw,
        42px
    );

    line-height: 1.25;

    font-weight: 800;

    margin-bottom: 25px;

}


/* =========================================================
   RESUME
========================================================= */

.actualite-detail-resume {

    position: relative;

    background: #f0f8f4;

    border-left: 4px solid #087f49;

    padding: 22px 25px;

    margin-bottom: 35px;

    color: #334155;

    font-size: 18px;

    line-height: 1.75;

    font-weight: 500;

    text-align: justify;

}


/* =========================================================
   CONTENU
========================================================= */

.actualite-detail-content {

    color: #475569;

    font-size: 16px;

    text-align: justify;

    line-height: 1.9;

}


.actualite-detail-content p {

    margin-bottom: 20px;

}


.actualite-detail-content h2 {

    color: #172b4d;

    font-size: 28px;

    margin-top: 35px;

    margin-bottom: 18px;

}


.actualite-detail-content h3 {

    color: #087f49;

    font-size: 23px;

    margin-top: 30px;

    margin-bottom: 15px;

}


.actualite-detail-content ul,
.actualite-detail-content ol {

    margin-bottom: 25px;

    padding-left: 25px;

}


.actualite-detail-content li {

    margin-bottom: 8px;

}


/* =========================================================
   PARTAGE
========================================================= */

.actualite-share {

    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;

}


.actualite-share-title {

    color: #172b4d;

    font-weight: 700;

    margin-bottom: 15px;

}


.actualite-share-buttons {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}


.actualite-share-btn {

    width: 42px;

    height: 42px;

    border: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #fff;
  border-radius:11px;

    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease;

}


.actualite-share-btn:hover {

    transform: translateY(-3px);

    opacity: .9;

    color: #fff;

}


.actualite-share-facebook {

    background: #1877f2;

}


.actualite-share-whatsapp {

    background: #25d366;

}


.actualite-share-copy {

    background: #087f49;

}


/* =========================================================
   COMMENTAIRES
========================================================= */

.actualite-comments {

    margin-top: 45px;

    padding-top: 30px;

    border-top: 1px solid #e8edf2;

}


.actualite-comments-title {

    color: #172b4d;

    font-size: 24px;

    font-weight: 800;

    margin-bottom: 20px;

}


.actualite-comments-title i {

    color: #087f49;

    margin-right: 8px;

}


.actualite-comment-form {

    background: #f8faf9;

    border: 1px solid #e5ece8;

    padding: 25px;

}


.actualite-comment-form label {

    display: block;

    color: #172b4d;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 7px;

}


.actualite-comment-form .form-control {

    border: 1px solid #dfe7e2;

    border-radius: 6px;

    padding: 12px 14px;

    font-size: 14px;

    box-shadow: none;

}


.actualite-comment-form .form-control:focus {

    border-color: #087f49;

    box-shadow:
        0 0 0 3px rgba(8,127,73,.10);

}


.actualite-comment-form textarea {

    min-height: 140px;

    resize: vertical;

}


.actualite-comment-submit {

    border: 0;

    background: #087f49;

    color: #fff;

    padding: 12px 22px;

    font-weight: 700;

    border-radius: 5px;

    transition: .2s ease;

}


.actualite-comment-submit:hover {

    background: #056b3d;

    transform: translateY(-2px);

}


/* =========================================================
   SIDEBAR ACTUALITES RECENTES
========================================================= */

.actualites-sidebar {

    position: sticky;

    top: 25px;

}


.actualites-sidebar-card {

    background: #fff;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);

    overflow: hidden;
    border-radius:20px;

}


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

.actualites-sidebar-header {

    padding: 22px 25px;

    background:
        linear-gradient(
            135deg,
            #056b3d,
            #087f49
        );

}


.actualites-sidebar-header small {

    display: block;

    color: #f77f00;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .12em;

    margin-bottom: 5px;

}


.actualites-sidebar-header h3 {

    margin: 0;

    color: #fff;

    font-size: 22px;

    font-weight: 800;

}


/* =========================================================
   LISTE
========================================================= */

.actualites-recentes-list {

    padding: 8px;

}


/* =========================================================
   ITEM
========================================================= */

.actualite-recent-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    border-bottom: 1px solid #eef2ef;

    transition:
        background .2s ease,
        transform .2s ease;

}


.actualite-recent-item:last-child {

    border-bottom: 0;

}


.actualite-recent-item:hover {

    background: #f0f8f4;

    transform: translateX(4px);

}


/* =========================================================
   IMAGE MINIATURE
========================================================= */

.actualite-recent-image {

    width: 70px;

    height: 60px;

    flex: 0 0 70px;

    overflow: hidden;

    background: #eaf8f0;

}


.actualite-recent-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;

}


.actualite-recent-item:hover
.actualite-recent-image img {

    transform: scale(1.08);

}


/* =========================================================
   CONTENU ITEM
========================================================= */

.actualite-recent-content {

    flex: 1;

    min-width: 0;

}


.actualite-recent-number {

    color: #f77f00;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;

}


.actualite-recent-content h4 {

    color: #172b4d;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 750;

    margin: 3px 0 5px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


.actualite-recent-date {

    color: #84908a;

    font-size: 11px;

}


.actualite-recent-date i {

    color: #087f49;

}


/* =========================================================
   FLECHE
========================================================= */

.actualite-recent-arrow {

    color: #a7b2ac;

    font-size: 10px;

    transition: .2s ease;

}


.actualite-recent-item:hover
.actualite-recent-arrow {

    color: #087f49;

    transform: translateX(3px);

}


/* =========================================================
   FOOTER ARTICLE
========================================================= */

.actualite-detail-footer {

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

}


/* Retour */

.actualite-back {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #087f49;

    font-weight: 700;

    text-decoration: none;

    transition: gap .2s ease;

}


.actualite-back:hover {

    color: #056b3d;

    gap: 13px;

}


/* =========================================================
   INTRouvable
========================================================= */

.actualite-not-found {

    text-align: center;

    padding: 100px 20px;

}


.actualite-not-found i {

    font-size: 65px;

    color: #cbd5e1;

    margin-bottom: 25px;

}


.actualite-not-found h2 {

    color: #172b4d;

    margin-bottom: 12px;

}


.actualite-not-found p {

    color: #64748b;

}


/* =========================================================
   TOP BUTTON
========================================================= */

#actualiteDetailTop {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border: 0;

    border-radius: 50%;

    background: #087f49;

    color: #fff;

    display: none;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 999;

    box-shadow:
        0 8px 20px rgba(0,0,0,.2);

    transition: .2s ease;

}


#actualiteDetailTop:hover {

    background: #056b3d;

    transform: translateY(-3px);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .actualites-sidebar {

        position: static;

        margin-top: 25px;

    }

}


@media (max-width: 767px) {

    .actualite-detail-hero {

        height: 180px !important;

    }


    .actualite-detail-hero-content {

        padding: 60px 20px;

    }


    .actualite-detail-hero h1 {

        font-size: 34px;

    }


    .actualite-detail-body {

        padding: 25px 20px;

    }


    .actualite-detail-title {

        font-size: 18px;

    }


    .actualite-detail-resume {

        font-size: 16px;

        padding: 18px;

    }


    .actualite-detail-content {

        font-size: 15px;

        line-height: 1.8;

    }


    .actualite-detail-footer {

        align-items: flex-start;

        flex-direction: column;

    }


    .actualite-comment-form {

        padding: 18px;

    }

}


@media (max-width: 576px) {

    .actualite-detail-title,
    h1 {

        font-size: 16px !important;

    }

}



