/**
 * Home dynamic feed layout.
 * Aligns with Adidaya dark palette and preserves comfortable page-edge gaps.
 */

.home-live-feed {
  background: #071518;
  color: #fff;
  padding: clamp(72px, 9vw, 140px) clamp(20px, 6vw, 96px);
}

.home-feed-shell {
  margin: 0 auto;
  max-width: 1320px;
}

.home-feed-section + .home-feed-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(64px, 8vw, 112px);
}

.home-feed-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.home-feed-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.home-feed-eyebrow,
.home-feed-label {
  color: #d4b359;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.home-feed-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin: 0;
}

.home-feed-action {
  border: 1px solid rgba(212, 179, 89, 0.65);
  border-radius: 999px;
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.home-feed-action:hover {
  background: #d4b359;
  color: #071518;
}

.home-feed-controls {
  display: none;
  gap: 8px;
}

.home-feed-control {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(212, 179, 89, 0.65);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background-color 160ms ease, color 160ms ease;
  width: 42px;
}

.home-feed-control:hover {
  background: #d4b359;
  color: #071518;
}

.home-feed-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feed-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.home-feed-card:hover {
  border-color: rgba(212, 179, 89, 0.75);
  transform: translateY(-5px);
}

.home-feed-card > a:first-child,
.home-event-card > img {
  display: block;
  position: relative;
}

.home-media-card img,
.home-video-card img,
.home-event-card > img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-play-icon {
  align-items: center;
  background: rgba(3, 15, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 52px;
  justify-content: center;
  left: 50%;
  padding-left: 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
}

.home-feed-card-body {
  padding: 26px;
}

.home-feed-card h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.home-feed-card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-feed-card > p,
.home-feed-card-body > p:not(.home-feed-label) {
  color: #c3cbcc;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.home-card-link {
  color: #e1bd57;
  display: inline-flex;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-top: 24px;
  text-decoration: none;
}

.home-card-link span {
  transition: transform 160ms ease;
}

.home-card-link:hover span {
  transform: translateX(4px);
}

.home-feed-empty {
  color: #c3cbcc;
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 0;
}

@media (max-width: 900px) {
  .home-feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-live-feed {
    padding: 56px 20px;
  }

  .home-feed-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }

  .home-feed-section + .home-feed-section {
    margin-top: 56px;
    padding-top: 56px;
  }

  .home-feed-heading h2 {
    font-size: clamp(28px, 9vw, 34px);
  }

  .home-feed-actions {
    justify-content: space-between;
    width: 100%;
  }

  .home-feed-action {
    font-size: 13px;
    padding: 10px 14px;
  }

  .home-feed-controls {
    display: flex;
  }

  .home-feed-control {
    height: 40px;
    width: 40px;
  }

  .home-feed-grid {
    display: flex;
    gap: 14px;
    grid-template-columns: none;
    margin-right: -20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 20px 4px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-feed-grid::-webkit-scrollbar {
    display: none;
  }

  .home-feed-card {
    flex: 0 0 min(76vw, 280px);
    scroll-snap-align: start;
  }

  .home-media-card img,
  .home-video-card img,
  .home-event-card > img {
    aspect-ratio: 16 / 8.5;
  }

  .home-play-icon {
    height: 42px;
    width: 42px;
  }

  .home-feed-card-body {
    padding: 16px;
  }

  .home-feed-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .home-feed-card > p,
  .home-feed-card-body > p:not(.home-feed-label) {
    font-size: 13px;
  }

  .home-card-link {
    font-size: 13px;
    margin-top: 16px;
  }
}

@media (min-width: 1420px) {
  .framer-1bvqhm0 > [data-framer-name="Vission"] {
    margin-top: 240px !important;
  }
}

/* Hide exported static blocks now replaced by the PHP/MySQL Home feed. */
body .framer-1as9te6,
body .framer-oyiq3p,
body .framer-o2zzv6 {
  display: none !important;
}
