.related-products {
  width: 100%;
  margin-top: 3rem;
}

.related-products__title {
  margin: 5px 0;
  width: 100%;
  color: #e22927;
  font-weight: 600;
  line-height: 1.66;
  font-size: 25px;
  font-size: 1.5625rem;
  line-height: 40px;
  line-height: 2.5rem;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  -webkit-font-kerning: normal;
  font-kerning: normal;
}

.related-products__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.3rem;
  margin: 1.5rem 0;
}

.related-product {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: row;
  text-align: left;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #1b191c;
  text-decoration: none;
}

.related-product:hover .related-product__image {
  scale: 1.1;
}

.related-product__poster {
  overflow: hidden;
  flex-shrink: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.related-product__image {
  display: block;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
  object-fit: cover;
  transition: scale 150ms ease-in-out;
}

.related-product__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 1.2rem;
  padding-inline: 1rem;
}

.related-product__title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.related-product__cta {
  margin-top: 0.5rem;
  color: #e22927;
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
  .related-products__wrapper {
    margin: 1.5rem 0 3rem;
  }

  .related-product__content {
    padding-inline: 1.2rem;
  }

  .related-product__title {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

@media only screen and (min-width: 920px) {
  .related-products__title {
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 39px;
    line-height: 2.4375rem;
    -webkit-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    -webkit-font-kerning: normal;
    font-kerning: normal;
  }
}

@media only screen and (min-width: 1024px) {
  .related-products__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 1400px) {
  .related-products__title {
    font-size: 32px;
    font-size: 2rem;
    line-height: 43px;
    line-height: 2.6875rem;
    -webkit-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    -webkit-font-kerning: normal;
    font-kerning: normal;
  }
}

@media only screen and (max-width: 767px) {
  .related-product__image {
    width: 90px;
  }
}
