/* --- Tes sections principales restent inchangées mais isolées --- */
.full-width-promo,
.secondary-color {
    background-color: #e9e9e9;
}

.activity-section {
    width: 100%;
    padding: 10px;
    /* border: 1px solid yellow; */
}
 .banner{padding-top: 15px;
padding-right: 15px;}
.banner,
#activity-publish {
    background-color: #f4f4f4;
}

.activity-section .container,
.banner .container {
    min-width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LOGIQUE MOBILE FIRST --- */
.activity-section .activity-content-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    align-items: center;
}

/* Ces ordres ne s'appliqueront qu'aux éléments de la page */
.activity-section .text-content {
    order: 1;
    text-align: left;
    /* border: 1px solid greenyellow; */
}

.activity-section .image-placeholder {
    order: 2;
    /* border: 1px solid salmon; */
}

.activity-section .promo-button {
    order: 3;
}


.image-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* --- Affichage des images de la banière selon les écrans --- */
/* On masque et on libère l'autre l'image */
@media (min-width: 1200px) {
    .banner{padding-top: 25px;
padding-right: 25px;}
    .image-placeholder .large-screen {
        display: none;
    }

    .image-placeholder .small-screen {
        display: block;
    }


    .activity-section .activity-content-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .activity-section .container {
        min-width: unset;
        max-width: 90%;
    }

    .banner .activity-content-box {
        display: grid;
        grid-template-columns: repeat(11, 1fr);
        gap: 20px;
        text-align: center;
        align-items: center;

    }

    .banner .image-placeholder {
        grid-column: span 6;
        max-width: 100%;
    }

    .banner welcome-area.desktop-only-welcome {
        grid-column: span 5;

    }

    .banner welcome-area.desktop-only-welcome h1 {
        font-weight: bolder;
        font-size: 3em;
        text-align: center;
    }

    .banner welcome-area.desktop-only-welcome h1 strong {
        color: #006edb;;
    }

    .promo-button {
        grid-column: 1 / -1;

    }

    .reverse-layout .text-content {
        order: 2;
    }

    .reverse-layout .image-placeholder {
        order: 1;
    }
}


@media (min-width: 912px) and (max-width: 1199px) {
    .image-placeholder .large-screen {
        display: block;
    }

    .image-placeholder .small-screen {
        display: none;
    }

    .activity-section .activity-content-box,.banner .activity-content-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        text-align: center;
        align-items: center;
    }
    
}


@media (min-width: 600px) and (max-width: 911px) {
    .image-placeholder .small-screen {
        display: block;
    }

    .image-placeholder .large-screen {
        display: none;
    }
    .activity-section .container {
        min-width: unset;
        max-width: 90%;
    }
}

@media (max-width: 599px) {
    .image-placeholder .small-screen {
        display: none;
    }

    .image-placeholder .large-screen {
        display: block;
    }
}


/* --- BOUTONS DE LA PAGE --- */
.activity-section .promo-button {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid black;
    transition: 0.3s;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    background: black;
    color: white;
}

.alt-colors .promo-button {
    background: white;
    color: black;
}

/* --- ETAT HOVER ET COULEURS --- */
.activity-section .promo-button {
    background: white;
    color: black;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.activity-section .promo-button:hover,
.secondary-button:hover {
    color: white;
    background-color: #000;
}

.tertiary-button {
    background-color: #000;
    color: white;
}

.tertiary-button:hover {
    background-color: #fff;
    color: #000;
}

.hidden-login-area {
    display: none !important;
}

.cancel-login-button {
    margin-top: 20px;
    background-color: #000;
    color: white;
    border: none;
    width: 100px;
    height: 40px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.cancel-login-button:hover {
    background-color: white;
    color: #000;
}