@charset "utf-8";
/* CSS Document */

/* --- BASE & STRUCTURE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    padding: 20px 15px; 
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

/* --- LIENS HYPERTEXTES --- */
a {
    color: #ff0000;
    text-decoration: underline;
}
a:visited { color: #000099; }
a:hover { color: #FF9900; }

/* --- STRUCTURE DE LA PAGE --- */
header {
    border-bottom: 2px solid #ff0000; 
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.breadcrumb {
    font-size: 16px;
    margin-bottom: 25px;
    color: #666666;
}

h1 {
    font-size: 26px;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.subtitle {
    font-size: 18px;
    color: #009900;
    margin-bottom: 30px;
    font-weight: normal;
}

h2 {
    font-size: 20px;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid #ff0000;
    padding-left: 10px;
}

/* --- LE BLOC DE L'HISTOIRE --- */
.story-container {
    background-color: #fdfbf7;
    border: 1px dashed #ff0000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 600px) {
    .story-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }
}

.story-img {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    height: auto;
}

.story-text {
    flex: 1;
    font-size: 20px;
}
.story-text h3 {
    color: #ff0000;
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 8px;
}
.story-text h3:first-child {
    margin-top: 0;
}
.story-text p {
    margin-bottom: 15px;
    font-weight: normal; /* Corrigé en normal */
}

/* --- BOUTONS ET AUTRES BLOCS --- */
.print-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 8px 15px;
    font-size: 16px;
    font-family: Verdana, sans-serif;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
	 margin-top: 20px;
	
    text-decoration: none;
}
.print-btn:hover {
    background-color: #ff0000;
    color: #ffffff;
}

.links-clean-group {
    margin-top: 15px;
    padding-left: 15px;
}
.links-clean-group p {
    margin-bottom: 12px;
    font-size: 18px;
}

.illustration-box {
    text-align: center;
    margin: 30px 0;
}
.illustration-box img {
    max-width: 200px;
    height: auto;
}

footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #CCCCCC;
    font-size: 16px;
    text-align: center;
    color: #666666;
}
.author-box {
    background-color: #F9F9F9;
    border-left: 4px solid #FF0000;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
    font-style: italic;
}

/* --- LOGIQUE D'IMPRESSION (ÉCRAN INTÉGRALEMENT MASQUÉ) --- */
@media print {
    @page {
        margin: 30mm 20mm 20mm 20mm;
    }

    ins.adsbygoogle, .adsbygoogle, iframe, script, 
    [id*="google_ads"], [class*="adsense"], [class*="ad-"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        opacity: 0 !important;
    }

    header, .breadcrumb, h1, .subtitle, main > p, h2, 
    .links-clean-group, .illustration-box, footer, .author-box, .print-btn {
        display: none !important;
    }
    
    .story-container {
        display: flex !important;
        border: none !important;
        background-color: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .story-img {
        max-width: 140px !important;
    }

    .story-text {
        font-size: 24pt !important;
        line-height: 1.6 !important;
        color: #000000 !important;
    }

    .story-text h3 {
        font-size: 22pt !important;
        color: #000000 !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    .story-text:after {
        content: "© Papa-noel.be";
        display: block;
        margin-top: 50px;
        font-size: 14pt !important;
        font-family: Arial, sans-serif;
        font-style: italic;
        color: #555555;
        border-top: 1px solid #CCCCCC;
        padding-top: 10px;
    }
}


<!-- style externe pour personnaliser-texte-noel-1.php --------------------------------------------------------------------------------- -->



 <!-- [CONSIGNE 3 & 7] Ajustements requis pour l'alignement à gauche et le style du bouton -->
   
        /* Conteneur du formulaire aligné à gauche */
        .form-column {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Aligne tous les éléments enfants à gauche */
            gap: 15px;
            margin-top: 20px;
        }

        .form-group {
            width: 100%;
            max-width: 400px;
            text-align: left; /* Aligne le texte des labels à gauche */
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            font-size: 16px;
            color: #000000;
        }

        /* Style des inputs aligné à gauche */
        .input-text {
            width: 100%;
            padding: 12px 16px;
            font-size: 16px;
            font-family: inherit;
            border: 2px solid #ccc;
            border-radius: 8px;
            outline: none;
            transition: all 0.3s ease;
            box-sizing: border-box;
            text-align: left; /* Saisie du texte à gauche */
        }

        .input-text:hover { border-color: #999; }
        .input-text:focus {
            border-color: #ff0000;
            box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
        }

        /* --- Style du bouton de validation --- */
        input[type="submit"] {
            background-color: #d32f2f; /* Rouge Noël chaleureux */
            color: #ffffff;
            font-size: 16px;
            font-weight: bold;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.2s ease;
            display: inline-block;
        }

        /* Effets sur le bouton au survol et au clic */
        input[type="submit"]:hover {
            background-color: #b71c1c; /* Rouge un peu plus foncé au survol */
            transform: translateY(-1px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }

        input[type="submit"]:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Forçage des textes en noir complet */
        .seo-intro-text p, .seo-intro-text h2, .story-text p, .story-text h2 {
            color: #000000 !important;
        }

        /* Règle d'impression identique au modèle */
        @media print {
            body * { visibility: hidden; margin: 0; padding: 0; }
            .story-text, .story-text * { visibility: visible; }
            .story-text { position: absolute; left: 0; top: 0; width: 100%; }
        }
    


