/*
Theme Name: KeyDesign Pro Child
Theme URI: https://keydesign.xyz/
Description: KeyDesign Pro is a high-performance, developer-grade WordPress theme engineered to unlock the full potential of the Elementor ecosystem. Built as a lean and powerful foundation, it provides the ultimate starting point for creators who prioritize speed and clean architecture. By eliminating unnecessary bloat and focusing on deep integration, KeyDesign Pro ensures your website remains lightning-fast while offering the extended customizability required for professional-grade design systems. It is the perfect balance of simplicity and power for both boutique projects and complex business builds.
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Template: keydesign-pro
Version: 1.0
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: keydesign-pro-child
*/


/* ==========================================
   HERO ALCA PARCS & JARDINS
   Les largeurs sont gérées par Elementor
   ========================================== */

/* Conteneur principal */
.alca-hero {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    background-color: #FFFFFF;
    overflow: hidden;
}

/* Partie gauche */
.alca-hero > .alca-hero-texte {
    min-width: 0;
    box-sizing: border-box;
    background-color: #FFFFFF;

    /* Alignement grille 1240 px */
    padding-left: max(24px, calc((100vw - 1240px) / 2));

    /* Marge droite */
    padding-right: 40px;

    /* Marges verticales */
    padding-top: 65px;
    padding-bottom: 65px;
}

/* Partie droite */
.alca-hero > .alca-hero-photo {
    min-width: 0;
    min-height: 560px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Responsive */
@media (max-width: 1024px) {

    .alca-hero {
        flex-direction: column;
    }

    .alca-hero > .alca-hero-texte,
    .alca-hero > .alca-hero-photo {
        width: 100%;
        max-width: 100%;
    }

    .alca-hero > .alca-hero-texte {
        padding: 48px 24px;
    }

    .alca-hero > .alca-hero-photo {
        min-height: 350px;
    }
}

/* WPForms 34090 - Bordures des champs */
#wpforms-34090 input:not([type="checkbox"]),
#wpforms-34090 textarea,
#wpforms-34090 select {
    border: 1px solid #0e7d40 !important;
    transition: border-color 0.2s ease;
}

/* Champs au focus */
#wpforms-34090 input:not([type="checkbox"]):focus,
#wpforms-34090 textarea:focus,
#wpforms-34090 select:focus {
    border-color: #65bb49 !important;
    box-shadow: 0 0 0 1px #65bb49 !important;
    outline: none !important;
}

/* Bouton Envoyer */
#wpforms-34090 .wpforms-submit {
    background-color: #65bb49 !important;
    border-color: #65bb49 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease;
}

/* Bouton au survol */
#wpforms-34090 .wpforms-submit:hover,
#wpforms-34090 .wpforms-submit:focus {
    background-color: #0e7d40 !important;
    border-color: #0e7d40 !important;
    color: #ffffff !important;
}

/* Supprimer les 50px de marge en haut des single portfolio */
body.single-keydesign-portfolio article.article-single.no-thumbnail > .entry-content {
    margin-top: 0;
}