#gtco-user.public-profile .profile-gallery-section {
  background: #fff;
  border: 1px solid #e8e3df;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(45, 31, 20, .07);
  margin-top: 24px;
  padding: 22px;
}

#gtco-user.public-profile .profile-gallery-heading {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

#gtco-user.public-profile .profile-gallery-heading h2 {
  color: #1d2939;
  font-family: Montserrat, sans-serif;
  font-size: 23px;
  font-weight: 800;
  margin: 0;
}

#gtco-user.public-profile .profile-gallery-heading span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

#gtco-user.public-profile .profile-gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#gtco-user.public-profile .profile-gallery-image {
  background: #f2f4f7;
  border: 0;
  border-radius: 10px;
  cursor: zoom-in;
  height: 190px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

#gtco-user.public-profile .profile-gallery-image::after {
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .28));
  content: '';
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .2s ease;
}

#gtco-user.public-profile .profile-gallery-image:hover::after,
#gtco-user.public-profile .profile-gallery-image:focus-visible::after {
  opacity: 1;
}

#gtco-user.public-profile .profile-gallery-image:focus-visible {
  outline: 3px solid rgba(247, 129, 32, .35);
  outline-offset: 2px;
}

#gtco-user.public-profile .profile-gallery-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

#gtco-user.public-profile .profile-gallery-image:hover img {
  transform: scale(1.035);
}

@media screen and (max-width: 960px) {
  #gtco-user.public-profile .profile-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  #gtco-user.public-profile .profile-gallery-section {
    padding: 16px;
  }

  #gtco-user.public-profile .profile-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #gtco-user.public-profile .profile-gallery-image {
    height: 145px;
  }
}
