/* 
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 */
/* Password form with black text + default button */

.post-password-form {
  border: 3px solid #CD3232;
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  text-align: center;
  background-image: url(./cadre-recherche.jpg)!important;
  background-repeat: round;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin: 5% auto!important;
  animation: fadeIn 0.6s ease-in-out;
}
.post-password-form label{
	font-size: 15px;
}
.post-password-form p{
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}
.post-password-form-invalid-password[role="alert"] {
  background: #ffe5e5;
  border-left: 4px solid #ff6b6b;
  padding: 10px 12px;
  margin: 0 0 12px 0;
  border-radius: 4px;
  color: #000; /* black text */
  font-weight: 600;
}

/* label + input alignment */
.post-password-form p > label {
  margin: 0 0 12px 0;
  font-weight: 500;
  color: #000;
  width: 100%;
}
/* label + input alignment */
.post-password-form p > input {
	margin: auto 6px;
}

/* Input styling only */
.post-password-form input[type="password"] {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  color: #000;
  background: #fff;
}

/* Focus effect */
.post-password-form input[type="password"]:focus {
  border-color: #0073aa;
  outline: none;
}

/* Button remains browser default */
.wpcf7-form label {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    line-height: 34px;
    letter-spacing: 0;
    word-spacing: 0;
    color: #323232 !important;
}
.wpcf7-form p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #323232 !important;
}
/* ---- Style 404 personnalisé ---- */
.error-404.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh; 
  background: #ffffff;
  font-family: "Segoe UI", Roboto, sans-serif;
}

.ast-404-layout-1 {
  border: 3px solid #CD3232;
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  text-align: center;
  background-image: url(./cadre-recherche.jpg)!important;
  background-repeat: round;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease-in-out;
}

/* .no-results { */
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  /* min-height: 70vh;  */
  /* background: #ffffff; */
  /* font-family: "Segoe UI", Roboto, sans-serif; */
/* } */

.no-results {
  border: 3px solid #CD3232;
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  text-align: center;
  background-image: url(./cadre-recherche.jpg)!important;
  background-repeat: round;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease-in-out;
    margin: auto !important;
    font-size: 15px;
    font-weight: 500;
}

/* Titre principal */
.page-header .page-title {
  font-size: 15px;
  font-weight: 700;
  color: #CD3232;
  margin-bottom: 15px;
}

/* Sous-texte */
.page-sub-title {
  font-size: 15px!important;
  color: #555;
  margin-bottom: 25px;
}
/* Masquer le bouton texte en trop */
.search-form input.search-submit {
  display: none !important;
}
.no-results input.search-submit {
  display: block !important;
}

/* Champ + bouton icône alignés */
.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 350px;
  margin: 0 auto;
}

.search-form .search-field {
  flex: 1;
  padding: 12px 40px 12px 15px; /* espace à droite pour l’icône */
  border: 2px solid #CD3232;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.search-form .search-field:focus {
  border-color: #a52626;
  box-shadow: 0 0 5px rgba(205,50,50,0.5);
}

/* Bouton icône intégré à droite dans le champ */
.search-form button.search-submit.ast-search-submit {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: #CD3232;
  transition: 0.3s;
}

.search-form button.search-submit.ast-search-submit:hover {
  color: #a52626;
  transform: scale(1.1);
}

.ast-article-inner {
  border: 2px solid #CD3232;
  border-radius: 6px;
  padding: 15px;
  background-image: url(./cadre-recherche.jpg)!important;
  background-repeat: round;
  animation: fadeIn 0.6s ease-in-out;
}

.ast-article-inner p{
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #323232 !important;
	
}
/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
