/* ===== Image With Text Section ===== */

.cc_cL1FQPGrLY_image_with_text .image-with-text {
  width: 100%;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.cc_cL1FQPGrLY_image_with_text .image-with-text__container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(16px, 5vw, 80px);
  padding-right: clamp(16px, 5vw, 80px);
}

/* ---- Grid ---- */
.cc_cL1FQPGrLY_image_with_text .image-with-text__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* ---- Media column ---- */
.cc_cL1FQPGrLY_image_with_text .image-with-text__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--iwt-image-aspect-ratio, 4 / 3);
}

.cc_cL1FQPGrLY_image_with_text .image-with-text__image, .cc_cL1FQPGrLY_image_with_text .image-with-text__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_cL1FQPGrLY_image_with_text .image-with-text__image-placeholder {
  background: var(--color-surface-alt);
}

/* ---- Panel column ---- */
.cc_cL1FQPGrLY_image_with_text .image-with-text__panel {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* ===== Tablet (>=768px) ===== */
@media (min-width: 768px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  /* Image right swap (tablet+) */
  .cc_cL1FQPGrLY_image_with_text .image-with-text--image-right .image-with-text__media {
    order: 2;
  }
  .cc_cL1FQPGrLY_image_with_text .image-with-text--image-right .image-with-text__panel {
    order: 1;
  }
}

/* ===== Desktop (>=1024px) ===== */
@media (min-width: 1024px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid {
    gap: var(--space-xl);
  }
}

/* ===== Full-width mode ===== */
.cc_cL1FQPGrLY_image_with_text .image-with-text--full-width {
  /* No container — section bleeds edge-to-edge */
}

.cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__media {
  /* Mobile: natural 4/3 image at full width */
  aspect-ratio: 4 / 3;
}

.cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__panel {
  padding: var(--space-xl) clamp(16px, 5vw, 80px);
}

@media (min-width: 768px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text--full-width {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 500px;
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__grid {
    grid-template-columns: 50% 50%;
    min-height: 500px;
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 500px;
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text--full-width .image-with-text__panel {
    padding: var(--space-2xl) clamp(32px, 5vw, 80px);
  }
}

/* ===== Scroll-reveal entrance (motion-safe only) ===== */
@media (prefers-reduced-motion: no-preference) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text__media {
    opacity: 0;
    transform: translateX(-20px);
    animation: cc_cL1FQPGrLY_image_with_text_image-with-text-in-left 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text--image-right .image-with-text__media {
    transform: translateX(20px);
    animation-name: cc_cL1FQPGrLY_image_with_text_image-with-text-in-right;
  }

  @keyframes cc_cL1FQPGrLY_image_with_text_image-with-text-in-left {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes cc_cL1FQPGrLY_image_with_text_image-with-text-in-right {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ===== Panel (sub-component: ImageWithTextPanel) ===== */

.cc_cL1FQPGrLY_image_with_text .iwt-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 560px;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  color: var(--iwt-eyebrow-color, var(--color-accent));
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1.4;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__title {
  margin: 0 0 var(--space-md) 0;
  color: var(--iwt-text-color, var(--color-text-primary));
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__description {
  margin: 0 0 var(--space-lg) 0;
  color: var(--iwt-description-color, var(--color-text-secondary));
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 120ms ease;
}

@media (min-width: 1024px) {
  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
    padding: 12px 28px;
  }
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn:active {
  transform: scale(0.96);
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--primary {
  background: var(--iwt-accent-color, var(--color-accent));
  color: #ffffff;
  border: none;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--secondary {
  background: transparent;
  color: var(--iwt-text-color, var(--color-text-primary));
  border: 1px solid var(--color-border);
}

@media (prefers-reduced-motion: no-preference) {
  .cc_cL1FQPGrLY_image_with_text .iwt-panel {
    opacity: 0;
    transform: translateY(16px);
    animation: cc_cL1FQPGrLY_image_with_text_iwt-panel-in 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 80ms forwards;
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
    transition: filter 200ms ease, border-color 200ms ease, color 200ms ease, background-color 200ms ease, transform 120ms ease;
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--primary:hover {
    filter: brightness(0.88);
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--secondary:hover {
    border-color: var(--iwt-accent-color, var(--color-accent));
  }

  @keyframes cc_cL1FQPGrLY_image_with_text_iwt-panel-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== Görselsiz mod: hareketli çizim ===== */

.cc_cL1FQPGrLY_image_with_text .image-with-text__media:has(.story-illustration) {
  aspect-ratio: var(--iwt-image-aspect-ratio, 4 / 3);
  overflow: visible;
}
/* ===== Gözden geçirme düzeltmeleri ===== */

/* Sütunlar içeriğe göre şişmesin (çizim metni sıkıştırıyordu) */
@media (min-width: 768px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Görselsiz modda tablette alt alta: önce çizim, sonra metin */
@media (min-width: 768px) and (max-width: 1023px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid:has(.story-illustration) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid:has(.story-illustration) .image-with-text__media {
    order: 0;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .cc_cL1FQPGrLY_image_with_text .image-with-text__grid:has(.story-illustration) .image-with-text__panel {
    order: 1;
    justify-content: center;
  }
}

/* Masaüstünde bölüm araları daha dengeli */
@media (min-width: 1024px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}
/* Mobil: çizimin üstündeki boşluk daha az */
@media (max-width: 767px) {
  .cc_cL1FQPGrLY_image_with_text .image-with-text {
    padding-top: var(--space-md);
  }
}
/* ===== Image With Text Panel ===== */

.cc_cL1FQPGrLY_image_with_text .iwt-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 560px;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  color: var(--iwt-eyebrow-color, var(--color-accent));
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1.4;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__title {
  margin: 0 0 var(--space-md) 0;
  color: var(--iwt-text-color, var(--color-text-primary));
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__description {
  margin: 0 0 var(--space-lg) 0;
  color: var(--iwt-description-color, var(--color-text-secondary));
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.7;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
    padding: 12px 28px;
  }
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--primary {
  background: var(--iwt-accent-color, var(--color-accent));
  color: #ffffff;
  border: none;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--secondary {
  background: transparent;
  color: var(--iwt-text-color, var(--color-text-primary));
  border: 1px solid var(--color-border);
}

/* ===== Hover & motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .cc_cL1FQPGrLY_image_with_text .iwt-panel {
    opacity: 0;
    transform: translateY(16px);
    animation: cc_cL1FQPGrLY_image_with_text_iwt-panel-in 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 80ms forwards;
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
    transition: filter 200ms ease, border-color 200ms ease, color 200ms ease, background-color 200ms ease;
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--primary:hover {
    filter: brightness(0.88);
  }

  .cc_cL1FQPGrLY_image_with_text .iwt-panel__btn--secondary:hover {
    border-color: var(--iwt-accent-color, var(--color-accent));
  }

  @keyframes cc_cL1FQPGrLY_image_with_text_iwt-panel-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== Veltris stili ===== */

.cc_cL1FQPGrLY_image_with_text .iwt-panel__eyebrow {
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__title {
  text-wrap: balance;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__description {
  text-wrap: pretty;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__values {
  list-style: none;
  margin: 0 0 var(--space-lg) 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__value {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iwt-text-color, var(--color-text-primary));
}

/* Küçük bakır elmas işaret */
.cc_cL1FQPGrLY_image_with_text .iwt-panel__value::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--iwt-accent-color, var(--color-accent));
  transform: translateY(-50%) rotate(45deg);
}

.cc_cL1FQPGrLY_image_with_text .iwt-panel__btn {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-label);
  padding: 14px 32px;
}
/* StoryIllustration — görselsiz hikaye bölümü için hareketli çizgi sahne.
 * Bölüm ekrana girince çizgiler sırayla çizilir; alevler titrer, duman yükselir. */

.cc_cL1FQPGrLY_image_with_text .story-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  overflow: visible;
}

.cc_cL1FQPGrLY_image_with_text .story-illustration__svg {
  width: 88%;
  height: auto;
  max-height: 92%;
}

/* ─── Çizgiler: çizilerek belirme ─── */

.cc_cL1FQPGrLY_image_with_text .si-line {
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--d, 0) * 220ms);
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-line {
  stroke-dashoffset: 0;
}

.cc_cL1FQPGrLY_image_with_text .si-leaf {
  transform-box: fill-box;
  transform-origin: 0% 100%;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-leaf {
  animation: cc_cL1FQPGrLY_image_with_text_si-leaf-sway 6s ease-in-out 2.4s infinite;
}

/* ─── Alevler ─── */

.cc_cL1FQPGrLY_image_with_text .si-flames {
  opacity: 0;
  transition: opacity 800ms ease 1.2s;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-flames {
  opacity: 1;
}

.cc_cL1FQPGrLY_image_with_text .si-flame, .cc_cL1FQPGrLY_image_with_text .si-flame-core {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.cc_cL1FQPGrLY_image_with_text .si-flame {
  stroke: currentColor;
  stroke-width: 1.3;
  fill: rgba(247, 233, 214, 0.6);
}

.cc_cL1FQPGrLY_image_with_text .si-flame-core {
  fill: currentColor;
  opacity: 0.55;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-flame, .cc_cL1FQPGrLY_image_with_text .is-visible .si-flame-core {
  animation: cc_cL1FQPGrLY_image_with_text_si-flicker 2.8s ease-in-out infinite;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-flame--2 {
  animation-duration: 3.4s;
  animation-delay: -1.2s;
}

/* ─── Işık halesi ─── */

.cc_cL1FQPGrLY_image_with_text .si-glow {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transition: opacity 1s ease 1.4s;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-glow {
  opacity: 1;
  animation: cc_cL1FQPGrLY_image_with_text_si-glow-pulse 4s ease-in-out infinite;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-glow--2 {
  animation-delay: -2s;
}

/* ─── Duman: yukarı akan kesik çizgi ─── */

.cc_cL1FQPGrLY_image_with_text .si-smoke path {
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 0.35 0.65;
  stroke-dashoffset: 0;
  opacity: 0;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-smoke path {
  animation: cc_cL1FQPGrLY_image_with_text_si-smoke 4.5s linear 2s infinite;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-smoke .si-smoke--2 {
  animation-duration: 5.5s;
  animation-delay: 3s;
}

/* ─── Kıvılcımlar ─── */

.cc_cL1FQPGrLY_image_with_text .si-spark {
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.cc_cL1FQPGrLY_image_with_text .is-visible .si-spark {
  animation: cc_cL1FQPGrLY_image_with_text_si-twinkle 3.6s ease-in-out infinite;
  animation-delay: calc(2s + var(--i, 0) * 0.7s);
}

/* ─── Keyframes ─── */

@keyframes cc_cL1FQPGrLY_image_with_text_si-flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  20%      { transform: scale(0.96, 1.06) rotate(-2deg); }
  45%      { transform: scale(1.03, 0.95) rotate(1.5deg); }
  70%      { transform: scale(0.98, 1.04) rotate(-1deg); }
}

@keyframes cc_cL1FQPGrLY_image_with_text_si-glow-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.75; }
}

@keyframes cc_cL1FQPGrLY_image_with_text_si-smoke {
  0%   { stroke-dashoffset: 0;  opacity: 0; }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.4; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}

@keyframes cc_cL1FQPGrLY_image_with_text_si-twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.4); }
  50%      { opacity: 0.8; transform: scale(1); }
}

@keyframes cc_cL1FQPGrLY_image_with_text_si-leaf-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_cL1FQPGrLY_image_with_text .si-line { transition: none; stroke-dashoffset: 0; }
  .cc_cL1FQPGrLY_image_with_text .si-flames, .cc_cL1FQPGrLY_image_with_text .si-glow { transition: none; opacity: 1; }
  .cc_cL1FQPGrLY_image_with_text .is-visible .si-flame, .cc_cL1FQPGrLY_image_with_text .is-visible .si-flame-core, .cc_cL1FQPGrLY_image_with_text .is-visible .si-glow, .cc_cL1FQPGrLY_image_with_text .is-visible .si-leaf, .cc_cL1FQPGrLY_image_with_text .is-visible .si-smoke path, .cc_cL1FQPGrLY_image_with_text .is-visible .si-spark { animation: none; }
}
