/*
Theme Name: Qualitamiele child theme
Theme URI: 
Author: DStile
Author URI: 
Description: Un child theme personalizzato per Qualitamiele
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 0.2.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: qualitamiele-child-theme
Tags: 
*/
body {
  background-color: var(--wp--preset--color--accent-3);
}
body .wp-site-blocks {
  background-color: var(--wp--preset--color--base);
}

.custom-bg {
  overflow: hidden;
}
.custom-bg::before, .custom-bg::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  background-size: 15vw;
  background-repeat: no-repeat;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .custom-bg::before, .custom-bg::after {
    background-size: 35vw;
  }
}
.custom-bg::before {
  background-position: bottom left;
  bottom: -5%;
  left: -5%;
}
.custom-bg::after {
  background-position: top right;
  top: -5%;
  right: -5%;
}

@media screen and (min-width: 768px) {
  .castagno-overflow img {
    min-width: 115%;
  }
}

.inline-hfont,
.has-inline-color {
  font-family: var(--wp--preset--font-family--larken-bolditalic);
}

@media screen and (min-width: 768px) {
  .custom_indent {
    padding-left: 9rem;
  }
}

/* --- Stile Moderno per Contact Form 7 su Twenty Twenty-Five --- */
/* 1. Contenitore principale */
.wpcf7 {
  max-width: 650px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Ombra leggerissima */
}

/* 2. Etichette (Labels) */
.wpcf7 label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/* 3. Input di testo, Email e Textarea */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-family: inherit;
  font-size: 16px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Cruciale per il responsive */
}

/* 4. Effetto Focus (quando l'utente clicca nel campo) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--accent-3) !important;
  background-color: #fff;
  -webkit-box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
          box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* 5. Il Pulsante di Invio (Submit) */
.wpcf7-submit {
  display: inline-block;
  padding: 14px 40px !important;
  background-color: var(--wp--preset--color--accent-3) !important; /* Colore primario */
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important; /* Arrotondato elegante */
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.2s ease !important;
  transition: background-color 0.3s ease, -webkit-transform 0.2s ease !important;
  transition: transform 0.2s ease, background-color 0.3s ease !important;
  transition: transform 0.2s ease, background-color 0.3s ease, -webkit-transform 0.2s ease !important;
  width: 100%; /* Su mobile occupa tutto lo spazio */
}

.wpcf7-submit:hover {
  background-color: var(--wp--preset--color--accent-3) !important;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.wpcf7-submit:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* 6. Messaggi di errore e successo */
.wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda !important;
  color: #155724 !important;
}

.wpcf7-validation-errors {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

/* 7. Adattamento Desktop */
@media (min-width: 768px) {
  .wpcf7-submit {
    width: auto; /* Torna a dimensione naturale su PC */
  }
}/*# sourceMappingURL=style.css.map */