/* Two-column uneven copy + bento media layout — full section-inner width */

.two-col-uneven {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(var(--space-8), 5vw, var(--space-10));
  align-items: center;
  width: 100%;
}

.bento-uneven {
  --bento-uneven-gap: var(--space-2);

  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  gap: var(--bento-uneven-gap);
  align-items: start;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.bento-uneven__col {
  min-width: 0;
}

.bento-uneven__col--primary {
  display: flex;
  align-items: center;
  height: 100%;
}

.bento-uneven__col--stack {
  display: flex;
  flex-direction: column;
  gap: var(--bento-uneven-gap);
  align-items: stretch;
  overflow: visible;
}

.bento-uneven__cell {
  min-width: 0;
  width: 100%;
}

.bento-uneven__cell--overhang {
  width: 120%;
  max-width: none;
  align-self: flex-start;
}

.bento-uneven__card {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: var(--bento-uneven-ratio, auto);
}

.bento-uneven__card:not(.marquee-ticker) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 821px) and (max-width: 1024px) {
  .two-col-uneven {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
    gap: clamp(var(--space-7), 5vw, var(--space-9));
  }

  .two-col-uneven--mirror {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
  }
}

.two-col-uneven--mirror {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

.bento-uneven__card--fit {
  aspect-ratio: auto;
  height: auto;
  background: transparent;
}

@media (min-width: 761px) and (max-width: 820px) {
  .two-col-uneven {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(var(--space-7), 5vw, var(--space-9));
  }

  .two-col-uneven--mirror .poi-system-copy,
  .two-col-uneven--mirror .case-split__copy,
  .case-split--mirror .two-col-uneven .case-split__copy,
  .case-split--mirror .two-col-uneven .poi-system-copy {
    order: -1;
  }

  .bento-uneven {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .two-col-uneven {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .two-col-uneven--mirror .poi-system-copy,
  .two-col-uneven--mirror .case-split__copy,
  .case-split--mirror .two-col-uneven .case-split__copy,
  .case-split--mirror .two-col-uneven .poi-system-copy {
    order: -1;
  }

  .bento-uneven {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .bento-uneven__col--primary {
    height: auto;
  }

  .bento-uneven__cell--overhang {
    width: 100%;
  }
}
