/* Base structure for the event layout */
.satakunta-event-single {
  display: flex;
  flex-direction: column;
  width: 860px;
  max-width: 100%;
  margin: 2rem auto;
}

/* Hero section structure */
.event-hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.event-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height while maintaining aspect ratio */
}

.event-hero-content {
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem 2rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.event-title {
  width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}

.event-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  justify-content: center;
  font-weight: 600;
}

.event-back-button {
  margin-bottom: 1rem;
  .event-back-button-link {
    font-weight: 600;
  }
}

.event-date-time,
.event-price-badge,
.event-audience,
.event-back-button-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
}

.event-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto; /* Push to the right */
}

/* Container for main content */
.event-content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2rem;
}

/* Event description structure */
.event-description {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 2rem;
}

/* Event details structure */
.event-details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.event-details-title {
  width: 100%;
  margin-bottom: 1.5rem;
}

.event-details-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.event-detail-item {
  display: flex;
  flex-direction: column;
}

.event-detail-heading {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.event-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-wrap: break-word;
}

.event-audience-list,
.event-keywords-list {
  margin-top: 0;
}

.event-price-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.event-price-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.event-price-amount {
  white-space: nowrap;
}

.event-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-quick-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-cta-button {
    margin-left: 0;
    margin-top: 1rem;
  }

  .event-details-grid {
    grid-template-columns: 1fr;
  }
}
