.stitch-service-slider {
  width: min(100%, var(--site-max-width, 1180px));
  max-width: var(--site-max-width, 1180px);
  margin: 0 auto;
  padding-block: var(--stitch-section-space, 72px);
  background: transparent !important;
  color: var(--text-color);
  box-sizing: border-box;
}

.stitch-service-slider.full-width {
  width: 100%;
  max-width: 100%;
}

.stitch-service-slider__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.stitch-service-slider__eyebrow {
  margin: 0 0 8px;
  color: var(--muted-text-color);
  font-size: var(--theme-body-font-size, 16px);
  font-weight: var(--theme-title-font-weight, 700);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.stitch-service-slider__title {
  margin: 0;
  max-width: 13ch;
  color: var(--text-color);
  font-size: var(--theme-title-font-size, 48px);
  font-weight: var(--theme-title-font-weight, 700);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stitch-service-slider__count {
  flex: 0 0 auto;
  color: var(--muted-text-color);
  font-size: var(--theme-body-font-size, 16px);
  font-weight: var(--theme-button-font-weight, 700);
  letter-spacing: 0.04em;
}

.stitch-service-slider__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.stitch-service-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  cursor: pointer;
}

.stitch-service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.22 / 1;
  border-radius: var(--section-radius, 16px);
  background: var(--line-color);
}

.stitch-service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.stitch-service-card:hover .stitch-service-card__media img,
.stitch-service-card.active .stitch-service-card__media img {
  transform: scale(1.035);
}

.stitch-service-card__body {
  display: grid;
  gap: 8px;
}

.stitch-service-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.stitch-service-card__meta h3 {
  margin: 0;
  color: var(--text-color);
  font-size: var(--theme-subtitle-font-size, 20px);
  font-weight: var(--theme-title-font-weight, 700);
  line-height: 1.15;
}

.stitch-service-card__meta span {
  flex: 0 0 auto;
  color: var(--muted-text-color);
  font-size: var(--theme-body-font-size, 16px);
  font-weight: var(--theme-button-font-weight, 700);
}

.stitch-service-card__body p {
  margin: 0;
  color: var(--muted-text-color);
  font-size: var(--theme-body-font-size, 16px);
  line-height: 1.55;
}

.stitch-service-slider__statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(100%, 720px);
  margin: clamp(28px, 5vw, 48px) 0 0 auto;
}

.stitch-service-slider__statement p {
  margin: 0;
  color: var(--text-color);
  font-size: var(--theme-subtitle-font-size, 20px);
  font-weight: var(--theme-button-font-weight, 700);
  line-height: 1.18;
}

.stitch-service-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--button-color);
  color: var(--button-text-color, var(--inverse-text-color));
  font-size: var(--theme-button-font-size, 14px);
  font-weight: var(--theme-button-font-weight, 700);
  box-shadow: 0 14px 26px color-mix(in srgb, var(--button-color) 24%, transparent);
}

.stitch-service-slider__button::after {
  content: "↗";
  margin-left: 8px;
}

@media (max-width: 820px) {
  .stitch-service-slider__header,
  .stitch-service-slider__statement {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
  }

  .stitch-service-slider__grid {
    grid-template-columns: 1fr;
  }
}
