/* --- Glassy Home Banner --- */

/* 1. The Banner Container */
#banner-container-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 0;
    width: 100%;
}

/* 2. Glassy Pane for the Text Block */
#home-banner-text {
    flex: 1;
    padding: 3rem;
    border-radius: 24px; /* Slightly larger radius for the big banner */
    
    /* The Bright Glass Effect (Matching the Nav) */
    background: rgba(250, 250, 250, var(--glassy-base-opacity)); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bcg-grad-violette-soft) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    color: var(--text-color) !important;
}

/* Format the header inside the glass text block */
#home-banner-header {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* 3. Glassy Pane for the Image */
#image-container-home {
    flex-shrink: 0;
    display: flex;
    justify-content: center; /* Ensures the image stays centered inside the wrapper */
}

#banner-home-img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 24px;
    
    /* The Bright Glass Effect applied to the image itself */
    background: rgba(250, 250, 250, var(--glassy-base-opacity)); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* MOVED the shadow directly to the image so it perfectly hugs the edges */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 0; 
}

/* 4. Subtitle Content Area (Optional: adds some breathing room below the glass blocks) */
#banner-home-subtitle {
    margin-top: 2rem;
    padding: 0 1rem;
    line-height: 1.6;
}