/*
Theme Name: Arzus
Author: Le Retour des Dragons
Description: A theme of Arzus
Version: 1.0.0
Text Domain: arzus-lang
*/

/* ==========================================================================
   1. STYLES GÉNÉRAUX & ÉLÉMENTS DE MISE EN PAGE
   ========================================================================== */
.item img { width: 100%; -moz-transition: all 0.3s; -webkit-transition: all 0.3s; transition: all 0.3s; } 
.item { position: relative; border: 1px solid #ccc; overflow: hidden; } 
.item:hover img { -moz-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); } 

.tl-main-nav { height: 0px; position: relative; z-index: 9999; } 
.tl-hp-head-and-con.noimg { margin-top: 10px !important; } 
.arzus-trendy-area { display: none; }
.home-post-outer .tl-rp-head h2 { padding: 8px 10px; } 
.tl-rp-head h2, .multi-tab-header > span { padding: 8px 10px !important; } 

/* Navigation */
.navigation-arzus li { display: inline; } 
.navigation-arzus li a, 
.navigation-arzus li a:hover, 
.navigation-arzus li.active a, 
.navigation-arzus li.disabled { 
    color: #fff; 
    text-decoration: none; 
    background-color: #6FB7E9; 
    border-radius: 3px; 
    cursor: pointer; 
    padding: 12px; 
    padding: 0.75rem; 
} 
.navigation-arzus li a:hover, 
.navigation-arzus li.active a { background-color: #3C8DC5; } 

/* Footer & Branding */
.credits { height: auto !important; line-height: 24px !important; padding: 10px 0; text-align: center; } 
.site-branding { display: inline-block; float: none; margin: 15px auto; text-align: center; width: 330px; } 

/* ==========================================================================
   2. HEADER & ANIMATIONS (Parallax/Shrink)
   ========================================================================== */
.main-header { 
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0; 
    height: auto !important; 
    line-height: inherit !important; 
    background-size: 110% 110%; 
    background-position: center center; 
    animation: shrink 10s infinite alternate; 
    -webkit-animation: shrink 10s infinite alternate;  
    position: relative;
    z-index: 100;
} 

@keyframes shrink { 100% { background-size: 110% 110%; } 0% { background-size: 100% 100%; } } 
@-webkit-keyframes shrink { 100% { background-size: 110% 110%; } 0% { background-size: 100% 100%; } } 

.headerleft { display: inline-block; float: none; max-width: 100% !important; text-align: center; width: 100%; } 
.headerleft h1, .headerleft h2 { line-height: inherit; } 
.headerright { display: none !important; } 

/* Spécificités Home Page */
.home .site-branding { width: auto; margin: 0; } 
.home .headerleft { width: auto; } 
.home .headerleft h1, .home .headerleft h2 { line-height: 600px !important; } 
@media screen and (min-width: 801px) {
    .home .headerright { display: block !important; line-height: 600px; }
} 

.tl-header-inner.header-container { margin-bottom: 25px; } 
.arzus-header-ad { position: relative; top: 5px; } 

/* ==========================================================================
   3. ARCHITECTURE LISEUSE PREMIUM (V5 - Arzus Wide)
   ========================================================================== */

/* Uniquement sur Desktop (> 800px) */
@media screen and (min-width: 801px) {
    /* Force le conteneur principal à 800px */
    body.single-post.wide .sp-single-content.tl-col-12 {
        max-width: 800px !important;
        margin: 0 auto !important;
        float: none !important;
        width: 100% !important;
        display: block !important;
    }

    /* Cadrage du texte et des éléments internes à 749px */
    body.single-post.wide .single-post-inner-content,
    body.single-post.wide .single-image-content,
    body.single-post.wide hr {
        max-width: 749px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    /* Ajustement de l'image à la une (format 800px) */
    body.single-post.wide .single-image-outer.the-image-post img {
        width: 100% !important;
        height: auto !important;
        max-width: 800px !important;
        max-height: 450px !important;
    }
}

/* Protection de l'affichage sur mobile */
@media screen and (max-width: 800px) {
    body.single-post.wide .sp-single-content.tl-col-12 {
        max-width: 100% !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 25px !important;
        box-sizing: border-box !important;
    }
    body.single-post.wide .single-post-inner-content,
    body.single-post.wide .single-image-content {
        max-width: 100% !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   4. IMAGE EN-TETE DES PAGES - PLEINE LARGEUR MOBILE
   ========================================================================== */
@media screen and (max-width: 980px) {
    body.page .single-post-top {
        margin-left: -25px !important;
        margin-right: -25px !important;
        width: calc(100% + 50px) !important;
        overflow: hidden !important;
    }
    body.page .single-post-top .single-image-outer img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    body.page .sp-layout-5 .single-image-content {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}


/* ==========================================================================
   5. ALERTE DE COPIE (SOFT PROTECTION)
   ========================================================================== */
#copy-notice {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    opacity: 1;
    transition: opacity 0.5s ease;
}
@media screen and (max-width: 800px) {
    #copy-notice {
        bottom: 115px !important;
        width: 90%;
        font-size: 12px;
    }
}
/* Message commentaire en attente d'approbation */
em.comment-attente {
    color: #FF3300 !important;
}

/* Justification des blocs left-blue (signature et credits) */
.left-blue {
    text-align: justify;
}

/* Blockquote pleine largeur sur mobile */
@media screen and (max-width: 800px) {
    .sp-single-content blockquote {
        width: 100% !important;
    }
}

/* FAQ SASWP - alignement et taille coherents avec le corps du texte */
.saswp_faq_tiny_content {
    font-size: 1.2em !important;
    line-height: 2.1em !important;
    text-align: justify !important;
}

/* ==========================================================================
   5. FORMULAIRE COMMENTAIRES - CHAMPS NOM ET COURRIEL COTE A COTE
   ========================================================================== */
@media screen and (max-width: 800px) {
    #commentform p.comment-form-author,
    #commentform p.comment-form-email {
        float: none !important;
        width: 48% !important;
        display: inline-block !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }
    #commentform p.comment-form-author {
        margin-right: 2% !important;
    }
    #commentform p.comment-form-author input[type="text"],
    #commentform p.comment-form-email input[type="email"] {
        display: block !important;
        width: 100% !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 8px 10px !important;
        line-height: 40px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   6. RESPONSIVE & MEDIA QUERIES EXISTANTS (Thème)
   ========================================================================== */
@media only screen and (max-width: 1100px) { 
    .home .headerleft h1, .home .headerleft h2 { line-height: inherit !important; } 
    .home .headerleft.pull-left { max-width: 100%; text-align: center; margin: 25px 0 !important; } 
    .main-header { animation: none; -webkit-animation: none; } 
    .site-branding { width: 320px; margin: 5px auto 15px; } 
    .headerleft.pull-left, .headerright.pull-right { margin: 10px auto 5px !important; } 
} 

@media only screen and (min-width: 480px) and (max-width: 1100px) { 
    .tl-header-inner.header-container { margin-bottom: 25px !important; } 
    .category .tl-content-wrapper, .tag .tl-content-wrapper, .archive .tl-content-wrapper, 
    .search .tl-content-wrapper, .author .tl-content-wrapper, .date .tl-content-wrapper, 
    .error404 .tl-content-wrapper { margin-top: 25px !important; } 
} 

@media only screen and (max-width: 479px) { 
    .tl-header-inner.header-container { margin-bottom: 0; } 
    .category .tl-content-wrapper, .tag .tl-content-wrapper, .archive .tl-content-wrapper, 
    .search .tl-content-wrapper, .author .tl-content-wrapper, .date .tl-content-wrapper, 
    .error404 .tl-content-wrapper { margin-top: 0 !important; } 
    .sticky-left-title { display: block !important; } 
}

/* Sources et rÃ©fÃ©rences â€” bloc EEAT */
.sources-block { margin-top: 20px; }
.sources-block .sources-label { font-size: 0.85em; color: #999; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px; }

/* ==========================================================================
   7. FORMULAIRE DE CONTACT â€” [contact_dragons]
   749px â€” alignement colonne unique articles
   ========================================================================== */

/* Honeypot â€” masquÃ© visuellement ET pour les lecteurs d'Ã©cran */
.cf-honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Conteneur principal â€” 749px centrÃ©, cohÃ©rent avec la liseuse */
.cf-wrap {
    max-width: 749px;
    margin: 0 auto;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    color: #222222;
}

/* Intro */
.cf-intro {
    font-size: inherit;
    line-height: 1.8;
    margin-bottom: 28px;
    color: #222222;
    font-weight: normal;
}

/* Messages de retour (succÃ¨s / erreur) */
.cf-message {
    padding: 12px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
    font-size: inherit;
    line-height: 1.7;
}
.cf-success {
    background: #f0f8e8;
    border-left: 3px solid #5a9a3a;
    color: #3a6a1e;
}
.cf-error {
    background: #fdf2f2;
    border-left: 3px solid #cc4444;
    color: #992222;
}

/* Formulaire */
.cf-form {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

/* RangÃ©e Ã  deux colonnes (PrÃ©nom + Nom) */
.cf-row-deux {
    display: flex;
    gap: 2%;
}
.cf-row-deux .cf-field {
    flex: 1;
    min-width: 0;
}

/* Champ individuel */
.cf-field {
    margin-bottom: 18px;
}

/* Labels â€” identiques au #commentform */
.cf-field label {
    display: block;
    margin-bottom: 2px;
    font-size: inherit;
    font-weight: normal;
    color: #222222;
}

/* Inputs et textarea â€” identiques au #commentform (main.css ll. 4415â€“4533) */
.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form textarea {
    width: 100%;
    background: inherit;
    border: 1px solid #dddddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    color: #222222;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.cf-form input[type="text"],
.cf-form input[type="email"] {
    padding: 6px 10px;
    height: 36px;
    line-height: 36px;
}
.cf-form textarea {
    padding: 10px;
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

/* Hover â€” identique au #commentform */
.cf-form input[type="text"]:hover,
.cf-form input[type="email"]:hover,
.cf-form textarea:hover {
    border: 1px solid rgba(0, 0, 0, 0.22);
}

/* Focus â€” accessibilitÃ© */
.cf-form input[type="text"]:focus,
.cf-form input[type="email"]:focus,
.cf-form textarea:focus {
    outline: 2px solid #0099e5;
    outline-offset: 1px;
    border-color: #0099e5;
}

/* Bouton â€” identique Ã  form#commentform input#submit (main.css ll. 4519â€“4533 + 4598â€“4601) */
.cf-submit {
    margin-top: 20px;
}
.cf-btn {
    display: inline-block;
    width: auto;
    padding: 8px 18px;
    border: none;
    border-radius: 2px;
    background: #0099e5;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    -webkit-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
}
.cf-btn:hover {
    background: #222222;
    color: #ffffff;
}
.cf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.cf-footer {
    margin-top: 2.5rem;
    font-size: 13px;
    line-height: 1.6;
    color: #808080;
}

/* Mobile â€” formulaire contact */
@media screen and (max-width: 800px) {
    .cf-wrap {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .cf-row-deux {
        flex-direction: column;
        gap: 0;
    }
    .cf-form textarea {
        min-height: 160px;
    }
}
/* Pages sans image Ã  la une (sp-layout-4)
   Neutralise la barre grise et remet le h1 en flux centrÃ©.
   Les rÃ¨gles text-transform et font-size 44px sont restreintes
   aux posts dans Additional CSS Redux (body.single-post). */
.sp-layout-4 .single-post-top .single-image-outer img[src="""] {
    display: none !important;
}

.sp-layout-4 .single-post-top .single-image-outer {
    background: transparent !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
}

.sp-layout-4 .single-post-top .single-image-outer:before {
    display: none !important;
}

.sp-layout-4 .single-post-top .single-image-content {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 20px 0 10px 0 !important;
    text-align: center !important;
    background: transparent !important;
    z-index: auto !important;
}

.sp-layout-4 .single-post-top .single-image-content h1 {
    color: #222222 !important;
    text-shadow: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
    .cf-intro {
        text-align: left !important;
        font-size: 14px;
        line-height: 1.7;
    }
    .cf-row-deux {
        flex-direction: column;
        gap: 0;
    }
    .cf-form input[type="text"],
    .cf-form input[type="email"] {
        height: 44px !important;
        line-height: 44px !important;
        font-size: 16px !important;
        padding: 8px 10px !important;
    }
    .cf-form textarea {
        font-size: 16px !important;
        padding: 10px !important;
    }
    .cf-field label {
        font-size: 14px !important;
    }
    .cf-btn {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 15px !important;
        text-align: center;
    }
    .cf-footer {
        font-size: 13px;
        text-align: left !important;
    }
}


