/* Galeri liste ve detay sayfaları: düz, köşesiz ve gölgesiz tasarım dili. */
.gallery-page .gallery-hero[data-hero-parallax] {
  min-height: 300px;
  background-size: 130% 150%;
  background-position: center calc(50% + var(--hero-background-shift, 0px));
  border-bottom: 0;
}

.gallery-page .gallery-hero[data-hero-parallax] .gallery-hero-inner {
  padding-block: 48px;
  animation: about-fade-up .6s ease-out both;
  transform: translate3d(0, var(--hero-content-shift, 0), 0);
  will-change: transform;
}

.gallery-page .gallery-hero[data-hero-parallax] .gallery-breadcrumb {
  color: #d4dde7;
}

.gallery-page .gallery-hero[data-hero-parallax] .gallery-breadcrumb a:hover {
  color: #fff;
}

.gallery-detail-page .gallery-detail-header {
  width: calc(100% - 56px);
  max-width: none;
}

:is(.gallery-page, .gallery-detail-page) main :where(a, button, form, label, input, article, aside, section, div, span, img, nav, dialog, iframe),
:is(.gallery-page, .gallery-detail-page) main :where(a, button, form, label, input, article, aside, section, div, span, img, nav, dialog, iframe)::before,
:is(.gallery-page, .gallery-detail-page) main :where(a, button, form, label, input, article, aside, section, div, span, img, nav, dialog, iframe)::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gallery-page .gallery-collection-card:hover,
.gallery-page .gallery-collection-card:hover .gallery-collection-cover > img,
:is(.gallery-page, .gallery-detail-page) .gallery-cta .btn:hover svg {
  transform: none !important;
  box-shadow: none !important;
}

.gallery-page .gallery-collection-card:hover {
  border-color: #2497df73 !important;
}

.gallery-detail-page .gallery-media-card {
  border: 1px solid transparent !important;
}

.gallery-detail-page .gallery-media-card:hover,
.gallery-detail-page .gallery-media-card:focus-visible {
  border-color: #2497df73 !important;
  outline: 0;
  box-shadow: none !important;
}

.gallery-detail-page .gallery-media-card:hover > img,
.gallery-detail-page .gallery-media-card:focus-visible > img {
  transform: none !important;
  filter: none !important;
}

.gallery-detail-page .gallery-media-card:hover .gallery-media-overlay,
.gallery-detail-page .gallery-media-card:focus-visible .gallery-media-overlay {
  opacity: 0 !important;
}

.gallery-detail-page .gallery-video-card:hover .gallery-play,
.gallery-detail-page .gallery-video-trigger:hover .gallery-play {
  transform: translate(-50%, -50%) !important;
  background: #071321c9 !important;
}

:is(.gallery-page, .gallery-detail-page) main :where(a, button, article, div, img, svg) {
  transition-property: color, background-color, border-color, opacity !important;
}

:is(.gallery-page, .gallery-detail-page) main :where(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  box-shadow: none !important;
}

@media (max-width: 620px) {
  .gallery-detail-page .gallery-detail-header {
    width: calc(100% - 28px);
  }
}
