.instagram-v5__heading {
  text-align: center;
}

.instagram-v5__icon svg {
  width: 5rem;
  height: 5rem;
}
@media (min-width: 1400px) {
  .instagram-v5__icon svg {
    width: 7rem;
    height: 7rem;
  }
}

.instagram-v5__title {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.instagram-v5__title::after {
  content: "";
  width: 8rem;
  height: 0.2rem;
  background-color: rgba(var(--color-accent));
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 0;
}

.instagram-v5__description {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  color: rgba(var(--color-accent));
}
@media (max-width: 767px) {
  .instagram-v5__description {
    margin-bottom: 2rem;
  }
}

.instagram-v5__item {
  position: relative;
  overflow: hidden;
  margin-right: 1.5rem;
}

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

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

.instagram-v5__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-v5__image-layer svg {
  width: 3rem;
  height: 3rem;
  fill: rgb(from #fff r g b / 1);
  transition: 0.3s;
}
.instagram-v5__image-layer svg:hover {
  fill: rgb(from rgba(var(--color-accent)) r g b / 1);
}

.instagram-v5__list xo-instagram-item a {
  position: relative;
  overflow: hidden;
}
.instagram-v5__list xo-instagram-item:hover img {
  transform: scale(1.2);
}
.instagram-v5__list xo-instagram-item:hover span {
  opacity: 1;
}