/*
Theme Name:   Divi Chateaulaurens
Theme URI:    https://chateaulaurens.fr
Description:  Thème enfant de Divi 5 pour le site Château Laurens
Author:       Dolikom Web Consulting
Author URI:   https://dolikom.fr
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  divi-chateaulaurens
*/

/* ============================================================
   Actualités — [cl_actualites]
   ============================================================ */

.cl-actu-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- Article à la une (gauche) --- */
.cl-actu-featured {
    flex: 0 0 56%;
    max-width: 56%;
}

.cl-actu-feat-imgwrap {
    display: block;
    overflow: hidden;
}

.cl-actu-feat-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.cl-actu-feat-imgwrap:hover .cl-actu-feat-img {
    transform: scale(1.03);
}

.cl-actu-feat-body {
    padding-top: 14px;
}

.cl-actu-date {
    font-size: .78rem;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.cl-actu-feat-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.cl-actu-feat-title a,
.cl-actu-card-title a {
    color: #3A3A3A;
    text-decoration: none;
}

.cl-actu-feat-title a:hover,
.cl-actu-card-title a:hover {
    color: #455E25;
}

.cl-actu-feat-excerpt {
    font-size: .88rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 20px;
}

.cl-actu-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cl-actu-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .2s, color .2s;
    letter-spacing: .03em;
}

.cl-actu-btn--orange {
    background: #C55C37;
    color: #fff;
    border-color: #C55C37;
}

.cl-actu-btn--orange:hover {
    background: transparent;
    color: #C55C37;
}

.cl-actu-btn--green {
    background: #455E25;
    color: #fff;
    border-color: #455E25;
}

.cl-actu-btn--green:hover {
    background: transparent;
    color: #455E25;
}

/* --- Cartes secondaires (droite) --- */
.cl-actu-secondary {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cl-actu-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cl-actu-card-imgwrap {
    flex: 0 0 130px;
    overflow: hidden;
}

.cl-actu-card-img {
    width: 130px;
    height: 95px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

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

.cl-actu-card-body {
    flex: 1;
}

.cl-actu-card-title {
    font-size: .9rem;
    font-weight: 700;
    margin: 3px 0 7px;
    line-height: 1.35;
}

.cl-actu-card-excerpt {
    font-size: .82rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* --- Mobile --- */
@media (max-width: 767px) {
    .cl-actu-grid {
        flex-direction: column;
        gap: 28px;
    }
    .cl-actu-featured {
        flex: none;
        max-width: 100%;
    }
    .cl-actu-feat-img {
        height: 220px;
    }
}
