/* Lagrù — Contenuti e Rassegne CSS */
:root {
  --lr-green: #2e7d32;
  --lr-gray: #625f55;
  --lr-card-bg: #edeadf;
}

/* Badges */
.lr-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #e0ded4;
  color: var(--ink);
}
.lr-badge-in-programma, .lr-badge-programmato {
  background: var(--yellow);
  color: var(--ink);
}
.lr-badge-concluso {
  background: #e0ded4;
  color: var(--lr-gray);
}
.lr-badge-esaurito {
  background: var(--ink);
  color: var(--paper);
}
.lr-badge-annullato {
  background: var(--red);
  color: #fff;
}
.lr-badge-large {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  padding: 6px 14px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Event Cards */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.event-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  background: #e0ded4;
}
.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.event-card-media:hover img {
  transform: scale(1.035);
}
.event-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #edeadf;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 20px;
  text-align: center;
  gap: 8px;
}
.event-placeholder-icon {
  font-size: 32px;
}
.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.event-card .meta {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lr-gray);
}
.event-card .event-title {
  font-family: var(--lagru-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 6px;
}
.event-card .event-title a:hover {
  text-decoration: underline;
}
.event-card .description {
  font-size: 14px;
  color: var(--lr-gray);
  line-height: 1.45;
  margin-bottom: 12px;
}

/* Video Component */
.lr-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1d1c18;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 14px;
  margin-bottom: 24px;
}
.lr-video-play {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
}
.lr-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
  transition: opacity .3s, transform .4s;
}
.lr-video-play:hover .lr-video-poster {
  opacity: .9;
  transform: scale(1.02);
}
.lr-play-symbol {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform .2s, background .2s;
}
.lr-video-play:hover .lr-play-symbol {
  transform: scale(1.1);
  background: #b52e22;
}
.lr-video-label {
  position: relative;
  z-index: 2;
  font-family: var(--lagru-display);
  font-size: 18px;
  font-weight: 800;
  margin-top: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.lr-video-note {
  position: relative;
  z-index: 2;
  font-size: 12px;
  opacity: .85;
  margin-top: 4px;
}
.lr-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2a2824;
  color: #fff;
  padding: 24px;
  text-align: center;
  position: relative;
}
.lr-video-placeholder .lr-play-symbol {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.lr-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Galleria Foto */
.event-gallery-grid, .show-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 24px;
}
.gallery-photo-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #edeadf;
}
.gallery-photo-item img, .gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-photo-item:hover img {
  transform: scale(1.04);
}
.gallery-placeholder .ph-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e5e2d6;
  color: var(--lr-gray);
  border: 2px dashed #ccc7b6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}
.gallery-placeholder .ph-box small {
  font-size: 11px;
  opacity: .75;
}

/* Event Single Page */
.event-cover-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.event-main-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}
.event-cover-placeholder {
  background: var(--blue);
  color: var(--ink);
  padding: 48px 32px;
  border-radius: 8px;
  text-align: center;
}
.event-cover-placeholder .placeholder-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.event-cover-placeholder h2 {
  font-size: 36px;
  margin-bottom: 8px;
}
.section-subtitle {
  font-family: var(--lagru-display);
  font-size: 22px;
  font-weight: 800;
  margin: 20px 0 10px;
}
.event-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.event-meta-list li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #dfdbcf;
  padding-bottom: 8px;
  gap: 12px;
}
.event-meta-list .meta-label {
  color: var(--lr-gray);
  flex-shrink: 0;
}
.event-notes {
  margin-top: 14px;
  padding: 14px;
  background: #f7f4eb;
  border-radius: 6px;
  font-size: 14px;
}
.booking-cta {
  margin-top: 20px;
}
.event-story {
  margin-top: 30px;
}
.event-story h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.linked-production-box {
  margin-top: 24px;
}
.back-link {
  margin-top: 24px;
}

/* Media Query Mobile */
@media (max-width: 767px) {
  .event-gallery-grid, .show-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .event-meta-list li {
    flex-direction: column;
    gap: 2px;
  }
  .lr-video {
    margin-bottom: 18px;
  }
  .lr-play-symbol {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
  .event-cover-placeholder {
    padding: 32px 20px;
  }
  .event-cover-placeholder h2 {
    font-size: 28px;
  }
}
