/* A step card hanging on the thread (ThreadStory). Numbered by the list's counter. */
.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep {
  position: relative;
  counter-increment: sol-tstep;
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__peg {
  position: absolute;
  top: 28px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 2px solid var(--sol-thread, #b07a4f);
  border-radius: 50%;
  background: var(--sol-white);
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card {
  display: grid;
  overflow: hidden;
  border-radius: var(--sol-radius-card);
  background: var(--sol-white);
  box-shadow: 0 10px 28px -18px rgba(31, 31, 31, 0.45);
  transform-origin: 50% 0;
  transition:
    transform 700ms var(--sol-ease-out),
    filter 700ms var(--sol-ease-out),
    opacity 700ms var(--sol-ease-out);
}

/* The card's frame is stitched, like the bag's edges. */
.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed color-mix(in srgb, var(--sol-thread, #b07a4f) 55%, transparent);
  border-radius: calc(var(--sol-radius-card) - 4px);
  pointer-events: none;
}

/* 14 Nov gap scan: the stitch frame for engines without color-mix() (Safari < 16.2, Chrome < 111): the full thread colour
   at the same 55 % strength through opacity (the pseudo-element holds only this line). */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card::after {
    border: 1px dashed var(--sol-thread, #b07a4f);
    opacity: 0.55;
  }
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card {
  position: relative;
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sol-surface);
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__media .sol-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__body {
  display: grid;
  gap: var(--sol-space-1);
  padding: var(--sol-space-4) var(--sol-space-5) var(--sol-space-5);
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__num::before {
  content: counter(sol-tstep, decimal-leading-zero);
  color: var(--sol-thread, #b07a4f);
  letter-spacing: 0.08em;
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__title {
  margin: 0;
  color: var(--sol-ink);
}

.cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__text {
  margin: 0;
  color: var(--sol-text-muted);
}

@media (max-width: 1024px) {
  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__peg {
    top: 22px;
    left: -31px;
  }

  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
  }

  /* 24 Nov revision: the photo fills the card's height but no longer sets it (a tall photo made "Dikiş" and "Deri
     etiket" cards long and spread their lines apart); the text decides the height, 112 px at least. */
  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__media {
    position: relative;
    aspect-ratio: auto;
    min-height: 112px;
  }

  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__media > * {
    position: absolute;
    inset: 0;
  }

  /* 24 Nov revision: 10 px clear between the stitched frame (6 px in) and the text at the top and at the bottom (was
     6 px), and the text block sits in the middle, so the space above the number equals the space below the last line. */
  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__body {
    align-content: center;
    padding: var(--sol-space-4);
  }

  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__text {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_UvrFCXV67c_XQrJu8j7GK .sol-tstep__card {
    transition: none;
  }
}
