/*
 * Teaser-Bundle 2-column module — SD-31
 * Figma: content modules / teaser-bundle / 2-clmns (node 6361-114350)
 * Headline + a 2-column grid of cards (card-standard / card-testimonial) + CTA.
 * A landscape testimonial spans the full width. Module-level layout only — the
 * cards bring their own component styles.
 */

.dk-teaser-bundle-2clmns {
  padding-block: var(--dk-space-section-m);
  padding-inline: var(--dk-space-page-inline);
}

.dk-teaser-bundle-2clmns__inner {
  max-inline-size: 88.75rem; /* 1420px */
  margin-inline: auto;
}

.dk-teaser-bundle-2clmns__headline {
  margin: 0 0 var(--dk-space-08);
}

.dk-teaser-bundle-2clmns__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--dk-space-06);
  row-gap: var(--dk-space-13); /* 160px */
}

.dk-teaser-bundle-2clmns__item {
  min-inline-size: 0;
  display: flex; /* stretch card to full grid-cell height */
}

.dk-teaser-bundle-2clmns__item > * {
  flex: 1 1 auto;
  min-inline-size: 0;
}

/* Landscape testimonials span the full width */
.dk-teaser-bundle-2clmns__item--full {
  grid-column: 1 / -1;
}

.dk-teaser-bundle-2clmns__cta {
  display: flex;
  margin-block-start: var(--dk-space-08);
}

/* Breakpoint M */
@media (max-width: 79.9375rem) {
  .dk-teaser-bundle-2clmns__grid {
    row-gap: 8rem; /* 128px */
  }
}

/* Breakpoint S */
@media (max-width: 63.9375rem) {
  .dk-teaser-bundle-2clmns__grid {
    row-gap: 3.5rem; /* 56px */
  }
}

/* Single column on small */
@media (max-width: 44rem) {
  .dk-teaser-bundle-2clmns__grid {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }
}
