/* Cards Actualités */

.card-actu-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-actu {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Barlow', sans-serif;
}

.card-actu-link:hover {
    transform: translateY(-8px);
}

.card-actu-link:hover .card-actu {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-actu-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.card-actu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-actu-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-actu-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-cat {
    display: inline-block;
    padding: 5px 12px;
    background: #ffa626;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Barlow', sans-serif;
}

.card-actu-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #2c3e50;
    transition: color 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.card-actu-link:hover .card-actu-title {
    color: #ffa626;
}

.card-actu-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: 'Barlow', sans-serif;
}

.card-actu-readmore {
    display: inline-block;
    font-weight: 600;
    color: #ffa626;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

.card-actu-link:hover .card-actu-readmore {
    color: #ff8c00;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .card-actu-img {
        height: 200px;
    }

    .card-actu-body {
        padding: 20px;
    }

    .card-actu-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .card-actu-img {
        height: 180px;
    }

    .card-actu-body {
        padding: 18px;
    }

    .card-actu-title {
        font-size: 18px;
    }

    .card-actu-desc {
        font-size: 14px;
    }
}

/* Single Actualité */

.single-actu-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.btn-retour-actu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

.btn-retour-actu:hover {
    background: #ffa626;
    color: #fff;
    border-color: #ffa626;
    transform: translateX(-5px);
    text-decoration: none;
}

.btn-retour-actu svg {
    transition: transform 0.3s ease;
}

.btn-retour-actu:hover svg {
    transform: translateX(-3px);
}

.single-actu-article {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Barlow', sans-serif;
}

.single-actu-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.badge-cat-single {
    display: inline-block;
    padding: 8px 20px;
    background: #ffa626;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Barlow', sans-serif;
}

.single-actu-featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.single-actu-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-actu-content {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    font-family: 'EB Garamond', serif;
}

.single-actu-content p {
    margin-bottom: 1.5em;
}

.single-actu-content h2,
.single-actu-content h3,
.single-actu-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: #1a202c;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.single-actu-content h2 {
    font-size: 32px;
}

.single-actu-content h3 {
    font-size: 26px;
}

.single-actu-content h4 {
    font-size: 22px;
}

.single-actu-content a {
    color: #ffa626;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-actu-content a:hover {
    color: #ff8c00;
}

.single-actu-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-actu-content blockquote {
    border-left: 4px solid #ffa626;
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
}

.single-actu-content ul,
.single-actu-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-actu-content li {
    margin-bottom: 10px;
}

.single-actu-footer {
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.btn-retour-actu-footer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #ffa626;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 166, 38, 0.3);
    font-family: 'Barlow', sans-serif;
}

.btn-retour-actu-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 166, 38, 0.4);
    text-decoration: none;
    color: #fff;
    background: #ff8c00;
}

.btn-retour-actu-footer svg {
    transition: transform 0.3s ease;
}

.btn-retour-actu-footer:hover svg {
    transform: translateX(-3px);
}

/* Responsive Single */
@media (max-width: 768px) {
    .single-actu-article {
        padding: 40px 20px;
    }

    .single-actu-content {
        font-size: 16px;
    }

    .single-actu-content h2 {
        font-size: 26px;
    }

    .single-actu-content h3 {
        font-size: 22px;
    }

    .single-actu-content h4 {
        font-size: 18px;
    }

    .btn-retour-actu,
    .btn-retour-actu-footer {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .single-actu-article {
        padding: 30px 15px;
    }

    .single-actu-content {
        font-size: 15px;
    }
}


/* Slider Actualités (Homepage) - Owl Carousel */
#slider-actu h2 {
    font-family: 'EB Garamond', serif;
    font-size: 40px;
    color: #1b999b;
}

#slider-actu .carousel-actu {
    padding: 20px 0;
}

#slider-actu .carousel-actu .item {
    padding: 0 10px;
}

#slider-actu .card-actu {
    margin: 0 auto;
    width: 100%;
    height: 540px;
}

@media screen and (max-width:768px) {
    #slider-actu .card-actu {
        height: 430px;
    }
}

#slider-actu .owl-stage {
    height: 550px;
}

@media screen and (max-width: 768px) {
    #slider-actu .owl-stage {
        height: 450px;
    }
}

/* Navigation Owl Carousel */
#slider-actu .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -25px;
}

@media screen and (max-width: 768px) {
    #slider-actu .owl-nav {
        top: 85%;
        width: 30%;
        left: 50%;
        transform: translateX(-50%);
    }
}

#slider-actu .owl-nav button.owl-prev,
#slider-actu .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: #ffa626 !important;
    border-radius: 50%;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 50px !important;
    transition: all 0.3s ease;
    position: absolute;
}

#slider-actu .owl-nav button.owl-prev:hover,
#slider-actu .owl-nav button.owl-next:hover {
    background: #ff8c00 !important;
    transform: scale(1.1);
}

#slider-actu .owl-nav button.owl-prev {
    left: -60px;
}

#slider-actu .owl-nav button.owl-next {
    right: -60px;
}

/* Dots Owl Carousel */
#slider-actu .owl-dots {
    text-align: center;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    #slider-actu .owl-dots {
        margin-top: 70px;
    }

}

#slider-actu .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#slider-actu .owl-dot:hover,
#slider-actu .owl-dot.active {
    background: #ffa626;
}

#slider-actu .owl-dot.active {
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 991px) {
    #slider-actu .owl-nav button.owl-prev {
        left: -40px;
    }

    #slider-actu .owl-nav button.owl-next {
        right: -40px;
    }
}

@media (max-width: 768px) {

    #slider-actu .owl-nav button.owl-prev,
    #slider-actu .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        line-height: 40px !important;
        font-size: 16px !important;
    }

    #slider-actu .owl-nav button.owl-prev {
        left: 10px;
    }

    #slider-actu .owl-nav button.owl-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    #slider-actu h2 {
        font-size: 28px;
    }
}