/* Hide standard layout breadcrumb-area on this page */
.breadcrumb-area {
  display: none !important;
}

/* ===== GALLERY PAGE SPECIFIC ===== */
.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245,242,236,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(245,242,236,0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.breadcrumb {
  position: relative;
  z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--steel-light);
}
.breadcrumb a:hover {
  color: var(--amber);
}
.breadcrumb span {
  color: var(--amber);
}
.page-banner-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
  width: 100%;
}
.page-banner h1 {
  color: var(--paper);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 600;
  max-width: 820px;
}
.page-banner h1 em {
  font-style: normal;
  color: var(--amber);
}
.page-banner p {
  color: var(--steel-light);
  max-width: 560px;
  margin-top: 18px;
  font-size: 15.5px;
}

.gfilter-wrap {
  padding-top: 60px;
}
.gfilter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.gfilter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  transition: all .2s ease;
}
.gfilter-btn:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}
.gfilter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.mgrid {
  column-count: 4;
  column-gap: 10px;
  padding-bottom: 40px;
}
.mitem {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.mitem img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}
.mitem:hover img {
  transform: scale(1.06);
}
.mcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(23,24,26,0.92), transparent);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s ease;
}
.mitem:hover .mcap {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(23,24,26,0.94);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line-light);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 36px;
  color: var(--paper);
  font-size: 14px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-light);
  padding: 10px 16px;
}

@media (max-width: 1024px) {
  .mgrid {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .page-banner { padding-top: 110px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner p { font-size: 14px; margin-top: 12px; }
  .page-banner-inner { padding-bottom: 32px; }
  .breadcrumb { font-size: 10px; margin-bottom: 14px; gap: 6px; }
  .gfilter-wrap { padding-top: 32px; }
  .gfilter-row { gap: 8px; margin-bottom: 24px; }
  .gfilter-btn { font-size: 10px; padding: 8px 14px; }
  .mgrid { column-count: 2; padding-bottom: 20px; column-gap: 6px; }
  .mitem { margin-bottom: 6px; }
  .mcap { font-size: 9px; padding: 10px 12px; }
  .lightbox { padding: 20px; }
  .lightbox img { max-width: 96vw; max-height: 70vh; }
  .lightbox-close { top: 16px; right: 16px; font-size: 12px; padding: 8px 12px; }
}
