.instafeed-container {
  padding: var(--global-sect-pad-y-lg) var(--global-sect-pad-x-sm);
  display: flex;
  flex-direction: column;
  gap: var(--global-item-gap);
  align-items: center;

  #insta-feed {
    width: 100%;

    .instafeed-new-layout-wrapper {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: var(--global-col-gap-sm) !important;

      @media screen and (min-width: 769px) {
        display: flex !important;
      }
    }

    .instafeed-new-layout-container {
      width: 100% !important;
    }

    .instafeed-new-layout-item {
      width: initial !important;
      height: initial !important;
      flex: 1 1 0;

      img {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
      }

      > a {
        display: block;
      }
      .instafeed-hover-icon img {
        height: 40px;
        width: 40px;
        @media screen and (max-width: 768px) {
          height: 20px;
          width: 20px;
        }
      }
    }

    .instafeed-new-layout-item-container {
      top: 0;
      left: 0;
      transform: none;
      height: auto;
      aspect-ratio: 1;
    }
  }

  .button {
    width: 100%;

    @media screen and (min-width: 769px) {
      width: auto;
    }
  }
}
