.feature-card-slider {
  --feature-card-slider-radius: 8px;
}

.feature-card-slider__container {
  max-width: var(--feature-card-slider-max-width, 980px);
  margin: 0 auto;
}

.feature-card-slider__viewport {
  overflow: hidden;
}

.feature-card-slider__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.feature-card-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.feature-card-slider__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--feature-card-slider-radius);
}

.feature-card-slider__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--feature-card-slider-image-bg, #fbf6f2);
  min-height: 220px;
}

.feature-card-slider__image,
.feature-card-slider__image-placeholder {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.feature-card-slider__image-placeholder svg {
  width: 100%;
  height: auto;
}

.feature-card-slider__content {
  background-color: var(--feature-card-slider-content-bg, #f3f6fa);
  padding: 15px;
}

.feature-card-slider__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
}

.feature-card-slider__tag {
  min-width: 118px;
  height: 30px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(196, 151, 104, 0.06);
  background: #fff;
  color: #c89a69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(80, 72, 60, 0.06);
  white-space: nowrap;
}

.feature-card-slider__tag:hover,
.feature-card-slider__tag:focus {
  color: #b87d3f;
  background: #fff;
}

.feature-card-slider__title {
  margin: 8px 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

.feature-card-slider__description {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.feature-card-slider__button.button--secondary {
  background-color: #b87f46 !important;
  border-color: #b87f46 !important;
  color: #fff !important;
}

.feature-card-slider__button.button--secondary:hover {
  background-color: #a06d3c !important;
  border-color: #a06d3c !important;
  color: #fff !important;
}

.feature-card-slider__button.button--secondary:not(.button--link, .button--text)::after {
  box-shadow: 0 0 0 var(--button-border-thickness, 1px) #b87f46 !important;
}

.feature-card-slider__button.button--secondary:not(.button--link, .button--text):hover::after {
  box-shadow: 0 0 0 calc(var(--button-border-thickness, 1px) + 1px) #a06d3c !important;
}

.feature-card-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
}

.feature-card-slider__dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--feature-card-slider-dot-inactive, #d0d0d0);
  cursor: pointer;
}

.feature-card-slider__dot.is-active {
  background: var(--feature-card-slider-dot-active, #c18445);
}

@media (min-width: 960px) {
  .feature-card-slider__card {
    flex-direction: row;
    min-height: 420px;
  }

  .feature-card-slider__media,
  .feature-card-slider__content {
    flex: 1 1 50%;
    min-width: 0;
  }

  .feature-card-slider__media {
    min-height: 420px;
  }

  .feature-card-slider__image,
  .feature-card-slider__image-placeholder {
    height: 100%;
    object-fit: contain;
  }

  .feature-card-slider__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
  }

  .feature-card-slider__title {
    font-size: 22px;
  }

  .feature-card-slider__description {
    font-size: 15px;
  }
}

@media (max-width: 959px) {
  .feature-card-slider__container {
    padding-inline: 10px;
  }

  .feature-card-slider__tags {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 5px 6px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .feature-card-slider__tags::-webkit-scrollbar {
    display: none;
  }

  .feature-card-slider__tag {
    min-width: 94px;
    height: 28px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 28px;
  }

  .feature-card-slider__title {
    font-size: 16px;
  }

  .feature-card-slider__content {
    padding-bottom: 28px;
  }

  .feature-card-slider__dots {
    position: relative;
    z-index: 2;
    margin: -20px 0 20px;
  }
}
