/*
 * TOP page layout (SPEC §3.1, design v2 one-page LP): the section order and
 * rhythm and the NEWS columns. The sections themselves are components
 * (hero, team-band, marquee, youtube-block …). Values from tokens.css only.
 *
 * HTML contract (in source order; each child of <main class="top">)
 *   .hero                                   §3.1 #1
 *   section.top__news.container.container--top   #2
 *     hgroup.page-title.page-title--start + div.top__news-body
 *       (ul.news-list.news-list--compact) + a.youtube-ball
 *   section.team-band.top__band#team        #3
 *   div.marquee                             #4 (no gap above or below)
 *   section.youtube-intro#youtube           #5
 *   div.top__video.container                #6 (.youtube-video)
 *
 * v2 removed the お知らせ一覧 button, the ゴルフ部 section and the
 * Supporters block (DESIGN-CHANGES.md). Gaps follow XD LP PC / SP
 * (tokens: --top-gap*). NEWS: title column + list column from 1024
 * (SPEC §4.1 #5).
 */

.top {
  padding-block-end: var(--top-gap);
}

/* ---- NEWS (§3.1 #2) ---- */

.top__news {
  display: grid;
  gap: var(--space-3);
  margin-block-start: var(--top-gap-hero);
}

@media (width >= 1024px) {
  .top__news {
    grid-template-columns:
      clamp(
        var(--top-news-head-min),
        var(--top-news-head-share),
        var(--top-news-head-max)
      )
      minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
}

/* ---- Team band (§3.1 #3) ---- */

.top__band {
  margin-block-start: var(--top-gap);
}

/* ---- Video (§3.1 #6): directly after the YouTube intro in v2 ---- */

.top__video {
  margin-block-start: var(--top-gap-video);
}
