/* Mieko — ChapterStats. A flagship-page chapter: eyebrow + big title + paragraph,
   a row of big numbers (ChapterStat children) and optional media.
   Theme tokens by default; textColor / accentColor props override via --cstats-*. */

.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats {
  --cstats-text-c: var(--cstats-text, var(--qMc2OtGrm2)); /* Metin/Koyu */
  --cstats-muted: color-mix(in srgb, var(--cstats-text-c) 64%, transparent);
  --cstats-line: color-mix(in srgb, var(--cstats-text-c) 14%, transparent);
  background-color: var(--nlxsyKjspa); /* Yüzey/Kanvas — prop overrides inline */
  color: var(--cstats-text-c);
  scroll-margin-top: 120px;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__inner {
  max-width: calc(var(--mieko-content-max, 1440px) - 80px);
  margin: 0 auto;
  padding: 112px 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  box-sizing: border-box;
}

.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats--center .cstats__head {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__eyebrow {
  margin: 0;
  color: var(--cstats-muted);
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__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_4KLrtHlMY9 .cstats__desc {
  margin: 0;
  color: var(--cstats-muted);
  max-width: 680px;
  text-wrap: pretty;
}

/* Numbers: hairline-separated columns that wrap instead of shrinking. Each stat
   draws a left hairline and shifts 1px left; overflow clips the line at row starts. */
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px 0;
  overflow: hidden;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__grid .cstat {
  height: 100%;
  margin-left: -1px;
  padding: 4px 28px;
  border-left: 1px solid var(--cstats-line);
  box-sizing: border-box;
}
/* Many values: fixed 3-up rhythm so big figures never collide. */
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats--many .cstats__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 44px;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats--center .cstats__grid .cstat {
  align-items: center;
  text-align: center;
}

.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--mieko-card-radius, 12px) + 8px);
  aspect-ratio: var(--cstats-aspect, 16 / 9);
  background-color: var(--cstats-line);
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__media--auto {
  aspect-ratio: auto;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__media--auto .cstats__img {
  height: auto;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__img--mobile {
  display: none;
}

.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__footnote {
  margin: -24px 0 0;
  color: var(--cstats-muted);
  max-width: 820px;
}
.cc_tyzZBf6vd2_4KLrtHlMY9 .cstats--center .cstats__footnote {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__inner {
    padding: 88px 32px;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__inner {
    padding: 64px 20px;
    gap: 36px;
  }
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__grid, .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats--many .cstats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__grid .cstat {
    padding: 2px 12px;
    min-width: 0;
  }
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__img--desktop {
    display: none;
  }
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__img--mobile {
    display: block;
  }
  .cc_tyzZBf6vd2_4KLrtHlMY9 .cstats__footnote {
    margin-top: -16px;
  }
}
