.instagram-v1 {
  position: relative;
}

.banner-v41__icon {
  margin: 0 auto;
  max-width: 8rem;
  margin-bottom: 2rem;
}
.banner-v41__icon .xo-image {
  width: 100%;
}
.banner-v41__icon .xo-image img {
  transition: 0.3s;
}

.instagram-v1__item {
  position: relative;
  overflow: hidden;
}

.instagram-v1__title {
  position: relative;
  font-size: clamp(2.4rem, calc(3vw + 1.2rem), 4.8rem);
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: capitalize;
  margin-bottom: 1rem;
  text-align: center;
}

.instagram-v1__subtitle {
  color: rgba(var(--color-accent));
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.instagram-v1__item:hover .instagram-v1__image-layer {
  opacity: 1;
}
.instagram-v1__item:hover img {
  transform: scale(1.2);
}

.instagram-v1__image {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}

.instagram-v1__image-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
}
.instagram-v1__image-layer svg {
  width: 3rem;
  height: 3rem;
  fill: rgb(from #fff r g b / 1);
  transition: 0.3s;
}
.instagram-v1__image-layer svg:hover {
  fill: var(--color);
}

.instagram-v1__grid {
  margin-top: 3rem;
}
.instagram-v1__grid xo-instagram-item a {
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .instagram-v1__grid xo-instagram-item:nth-child(3) {
    visibility: hidden;
  }
}
.instagram-v1__grid xo-instagram-item:hover img {
  transform: scale(1.2);
}
.instagram-v1__grid xo-instagram-item:hover span {
  opacity: 1;
}