.fcsg-root {
  --fcsg-card-width: clamp(280px, 34vw, 420px);
  background: #fffdf4;
  color: #063f46;
  padding: 56px 0 64px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

.fcsg-root * {
  box-sizing: border-box;
}

.fcsg-head {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 40px;
}

.fcsg-head p {
  margin: 0 0 12px;
  color: #0b5963;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.fcsg-head h2 {
  width: min(720px, 100%);
  margin: 0;
  color: #063f46;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 700;
}

.fcsg-scroller {
  width: min(1180px, 100%);
  margin: 30px auto 0;
  padding: 0 40px 8px;
  overflow: hidden;
  overscroll-behavior-x: contain;
}

.fcsg-track {
  display: flex;
  width: max-content;
  animation: fcsg-loop 90s linear infinite;
  will-change: transform;
}

.fcsg-scroller:hover .fcsg-track,
.fcsg-scroller:focus-within .fcsg-track {
  animation-play-state: paused;
}

.fcsg-group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.fcsg-card {
  width: var(--fcsg-card-width);
  flex: 0 0 var(--fcsg-card-width);
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e6d3;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 63, 70, 0.08);
}

.fcsg-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #f4f0e4;
  overflow: hidden;
}

.fcsg-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fcsg-card__body {
  min-height: 164px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.fcsg-stars {
  display: block;
  color: #f27037;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.fcsg-card__body p {
  margin: 0;
  color: #164d55;
  font-size: 16px;
  line-height: 1.48;
}

.fcsg-card__body strong {
  color: #063f46;
  font-size: 13px;
  font-weight: 900;
}

.fcsg-card__link {
  width: fit-content;
  color: #063f46;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.fcsg-card__link:hover {
  color: #0a6671;
}

@media (max-width: 760px) {
  .fcsg-root {
    --fcsg-card-width: clamp(248px, 82vw, 420px);
    padding: 44px 0 50px;
  }

  .fcsg-head {
    padding: 0 20px;
  }

  .fcsg-head h2 {
    font-size: 31px;
  }

  .fcsg-scroller {
    padding: 0 20px 8px;
  }

  .fcsg-card__body {
    min-height: 144px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcsg-track {
    animation: none;
  }
}

@keyframes fcsg-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
