.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40%;
  aspect-ratio: 3/2;
  border-radius: var(--rounded);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: var(--background);
  box-shadow: var(--shadow);
}

.feature-image-collage {
  padding: 0;
}

.feature-collage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--background);
  place-content: center;
  overflow: hidden;
  border-radius: var(--rounded);
}

.feature-collage-tile {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.feature-collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
  background: linear-gradient(to top, rgb(255, 255, 255), rgba(255, 255, 255, 0) 18%), linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0) 18%), linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0) 18%), linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0) 18%);
  mix-blend-mode: normal;
}

@media (max-width: 700px) {
  .feature-image::after {
    filter: blur(6px);
  }
}
.feature-text {
  flex-grow: 1;
}

.feature-title {
  font-size: var(--large);
  text-align: center;
  font-family: var(--heading);
  font-weight: var(--semi-bold);
}

.feature[data-flip] {
  flex-direction: row-reverse;
}

@media (max-width: 800px) {
  .feature {
    flex-direction: column !important;
  }
  .feature-image {
    width: 100%;
    max-width: 400px;
  }
  .feature-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*# sourceMappingURL=feature.css.map */