.home-feature-rail { display: contents; }

@media (max-width: 600px) {
  body[data-page="home"] .home-feature-carousel.kissel-banner.container {
    --feature-card-height: min(clamp(560px, calc(100svh - 180px), 650px), var(--mobile-banner-max-height, 650px));
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    touch-action: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  body[data-page="home"] .home-feature-carousel .home-feature-media { display: none; }

  body[data-page="home"] .home-feature-rail {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 0 9px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 9px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body[data-page="home"] .home-feature-carousel .home-feature-copy {
    position: relative;
    inset: auto;
    display: grid;
    grid-area: auto;
    grid-template-rows: max-content minmax(0, 1fr);
    flex: 0 0 calc(100% - clamp(36px, 12vw, 60px));
    width: auto;
    min-width: 0;
    max-width: none;
    height: var(--feature-card-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(145deg, #fffaf2, #f1e6d7);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    scroll-snap-align: start;
  }

  body[data-page="home"] .home-feature-copy:last-child { scroll-snap-align: end; }

  body[data-page="home"] .home-feature-carousel .home-feature-copy::after {
    content: "";
    grid-row: 2;
    background: var(--feature-photo) center var(--feature-photo-position, 53%) / var(--feature-photo-size, cover) no-repeat;
    border-start-start-radius: 50% 42%;
    border-start-end-radius: 50% 42%;
    pointer-events: none;
  }

  body[data-page="home"] .home-feature-copy > .banner-actions {
    inset: auto 23px var(--banner-action-bottom) 23px;
  }
  body[data-page="home"] .home-feature-copy > .banner-actions .button { max-width: 100%; }
  body[data-page="home"] .home-feature-carousel .button { touch-action: auto; }

  body[data-page="home"] .home-feature-controls {
    position: relative;
    inset: auto;
    width: max-content;
    margin: 0 9px 0 auto;
    gap: 12px;
  }
  body[data-page="home"] .home-feature-arrow:disabled {
    opacity: .38;
    cursor: default;
    background: transparent;
    color: #005461;
    transform: none;
  }
  body[data-page="home"] .home-feature-rail:focus-visible {
    outline: 2px solid #005461;
    outline-offset: 3px;
  }
}
