.section-grid {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  gap: 60px;

  .section-main {
    display: grid;
    gap: 60px;
  }

  .cols-100 {
    grid-template-columns: 1fr;
  }

  @container (width > 500px) {
    .cols-50-50 {
      grid-template-columns: 1fr 1fr;
    }
  }

  @container (width > 750px) {
    .cols-33-33-33 {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .cols-75-25 {
      grid-template-columns: 3fr 1fr;
    }

    .cols-25-75 {
      grid-template-columns: 1fr 3fr;
    }

    .cols-67-33 {
      grid-template-columns: 2fr 1fr;
    }

    .cols-33-67 {
      grid-template-columns: 1fr 2fr;
    }
  }

  @container (width > 1000px) {
    .cols-50-25-25 {
      grid-template-columns: 2fr 1fr 1fr;
    }

    .cols-25-25-50 {
      grid-template-columns: 1fr 1fr 2fr;
    }

    .cols-25-25-25-25 {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
  }
}
