/* ═══════════════════════════════════════
   Mighty Hok Chronicles — Carousel Styles
   ═══════════════════════════════════════ */

/* ── Page header: logo + title inline ── */
.mhc-issue {
  padding: 36px 40px 28px;
  max-width: 960px;
  margin: 0 auto;
}

.mhc-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.mhc-header .logo {
  flex-shrink: 0;
  max-width: 72px;
}

.mhc-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mhc-header-text h1 {
  margin: 0 0 4px 0;
  line-height: 1.15;
}

.mhc-subtitle {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

/* ── Track ── */
.carousel-track-wrapper {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 220px);
  aspect-ratio: 8.5 / 11;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.10),
    0 24px 56px rgba(0,0,0,0.08);
  cursor: zoom-in;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Bottom controls: prev · dots · next ── */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #c8d4d9;
  background: #fff;
  color: #2a4a5a;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #2a6b8a;
  border-color: #2a6b8a;
  color: #fff;
  transform: scale(1.05);
}

.carousel-btn:active {
  transform: scale(0.97);
}

/* ── Dots (horizontal below image) ── */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #c8d4d9;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.dot.active {
  background: #2a6b8a;
  transform: scale(1.35);
}

.dot:hover:not(.active) {
  background: #8aabb8;
}

/* ═══════════════════════════════
   Lightbox / Enlarged View
   ═══════════════════════════════ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 18, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 80vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.06);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .mhc-issue {
    padding: 20px 16px 20px;
  }
  .mhc-header {
    gap: 12px;
  }
  .mhc-header .logo {
    max-width: 52px;
  }
  .carousel-controls {
    gap: 10px;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  .lightbox-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-inner {
    gap: 8px;
  }
}