/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Espace Pro - uniquement écran de mot de passe */
body.page-id-105 main.post-password-required {
    background: #EFE6D5;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

/* Conteneur du formulaire uniquement quand la page est verrouillée */
body.page-id-105 main.post-password-required .page-content {
    width: 100%;
    max-width: 660px;
}

/* Formulaire mot de passe WordPress */
body.page-id-105 main.post-password-required .post-password-form {
    background: #EFE6D5;
    border: 1px solid rgba(157, 119, 58, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
    padding: 52px 56px;
    color: #1d1710;
}

/* Texte */
body.page-id-105 main.post-password-required .post-password-form p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1710;
}

/* Supprime le paragraphe vide généré par WordPress */
body.page-id-105 main.post-password-required .post-password-form p:empty {
    display: none;
}

/* Label */
body.page-id-105 main.post-password-required .post-password-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1d1710;
}

/* Champ mot de passe */
body.page-id-105 main.post-password-required .post-password-form input[type="password"] {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 10px;
    padding: 0 16px;
    background: #fbf7ef;
    border: 1px solid rgba(29, 23, 16, 0.22);
    border-radius: 0;
    color: #1d1710;
    font-size: 16px;
    outline: none;
}

body.page-id-105 main.post-password-required .post-password-form input[type="password"]:focus {
    border-color: #9d773a;
    box-shadow: 0 0 0 2px rgba(157, 119, 58, 0.16);
}

/* Bouton */
body.page-id-105 main.post-password-required .post-password-form input[type="submit"] {
    height: 52px;
    margin-top: 20px;
    padding: 0 34px;
    background: #1d1208;
    border: 1px solid #1d1208;
    border-radius: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.page-id-105 main.post-password-required .post-password-form input[type="submit"]:hover {
    background: #9d773a;
    border-color: #9d773a;
    color: #ffffff;
}

/* Ligne champ + bouton */
body.page-id-105 main.post-password-required .post-password-form p:last-child {
    margin-bottom: 0;
}

/* Desktop */
@media (min-width: 768px) {
    body.page-id-105 main.post-password-required .post-password-form p:last-child {
        display: flex;
        align-items: flex-end;
        gap: 14px;
    }

    body.page-id-105 main.post-password-required .post-password-form p:last-child label {
        flex: 1;
    }

    body.page-id-105 main.post-password-required .post-password-form input[type="submit"] {
        margin-top: 0;
        flex-shrink: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.page-id-105 main.post-password-required {
        min-height: 520px;
        padding: 70px 18px;
    }

    body.page-id-105 main.post-password-required .post-password-form {
        padding: 34px 26px;
    }

    body.page-id-105 main.post-password-required .post-password-form input[type="submit"] {
        width: 100%;
    }
}