@layer blocks {
  .feature__carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  .feature__slide {
    position: relative;
    width: 100%;
    height: calc(100svh - var(--header-height));
    overflow: hidden;
    color: var(--theme-surface-tertiary);
    background-color: var(--theme-surface-secondary);
  }
  .feature__slide-inner {
    box-sizing: content-box;
    margin-inline: auto;
    max-width: 100%;
    padding-inline: 1.5rem;
  }
  @media (min-width: 768px) {
    .feature__slide-inner {
      padding-inline: 3rem;
    }
  }
  @media (min-width: 1024px) {
    .feature__slide-inner {
      max-width: 120rem;
      padding-inline: 5rem;
    }
  }
  .feature__slide-inner {
    position: relative;
    grid-template-rows: 1fr;
    height: 100%;
  }
  @media (min-width: 768px) {
    .feature__slide-inner {
      padding-inline: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .feature__slide-inner {
      padding-inline: 5rem;
    }
  }
  .feature__slide-bg {
    position: absolute;
    inset: 0;
  }
  .feature__slide-bg .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .feature__slide-bg .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .feature__slide-bg .video {
    width: 100%;
    height: 100%;
  }
  .feature__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
  }
  @media (min-width: 1024px) {
    .feature__scrim {
      background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    }
  }
  .feature__slide-content {
    grid-row: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-block: 4rem 1.5rem;
  }
  @media (min-width: 768px) {
    .feature__slide-content {
      grid-column: 1/span 8;
    }
  }
  @media (min-width: 1024px) {
    .feature__slide-content {
      grid-column: 1/span 6;
      height: auto;
      align-self: center;
      padding-block: 0;
      gap: 2rem;
    }
  }
  .feature__product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  @media (min-width: 1024px) {
    .feature__description {
      width: 57%;
    }
  }
  .feature__product-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  @media (min-width: 1024px) {
    .feature__product-group {
      align-items: flex-start;
      gap: 2rem;
    }
  }
  .feature__cta {
    width: 100%;
  }
  @media (min-width: 1024px) {
    .feature__cta {
      width: auto;
    }
  }
  .feature__product-group .feature__product-image {
    align-self: center;
  }
  .feature__product-group .feature__product-image .image {
    display: block;
    width: 100%;
  }
  .feature__product-group .feature__product-image .image img {
    display: block;
    width: 100%;
    height: auto;
  }
  @media (min-width: 768px) {
    .feature__product-group .feature__product-image .image {
      aspect-ratio: 3/2;
    }
  }
  @media (min-width: 1024px) {
    .feature__slide-inner > .feature__product-image {
      grid-column: 8/12;
      grid-row: 1;
      z-index: 1;
      display: flex;
      align-items: end;
      padding-bottom: 4rem;
    }
    .feature__slide-inner > .feature__product-image .image {
      display: block;
      width: 100%;
    }
    .feature__slide-inner > .feature__product-image .image img {
      display: block;
      width: 100%;
      height: auto;
    }
  }
}