/*
 * Gabarit page : bloc hero et encart adherent
 *
 * Extrait des blocs <style> inline des gabarits : contenu inchange,
 * seul l'emplacement change.
 */

                    .um-login.um-logout {
                        margin-bottom: 0 !important;
                        padding-bottom: 0 !important;
                    }

    .hero-section {
        width: 100%;
        height: 400px;
        /* Ajustez selon vos besoins */
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        display: flex;
        height: 100%;
    }

    .hero-background {
        flex: 1;
        /* URL relative a la racine : valable quel que soit le domaine, et
           interpretable dans un fichier CSS statique (le PHP ne l'est pas). */
        background-image: url('/wp-content/uploads/2025/08/c7aaa451-6d2d-447f-8c95-a246a4f7901d.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: grayscale(20%);
    }

    .user-info-aside {
        width: 300px;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }

    .aside-header {
        background: #f2f2f2;
        padding: 15px 20px;
    }

    .aside-header h2 {
        margin: 0;
        color: #333;
        font-size: 1.2rem;
    }

    .user-profile {
        padding: 20px;
    }

    .user-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto 15px;
    }

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .user-details {
        text-align: center;
    }

    .user-details h3 {
        margin: 0 0 10px;
        color: #333;
        font-size: 1.5rem;
    }

    .user-meta {
        color: #666;
    }

    @media (max-width: 768px) {
        .hero-section {
            height: auto;
            min-height: 100vh;
        }

        .hero-content {
            flex-direction: column;
        }

        .hero-background {
            height: 40vh;
            width: 100%;
        }

        .user-info-aside {
            width: 100%;
            height: auto;
            min-height: 60vh;
            box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
        }

        .user-profile {
            padding: 30px 20px;
        }

        .user-avatar {
            width: 120px;
            height: 120px;
            margin-bottom: 25px;
        }

        .user-details h3 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 480px) {
        .hero-background {
            height: 30vh;
        }

        .user-avatar {
            width: 100px;
            height: 100px;
        }
    }
