.graphic-stitching {
  background: #fdf9f3;
}

.graphic-stitching__inner {
  position: relative;
  min-height: var(--graphic-stitching-desktop-height);
  overflow: hidden;
}

.graphic-stitching__media,
.graphic-stitching__image,
.graphic-stitching__img,
.graphic-stitching__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.graphic-stitching__image--mobile {
  display: none;
}

.graphic-stitching__img,
.graphic-stitching__placeholder {
  object-fit: cover;
  object-position: var(--graphic-stitching-object-position);
}

.graphic-stitching__media::after {
  position: absolute;
  inset: 0;
  right: auto;
  width: 50%;
  content: "";
  background: rgba(0, 0, 0, var(--graphic-stitching-mask-opacity));
  pointer-events: none;
}

.graphic-stitching--text-right .graphic-stitching__media::after {
  right: 0;
  left: auto;
}

.graphic-stitching__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(48%, 560px);
  min-height: var(--graphic-stitching-desktop-height);
  padding: clamp(28px, 4vw, 56px);
  color: #ffffff;
}

.graphic-stitching--text-right .graphic-stitching__content {
  margin-left: auto;
}

.graphic-stitching__title {
  margin: 0;
  color: inherit;
  font-family: Poppins, var(--sort-title-font), sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.graphic-stitching__body {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Montserrat, var(--sort-body-font), sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.6;
}

.graphic-stitching__body * {
  color: inherit !important;
}

.graphic-stitching__button {
  align-self: flex-start;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #ffffff !important;
  font-family: Montserrat, var(--sort-body-font), sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  background: #111111;
  transition: background 180ms ease, color 180ms ease;
}

.graphic-stitching__button:visited {
  color: #ffffff !important;
}

.graphic-stitching__button:hover,
.graphic-stitching__button:focus-visible {
  color: #ffffff !important;
  background: #2a2a2a;
}

@media (max-width: 959px) {
  .graphic-stitching__inner {
    min-height: 0;
  }

  .graphic-stitching__media {
    position: relative;
    height: var(--graphic-stitching-mobile-image-height);
  }

  .graphic-stitching__image--desktop {
    display: none;
  }

  .graphic-stitching__image--mobile {
    display: block;
  }

  .graphic-stitching__media::after {
    display: none;
  }

  .graphic-stitching__content {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.94) 0%, rgba(12, 10, 8, 0.82) 100%);
  }

  .graphic-stitching__title {
    font-size: 1.25rem;
  }

  .graphic-stitching__body {
    font-size: 0.82rem;
  }
}
