/* Spotify's listening-first Home: one clear start, then distinct browsing shelves. */
@layer pages {
  .home-page .greeting {
    font-size: var(--fs-section);
  }
  .home-page .hero-header {
    gap: 1.25rem;
  }
  .featured-listen {
    display: grid;
    grid-template-columns: min(28%, 112px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding-block: 0.5rem 1.5rem;
  }
  .featured-listen h2 {
    grid-column: 2;
    min-width: 0;
  }
  .featured-listen h2 {
    font-size: var(--fs-title);
    line-height: var(--lh-title);
    overflow-wrap: anywhere;
  }
  .home-stories .highlight-row {
    display: flex;
    overflow-x: auto;
    padding-block: 0.5rem;
    gap: 1rem;
  }
  .home-stories .highlight-tile {
    color: var(--text);
  }
  .category-tile__art {
    font-family: var(--font-ar);
    text-transform: none;
    letter-spacing: 0;
  }
  .section-heading > a,
  .section-heading > button {
    min-height: var(--action-height);
  }
  @media (min-width: 68rem) {
    .featured-listen {
      grid-template-columns: min(28%, 240px) minmax(0, 1fr);
      align-items: center;
      gap: 2rem;
    }
    .home-page .horizontal-shelf {
      grid-auto-columns: auto;
    }
    .home-page .horizontal-shelf .podcast-card {
      width: 100%;
    }
  }
}

@layer responsive {
  .site-topbar__search {
    min-width: 0;
    flex: 0 1 auto;
  }
  .site-topbar__search > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-topbar__search > svg,
  .site-topbar__search > kbd {
    flex: none;
  }
  .topbar-actions .icon-button {
    width: 44px;
    height: 44px;
  }
  .topbar-actions .icon-button svg {
    width: 24px;
    height: 24px;
  }
}
