/* ═══════════════════════════════════════════════════
   Banko Slider — Frontend Styles
═══════════════════════════════════════════════════ */

.entry-content .wp-block-group .bc-slider-section {
  background: #000;
  overflow: hidden;
  position: relative;
  /* Break out of any theme content-width column so the slider is always
     100vw wide regardless of the parent container's max-width.           */
  width: 100vw!important;
  max-width: 100vw!important;
  margin-left: calc(50% - 50vw)!important;
  margin-right: calc(50% - 50vw)!important;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .entry-content .wp-block-group .bc-slider-section {
    width: 100vw!important;
    max-width: 100vw!important;
  }
}
.bc-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
  padding: 48px 0;
}

.bc-slide {
  flex-shrink: 0;
  width: 45vw;
  aspect-ratio: 16 / 10;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.bc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bc-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  transition: opacity 400ms ease;
  pointer-events: none;
}
.bc-slide.is-active .bc-slide-overlay { opacity: 0; }

/* ── Nav ── */
.bc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.bc-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 200ms ease;
}
.bc-btn:hover { opacity: 1; }
.bc-btn svg { width: 52px; height: 26px; }

/* ── Modal ── */
.bc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.bc-modal.is-open { display: flex; }

.bc-modal-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.bc-modal-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.bc-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  transition: opacity 200ms ease;
  padding: 4px 0;
}
.bc-modal-close:hover { opacity: 1; }

.bc-modal-close-label {
  font-family: 'Poppins', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.bc-modal-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  font-family: 'Poppins', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  border-radius: 0 0 4px 4px;
  pointer-events: none;
}

/* ── Mobile (<640px): one slide + 15vw peek each side ── */
@media (max-width: 639px) {
  .bc-track { gap: 12px; padding: 32px 0; }
  .bc-slide  { width: 70vw; }
  .bc-nav    { padding: 0 24px 24px; }
  .bc-btn svg { width: 36px; height: 20px; }
}
