/* ═══════════════════════════════════════════════════════════════
   Image With Text — editorial campaign card
   (deep bordeaux or warm sand surface, image blended into the block)
   ═══════════════════════════════════════════════════════════════ */

.cc_uobq6SjXpC_image_with_text .image-with-text {
  width: 100%;
  padding: 8px var(--tv-gutter, 1.5rem);
  background-color: transparent;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__container {
  width: 100%;
  max-width: var(--tv-container, 1320px);
  margin: 0 auto;
}

/* ─── Card shell ─────────────────────────────────────────── */

.cc_uobq6SjXpC_image_with_text .image-with-text__grid {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--tv-radius-card, 2px);
  background-color: var(--iwt-surface, #faf6f0);
}

/* ─── Media half ─────────────────────────────────────────── */

.cc_uobq6SjXpC_image_with_text .image-with-text__media {
  position: relative;
  order: 0;
  width: 100%;
  aspect-ratio: var(--iwt-image-aspect-ratio, 4 / 3);
  max-height: 300px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__image-placeholder {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12));
}

/* ─── Copy half ──────────────────────────────────────────── */

.cc_uobq6SjXpC_image_with_text .image-with-text__panel {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  align-items: center;
  padding: clamp(26px, 6vw, 40px);
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__eyebrow {
  display: block;
  margin: 0;
  font-family: var(--font-display, "cc_uobq6SjXpC_Playfair Display", "Playfair Display Fallback", "Playfair Display Fallback Android", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.2;
  color: var(--iwt-eyebrow-color, #c9a882);
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__title {
  margin: 0;
  font-family: var(--font-display, "cc_uobq6SjXpC_Playfair Display", "Playfair Display Fallback", "Playfair Display Fallback Android", Georgia, serif);
  font-weight: 500;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--iwt-text-color, #1f1b19);
  text-wrap: balance;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__description {
  margin: 0;
  max-width: 420px;
  font-family: var(--font-body, "cc_uobq6SjXpC_Jost", "Jost Fallback", "Jost Fallback Android", sans-serif);
  font-size: var(--text-body, 16px);
  line-height: 1.6;
  color: var(--iwt-description-color, #6b6259);
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--font-label, "cc_uobq6SjXpC_Jost", "Jost Fallback", "Jost Fallback Android", sans-serif);
  font-size: var(--text-small, 14px);
  font-weight: 500;
  letter-spacing: var(--tracking-button, 0.06em);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--tv-radius-pill, 999px);
  border: 1px solid transparent;
  background-color: var(--iwt-btn-bg, var(--iwt-text-color, #faf6f0));
  color: var(--iwt-btn-text, var(--iwt-surface, #1f1b19));
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn--primary {
  background-color: var(--iwt-btn-bg, var(--iwt-text-color, #faf6f0));
  color: var(--iwt-btn-text, var(--iwt-surface, #1f1b19));
  border-color: transparent;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn--primary:hover {
  opacity: 0.9;
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn--secondary {
  background-color: transparent;
  border-color: currentColor;
  color: var(--iwt-text-color, #1f1b19);
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn--secondary:hover {
  background-color: color-mix(in srgb, var(--iwt-text-color, #1f1b19) 14%, transparent);
}

.cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn:focus-visible {
  outline: 2px solid var(--iwt-text-color, currentColor);
  outline-offset: 3px;
}

/* ─── Desktop: text left, image bleeding in from the side ── */

@media (min-width: 768px) {
  .cc_uobq6SjXpC_image_with_text .image-with-text {
    padding-inline: var(--tv-gutter, 1.5rem);
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 320px;
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text__media {
    position: absolute;
    inset: 0 0 0 auto;
    order: 0;
    grid-column: 2;
    width: 56%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
      90deg,
      var(--iwt-surface, #faf6f0) 0%,
      color-mix(in srgb, var(--iwt-surface, #faf6f0) 78%, transparent) 34%,
      color-mix(in srgb, var(--iwt-surface, #faf6f0) 22%, transparent) 70%,
      transparent 100%
    );
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text--image-left .image-with-text__media {
    inset: 0 auto 0 0;
    grid-column: 1;
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text--image-left .image-with-text__media::after {
    background-image: linear-gradient(
      270deg,
      var(--iwt-surface, #faf6f0) 0%,
      color-mix(in srgb, var(--iwt-surface, #faf6f0) 78%, transparent) 34%,
      color-mix(in srgb, var(--iwt-surface, #faf6f0) 22%, transparent) 70%,
      transparent 100%
    );
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text__panel {
    order: 1;
    grid-column: 1;
    padding: clamp(40px, 4.4vw, 56px);
    min-height: 320px;
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text--image-left .image-with-text__panel {
    grid-column: 2;
  }

  .cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel {
    max-width: 460px;
  }
}

@media (min-width: 1024px) {
  .cc_uobq6SjXpC_image_with_text .image-with-text__grid { min-height: 360px; }
  .cc_uobq6SjXpC_image_with_text .image-with-text__panel { min-height: 360px; }
  .cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__title { font-size: clamp(34px, 3.6vw, 46px); }
}

/* Full-bleed variant keeps the same card, edge to edge */
.cc_uobq6SjXpC_image_with_text .image-with-text--full-width {
  padding-inline: 0;
}

.cc_uobq6SjXpC_image_with_text .image-with-text--full-width .image-with-text__grid {
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cc_uobq6SjXpC_image_with_text .image-with-text__panel .iwt-panel__btn { transition: none; }
}

/* ===== Image With Text Panel ===== */

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

.cc_uobq6SjXpC_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_uobq6SjXpC_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_uobq6SjXpC_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_uobq6SjXpC_image_with_text .iwt-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cc_uobq6SjXpC_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_uobq6SjXpC_image_with_text .iwt-panel__btn {
    padding: 12px 28px;
  }
}

.cc_uobq6SjXpC_image_with_text .iwt-panel__btn--primary {
  background: var(--iwt-btn-bg, var(--iwt-accent-color, #5a1a24));
  color: var(--iwt-btn-text, #ffffff);
  border: 1px solid transparent;
}

.cc_uobq6SjXpC_image_with_text .iwt-panel__btn--secondary {
  background: transparent;
  color: var(--iwt-text-color, #1f1b19);
  border: 1px solid currentColor;
}

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

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

  .cc_uobq6SjXpC_image_with_text .iwt-panel__btn--primary:hover {
    opacity: 0.9;
  }

  .cc_uobq6SjXpC_image_with_text .iwt-panel__btn--secondary:hover {
    background-color: color-mix(in srgb, var(--iwt-text-color, #1f1b19) 14%, transparent);
  }

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