/* layout_as_all_news — Clonas
   Couleur accent #b03a00 : contraste 5.6:1 sur blanc (RGAA AA ✓)
   Texte corps   #444444 : contraste 9.7:1 sur blanc  (RGAA AA ✓)
   Texte date    #666666 : contraste 5.7:1 sur blanc  (RGAA AA ✓) */

/* ── Liste ──────────────────────────────────────────── */

.news.large {
    display: flex;
    flex-direction: column;
}

/* ── Carte ──────────────────────────────────────────── */

.news.large .oneNews {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.15s;
}
.news.large .oneNews:last-child {
    border-bottom: none;
}
.news.large .oneNews:hover {
    background-color: #fdf6f2;
    border-radius: 4px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

/* ── Vignette ───────────────────────────────────────── */

.news.large .actu-thumb {
    flex-shrink: 0;
    display: block;
    width: 140px;
    height: 105px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}
.news.large .actu-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.news.large .oneNews:hover .actu-thumb img {
    transform: scale(1.04);
}

/* ── Contenu ─────────────────────────────────────────── */

.news.large .actu-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

/* titre */
.news.large .actu-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.3;
}
.news.large .actu-title a {
    color: #b03a00;
    text-decoration: none;
}
.news.large .actu-title a:hover {
    text-decoration: underline;
}
.news.large .actu-title a:focus-visible {
    outline: 3px solid #b03a00;
    outline-offset: 2px;
    border-radius: 2px;
}

/* date */
.news.large .actu-date {
    font-size: 1.3rem;
    color: #666;
    font-weight: normal;
}

/* introduction */
.news.large .actu-intro {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #444;
}

/* ── Bouton "Lire la suite" ──────────────────────────── */

/* #contenu requis pour battre #contenu a { color:#105a99 } (spéc. 1-0-1) */
#contenu .actu-btn,
#contenu .actu-btn:link,
#contenu .actu-btn:visited {
    display: inline-block;
    align-self: flex-start;
    background-color: #b03a00;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 3px;
    transition: background-color 0.2s;
    margin-top: 0.4rem;
}
#contenu .actu-btn:hover,
#contenu .actu-btn:active {
    background-color: #8f2e00;
    color: #fff;
}
#contenu .actu-btn:focus-visible {
    outline: 3px solid #b03a00;
    outline-offset: 3px;
    background-color: #8f2e00;
    color: #fff;
}

/* ── Accessibilité ───────────────────────────────────── */

/* texte visible uniquement pour les lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Grille 3 colonnes (sections) ────────────────────── */

.grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.h2col {
    font-size: 1.2em;
    text-align: center;
    margin: 0 auto;
    padding: 5px;
}
.section_3col {
    margin: 5px auto;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 98%;
    padding: 5px;
}

/* ── Responsive ──────────────────────────────────────── */

@media only screen and (max-width: 600px) {
    .news.large .oneNews {
        flex-direction: column;
    }
    .news.large .actu-thumb {
        width: 100%;
        height: 180px;
    }
    .grille {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(100px, auto);
    }
}
