.apmoto-home-featured {
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 104px 0 108px;
  color: #111714;
  background: #f7f5ee;
}

.apmoto-home-featured__shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.apmoto-home-featured__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(17, 23, 20, 0.2);
}

.apmoto-home-featured__eyebrow {
  margin: 0 0 15px;
  color: #e86b2e;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.apmoto-home-featured h2 {
  margin: 0;
  color: #111714;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.apmoto-home-featured__header-side > p {
  max-width: 550px;
  margin: 0 0 18px;
  color: #606862;
  font-size: 18px;
  line-height: 1.5;
}

.apmoto-home-featured__all,
.apmoto-home-featured__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111714 !important;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.apmoto-home-featured__all {
  padding-bottom: 5px;
  border-bottom: 1px solid #111714;
}

.apmoto-home-featured__all:hover,
.apmoto-home-featured__action:hover {
  color: #d95c24 !important;
}

.apmoto-home-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 46px;
}

.apmoto-home-featured__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 23, 20, 0.14);
  border-radius: 4px;
  background: #fff;
}

.apmoto-home-featured__media {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
  background: #eeeee8;
}

.apmoto-home-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apmoto-home-featured__card:hover .apmoto-home-featured__media img {
  transform: scale(1.025);
}

.apmoto-home-featured__number {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: grid;
  width: 31px;
  height: 31px;
  color: #fff;
  background: #111714;
  font-size: 10px;
  font-weight: 750;
  place-items: center;
}

.apmoto-home-featured__body {
  display: flex;
  min-height: 240px;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.apmoto-home-featured__category {
  margin-bottom: 10px;
  color: #d95c24;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.apmoto-home-featured h3 {
  margin: 0 0 12px;
  color: #111714;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.18;
}

.apmoto-home-featured h3 a {
  color: inherit !important;
  text-decoration: none;
}

.apmoto-home-featured__body > p {
  margin: 0 0 22px;
  color: #626962;
  font-size: 13px;
  line-height: 1.55;
}

.apmoto-home-featured__action {
  margin-top: auto;
}

.apmoto-home-featured__media:focus-visible,
.apmoto-home-featured h3 a:focus-visible,
.apmoto-home-featured__action:focus-visible,
.apmoto-home-featured__all:focus-visible {
  outline: 2px solid #e86b2e;
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .apmoto-home-featured {
    padding: 74px 0 78px;
  }

  .apmoto-home-featured__shell {
    width: calc(100% - 40px);
  }

  .apmoto-home-featured__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .apmoto-home-featured h2 {
    font-size: 44px;
  }

  .apmoto-home-featured__header-side > p {
    font-size: 16px;
  }

  .apmoto-home-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .apmoto-home-featured__body {
    min-height: 238px;
  }
}

@media (max-width: 639px) {
  .apmoto-home-featured {
    padding: 62px 0 68px;
  }

  .apmoto-home-featured__shell {
    width: 100%;
  }

  .apmoto-home-featured__header {
    margin: 0 20px;
  }

  .apmoto-home-featured h2 {
    font-size: 39px;
  }

  .apmoto-home-featured__grid {
    display: grid;
    grid-auto-columns: min(82vw, 330px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    margin-top: 32px;
    padding: 0 20px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .apmoto-home-featured__card {
    scroll-snap-align: start;
  }

  .apmoto-home-featured__body {
    min-height: 250px;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apmoto-home-featured__media img {
    transition-duration: 0.01ms;
  }
}
