.wc-gallery-page {
  padding-bottom: 42px;
}

.wc-gallery-hero {
  margin: 32px 0 24px;
  padding: 34px;
  border: 1px solid rgba(0, 229, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 19, 35, 0.94), rgba(5, 8, 16, 0.98)),
    rgba(7, 12, 24, 0.96);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(0, 229, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wc-eyebrow {
  margin: 0 0 10px;
  color: #ffd166;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wc-gallery-hero h1 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(2.1rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(0, 229, 255, 0.34),
    0 0 34px rgba(255, 45, 214, 0.16);
}

.wc-gallery-lede {
  max-width: 840px;
  margin: 18px 0 0;
  color: #c4d7e4;
  font-size: 1.08rem;
  line-height: 1.65;
}

.wc-gallery-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.wc-gallery-stats div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(53, 242, 131, 0.22);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.66);
}

.wc-gallery-stats dt {
  color: #35f283;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.wc-gallery-stats dd {
  margin: 8px 0 0;
  color: #b9cfdd;
  font-weight: 700;
}

.wc-disclaimer,
.wc-gallery-surface {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.72);
}

.wc-disclaimer {
  border-color: rgba(255, 209, 102, 0.32);
  box-shadow: inset 4px 0 0 rgba(255, 209, 102, 0.92);
}

.wc-disclaimer h2,
.wc-section-heading h2,
.wc-stage-section h3 {
  margin: 0;
  color: #f7fbff;
}

.wc-disclaimer p {
  margin: 12px 0 0;
  color: #d7edf7;
  line-height: 1.65;
}

.wc-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.wc-section-heading h2 {
  font-size: 2rem;
}

.wc-country-journey-toggle {
  display: inline-block;
  margin-bottom: 14px;
  padding: 10px 18px;
  color: #071323;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.65);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wc-country-journey-toggle:hover {
  background: #ffe08a;
}

.wc-country-journey-toggle:focus-visible {
  outline: 2px solid #35f283;
  outline-offset: 2px;
}

#wc-country-journey-panel[hidden] {
  display: none;
}

#wc-country-journey-panel {
  margin-bottom: 18px;
}

.wc-country-filter {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.wc-country-filter label {
  color: #ffd166;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wc-combobox {
  position: relative;
  max-width: 420px;
}

.wc-combobox-input {
  width: 100%;
  padding: 12px 14px;
  color: #f7fbff;
  font-size: 1rem;
  background: rgba(4, 8, 16, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wc-combobox-input:focus-visible {
  outline: 2px solid #35f283;
  outline-offset: 2px;
  border-color: rgba(0, 229, 255, 0.65);
}

.wc-combobox-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  margin: 0;
  padding: 6px 0;
  overflow: auto;
  list-style: none;
  background: rgba(7, 19, 35, 0.98);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.wc-combobox-list[hidden] {
  display: none;
}

.wc-combobox-option {
  padding: 10px 14px;
  color: #eaf7ff;
  cursor: pointer;
}

.wc-combobox-option.is-active,
.wc-combobox-option:hover {
  background: rgba(0, 229, 255, 0.16);
  color: #f7fbff;
}

.wc-combobox-no-match {
  margin: 0;
  color: #ff8fa3;
  font-size: 0.92rem;
}

.wc-combobox-no-match[hidden] {
  display: none;
}

.wc-journey-summary {
  margin: 0 0 18px;
  padding: 16px 18px;
  color: #d7edf7;
  line-height: 1.6;
  border: 1px solid rgba(53, 242, 131, 0.28);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.78);
  box-shadow: inset 4px 0 0 rgba(53, 242, 131, 0.92);
}

.wc-journey-summary[hidden] {
  display: none;
}

.wc-gallery-status {
  margin: 0 0 18px;
  color: #b9cfdd;
  line-height: 1.5;
}

.wc-gallery-status.is-loaded {
  color: #35f283;
}

.wc-gallery-status.is-error {
  color: #ff8fa3;
}

.wc-stage-list {
  display: grid;
  gap: 30px;
}

.wc-stage-section {
  display: grid;
  gap: 16px;
}

.wc-stage-section h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}

.wc-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.wc-match-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 25, 43, 0.96), rgba(5, 10, 19, 0.98)),
    rgba(7, 12, 24, 0.96);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wc-match-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wc-match-card:hover,
.wc-match-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(0, 229, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wc-match-card:focus-visible {
  outline: 2px solid #35f283;
  outline-offset: 3px;
}

.wc-match-image-wrap {
  aspect-ratio: 16 / 9;
  background: #030610;
}

.wc-match-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-match-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.wc-match-kicker {
  margin: 0;
  color: #ffd166;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wc-match-body h3 {
  margin: 0;
  color: #f7fbff;
  font-size: 1.45rem;
  line-height: 1.15;
}

.wc-match-caption {
  margin: 0;
  color: #c4d7e4;
  line-height: 1.55;
}

.wc-match-meta {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
}

.wc-match-meta-item {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-match-meta dt {
  color: #9ab6c8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wc-match-meta dd {
  margin: 0;
  color: #eaf7ff;
  line-height: 1.45;
}

/* --- Lightbox (click-to-enlarge overlay) ---------------------------------- */
body.wc-lightbox-open {
  overflow: hidden;
}

.wc-lightbox[hidden] {
  display: none;
}

.wc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}

.wc-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 12, 0.88);
  backdrop-filter: blur(4px);
}

.wc-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1100px, 100%);
  max-height: 100%;
}

.wc-lightbox-figure {
  display: grid;
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  max-height: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  overflow: auto;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 25, 43, 0.96), rgba(5, 10, 19, 0.98)),
    rgba(7, 12, 24, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.wc-lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030610;
  border-radius: 8px;
}

.wc-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.wc-lightbox-caption {
  display: grid;
  gap: 8px;
}

.wc-lightbox-kicker {
  margin: 0;
  color: #ffd166;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wc-lightbox-title {
  margin: 0;
  color: #f7fbff;
  font-size: 1.5rem;
  line-height: 1.15;
}

.wc-lightbox-text {
  margin: 0;
  color: #c4d7e4;
  line-height: 1.55;
}

.wc-lightbox-close,
.wc-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eaf7ff;
  background: rgba(7, 19, 35, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.wc-lightbox-close:hover,
.wc-lightbox-nav:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.7);
}

.wc-lightbox-close:focus-visible,
.wc-lightbox-nav:focus-visible {
  outline: 2px solid #35f283;
  outline-offset: 2px;
}

.wc-lightbox-nav {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.wc-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.wc-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .wc-lightbox-dialog {
    gap: 6px;
  }

  .wc-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .wc-lightbox-image {
    max-height: 60vh;
  }

  .wc-lightbox-close {
    top: -8px;
    right: -8px;
  }
}

@media (max-width: 760px) {
  .wc-gallery-hero,
  .wc-disclaimer,
  .wc-gallery-surface {
    padding: 20px;
  }

  .wc-gallery-stats {
    grid-template-columns: 1fr;
  }

  .wc-match-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wc-gallery-hero,
  .wc-disclaimer,
  .wc-gallery-surface {
    padding: 16px;
  }

  .wc-match-body {
    padding: 16px;
  }
}
