/* ==========================================
   HoloID Content - Plugin WordPress
   Feuille de style officielle
   ========================================== */

.holoid-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #1a1a1a;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    word-wrap: break-word;
}

.holoid-content-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #0A1931;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E1D30F;
    line-height: 1.2;
}

.holoid-content-body {
    font-size: 1em;
}

.holoid-content-body p {
    margin: 0 0 16px 0;
}

.holoid-content-body p:last-child {
    margin-bottom: 0;
}

/* Titres de section [(N)] : Titre */
.holoid-section {
    font-size: 1.4em;
    font-weight: 700;
    color: #0A1931;
    margin: 35px 0 18px 0;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(225, 211, 15, 0.18) 0%, rgba(225, 211, 15, 0) 100%);
    border-left: 4px solid #E1D30F;
    border-radius: 4px;
    line-height: 1.3;
}

.holoid-section-number {
    color: #B59E0F;
    margin-right: 8px;
    font-weight: 800;
}

.holoid-section-title {
    color: #0A1931;
}

/* Listes à puces */
.holoid-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.holoid-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.holoid-list li:last-child {
    margin-bottom: 0;
}

.holoid-list li::before {
    content: '\2022';
    color: #E1D30F;
    font-weight: bold;
    position: absolute;
    left: 8px;
    font-size: 1.2em;
    line-height: 1.5;
}

/* Séparateurs */
.holoid-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 25, 49, 0.2) 50%, transparent 100%);
    margin: 30px 0;
}

/* Liens auto-détectés */
.holoid-content a {
    color: #0A1931;
    text-decoration: underline;
    text-decoration-color: rgba(10, 25, 49, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
    word-break: break-all;
}

.holoid-content a:hover {
    color: #E1D30F;
    text-decoration-color: #E1D30F;
}

/* Gras */
.holoid-content strong {
    color: #0A1931;
    font-weight: 700;
}

/* Date de mise à jour en bas */
.holoid-content-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(10, 25, 49, 0.1);
    font-size: 0.85em;
    color: rgba(10, 25, 49, 0.6);
    font-style: italic;
    text-align: right;
}

/* Erreurs */
.holoid-error {
    padding: 16px 20px;
    background: rgba(220, 53, 69, 0.08);
    border-left: 4px solid #dc3545;
    color: #dc3545;
    border-radius: 4px;
    margin: 20px 0;
}

/* Responsive mobile */
@media (max-width: 600px) {
    .holoid-content {
        padding: 15px;
    }
    .holoid-content-title {
        font-size: 1.7em;
    }
    .holoid-section {
        font-size: 1.2em;
        padding: 10px 12px;
        margin: 28px 0 14px 0;
    }
    .holoid-list li {
        padding-left: 20px;
    }
}

/* Mode sombre (si le thème WordPress en a un) */
@media (prefers-color-scheme: dark) {
    .holoid-content--dark-aware {
        color: #e0e0e0;
    }
    .holoid-content--dark-aware .holoid-content-title,
    .holoid-content--dark-aware .holoid-section-title,
    .holoid-content--dark-aware .holoid-content strong {
        color: #f5f5f5;
    }
    .holoid-content--dark-aware .holoid-section {
        background: linear-gradient(90deg, rgba(225, 211, 15, 0.12) 0%, rgba(225, 211, 15, 0) 100%);
    }
}
