/* Griglia generale */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 8rem;
  background-color: #f8f6f2;
}

/* Blocchi individuali */
.event-block {
  background-color: #f8f8f8;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0d6cd;
}

/* Effetto hover */
.event-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Titoli */
.event-block h3 {
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  color: #5a3e2b;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dbcbbf;
  padding-bottom: 0.5rem;
}

/* Testo */
.event-block p {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #3f3f3f;
  line-height: 1.6;
}
.video_container {
  display: flex;
  height: 600px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.video_event {
  display: flex;
  flex-direction: column;
  width: 40%;
  height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video_event video {
  object-fit: cover;
}
.descrizione_evento {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: 50px auto;
}
.descrizione_evento .testo_risto {
  display: flex;
  flex-direction: column;
  width: 90%;
}
.descrizione_evento .testo_risto p {
  display: flex;
  flex-direction: column;
  width: 80%;
}
.descrizione_evento .restaurant-title {
  display: flex;
  flex-direction: row;
  width: 90%;
  margin: 0 auto;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
  .event-grid {
    padding: 2rem; /* riduce padding laterale per schermi piccoli */
  }

  .event-block {
    padding: 2rem; /* meno padding interno per leggibilità */
  }

  .event-block h3 {
    font-size: 1.2rem;
  }

  .event-block p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .video_event {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70vh;
    align-items: center;
    justify-content: center;
  }
  .video_event video {
    height: 100%;
  }
  .descrizione_evento {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 20px auto;
  }
  .descrizione_evento .testo_risto {
    width: 90%;
  }
  .descrizione_evento .restaurant-title {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }
}
