.photos-detail-page:not(.hobbies-detail-page) .gallery-album-cards{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.gallery-member-links>.gallery-our-galleries{
  display:block!important;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(49,54,47,.12);
}
.gallery-our-galleries-title{
  display:block;
  margin:0 0 10px;
  color:#9a6945;
  font:600 11px Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.gallery-our-galleries-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px!important;
  width:min(470px,100%);
  margin:0 auto;
}
.gallery-our-galleries-row>.gallery-special-link-group{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center;
  gap:7px;
  min-width:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.gallery-our-galleries-row .gallery-special-link{
  width:100%!important;
  max-width:220px;
}
@media(max-width:700px){
  .photos-detail-page:not(.hobbies-detail-page) .gallery-album-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .gallery-our-galleries-row{gap:8px!important}
  .gallery-our-galleries-title{font-size:10px}
  .gallery-our-galleries-row>.gallery-special-link-group>span{font-size:9px}
}
