/* =========================================================
    STANDARD PDZ - HARMONISATION COMPLÈTE (V.FINALE)
   ========================================================= */

:root {
    --pdz-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --pdz-purple: #5d2a80;
}

body {
    background-color: #f8f9fa !important;
    font-family: var(--pdz-font) !important;
}

/* --- LAYOUT ACCUEIL (STRUCTURE 2 COLONNES) --- */
.pdz-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .pdz-layout { grid-template-columns: 1fr; }
    .pdz-sidebar { order: 2; } 
}

/* --- CONTENEUR PRINCIPAL --- */
.pdz-main-wrapper {
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 50px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    line-height: 1.7 !important;
}

@media (max-width: 768px) {
    .pdz-main-wrapper { padding: 25px !important; }
}

/* --- TITRES --- */
.pdz-main-title { 
    font-size: 2.5rem !important; 
    font-weight: 900 !important; 
    margin-bottom: 30px !important; 
    color: #111 !important; 
}

/* Titre H2 (Articles, Enseignements...) */
h2, .pdz-section-h {
    font-size: 1.8rem !important; 
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 40px 0 20px 0 !important;
    border-bottom: 3px solid var(--pdz-purple) !important;
    display: inline-block !important; 
    line-height: 1.2 !important;
    padding-bottom: 5px !important;
}

/* Titres des Cards Sidebar */
.pdz-card-title {
    font-size: 0.9rem !important; /* Agrandi pour lisibilité */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: var(--pdz-purple) !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

/* --- COMPOSANTS --- */
.pdz-intro {
    background: #fcfaff !important;
    border-left: 5px solid var(--pdz-purple) !important;
    padding: 25px !important;
    border-radius: 0 8px 8px 0 !important;
    margin-bottom: 40px !important;
    font-size: 1.5rem !important;
}

.pdz-photo { width: 100%; border-radius: 6px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.pdz-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- TUILES DE LIENS (HAL, ORCID...) AGRANDIES --- */
.pdz-link-tag {
    display: inline-block !important;
    padding: 10px 16px !important; /* Plus gros */
    background: #f3ebf9 !important;
    color: var(--pdz-purple) !important;
    border: 1.5px solid var(--pdz-purple) !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important; /* Plus gros */
    margin: 5px 5px 10px 0 !important;
    transition: all 0.2s ease;
}

.pdz-link-tag:hover {
    background: var(--pdz-purple) !important;
    color: #ffffff !important;
}

/* --- MENU BURGER SANS JS --- */
#pdz-nav-check { display: none !important; }

.pdz-burger-label {
    display: none;
    cursor: pointer;
    padding: 10px;
    float: right;
    margin-top: 15px;
    background: var(--pdz-purple);
    border-radius: 4px;
}

.pdz-icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 4px 0;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .pdz-burger-label { display: block; }
    .pdz-menu-container {
        display: none !important;
        width: 100% !important;
        clear: both !important;
        background: #ffffff !important;
        border-top: 1px solid #eee !important;
    }
    #pdz-nav-check:checked ~ .pdz-menu-container {
        display: block !important;
    }
    .pdz-menu-container ul li a {
        padding: 15px 20px !important;
        display: block !important;
        font-weight: 700 !important;
    }
}
