h1 {
  margin-bottom: 40px;
}

.event-tickets-button {
  flex-shrink: 0;
  white-space: nowrap;
}

.blocks {
margin-top:40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
"event-title media"
    "tickets media"
    "performances media"
"event-details media";
}

.tickets {
  grid-area: tickets;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
margin-bottom: 40px;
}

.event-price {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.media {
  grid-area: media;
  display: flex;

  align-items: flex-start;
  flex-direction: column;
  gap: 40px;
  margin-right: 0;
}



.event-media-container {
  position: relative;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  min-width: 320px;
  flex-shrink: 0;
  overflow: hidden;
  margin-left: auto;
  margin-right: 0;
}

.event-image.no-image {
  width: 100%;
  height: 200px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-muted);
}

.event-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.event-badge {
  display: block;
  background: var(--color-dark-blue);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;

}



.event-detail-description {
  margin-bottom: 40px;

  text-align: left;
}

.event-meta-item {
  display: flex;
  gap: 40px;
}

.event-meta-item>*{
display: block;
}

.event-meta-item .label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-meta-item .value {
  font-size: 16px;
  font-weight: 400;
}

.event-venue-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.event-venue-info p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.event-venue-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-venue-meta li {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px 0;
  padding-left: 0;
  position: relative;
}

.event-venue-meta li strong {
  color: var(--text);
  font-weight: 600;
}

.event-reviews {
  margin-top: 40px;
}

.review-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-image-container picture {
  display: block;
  width: 100%;
  height: 100%;
}

.review-rating-text{
font-weight: 400;
font-size:16px;
}

.event-review-summary {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
  border: 1px solid var(--border);
}

.review-text {
  max-height: 100px;
  -webkit-line-clamp: 5;
  color: var(--color-dark-blue);
  line-height: 1.5;
  margin: 0 0 10px 0;
  font-size: var(--font-body-14-size);
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-box-orient: vertical;
}

.review-date {
  color: #2974B9;
  font-size: var(--font-body-14-size);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
 margin-top: auto;
}

.review-body {
  padding: 12px 12px 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
  width: 100%;
  min-width: 0;
}

.event-review-summary strong {
  font-size: 24px;
  color: var(--text);
}

.related-shows {
  margin-top: 40px;
}

.related-shows-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.related-shows-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.performances {
  grid-area: performances;
margin-bottom: 40px;
}
.performances-header {
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 150%;
color: white;

}

.performance-list {
  list-style: none;
  padding: 0;

  display: flex;
  gap: 16px;
}
.performance-date {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 110%;
}

.performance-schedule {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.performance-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid white;
  border-radius: 10px;
  padding: 10px 15px;
color: white;
}

.video-card {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: transparent;
}

.video-card__poster,
.video-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__poster {
  opacity: 1;
  transition: opacity 0.35s ease;
  will-change: opacity;
}
.video-card.is-playing .video-card__poster {
  opacity: 0;
  pointer-events: none;
}

.video-card__playhint {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    opacity 0.3s ease;
  display: none;
}

.video-card__playhint::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 18px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video-card__playhint:hover {
  transform: scale(1.05);
}

.video-card.is-playing .video-card__playhint {
  opacity: 0;
  pointer-events: none;
}

@supports (-webkit-appearance: none) {
  .video-card__playhint {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

@media (max-width: 820px) {
  h1 {
  margin-bottom: 0;
  }

  .tickets {
    flex-direction: column;
    gap: 2px;
margin-bottom:20px;
  }

  .event-venue-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .performances-header {
  color: var(--color-dark-blue);
}

  .performance-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  
  }

  .performance-item {
    flex: 0 0 auto;
border: 1px solid var(--color-dark-blue);
color: var(--color-dark-blue);

  }

  .event-meta-item .value,
  .event-detail-description {
    color: var(--color-dark-blue);
  }

  .event-detail-description {
    font-size: 16px;
    line-height: 1.5;
  }

.event-name{
grid-area: event-name;
text-align: center;
margin-bottom: 30px;
}

  .blocks {
    grid-template-columns: 1fr;
    grid-template-areas:
"event-name"
      "tickets"
      "media"
      "performances";
    margin-top: 30px;
 padding-left: 0;
  padding-right: 0;
  }

  .media {
    justify-content: center;
    margin-right: 0;
margin-right: 0;
  padding-left: 0;
  padding-right: 0;
margin-bottom: 20px;
  }

  .event-media-container {
margin-left: auto;
  margin-right: auto;
  width: auto;
  width: 100%;
  }

.event-meta-item {
   
    gap: 20px;
    flex-direction: column;
}

  .related-shows-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }

  .review-image-container picture {
    width: 100%;
    height: auto;
    display: block;/
  }
}
