/* ---------------------------------------------------------------------------
   esad-ca.css
   Feuille autonome de conseil-administration.esad-amiens.fr

   Reprend la charte de la plateforme d'inscriptions (esad-inscriptions.css) :
   mêmes polices, mêmes filets noirs, même conteneur blanc sur fond gris.
   Seules les règles utiles à cette page ont été conservées, complétées par
   les styles de la liste des comptes rendus.
   --------------------------------------------------------------------------- */

@font-face {
    font-family: 'LektoratText';
    src: url('https://esad-amiens.design/assets/css/fonts/LektoratText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LektoratText';
    src: url('https://esad-amiens.design/assets/css/fonts/LektoratText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #dddddd;
    margin: 0;
    padding: 0;
}

.esad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    font-family: 'LektoratText', Georgia, serif;
    line-height: 1.5;
    color: #000;
    background: #fff;
}

.esad-logo {
    margin-bottom: 50px;
}

.esad-logo svg {
    height: 40px;
    width: auto;
}

/* --- En-tête --- */
.esad-header {
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ccc;
}

.esad-header h1 {
    font-size: 26px;
    font-weight: 400;
    color: #000;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.esad-header hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.esad-header-intro {
    font-size: 14px;
    color: #333;
    margin: 0;
    max-width: 760px;
}

/* --- Titres de section (années) --- */
.esad-section-title {
    margin-bottom: 20px;
}

.esad-section-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.esad-note {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f5f5f5;
    border-left: 2px solid #000;
    font-size: 13px;
    color: #333;
}

/* --- Liste des comptes rendus --- */
.esad-ca-list {
    list-style: none;
    margin: 0 0 50px 0;
    padding: 0;
    border-top: 2px solid #000;
}

.esad-ca-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
}

.esad-ca-item:hover {
    background: #fafafa;
}

.esad-ca-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.esad-ca-tag {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #000;
    padding: 3px 7px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.esad-ca-title {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.esad-ca-meta {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0 0;
}

.esad-ca-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.esad-ca-link {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
    padding: 7px 16px;
    background: #fff;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.esad-ca-link:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.esad-ca-absent {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* --- Pied de page --- */
.esad-footer {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #000;
}

.esad-footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.esad-footer p {
    font-size: 13px;
    color: #333;
    margin: 5px 0;
    line-height: 1.6;
}

.esad-footer a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.esad-footer a:hover {
    color: #ff0000;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .esad-container { padding: 30px 20px 50px; }
}

@media (max-width: 700px) {
    .esad-ca-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .esad-ca-actions { width: 100%; }
    .esad-ca-link {
        flex: 1;
        text-align: center;
    }
}

/* --- Impression --- */
@media print {
    body { background: #fff; }
    .esad-container { max-width: none; padding: 0; }
    .esad-ca-actions { display: none; }
    .esad-ca-item { page-break-inside: avoid; }
}
