.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide {
  width: 100%;
}

/* Mobile-first */
.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__eyebrow {
  margin: 0;
  color: var(--tencerecim-gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__title {
  margin: 0;
  color: var(--tencerecim-navy);
}

/* Mobile: 2x2 equal cards */
.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 8rem;
  gap: 0.625rem;
}

/*
 * IkasComponentRenderer DOM: display:contents wrapper > per-child wrapper > card root.
 * The grid item is the per-child wrapper (level 2). Placement rules are written for
 * level 2 and mirrored to level 3, so the layout still holds if the per-child wrapper
 * is ever rendered as display:contents (grid-area on a non-grid-item is a no-op).
 */
.cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *, .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > * > * {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

@media (min-width: 768px) {
  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__container {
    gap: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid {
    grid-auto-rows: 11rem;
    gap: 0.75rem;
  }
}

/* Desktop bento: large card left (2 rows), two cards top-right, one wide card bottom-right */
@media (min-width: 1024px) {
  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 12.5rem 12.5rem;
    grid-auto-rows: 12.5rem;
    gap: 1.25rem;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(1), .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(1) > * {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(2), .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(2) > * {
    grid-column: 3;
    grid-row: 1;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(3), .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(3) > * {
    grid-column: 4;
    grid-row: 1;
  }

  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(4), .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(4) > * {
    grid-column: 3 / span 2;
    grid-row: 2;
  }

  /* Extra cards (5+) flow in pairs below the bento */
  .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(n + 5), .cc_3l4dbrl8_GEsGFxi3T5 .tc-material-guide__grid > * > *:nth-child(n + 5) > * {
    grid-column: span 2;
  }
}
