/*
Theme Name: CDAD13 Accessible
Theme URI: https://www.cdad13.fr/
Author: CDAD13
Description: Thème institutionnel conçu pour l’accessibilité pour le Conseil départemental de l'accès au droit des Bouches-du-Rhône. Conçu avec navigation clavier, contrastes renforcés, focus visibles, structure sémantique et compatibilité Elementor.
Version: 3.9.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: cdad13
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* V3.4.5 — Blog / actualités */
.news-card-image{display:block;overflow:hidden;aspect-ratio:16/9;background:#eef4f7}.news-card-image img{width:100%;height:100%;object-fit:cover;display:block}.news-card>div,.news-card-body{padding:1.35rem}.news-card:not(:has(.news-card-image))>div{padding-top:1.6rem}.news-archive{padding-top:2.5rem;padding-bottom:4rem}.editorial-header{max-width:850px;margin-bottom:2rem}.eyebrow-dark{font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#006f59}.news-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.news-card-archive{overflow:hidden}.news-card-archive h2{font-size:1.35rem;margin:.35rem 0 .75rem}.pagination-wrap{margin-top:2.5rem}.pagination-wrap .nav-links{display:flex;gap:.6rem;flex-wrap:wrap}.pagination-wrap .page-numbers{padding:.65rem .85rem;border:2px solid #075486;border-radius:.35rem}.pagination-wrap .current{background:#075486;color:#fff}.empty-news{grid-column:1/-1;padding:1.5rem;background:#f3f7f9;border-radius:.5rem}@media(max-width:900px){.news-archive-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.news-archive-grid{grid-template-columns:1fr}}

/* V3.4.19 — Rapports d’activité administrables */
.cdad13-report-library{display:grid;gap:1rem;margin:1.5rem 0 2rem}.cdad13-report-library .report-card{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.5rem;border:1px solid #d9e2e8;border-radius:.6rem;background:#fff}.cdad13-report-library .report-card h2{margin:.2rem 0 .55rem}.report-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.65rem;min-width:max-content}.report-unavailable{font-weight:700;color:#5d6870}@media(max-width:720px){.cdad13-report-library .report-card{display:block}.report-actions{margin-top:1rem;min-width:0}.report-actions .button{width:100%;text-align:center}}


/* V3.9.3 — Rapport 2025 : données structurées accessibles */
.report-key-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1.25rem 0}.report-key-figures>div{border:1px solid #657786;border-radius:10px;padding:1rem;background:#fff}.report-key-figures dt{font-weight:700;color:#073b5c}.report-key-figures dd{margin:.35rem 0 0;font-size:1.35rem;font-weight:700}.report-structured-data{margin:2rem 0}.table-scroll{overflow-x:auto;margin:1rem 0;border:1px solid #657786;border-radius:8px}.table-scroll:focus-visible{outline:3px solid #002f55;outline-offset:3px}.report-structured-data table{border-collapse:collapse;width:100%;min-width:680px;background:#fff}.report-structured-data caption{text-align:left;font-weight:700;padding:.85rem;background:#eef5f8}.report-structured-data th,.report-structured-data td{border:1px solid #657786;padding:.65rem;text-align:left;vertical-align:top}.report-structured-data thead th,.report-structured-data tfoot th{background:#073b5c;color:#fff}.report-structured-data tfoot td{font-weight:700;background:#eef5f8}@media(max-width:600px){.report-key-figures{grid-template-columns:1fr}.report-structured-data table{font-size:.94rem}}
