/* Home 2026 template — loaded only on pages using home-2026.php */

/* Hero — --h26-hero-img is set inline from hero.php; the photo's left half is already dark, so the fade only lifts the copy */
#home-2026 .h26-hero {
  background:
    linear-gradient(90deg, rgba(10, 13, 11, 0.75), rgba(10, 13, 11, 0.4) 35%, rgba(10, 13, 11, 0) 55%, rgba(10, 13, 11, 0) 80%, rgba(10, 13, 11, 0.55)),
    var(--h26-hero-img, radial-gradient(circle at 70% 40%, #1f3b24, var(--h26-bg) 70%)) 75% 30% / cover no-repeat;
}
#home-2026 .h26-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: max(clamp(300px, 30vw, 420px), 22.5vw);
  padding: 48px var(--h26-gutter);
}
#home-2026 .h26-hero__copy { max-width: min(52%, 1100px); }
#home-2026 .h26-hero__title {
  margin: 0 0 12px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 7vw, 150px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--h26-white);
}
#home-2026 .h26-hero__title span { display: block; color: var(--h26-green-text); }
#home-2026 .h26-hero__sub {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 30px);
  line-height: 1.3;
  color: var(--h26-white);
}
#home-2026 .h26-hero__tagline {
  flex: none;
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(18px, 1.7vw, 34px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--h26-white);
}
#home-2026 .h26-hero__tagline::after {
  content: '';
  display: block;
  width: 3.5em;
  height: 5px;
  margin-top: 0.7em;
  background: var(--h26-green-text);
}

/* Find Player Evaluations */
#home-2026 .h26-search {
  padding: 28px var(--h26-gutter) 32px;
  border-top: 1px solid rgba(47, 174, 67, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, #0e2a14, #102016 60%, var(--h26-bg));
}
#home-2026 .h26-search__form {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 12px;
  margin-top: 20px;
}
#home-2026 .h26-search__field {
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.35);
  color: var(--h26-white);
  font-size: 15px;
}
#home-2026 .h26-search__field::placeholder { color: rgba(255, 255, 255, 0.7); }
#home-2026 .h26-search__field option { color: var(--h26-ink); }
#home-2026 .h26-search .h26-btn { height: 48px; }

/* Trending Prospects */
#home-2026 .h26-trending { padding: 32px var(--h26-gutter) 40px; }
#home-2026 .h26-trending__track:not(.slick-initialized) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 12px;
  overflow-x: auto;
}
#home-2026 .h26-trending__track.slick-initialized { position: relative; margin: 0 -6px; }
/* Theme's global .draggable rule adds a green border to Slick's list */
#home-2026 .h26-trending__track .slick-list { border: 0; }
#home-2026 .h26-trending__track .slick-slide { margin: 0 6px; }
/* Equal-height slides so stats + button can pin to the card bottom */
#home-2026 .h26-trending__track .slick-track { display: flex; }
#home-2026 .h26-trending__track .slick-slide { height: auto; }
#home-2026 .h26-trending__track .slick-slide > div { height: 100%; }
#home-2026 .h26-arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--h26-green);
  color: var(--h26-green-ink);
  cursor: pointer;
}
#home-2026 .h26-arrow:hover { background: var(--h26-green-hover); }
#home-2026 .h26-arrow--prev { left: -12px; }
#home-2026 .h26-arrow--next { right: -12px; }
#home-2026 .h26-trending .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  list-style: none;
}
#home-2026 .h26-trending .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #555;
  font-size: 0;
}
#home-2026 .h26-trending .slick-dots .slick-active button { background: var(--h26-green-text); }

