/* =========================
   EVENTS CALENDAR FIXES
========================= */

/* Nasconde "Tutti gli Eventi" */
.tribe-events-back {
  display: none !important;
}

/* Tag evento non cliccabili (Elementor widget) */
.tec-events-elementor-event-widget__tags-link {
  pointer-events: none !important;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* =========================
   CSS Prenotazione evento
========================= */

/* Wrapper principale */
#post-8544 {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Colonna sinistra: immagine */
#post-8544 .tribe-events-event-image {
  width: 40%;
}

#post-8544 .tribe-events-event-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Colonna destra: testo + durata + form */
#post-8544 .tribe-events-single-event-description {
  width: 55%;
}

/* Form sotto */
#post-8544 .jetpack-contact-form-container {
  margin-top: 30px;
}

/* Rendiamo il blocco description più "alto" */
.tribe-events-single-event-description {
  margin-bottom: 30px;
}

/* =========================
   MOBILE EVENTS LAYOUT
========================= */

@media (max-width: 768px) {

  /* Disattiva layout a colonne */
  #post-8544 {
    display: block !important;
  }

  /* Immagine full width */
  #post-8544 .tribe-events-event-image {
    width: 100% !important;
    margin-bottom: 20px;
  }

  #post-8544 .tribe-events-event-image img {
    width: 100%;
    height: auto;
  }

  /* Contenuto full width */
  #post-8544 .tribe-events-single-event-description {
    width: 100% !important;
    padding: 0 15px;
  }

  /* Reset paragrafi */
  #post-8544 .tribe-events-single-event-description p {
    width: 100% !important;
    margin-bottom: 18px;
  }

  /* Form full width */
  #post-8544 .jetpack-contact-form-container {
    width: 100%;
    margin-top: 25px;
  }

}

/* =========================
   TITOLO EVENTO
========================= */

.tribe-events-single-event-title {
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #CC0000;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .tribe-events-single-event-title {
    font-size: 30px;
  }
}

/* =========================
   DATE EVENTO
========================= */

.tribe-events-schedule {
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000; /* puoi cambiarlo se vuoi più leggero */
  margin-bottom: 15px;
}

.tribe-events-schedule span {
  font-weight: 600;
}

/* =========================
   DESCRIZIONE + DURATA
========================= */

.tribe-events-single-event-description {
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
}

/* Paragrafi */
.tribe-events-single-event-description p {
  margin-bottom: 16px;
}

/* =========================
   SPACING FORM
========================= */

/* Spazio tra i campi */
.jetpack-contact-form-container .grunion-field-wrap {
  margin-bottom: 20px;
}

/* Spazio tra label e input */
.jetpack-contact-form-container label {
  display: block;
  margin-bottom: 6px;
}

/* Input e textarea */
.jetpack-contact-form-container input,
.jetpack-contact-form-container textarea {
  padding: 12px;
  border-radius: 6px;
}

/* Bottone */
.jetpack-contact-form-container button {
  margin-top: 15px;
}

/* =========================
   BUTTON FORM STYLE
========================= */

.jetpack-contact-form-container button {
  background-color: transparent;
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #D00018;

  border: 1px solid #D00018;
  border-radius: 38px;

  padding: 12px 30px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: all 0.3s ease;
}

.jetpack-contact-form-container button:hover {
  background-color: #D00018;
  color: #fff;
}

