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

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

 .cc_aVFDAw4vb0_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_aVFDAw4vb0_image_with_text .image-with-text__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* ---- Media column ---- */
 .cc_aVFDAw4vb0_image_with_text .image-with-text__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--iwt-image-aspect-ratio, 4 / 3);
  max-height: 240px;
  border-radius: 12px;
}

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

 .cc_aVFDAw4vb0_image_with_text .image-with-text__image-placeholder {
  background: var(--yuzey-alt);
}

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

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

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

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

   .cc_aVFDAw4vb0_image_with_text .image-with-text__grid {
    gap: var(--space-lg);
  }

   .cc_aVFDAw4vb0_image_with_text .image-with-text__media {
    max-height: 280px;
  }
}

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

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

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

 .cc_aVFDAw4vb0_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_aVFDAw4vb0_image_with_text .image-with-text--full-width {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 500px;
  }

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

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

   .cc_aVFDAw4vb0_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_aVFDAw4vb0_image_with_text .image-with-text__media {
    opacity: 0;
    transform: translateX(-20px);
    animation: cc_aVFDAw4vb0_image_with_text_cc_aVFDAw4vb0_image_with_text_image-with-text-in-left 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

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

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

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

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

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

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

 .cc_aVFDAw4vb0_image_with_text .iwt-panel__title {
  margin: 0 0 var(--space-xs) 0;
  color: var(--iwt-text-color, var(--metin));
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

 .cc_aVFDAw4vb0_image_with_text .iwt-panel__description {
  margin: 0 0 var(--space-sm) 0;
  color: var(--iwt-description-color, var(--metin-ikincil));
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

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

 .cc_aVFDAw4vb0_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: 8px;
  cursor: pointer;
  transition: transform 120ms ease;
}

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

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

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

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

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

   .cc_aVFDAw4vb0_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_aVFDAw4vb0_image_with_text .iwt-panel__btn--primary:hover {
    filter: brightness(0.88);
  }

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

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

/* ===== Panel (sub-component: ImageWithTextPanel) =====
 * Duplicated in src/components/ImageWithText/styles.css since the build
 * does not auto-bundle sub-component CSS — keep both copies in sync. */

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

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

.cc_aVFDAw4vb0_image_with_text .iwt-panel__title {
  margin: 0 0 var(--space-xs) 0;
  color: var(--iwt-text-color, var(--metin));
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.cc_aVFDAw4vb0_image_with_text .iwt-panel__description {
  margin: 0 0 var(--space-sm) 0;
  color: var(--iwt-description-color, var(--metin-ikincil));
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

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

.cc_aVFDAw4vb0_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: 8px;
  cursor: pointer;
  transition: transform 120ms ease;
}

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

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

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

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

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

  .cc_aVFDAw4vb0_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_aVFDAw4vb0_image_with_text .iwt-panel__btn--primary:hover {
    filter: brightness(0.88);
  }

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

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