/* ===== CHARTE ÉDITORIALE/ÉTHIQUE ===== */
.charte-layout {
    display: flex;
    gap: 40px;
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.charte-menu {
    min-width: 250px;
    max-width: 300px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 28px 20px 20px 20px;
    height: fit-content;
    box-shadow: 0 2px 6px rgba(30,80,200,0.03);
    position: sticky;
    top: 32px;
}
.charte-menu ul { list-style: none; margin: 0; padding: 0; }
.charte-menu > ul > li { margin-bottom: 10px; }
.charte-menu a { color: #285685; text-decoration: none; font-weight: 500; font-size: 16px; transition: color 0.15s; }
.charte-menu a:hover { color: #2576d4; text-decoration: underline; }
.charte-menu ul ul { margin-top: 6px; margin-bottom: 6px; padding-left: 18px; border-left: 2px solid #e8eaf0; }
[dir="rtl"] .charte-menu ul ul { padding-left: 0; padding-right: 18px; border-left: 0; border-right: 2px solid #e8eaf0; }
.charte-main-content { width: 88%; padding: 35px 0 20px 0; }
.charte-main-content h1 { font-size: 2.1rem; font-weight: bold; margin-bottom: 36px; letter-spacing: 1px; color: #2868a6; }
.charte-accordion { width: 100%; }
.charte-accordion-item {
    margin-bottom: 18px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.charte-accordion-header {
    font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
    background: #f3f5fa;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    font-size: 1.16rem;
    font-weight: 600;
    color: #2c425f;
    padding: 18px 22px;
    cursor: pointer;
    border-radius: 7px 7px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.19s;
}
.charte-accordion-header:hover { background: #eaf0fa; }
[dir="rtl"] .charte-accordion-header { text-align: right; }
.accordion-arrow { font-size: 1.1em; transition: transform 0.18s; }
.charte-accordion-item.open .accordion-arrow { transform: rotate(180deg); }
.charte-accordion-body {
    display: none;
    background: #fff;
    color: #222;
    font-size: 16px;
    padding: 16px 22px 16px 22px;
    border-top: 1px solid #e0e0e0;
    text-align: justify;
}
.charte-accordion-item.open .charte-accordion-body {
    display: block;
    animation: fadeIn 0.33s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