/* Panels: Player Ratings | Team Rankings | Upcoming Events — white boxes on the dark page */
#home-2026 .h26-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 40px var(--h26-gutter);
  background: var(--h26-bg);
  color: var(--h26-white);
}
/* Same header height in every panel (the rankings dropdown is the tallest item), and boxes stretch to the row's height */
#home-2026 .h26-panel { display: flex; flex-direction: column; }
#home-2026 .h26-panel > .h26-section-head { min-height: 36px; }
#home-2026 .h26-panel > :is(.h26-list, .h26-placeholder) { flex: 1; }
#home-2026 .h26-panel__actions { display: flex; align-items: center; gap: 16px; }
#home-2026 .h26-select {
  width: auto;
  height: 36px;
  margin: 0;
  padding: 0 32px 0 12px;
  border: 1px solid var(--h26-line);
  border-radius: 4px;
  background-color: var(--h26-white);
  color: var(--h26-ink);
  font-size: 14px;
}
#home-2026 .h26-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 2px dashed var(--h26-line);
  border-radius: 6px;
  background: var(--h26-white);
}
#home-2026 .h26-placeholder p { margin: 0; color: var(--h26-muted); }
#home-2026 .h26-list {
  margin: 0;
  list-style: none;
  border-radius: 6px;
  background: var(--h26-white);
}
#home-2026 .h26-list > li + li,
#home-2026 .h26-list__row + .h26-list__row { border-top: 1px solid var(--h26-line); }
#home-2026 .h26-list__row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 14px;
  color: var(--h26-ink);
}
#home-2026 .h26-list__rank { flex: 0 0 18px; font-weight: 700; text-align: center; }
#home-2026 .h26-list__logo { flex: 0 0 40px; width: 40px; height: 40px; object-fit: contain; }
#home-2026 .h26-list__name { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25; }
#home-2026 .h26-list__aside { font-size: 13px; color: var(--h26-muted); }
#home-2026 .h26-event { transition: background-color 0.2s ease; }
#home-2026 .h26-event::after { content: '\203A'; margin-left: auto; font-size: 22px; color: var(--h26-muted); }
#home-2026 .h26-event:hover,
#home-2026 .h26-event:focus-visible { background: #f7faf8; }
#home-2026 .h26-event__logo { flex: 0 0 72px; width: 72px; height: 44px; object-fit: contain; }
#home-2026 .h26-event__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
#home-2026 .h26-event__meta { font-size: 13px; color: var(--h26-muted); }

/* Event Coverage */
#home-2026 .h26-coverage { padding: 40px var(--h26-gutter) 56px; }
#home-2026 .h26-coverage__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#home-2026 .h26-story {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px;
  background: var(--h26-white);
  color: var(--h26-ink);
}
#home-2026 .h26-story__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--h26-bg-raised);
}
/* Absolutely positioned so the thumbnail's intrinsic size can't stretch the 16:9 frame */
#home-2026 .h26-story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
#home-2026 .h26-story__body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
#home-2026 .h26-story__date { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--h26-muted); }
#home-2026 .h26-story__title { margin: 6px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.25; }
#home-2026 .h26-story__title a { color: var(--h26-ink); }
#home-2026 .h26-story__title a:hover { color: var(--h26-green); }
#home-2026 .h26-story__excerpt { margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: #444; }
#home-2026 .h26-story__more { margin-top: auto; font-weight: 700; color: var(--h26-green); }
#home-2026 .h26-story__more::after { content: ' \2192'; }

/* Responsive */
@media (max-width: 1100px) {
  #home-2026 .h26-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #home-2026 .h26-events { grid-column: 1 / -1; }
  #home-2026 .h26-coverage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #home-2026 .h26-hero__inner { flex-direction: column; align-items: flex-start; justify-content: center; }
  #home-2026 .h26-hero__copy { max-width: none; }
  /* Narrow screens put the copy over the player, so darken the whole photo behind it */
  #home-2026 .h26-hero {
    background:
      linear-gradient(rgba(10, 13, 11, 0.6), rgba(10, 13, 11, 0.85)),
      var(--h26-hero-img, radial-gradient(circle at 70% 40%, #1f3b24, var(--h26-bg) 70%)) 76% center / cover no-repeat;
  }
  #home-2026 .h26-search__form { grid-template-columns: 1fr; }
  #home-2026 .h26-panels { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  #home-2026 .h26-coverage__grid { grid-template-columns: 1fr; }
}

/* Focus: none on mouse click, visible for keyboard */
#home-2026 .slick-list:focus,
#home-2026 .slick-slide:focus { outline: none; }
