/* ==========================
   SECTION
========================== */

#section-grid-photos {

  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 90px 0 60px;
  overflow: hidden;

  .grid-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(10px,1vw,22px);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* ==========================
     COLUNA ESQUERDA
  ========================== */

  .col-left {
    flex: 0 0 665px;
    width: 665px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 824px; */

    .short-text {
      margin: 0 0 24px;
      font-size: 36px;
      line-height: 1.2;
      font-family: NimbusRomDGRegular;
    }

    .banner-left-wrapper {
      width: 100%;
      height: 550px;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
      /* border-radius: 10px; */
    }
  }

  /* ==========================
     COLUNA DIREITA
  ========================== */

  .col-right {
    flex: 0 0 600px;
    width: 600px;
    max-width: 100%;

    .subgrid-container {
      display: grid;

      /* Agora apenas 2 itens, um abaixo do outro */
      grid-template-columns: 1fr;
      gap: 22px;
    }

    .subgrid-item {
      width: 100%;
      position: relative;
      overflow: hidden;
      /* border-radius: 10px; */
    }

    .swiper-grid-photos {
      width: 100%;
      height: 100%;

      .swiper-slide {
        width: 100%;
        height: 100%;
      }

      img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
      }
    }
  }

  /* ==========================
     RESPONSIVO
  ========================== */

  @media (max-width: 1300px) {
    .grid-content-wrapper {
      flex-wrap: wrap;
    }

    .col-left {
      flex: 0 0 100%;
      width: 100%;
      height: auto;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      margin-bottom: 20px;

      .banner-left-wrapper {
        max-width: 100%;
        height: fit-content;
        img{max-width: 100%;}
      }
    }

    .col-right {
      flex: 0 0 100%;
      width: 100%;
      display: flex;
      justify-content: center;

      .subgrid-container {
        max-width: 500px;
        width: 100%;
      }
    }
  }

  @media (max-width: 768px) {
    .col-right {
      .subgrid-container {
        max-width: 100%;
      }
    }
  }
}