/* Tartalmi képek lightbox */
.mc-lb-zoomable {
  cursor: zoom-in;
}
html.mc-lb-open,
html.mc-lb-open body {
  overflow: hidden;
}
.mc-lb {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 48px;
  box-sizing: border-box;
}
.mc-lb[hidden] {
  display: none !important;
}
.mc-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 42, 0.92);
  cursor: zoom-out;
}
.mc-lb__dialog {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 100%);
  max-height: min(92vh, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-lb__img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
  background: #0f2231;
}

/* Shared control chrome */
.mc-lb__close,
.mc-lb__nav {
  position: absolute;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(30, 58, 80, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.mc-lb__close:hover,
.mc-lb__nav:hover {
  background: var(--brand, #4A8EA6);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.mc-lb__close:active,
.mc-lb__nav:active {
  transform: scale(0.96);
}
.mc-lb__close:focus-visible,
.mc-lb__nav:focus-visible {
  outline: 2px solid var(--brand-light, #6BB3CC);
  outline-offset: 3px;
}
.mc-lb__close svg,
.mc-lb__nav svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}

.mc-lb__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.mc-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.mc-lb__nav:hover {
  transform: translateY(-50%);
}
.mc-lb__nav:active {
  transform: translateY(-50%) scale(0.96);
}
.mc-lb__nav--prev { left: 16px; }
.mc-lb__nav--next { right: 16px; }
.mc-lb__nav[hidden] { display: none !important; }

.mc-lb__counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 58, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .mc-lb {
    padding: 52px 12px 44px;
  }
  .mc-lb__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .mc-lb__nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .mc-lb__nav--prev { left: 8px; }
  .mc-lb__nav--next { right: 8px; }
  .mc-lb__nav svg,
  .mc-lb__close svg {
    width: 18px;
    height: 18px;
  }
  .mc-lb__counter {
    bottom: 10px;
    font-size: 11px;
    padding: 5px 12px;
  }
  .mc-lb__img {
    max-height: 78vh;
    border-radius: 8px;
  }
}
