:root {
  --blu-chiaro: #26a9ca;
}

/* * {
  outline: 1px solid red;
} */

.main-logo {
  max-width: 180px;
}
.img-wave {
  max-width: 430px;
}

.servizi-home svg {
  max-width: 24px;
}

.home-services-p {
  min-height: 6ch;
}

.page-hero-img {
  max-width: 100%;
  height: max(10vh, 100px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
@media (min-width: 992px) {
  .page-hero-img {
    height: max(30vh, 300px);
  }
}
.page-title-container {
  display: grid;
  place-content: center;
}
.page-title-container-overlay {
  background-image: url("images/waves.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-content: center;
  z-index: 1;
  opacity: 0.3;
}

.entry-title {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.48rem;
  color: #fff;
  text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.servizi-block img {
  border-radius: 1.5rem;
}

.full-width-div {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

a.wp-block-button__link {
  -webkit-transition: all 0.3s 0s ease;
  -moz-transition: all 0.3s 0s ease;
  -o-transition: all 0.3s 0s ease;
  transition: all 0.3s 0s ease;
  cursor: pointer;
}
a.wp-block-button__link:hover {
  background-color: var(--blu-chiaro) !important;
  color: #fff !important;
}

.narrow-div {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* LOGHI PARTNERS */
.page-id-20 .wp-block-gallery.has-nested-images figure.wp-block-image{
display: grid;
  place-items: center;
  height: 100%;
  position: relative;
  margin: 0;
  aspect-ratio: 1;
}
.page-id-20 .wp-block-gallery.has-nested-images figure.wp-block-image img {

  padding: min(3rem , 6%);
}

/* Stile generale del form */
.wpcf7-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background: #f8f9fa; /* Colore di sfondo leggero */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: "Arial", sans-serif;
}

/* Stile delle etichette */
.wpcf7-form label {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

/* Stile dei campi di input e textarea */
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

/* Effetto focus sugli input */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Stile del pulsante di invio */
.wpcf7-form button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.wpcf7-form input[type="submit"]{
	background-color: #26A9CA;
color: #fff;
	   transition: all 0.3s ease-in-out;
}

.wpcf7-form input[type="submit"]:disabled{
	  background-color: #ccc;
    color: #888;
    border: 1px solid #bbb;
    cursor: not-allowed;
    opacity: 0.5;
}





/* Effetto hover sul pulsante */
.wpcf7-form button:hover {
  background: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
  .wpcf7-form {
    width: 90%;
  }
}

.wpcf7-acceptance input[type="checkbox"] {
  margin-right: 2px;
  max-width: 1rem;
  max-height: 1rem;
  min-height: unset;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  width: 100%;
  font-size: 0.88rem;
}
