.mogarte-click-gallery .portfolio-item.has-thumbnail,
.mogarte-click-gallery .portfolio-item.has-thumbnail .image-wrapper a {
  cursor: pointer;
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  inset: 0;
  padding: 24px !important;
  background: rgba(18, 17, 16, .56) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease !important;
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .desc-inner {
  height: auto !important;
  overflow: visible !important;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .35s ease;
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .entry-title {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  font-weight: 600;
  text-align: center !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .entry-title a {
  color: #fff !important;
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .entry-title:after {
  width: 32px;
  height: 2px;
  margin: 12px auto 0 !important;
  background: #fff !important;
}
.mogarte-click-gallery .hover-desc .links-wrapper {
  display: flex !important;
  justify-content: center;
  position: static !important;
  width: auto !important;
  padding: 0 !important;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .35s ease;
}
.mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .links-wrapper a.zoom {
  display: grid !important;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #fff !important;
  color: #25231f !important;
  font-size: 22px !important;
  line-height: 1;
  top: 0 !important;
  float: none !important;
  border-radius: 0;
}
.mogarte-click-gallery .masonry-hover-wrapper:hover .hover-desc,
.mogarte-click-gallery .masonry-hover-wrapper:focus-within .hover-desc {
  opacity: 1;
}
.mogarte-click-gallery .masonry-hover-wrapper:hover .desc-inner,
.mogarte-click-gallery .masonry-hover-wrapper:focus-within .desc-inner,
.mogarte-click-gallery .masonry-hover-wrapper:hover .links-wrapper,
.mogarte-click-gallery .masonry-hover-wrapper:focus-within .links-wrapper {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.mogarte-click-gallery .image-wrapper img {
  transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .mogarte-click-gallery .masonry-hover-wrapper:hover .image-wrapper img {
    transform: scale(1.035);
  }
}
@media (hover: none), (pointer: coarse) {
  .mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc {
    opacity: 1;
    padding: 18px !important;
    background: linear-gradient(180deg, transparent 45%, rgba(18, 17, 16, .7) 100%) !important;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0;
  }
  .mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .desc-inner {
    opacity: 1;
    transform: none;
    text-align: left;
  }
  .mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .entry-title:after { display: none; }
  .mogarte-click-gallery .portfolio-item.has-thumbnail .hover-desc .links-wrapper { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mogarte-click-gallery .hover-desc,
  .mogarte-click-gallery .desc-inner,
  .mogarte-click-gallery .image-wrapper img {
    transition: none !important;
    transform: none !important;
  }
}
.mogarte-click-gallery .image-wrapper a {
  display: block;
}
.mogarte-click-gallery .image-wrapper a:focus-visible {
  outline: 3px solid #52b4e1;
  outline-offset: -3px;
}
.mogarte-gallery .mfp-arrow {
  width: 56px;
  height: 72px;
  margin-top: -36px;
  background: rgba(0, 0, 0, .48) !important;
  transform: none !important;
  border-radius: 6px;
  opacity: 1;
}
.mogarte-gallery .mfp-arrow-left { left: 12px; }
.mogarte-gallery .mfp-arrow-right { right: 12px; }
.mogarte-gallery .mfp-arrow:before { display: none !important; }
.mogarte-gallery .mfp-arrow-left:after,
.mogarte-gallery .mfp-arrow-right:after {
  content: '';
  display: block;
  position: absolute;
  width: 14px !important;
  height: 14px !important;
  box-sizing: content-box !important;
  padding: 0 !important;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  margin: 0 !important;
  top: 28px;
}
.mogarte-gallery .mfp-arrow-left:after { left: 23px; transform: rotate(135deg); }
.mogarte-gallery .mfp-arrow-right:after { left: 17px; transform: rotate(-45deg); }
.mogarte-gallery .mfp-arrow:hover { background: rgba(0, 0, 0, .7) !important; }
.mogarte-gallery .mfp-close { font-size: 36px; opacity: 1; }
.mogarte-gallery .mfp-title { font-size: 16px; line-height: 1.4; padding-right: 80px; }
.mogarte-gallery .mfp-counter { font-size: 14px; }
.mogarte-gallery .mfp-arrow:focus-visible,
.mogarte-gallery .mfp-close:focus-visible { outline: 3px solid #52b4e1; }
@media (max-width: 767px) {
  .mogarte-gallery .mfp-arrow { width: 48px; height: 64px; margin-top: -32px; }
  .mogarte-gallery .mfp-arrow-left { left: 4px; }
  .mogarte-gallery .mfp-arrow-right { right: 4px; }
  .mogarte-gallery .mfp-arrow-left:after { left: 19px; top: 24px; }
  .mogarte-gallery .mfp-arrow-right:after { left: 13px; top: 24px; }
  .mogarte-gallery .mfp-title { font-size: 14px; }
}

/* An expanded photo is static; only navigation controls suggest an action. */
.mogarte-gallery.mfp-bg,
.mogarte-gallery.mfp-wrap,
.mogarte-gallery .mfp-container,
.mogarte-gallery .mfp-content,
.mogarte-gallery .mfp-figure,
.mogarte-gallery .mfp-img { cursor: default !important; }
.mogarte-gallery .mfp-arrow,
.mogarte-gallery .mfp-close { cursor: pointer !important; }
