/* Styles de bibliotheque-unah.php (extraits de la page, même ordre) */

     :root {
    }
    /* Style artistique global */
    .drunah-page-body {
        background: radial-gradient(circle at top left, rgba(211, 155, 82, 0.05), transparent 40%),
                    linear-gradient(135deg, var(--light-color, #f4f6f9) 0%, #e9ecef 100%);
        padding: 80px 0;
        color: var(--dark-color);
        position: relative;
        overflow: hidden;
    }

    /* Motif décoratif artistique en arrière-plan */
    .drunah-page-body::before {
        content: "";
        position: absolute;
        top: -10%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(211, 155, 82, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .container--narrow {
        max-width: 1140px;
        margin: 0 auto;
        text-align: center;
        padding: 20px 15px;
        position: relative;
        z-index: 1;
    }

    h1.drunah-title {
        margin-bottom: 45px;
        font-weight: 800;
        text-transform: none;
        letter-spacing: -0.5px;
        color: var(--dark-color);
        font-size: 2.2rem;
        position: relative;
        display: inline-block;
    }

    /* Ligne artistique sous le titre principal */
    h1.drunah-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--secondary-color, #d39b52), transparent);
        margin: 12px auto 0 auto;
        border-radius: 2px;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        padding: 10px 0;
    }

    /* Cartes effet "Glassmorphism" haut de gamme */
    .library-card {
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 20px;
        padding: 35px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 
                    0 1px 3px rgba(0, 0, 0, 0.01);
        transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 260px;
        text-align: left;
    }

    .library-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(211, 155, 82, 0.3);
        box-shadow: 0 20px 40px rgba(211, 155, 82, 0.08), 
                    0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .library-card h2 { 
        color: var(--secondary-color, #d39b52); 
        margin-top: 0; 
        font-size: 1.4rem; 
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .library-card p {
        color: #5a626a;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    /* Encadré d'information épuré */
    .info-box {
        background: rgba(211, 155, 82, 0.04);
        padding: 16px;
        border-radius: 12px;
        margin: 20px 0;
        font-size: 0.9rem;
        border-left: 3px solid var(--secondary-color, #d39b52);
        line-height: 1.5;
    }

    .info-box strong { 
        display: block; 
        margin-bottom: 6px; 
        color: var(--dark-color); 
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .info-box code {
        background: rgba(0, 0, 0, 0.05);
        padding: 2px 6px;
        border-radius: 4px;
        color:var(--red-color, #e74c3c  ) !important;
    }

    /* Bouton d'action élégant */
    .btn--drunah {
        display: inline-block;
        background: linear-gradient(135deg, #1e293b, #0f172a); /* Fond sombre chic par défaut */
        color: var(--light-color, #ffffff)   !important;
        padding: 12px 24px;
        text-decoration: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        text-align: center;
        letter-spacing: 0.3px;
        transition: all 300ms ease;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    }

    .library-card:hover .btn--drunah {
        background: linear-gradient(135deg, var(--secondary-color, #d39b52), #b8823b); /* Devient doré au survol de la carte */
        box-shadow: 0 6px 20px rgba(211, 155, 82, 0.25);
    }

    .btn--drunah:hover {
        transform: scale(1.02);
    }

    @media (max-width: 600px) { 
        .card-container { grid-template-columns: 1fr; } 
        .drunah-page-body { padding: 50px 0; }
        h1.drunah-title { font-size: 1.8rem; }
    }
