.home-export-products .section-heading {
  align-items: flex-start;
}

.home-export-products .section-heading p {
  max-width: 76ch;
}

.home-export-products .section-heading > .text-link {
  flex: 0 0 auto;
  margin-top: 10px;
}

.home-export-products .home-export-carousel {
  --carousel-columns: 4;
  --carousel-gap: 20px;
}

.home-export-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--carousel-gap);
  min-width: 0;
}

.home-export-product {
  min-width: 0;
}

.home-export-product-link {
  display: block;
  color: var(--forest);
  text-decoration: none;
}

.home-export-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  background: var(--tint);
}

.home-export-product-crop {
  position: absolute;
  inset: 0;
}

.home-export-product-crop img {
  position: absolute;
  height: auto;
  max-width: none;
}

.home-export-product-image > .home-export-product-standalone {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-export-product-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--surface);
  color: var(--forest);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 600;
}

.home-export-product-copy {
  padding-top: 14px;
}

.home-export-product-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-export-product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.home-export-product-copy p span {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
}

.home-export-product-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .home-export-product-link:hover h3 {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
}

@media (max-width: 1023px) {
  .home-export-products .home-export-carousel {
    --carousel-columns: 3;
    --carousel-gap: 16px;
  }

  .home-export-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-export-products .home-export-carousel {
    --carousel-columns: 2;
    --carousel-gap: 14px;
  }

  .home-export-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-export-product-copy h3 {
    font-size: 16px;
  }

  .home-export-product-copy p {
    font-size: 12px;
  }

  .home-export-product-label {
    left: 6px;
    bottom: 6px;
    font-size: 9px;
  }
}
