/* Mieko — ScrollStory. Pinned media + scrolling StoryStep children. */

.cc_tyzZBf6vd2_0NXTibSkBI .story {
  --acc: var(--story-accent, var(--cNtcF6AdAo)); /* Marka/Birincil */
  background-color: var(--nlxsyKjspa); /* Yüzey/Kanvas — prop overrides inline */
  color: var(--qMc2OtGrm2); /* Metin/Koyu — prop overrides inline */
  scroll-margin-top: 120px;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__inner {
  max-width: calc(var(--mieko-content-max, 1440px) - 80px);
  margin: 0 auto;
  padding: 112px 40px 72px;
  box-sizing: border-box;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__eyebrow {
  margin: 0;
  color: color-mix(in srgb, currentColor 58%, transparent);
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__title {
  margin: 0;
  color: inherit;
  font-size: clamp(30px, 1.2vw + 24px, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__subtitle {
  margin: 0;
  max-width: 640px;
  color: color-mix(in srgb, currentColor 66%, transparent);
  text-wrap: pretty;
}

.cc_tyzZBf6vd2_0NXTibSkBI .story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story--media-right .story__pin {
  order: 2;
}
/* Pinned column is viewport-tall; the frame inside keeps a fixed 16:10 ratio
   (all step images are cut to it) and sits vertically centred. */
.cc_tyzZBf6vd2_0NXTibSkBI .story__pin {
  position: sticky;
  top: var(--story-top, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  height: calc(100vh - var(--story-top, 140px));
  max-height: 820px;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--mieko-card-radius, 12px) + 6px);
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__img--active {
  opacity: 1;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__sheen {
  display: none;
}

.cc_tyzZBf6vd2_0NXTibSkBI .story__rail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__count {
  font-variant-numeric: tabular-nums;
  color: inherit;
  white-space: nowrap;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__count-total {
  color: color-mix(in srgb, currentColor 45%, transparent);
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__bar {
  position: relative;
  flex: 1;
  height: 1px;
  border-radius: 2px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  overflow: hidden;
}
.cc_tyzZBf6vd2_0NXTibSkBI .story__bar-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(var(--story-progress, 0));
  background: currentColor;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc_tyzZBf6vd2_0NXTibSkBI .story__steps {
  padding: 6vh 0 12vh;
}

@media (max-width: 1024px) {
  .cc_tyzZBf6vd2_0NXTibSkBI .story__inner {
    padding: 88px 28px 56px;
  }
  .cc_tyzZBf6vd2_0NXTibSkBI .story__layout {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .cc_tyzZBf6vd2_0NXTibSkBI .story__inner {
    padding: 64px 16px 24px;
  }
  .cc_tyzZBf6vd2_0NXTibSkBI .story__head {
    margin-bottom: 36px;
  }
  .cc_tyzZBf6vd2_0NXTibSkBI .story__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .cc_tyzZBf6vd2_0NXTibSkBI .story__pin {
    display: none;
  }
  .cc_tyzZBf6vd2_0NXTibSkBI .story__steps {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_tyzZBf6vd2_0NXTibSkBI .story__img, .cc_tyzZBf6vd2_0NXTibSkBI .story__bar-fill {
    transition: none;
  }
}
