/* === DETTAGLIO EVENTO === */
.evento-dettaglio {
    padding: 4rem 1rem;
    background-color: var(--color-box);
    position: relative;
  }
  
  .evento-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .evento-titolo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .evento-data {
    font-size: 0.9rem;
    color: var(--color-muted);
  }
  
  /* Mobile: testo centrato, immagini sotto */
  .evento-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .evento-descrizione {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
  }
  
  /* Cornice immagine con forma irregolare */
  .evento-shape-img {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background-color: #fff;
    padding: 1rem;
    clip-path: path("M0,60 Q60,0 120,40 T240,60 T360,40 T480,60 L480,360 L0,360 Z");
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  
  .evento-shape-img img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  .evento-shape-img img:hover {
    transform: scale(1.02);
  }
  
  /* Desktop: testo a sinistra, immagini a destra */
  @media (min-width: 992px) {
    .evento-content {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
    }
  
    .evento-descrizione {
      flex: 1;
      margin-right: 2rem;
      text-align: left;
    }
  
    .evento-immagini {
      flex: 1;
      max-width: 600px;
    }
  }
  
  /* === Sezione evento === */
.evento-dettaglio {
    padding: 10px;
    min-height: calc(100vh - 60px); /* fa sì che il footer scenda se poco contenuto */
    display: flex;
    align-items: start;
    flex-direction: column;
  }
  
  .evento-header {
    margin-bottom: 1rem;
  }
  
  .evento-titolo {
    font-family: 'Playfair Display', serif;  /* oppure un font decorativo se desideri */
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--bs-dark);
  }
  
  .evento-data {
    font-size: 0.9rem;
    color: #999;
  }
  
  .evento-descrizione {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
  }
  
  .evento-immagini img,
  .evento-shape-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .evento-shape-img {
    padding: 10px;
    background: linear-gradient(135deg, #fdfdfd, #f1f1f1);
    border-radius: 24px 60px 20px 50px / 40px 30px 50px 30px; /* curva fluida */
  }
  
  /* Hover effetto */
  .evento-immagini img:hover {
    transform: scale(1.03);
    cursor: zoom-in;
  }
  
  /* Layout responsive immagini */
  @media (min-width: 768px) {
    .evento-dettaglio .container > .row {
      flex-wrap: nowrap;
      align-items: flex-start;
    }
    .evento-descrizione {
      padding-right: 1.5rem;
    }
    .evento-immagini {
      padding-left: 1.5rem;
    }
  }
  