/* Club media, focused photography and away atmosphere hero V1.1 */
.club-cinematic-hero {
  position: relative;
  min-height: 430px;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 30px;
  background: #080b10;
  box-shadow: 0 22px 60px rgba(5, 8, 13, .22);
  isolation: isolate;
}

.club-cinematic-background,
.club-cinematic-shade,
.club-cinematic-smoke,
.club-cinematic-flare {
  position: absolute;
  inset: 0;
}

.club-cinematic-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  filter: saturate(.78) contrast(1.08);
}

.club-cinematic-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, .96) 0%, rgba(5, 8, 13, .78) 45%, rgba(5, 8, 13, .22) 100%),
    linear-gradient(0deg, rgba(5, 8, 13, .74) 0%, transparent 52%);
}

.club-cinematic-smoke,
.club-cinematic-flare {
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.club-cinematic-smoke {
  inset: auto;
  width: 64%;
  height: 86%;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .24;
}

.club-cinematic-smoke.smoke-a {
  right: 10%;
  bottom: -24%;
  background: radial-gradient(circle at 45% 50%, color-mix(in srgb, var(--club-primary, #e34629) 42%, white) 0%, transparent 64%);
  animation: cinematicSmokeA 18s ease-in-out infinite alternate;
}

.club-cinematic-smoke.smoke-b {
  right: -12%;
  top: -18%;
  background: radial-gradient(circle at 35% 45%, color-mix(in srgb, var(--club-secondary, #fff) 30%, white) 0%, transparent 62%);
  animation: cinematicSmokeB 23s ease-in-out infinite alternate;
}

.club-cinematic-flare {
  inset: auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  filter: blur(17px);
  opacity: .34;
}

.club-cinematic-flare.flare-a {
  right: 16%;
  bottom: 8%;
  background: radial-gradient(circle, color-mix(in srgb, var(--club-primary, #e34629) 82%, white) 0%, transparent 65%);
  animation: cinematicFlare 5.8s ease-in-out infinite;
}

.club-cinematic-flare.flare-b {
  right: 5%;
  top: 17%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255,255,255,.88) 0%, transparent 63%);
  animation: cinematicFlare 7.2s ease-in-out infinite reverse;
}

.club-cinematic-copy {
  position: relative;
  z-index: 4;
  min-height: 430px;
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.club-cinematic-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 800px;
}

.club-cinematic-lockup > img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
}

.club-cinematic-lockup h2 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: .94;
  letter-spacing: -.045em;
}

.club-cinematic-lockup p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}

.club-cinematic-fixtures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin-top: 24px;
}

.club-cinematic-fixtures article {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 16px;
  background: rgba(6,9,14,.48);
  backdrop-filter: blur(10px);
}

.club-cinematic-fixtures span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.club-cinematic-fixtures strong {
  display: block;
  margin-top: 5px;
  font-size: .9rem;
}


@keyframes cinematicSmokeA {
  from { transform: translate3d(-7%, 8%, 0) scale(.9); opacity: .15; }
  to { transform: translate3d(9%, -9%, 0) scale(1.12); opacity: .29; }
}

@keyframes cinematicSmokeB {
  from { transform: translate3d(8%, -5%, 0) scale(.92); opacity: .12; }
  to { transform: translate3d(-9%, 9%, 0) scale(1.14); opacity: .25; }
}

@keyframes cinematicFlare {
  0%, 100% { transform: scale(.78); opacity: .14; }
  45% { transform: scale(1.18); opacity: .42; }
  62% { transform: scale(.98); opacity: .26; }
}

.focused-ground-gallery {
  display: grid;
  gap: 12px;
}

.focused-ground-stage {
  position: relative;
  min-height: clamp(340px, 56vw, 650px);
  overflow: hidden;
  border-radius: 24px;
  background: #0b0d10;
  box-shadow: var(--shadow);
}

.focused-ground-stage > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.focused-gallery-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(6,9,14,.72);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.focused-gallery-control.previous { left: 16px; }
.focused-gallery-control.next { right: 16px; }

.focused-gallery-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(6,9,14,.72);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.focused-ground-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.focused-ground-thumbnails button {
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 14px;
  background: #101215;
  cursor: pointer;
  opacity: .72;
}

.focused-ground-thumbnails button.active {
  border-color: var(--club-primary);
  opacity: 1;
}

.focused-ground-thumbnails img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.club-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.club-media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.club-media-placeholder {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  background:
    radial-gradient(circle at 74% 26%, color-mix(in srgb, var(--club-primary) 35%, transparent), transparent 38%),
    linear-gradient(145deg, #080b10, #1c2330);
  color: #fff;
  text-align: center;
}

.club-media-placeholder iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  background: #000;
}

.club-media-play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border-radius: 999px;
  background: var(--club-primary);
  font-size: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.club-media-placeholder > span:last-child {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.club-media-copy {
  padding: 18px;
}

.club-media-copy h3 {
  margin: 0 0 7px;
}

.club-media-copy p {
  min-height: 44px;
  color: var(--muted);
  font-size: .86rem;
}

.club-media-video-list {
  display: grid;
  gap: 7px;
}

.club-media-video-list button {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f6f3;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.club-media-video-list button.active {
  border-color: var(--club-primary);
  background: color-mix(in srgb, var(--club-primary) 9%, white);
}

.club-media-unconfigured {
  max-width: 280px;
  display: grid;
  gap: 7px;
}

.club-media-unconfigured span {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  line-height: 1.45;
}

.club-media-source-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
}



.away-supporter-hero {
  min-height: 360px;
  margin-top: 18px;
}

.away-supporter-hero .club-cinematic-copy {
  min-height: 360px;
}

.away-supporter-hero .club-cinematic-lockup > img {
  width: 84px;
  height: 84px;
}

.away-supporter-hero .club-cinematic-note {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .club-cinematic-fixtures,
  .club-media-grid {
    grid-template-columns: 1fr;
  }
  .club-cinematic-lockup {
    align-items: flex-start;
  }
  .club-cinematic-copy {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .club-cinematic-hero { border-radius: 20px; }
  .club-cinematic-lockup { display: grid; }
  .club-cinematic-lockup > img { width: 72px; height: 72px; }
  .focused-ground-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focused-ground-stage { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .club-cinematic-smoke,
  .club-cinematic-flare {
    animation: none !important;
  }
}
