/* ========================
   SLIDER & SLIDE TEXT
   ======================== */
.hero-slider,
.hero-slider .swiper-container,
.hero-slider .swiper-slide {
  /* full-height su mobile, normal su desktop */
  height: auto;
}
@media (max-width: 768px) {
  .hero-slider,
  .hero-slider .swiper-container,
  .hero-slider .swiper-slide {
    height: 100vh !important;
  }
}
.hero-slider .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-slider .swiper-slide img {
    height: 100%;
  }
}

/* testo centrato sopra l’immagine (desktop) */
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 900px;
  padding: 40px 60px;
  color: #fff; text-align: center;
  z-index: 2;
}
.slide-text::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  z-index: -1;
}
.slide-text h2 {
  font-family: 'Prata', serif;
  font-size: 48px; margin-bottom: 10px;
  opacity: 0; animation: fadeInDown 1.5s ease-in-out forwards;
}
.slide-text p {
  font-family: 'Muli', sans-serif;
  font-size: 18px; line-height: 1.5;
  opacity: 0; animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 0.5s;
}
.slide-text .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #7A3E3A;
  color: #fff; text-decoration: none;
  border-radius: 5px;
  opacity: 0; animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 1s;
}

/* reposition testo e ridimensiona su mobile */
@media (max-width: 768px) {
  .slide-text {
    top: auto; bottom: 20%;
    left: 50%; transform: translateX(-50%);
    padding: 20px;
  }
  .slide-text h2 { font-size: 2em; }
  .slide-text p  { font-size: 1.2em; }
  .slide-text .btn { padding: 10px 20px; }
}

/* frecce e bullet */
.swiper-button-next,
.swiper-button-prev {
  color: #7A3E3A !important;
}
.swiper-button-next { right: 30px !important; }
.swiper-button-prev { left: 30px !important; }
.swiper-pagination-bullet {
  background-color: #7A3E3A !important;
  border: 2px solid #fff !important;
  opacity: 0.6; width: 12px; height: 12px;
}
.swiper-pagination-bullet-active {
  opacity: 1; transform: scale(1.2);
}

/* animazioni */
@keyframes fadeInDown {
  from { transform: translate(-50%, -60px); opacity: 0; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes fadeInUp {
  from { transform: translate(-50%, 60px); opacity: 0; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}


/* ========================
   PROSSIME INIZIATIVE (EVENTS)
   ======================== */
.latest-event { padding: 80px 0; text-align: center; background: #fff; }
.events-carousel {
  display: flex; gap: 20px;
}
.event-item {
  background: #fff; border: 1px solid #ddd;
  border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center; padding: 15px;
  display: flex; flex-direction: column;
}
.event-item img {
  width: 100%; height: auto; border-radius: 10px;
}
.event-details h3 { font-size: 1.2em; margin: 10px 0; }
.event-details p  { font-size: 0.9em; color: #666; }
.event-details a {
  display: inline-block; margin-top: 10px;
  color: #9D504A; text-decoration: none;
}
.event-details a:hover { text-decoration: underline; }

/* Slick responsive */
@media (max-width: 768px) {
  .events-carousel {
    flex-direction: column; align-items: center;
  }
  .events-carousel .event-item {
    width: 100%; max-width: 300px;
  }
}


/* ========================
   NOTIZIE IN PRIMO PIANO (BLOG)
   ======================== */
.latest-blog { padding: 80px 0; text-align: center; background: #f5f5f5; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.blog-item {
  background: #fff; border: 1px solid #ddd;
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
}
.blog-item img {
  width: 100%; height: auto; object-fit: cover;
}
.blog-item-content {
  padding: 15px; flex: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.blog-item h3 { font-size: 1.2em; margin: 10px 0; }
.blog-item p  { font-size: 0.9em; color: #666; }
.blog-item a {
  display: inline-block; margin-top: 10px;
  color: #9D504A; text-decoration: none;
}
.blog-item a:hover { text-decoration: underline; }

/* una sola colonna su mobile */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================
   SEZIONI GENERALI & BUTTON
   ======================== */
.block-title__tag-line {
  display: inline-block; margin: 0;
  font-size: 14px; text-transform: uppercase;
  color: #a5a5a5;
  border-top: 2px solid #9D504A; padding-top: 20px;
}
.block-title__title {
  font-family: 'Prata', serif;
  font-size: 2rem; margin: 15px 0 20px;
  color: #302e2f; font-weight: 500; line-height: 1.2;
}
.block-title__sub-title {
  font-family: 'Prata', serif;
  font-size: 1.5rem; margin-bottom: 30px;
  color: #302e2f;
}
.about-two__text {
  text-align: justify; line-height: 2;
  letter-spacing: 2px; margin-bottom: 30px;
}
.thm-btn,
.thm-btn:visited {
  display: inline-block; padding: 12px 52px;
  background-color: #9D504A;
  color: #fff; text-decoration: none;
  text-transform: uppercase; font-size: 13px;
  border-radius: 4px; transition: all .4s ease;
}
.thm-btn:hover { color: #ff5722; text-decoration: underline; }

/* spacing section */
.section-spacing { margin: 150px 0; }
@media (max-width: 767px) {
  .section-spacing { margin: 50px 0; }
  .thm-btn-cs { display: block; margin: 0 auto 50px; }
}
/* Stile personalizzato per i player audio */
audio {
  width: 100%;
  max-width: 600px;   /* limita la larghezza su schermi grandi */
  margin: 1em 0;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Rende i controlli un po' più visibili */
audio::-webkit-media-controls-panel {
  background-color: #f5f5f5;
  border-radius: 12px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-volume-slider {
  filter: brightness(0.9);
}

