/* The featured banner row stays swipeable even when motion is paused. */
.recommendation-banners .camp-grid[data-featured-banner-rail] {
  --rail-gap: 16px;
  --rail-tile: calc((100% - 3 * var(--rail-gap)) / 4);
  display: flex;
  align-items: stretch;
  gap: var(--rail-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-block: 5px;
  margin-block: -5px;
}
.recommendation-banners .camp-grid[data-featured-banner-rail]::-webkit-scrollbar { display: none; }
.recommendation-banners .camp-grid[data-featured-banner-rail][data-loop-ready] { scroll-snap-type: none; }
.featured-banner-repeats { display: contents; }
.recommendation-banners .camp-grid[data-featured-banner-rail] .camp-card {
  flex: 0 0 var(--rail-tile);
  aspect-ratio: 9 / 5;
  scroll-snap-align: start;
}
.recommendation-banners .camp-grid[data-featured-banner-rail] .camp-card:focus-visible {
  outline-offset: -3px;
}
.recommendation-banners .camp-grid[data-featured-banner-rail] .camp-card:not(.christmas-gift-tile) > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.featured-banner-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 9px 0 0 auto;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--navy, #4e4b42);
  cursor: pointer;
}
.featured-banner-motion svg { display: block; width: 14px; height: 14px; }
.featured-banner-motion:hover { background: #80766213; }
.featured-banner-motion:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* The members/Company adjacency rule otherwise leaves these headings flush. */
#company.company { padding-top: clamp(46px, 5.6vw, 82px); }

@media (max-width: 900px) {
  .recommendation-banners .camp-grid[data-featured-banner-rail] {
    --rail-gap: 12px;
    --rail-tile: calc((100% - var(--rail-gap)) / 2);
    margin-inline: -4px;
    padding-inline: 4px;
  }
}
