    /* Correction pour affichage de la citation sur le carousel */
    .welcome-area {
        position: relative;
    }
    .carousel-quote {
        position: absolute;
        bottom: 100px;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px 20px;
        z-index: 1000;
    }
    .carousel-quote blockquote {
        margin: 0;
        color: #fff;
        font-size: 1.2rem;
        font-style: italic;
        font-family: 'Times New Roman', Times, serif;
    }
    .gallery-title {
        position: absolute;
        top: 0;               /* moved to top of the image */
        left: 0;
        width: 100%;
        text-align: center;   /* center the text */
        padding: 4px 8px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-size: 0.8rem;    /* smaller font */
        line-height: 1.2;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none; /* click-through */
    }
    /* Show the title when hovering the gallery item */
    .column_single_gallery_item:hover .gallery-title,
    .gallery_img:hover .gallery-title {
        opacity: 1;
    }
    /* --- Long captions in Magnific Popup --- */
    .mfp-title {
        white-space: normal;
        max-width: 700px;
        margin: 0.5rem auto 0;
        padding: 0 1rem;
        line-height: 1.45;
        text-align: left;
        color: #fff; /* ensure text is white for readability */
    }
    /* Force white text for all elements inside the Magnific Popup title */
    .mfp-title,
    .mfp-title * {
        color: #fff !important;
    }

    /* Spinner for slow-loading resources */
    .slow-load-spinner {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-top-color: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        animation: slow-spin 0.6s linear infinite;
    }

    @keyframes slow-spin {
        to {
            transform: rotate(360deg);
        }
    }