.cf-homepage {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  padding-top: 36px;
}

.cf-homepage .news-link,
.cf-homepage .event-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.cf-homepage .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Consistent breathing room above every section after the first
   (Listen Back, Events, Merch, Schedule, extra hot-pick carousels).
   The first header gets its gap from .cf-homepage's padding-top. */
.cf-homepage .section-header ~ .section-header {
  margin-top: 56px;
}

.cf-homepage .section-header h2,
.cf-homepage .hot-picks-heading {
  margin: 0 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-family: 'SFProDisplay', sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

/* Mobile: section headers were larger than the hero title — halve them */
@media (max-width: 767px) {
  .cf-homepage .section-header h2,
  .cf-homepage .hot-picks-heading {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

.cf-homepage .see-all {
  padding: 6px 12px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.cf-homepage .news-item,
.cf-homepage .event-item,
.cf-homepage .show-item { 
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 14px;
padding: 16px;
border: 1px solid #172c29;
transition: transform 0.2s ease;
border-radius: 10px;
}

.cf-homepage .news-item:hover,
.cf-homepage .event-item:hover,
.cf-homepage .show-item:hover {
  transform: scale(1.02);
}

.cf-homepage .news-img,
.cf-homepage .event-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.cf-homepage .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.cf-homepage .video-thumb-wrapper {
  position: relative;
  width: 100%;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.cf-homepage .video-thumb,
.cf-homepage .video-tile img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.cf-homepage .video-tile {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 2px solid #fff;
  background: #111;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cf-homepage .video-tile:hover {
  transform: scale(1.02);
}

.cf-homepage .video-info {
  padding: 15px;
}

.cf-homepage .video-title {
  margin: 0;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-homepage .video-date {
  margin-top: 5px;
  margin-bottom: 0 !important;
  color: #999;
  font-size: 14px;
}

.cf-homepage .show-time {
  min-width: 50px;
  font-size: 18px;
  font-weight: bold;
}

.cf-homepage .show-text {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  line-height: 0.7;
}

.cf-homepage .presenter-name {
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.cf-homepage .show-title {
  margin: 0;
  padding: 0;
  color: rgb(164, 164, 164);
  font-size: 0.7em;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6 !important;
  text-transform: none;
}

.cf-homepage .show-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cf-homepage .listen-btn {
  position: relative;
  margin-left: auto;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: #a62657;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.cf-homepage .live-show .listen-btn {
  color: #000 !important;
}

.cf-homepage .listen-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.cf-homepage .listen-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

.cf-homepage .listen-live:hover {
  background: #ff2c55;
  color: #fff;
}

.cf-homepage .listen-back:hover {
  background: #555;
  color: #fff;
}

.cf-homepage .listen-btn svg {
  transition: fill 0.3s ease;
}

.cf-homepage .genre-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.cf-homepage .genre-filter button {
  padding: 6px 14px;
  border: 1px solid #00cae7;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf-homepage .genre-filter button.active,
.cf-homepage .genre-filter button:hover {
  background: #00cae7;
  color: #000;
}

.cf-homepage .genre-scroll-wrap {
  position: relative !important;
  width: 100%;
  min-height: 200px;
  padding: 0 10px;
  box-sizing: border-box;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.cf-homepage #genre-show-wrapper {
  display: block !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 1px;
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  -webkit-scroll-snap-type: none !important;
  overscroll-behavior-x: contain !important;
  touch-action: pan-x pan-y !important;
}

.cf-homepage #genre-show-wrapper::-webkit-scrollbar {
  display: none;
}

.cf-homepage .genre-scroll-inner {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
}

.cf-homepage .genre-scroll-inner::after {
  content: "";
  flex: 0 0 10px;
}

/* ===== App-style listen cards (match listen_back_archive) ===== */
.cf-homepage .listen-card {
  display: flex;
  flex: 0 0 clamp(150px, 42vw, 220px);
  flex-direction: column;
  width: clamp(150px, 42vw, 220px);
  max-width: 100%;
  padding: 0 0 14px;
  box-sizing: border-box;
  background: #1b1b1d;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  opacity: 0;
  /* Reveal via CSS animation so visibility never depends on JS timing —
     previously cards stayed at opacity:0 if filterGenre() lost the race on
     an AJAX nav, leaving the Listen Back section blank until a filter click.
     Animate opacity only (not transform) so the hover-lift still works. */
  animation: cfListenCardReveal 0.4s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.cf-homepage .listen-card.visible {
  opacity: 1;
}

@keyframes cfListenCardReveal {
  to { opacity: 1; }
}

.cf-homepage .listen-card:hover {
  transform: translateY(-4px);
  background: #1b1b1d;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.cf-homepage .listen-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  border-bottom: none;
  object-fit: cover;
  display: block;
}

/* card body padding (image stays edge-to-edge) */
.cf-homepage .card-info { padding: 0; }
.cf-homepage .show-name,
.cf-homepage .show-presenter,
.cf-homepage .show-date,
.cf-homepage .genre-tags {
  padding-left: 14px;
  padding-right: 14px;
}

.cf-homepage .show-name {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.15;
}

.cf-homepage .show-presenter {
  padding-top: 12px;
  margin-bottom: 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.cf-homepage .show-presenter a {
  color: inherit;
  text-decoration: none;
}

.cf-homepage .show-date {
  margin: 0 0 4px;
  color: #9aa3ad;
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
}

.cf-homepage .genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.cf-homepage .genre-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: #33343a;
  color: #d7dbe2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

/* SHOW INFO / Tracklisting action button */
.cf-homepage .lb-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #00cae7;
  color: #04232a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
}

.cf-homepage .lb-action--tracklist {
  background: #ffffff;
  color: #111;
}

/* Show Info button: brand blue→green gradient, dark text (matches the archive) */
.cf-homepage .lb-action--info {
  background: linear-gradient(135deg, #00cae7 0%, #6ef6d4 100%);
  color: #04232a !important;
}

/* Small waveform glyph on the Show Info button (echoes the loader's equalizer bars) */
.cf-homepage .lb-action--info::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cg%20fill%3D%27%23000%27%3E%3Crect%20x%3D%272%27%20%20%20%20y%3D%278.5%27%20width%3D%272.8%27%20height%3D%277%27%20%20rx%3D%271.4%27/%3E%3Crect%20x%3D%276.8%27%20%20y%3D%275.5%27%20width%3D%272.8%27%20height%3D%2713%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2711.6%27%20y%3D%272.5%27%20width%3D%272.8%27%20height%3D%2719%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2716.4%27%20y%3D%276.5%27%20width%3D%272.8%27%20height%3D%2711%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2721.2%27%20y%3D%279%27%20%20%20width%3D%272.8%27%20height%3D%276%27%20%20rx%3D%271.4%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cg%20fill%3D%27%23000%27%3E%3Crect%20x%3D%272%27%20%20%20%20y%3D%278.5%27%20width%3D%272.8%27%20height%3D%277%27%20%20rx%3D%271.4%27/%3E%3Crect%20x%3D%276.8%27%20%20y%3D%275.5%27%20width%3D%272.8%27%20height%3D%2713%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2711.6%27%20y%3D%272.5%27%20width%3D%272.8%27%20height%3D%2719%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2716.4%27%20y%3D%276.5%27%20width%3D%272.8%27%20height%3D%2711%27%20rx%3D%271.4%27/%3E%3Crect%20x%3D%2721.2%27%20y%3D%279%27%20%20%20width%3D%272.8%27%20height%3D%276%27%20%20rx%3D%271.4%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.cf-homepage .scroll-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  padding: 0 10px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 32px;
  backdrop-filter: blur(2px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease;
  user-select: none;
}

.cf-homepage .scroll-arrow:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cf-homepage .scroll-arrow.left {
  left: 0;
}

.cf-homepage .scroll-arrow.right {
  right: 0;
}

.cf-homepage .hot-picks-section {
  margin-bottom: 30px;
}

.cf-homepage .hot-picks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.cf-homepage .hot-pick-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 14px;
  box-sizing: border-box;
  background: #1b1b1d;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.cf-homepage .hot-pick-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cf-homepage .hot-pick-card:hover {
  transform: translateY(-4px);
  background: #1b1b1d;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.cf-homepage .hot-pick-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  border-bottom: none;
  object-fit: cover;
}

.cf-homepage .hot-pick-card .show-name {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

.cf-homepage .hot-pick-card .show-presenter {
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
}

.cf-homepage .hot-pick-card .show-date {
  font-size: 10px;
}

.cf-homepage .hot-pick-card .genre-pill {
  background: #33343a;
}

.cf-homepage .hot-pick-card .card-info {
  /* the card is a flex column; without this the card-info shrinks to its
     content width and sits centred, pushing the name/date/Show Info in past
     the (full-width) genre row. Force it full-width + left-aligned so all the
     card text lines up at the same 14px. */
  width: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box;
  text-align: left;
  margin: 0 !important;
  padding: 0 !important;
}

.cf-homepage .show-more-container {
  margin-top: 18px;
  text-align: center;
}

.cf-homepage .show-more-btn {
  display: inline-block;
  width: auto;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cf-homepage .show-more-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

/* "See All" links — match the Show More pill (overrides the redesign secondary-button styling) */
.cf-homepage .see-all {
  display: inline-block;
  width: auto;
  min-height: 0;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cf-homepage .see-all:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.cf-homepage .favourite-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 20, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cf-homepage .heart-icon {
  width: 15px;
  height: 15px;
  fill: #fff;
  filter: none;
  transition: transform 0.25s ease, fill 0.25s ease;
}

.cf-homepage .heart-icon.favourited {
  transform: scale(1.15);
  fill: #00cae7;
}

.cf-homepage .diagonal-dual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.cf-homepage .diagonal-dual .diagonal-left,
.cf-homepage .diagonal-dual .diagonal-right {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cf-homepage .diagonal-dual .diagonal-left img,
.cf-homepage .diagonal-dual .diagonal-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cf-homepage .diagonal-dual .diagonal-left {
  clip-path: polygon(0% 0%, 60% 0%, 40% 100%, 0% 100%);
  z-index: 1;
}

.cf-homepage .diagonal-dual .diagonal-right {
  clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 40% 100%);
  z-index: 2;
}

.cf-homepage .split-image {
  position: relative;
  display: flex;
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  overflow: hidden;
}

.cf-homepage .split-image .left-half,
.cf-homepage .split-image .right-half {
  flex: 1;
  background-position: center;
  background-size: cover;
}

.cf-homepage .split-image .left-half {
  border-right: 1px solid #333;
}

.cf-homepage .presenter-link {
  color: inherit;
  text-decoration: none;
}

.cf-homepage .presenter-link:hover {
  color: var(--cf-primary, #00cae7);
}

/* ›  chevron after a clickable presenter name — hints it opens the artist profile
   (app-style). Only shows when the name is actually a link. */
.cf-homepage .show-presenter:has(.presenter-link)::after {
  content: "\203A";
  display: inline-block;
  margin-left: 6px;
  font-size: 1.25em;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, color 0.2s ease;
}
.cf-homepage .show-presenter:has(.presenter-link):hover::after {
  color: var(--cf-primary, #00cae7);
  transform: translateX(3px);
}

.cf-homepage .cf-homepage-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
}

.cf-homepage .cf-homepage-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: transparent;
}

.cf-homepage .cf-homepage-modal iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.cf-homepage .cf-homepage-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .cf-homepage .hot-picks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cf-homepage .news-item,
  .cf-homepage .event-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .cf-homepage .show-name {
    white-space: normal;
    word-wrap: break-word;
    font-size: 0.8em;
  }

  .cf-homepage .hot-picks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px; /* more breathing room between cards on mobile (matches the app) */
  }
}

@media (max-width: 600px) {
  .cf-homepage .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 0 -10px 20px;
  }

  .cf-homepage .video-tile {
    padding: 6px;
    border-width: 1px;
  }

  .cf-homepage .video-info {
    padding: 6px 4px;
  }

  .cf-homepage .video-title {
    font-size: 11px;
    line-height: 1.1;
  }

  .cf-homepage .video-date {
    font-size: 9px;
  }

  .cf-homepage .video-thumb-wrapper {
    min-height: 100px;
  }

  .cf-homepage .listen-card {
    flex: 0 0 140px;
    width: 140px;
    max-width: 140px;
  }

  .cf-homepage .show-presenter {
    font-size: 11px;
  }

  .cf-homepage .show-date,
  .cf-homepage .genre-pill {
    font-size: 9px;
  }

  .cf-homepage .listen-card .split-image,
  .cf-homepage .listen-card img,
  .cf-homepage .diagonal-dual {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .cf-homepage .cf-homepage-modal iframe {
    height: 250px;
  }
}

/* ---------------------------------------------
   ✨ Home entrance + scroll-reveal polish
   Gated on .cf-anim (added in home.php) so the
   hidden state only exists where JS will reveal it.
--------------------------------------------- */
/* NB: .hot-pick-card / .listen-card are intentionally excluded — they have
   their own opacity:0 + cfListenCardReveal animation (so they never stay
   blank during genre filtering / load-more). Re-hiding them here would fight
   that. Their section headers still animate; the cards keep their own fade. */
.cf-homepage.cf-anim .section-header,
.cf-homepage.cf-anim .cf-event-card,
.cf-homepage.cf-anim .show-item,
.cf-homepage.cf-anim .cf-merch-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.cf-homepage.cf-anim .is-in {
  opacity: 1;
  transform: none;
}

/* Hero entrance — staggered rise on first paint */
@keyframes cfHeroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.cf-shell .hero-home .slide-content h2,
.cf-shell .hero-home .slide-content p,
.cf-shell .hero-home .slide-content a.button {
  animation: cfHeroRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.cf-shell .hero-home .slide-content h2 { animation-delay: 0.12s; }
.cf-shell .hero-home .slide-content p  { animation-delay: 0.26s; }
.cf-shell .hero-home .slide-content a.button { animation-delay: 0.4s; }

/* Respect users who prefer less motion — show everything statically */
@media (prefers-reduced-motion: reduce) {
  .cf-homepage.cf-anim .section-header,
  .cf-homepage.cf-anim .cf-event-card,
  .cf-homepage.cf-anim .show-item,
  .cf-homepage.cf-anim .cf-merch-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cf-shell .hero-home .slide-content h2,
  .cf-shell .hero-home .slide-content p,
  .cf-shell .hero-home .slide-content a.button {
    animation: none;
  }
}

/* =====================================================================
   FRIENDS / SPONSORS ADVERT BANNER (home; placement set in admin)
   ===================================================================== */
.cf-ad-banner {
  width: 100%;
  margin: 16px 0 48px;
  text-align: center;
}
.cf-ad-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cf-text-muted, #7c8893);
  margin-bottom: 10px;
}
.cf-ad-track {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  line-height: 0;
}
.cf-ad-slide {
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cf-ad-slide.is-active { opacity: 1; }
.cf-ad-slide:not(:first-child) { position: absolute; inset: 0; }
.cf-ad-slide img { width: 100%; display: block; }
.cf-ad-slide:first-child img { height: auto; }       /* first slide defines the banner height */
.cf-ad-slide:not(:first-child) img { height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .cf-ad-banner { margin: 8px 0 36px; }
  .cf-ad-track { border-radius: 12px; }
}

/* =====================================================================
   STUDIO TV — live video (Kick), click-to-play facade (home section)
   ===================================================================== */
.studiotvapp .cf-studiotv-intro {
  margin: -10px 0 16px;
  color: var(--cf-text-soft, #9aa3ad);
  font-size: 14px;
}
.cf-studiotv-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0f13;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cf-studiotv-facade,
.cf-studiotv-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cf-studiotv-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 202, 231, 0.22), transparent 60%),
    linear-gradient(135deg, #0d2630 0%, #0a1418 100%);
  transition: background 0.3s ease;
}
.cf-studiotv-facade:hover { background:
    radial-gradient(circle at 50% 42%, rgba(0, 202, 231, 0.32), transparent 62%),
    linear-gradient(135deg, #103039 0%, #0a1418 100%); }
.cf-studiotv-playbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00cae7, #6ef6d4);
  box-shadow: 0 10px 30px rgba(0, 202, 231, 0.4);
  transition: transform 0.2s ease;
}
.cf-studiotv-facade:hover .cf-studiotv-playbtn { transform: scale(1.06); }
.cf-studiotv-playbtn svg { width: 34px; height: 34px; fill: #04232a; margin-left: 4px; }
.cf-studiotv-cta {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.cf-studiotv-facade:hover .cf-studiotv-cta { color: #00cae7; }
.cf-studiotv-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cf-studiotv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: cfLiveDotPulse 1.6s ease-out infinite;
}
@media (max-width: 767px) {
  .cf-studiotv-player { border-radius: 12px; }
  .cf-studiotv-playbtn { width: 60px; height: 60px; }
  .cf-studiotv-playbtn svg { width: 26px; height: 26px; }
  .cf-studiotv-cta { font-size: 13px; }
}
