/* Hero banner */
.hero-banner {
  max-height: 550px;
}

.hero-image {
  height: 550px;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.hero-title {
  max-width: 500px;
}

.hero-info-box {
  min-width: 250px;
  max-width: 300px;
}

/* A heading that leads to what it names -- the production in the banner, and
   each one in the row below. It keeps the colour and weight of the text around
   it and underlines only on hover, so a page of headings does not read as a
   list of links. */
.title-link {
  color: inherit;
  text-decoration: none;
}

.title-link:hover,
.title-link:focus-visible {
  text-decoration: underline;
}

/* Section headings */
.section-heading {
  font-weight: 700;
  position: relative;
}

/* Stage media: a picture, or a video that is only fetched once it is asked for */
.about-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background: linear-gradient(135deg, #333 0%, #666 100%);
}

.about-media-image,
.about-media-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.video-facade-button {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-facade-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--bs-primary, #b5332a);
  font-size: 1.75rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.video-facade-button:hover .video-facade-icon,
.video-facade-button:focus-visible .video-facade-icon {
  transform: scale(1.08);
  background: #fff;
}

.video-facade-fallback {
  position: absolute;
  inset: auto 0 1rem 0;
  text-align: center;
  color: #fff;
}

/* Partner logos */
.partner-logo-placeholder {
  transition: box-shadow 0.2s ease;
}

.partner-logo-placeholder:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  height: 100px;
}

.partner-logo-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* "Folge uns": the newest pictures the club has uploaded */
.gallery-tile {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  background: var(--bs-secondary-bg, #e9ecef);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-tile:hover .gallery-image,
.gallery-tile:focus-visible .gallery-image {
  transform: scale(1.05);
}
