/* =========================
   Overview only (voidforms)
   ========================= */

.overview-body {
  background: #000;
}

/* Background layer: fixed, filtered, not interactive */
.overview-body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("../img/overview/overview-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Optional: if you want the background slightly less vivid */
  /* filter: saturate(0.9) contrast(0.92); */

  z-index: -1;
  pointer-events: none;
}

/* Keep header controls aligned (sound + lang) */
.overview-body header .header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

/* Title */
.overview-body .ov-title {
  margin-top: 0.2rem;
  margin-bottom: 1.1rem;
}

/* Sections */
.overview-body .ov-section {
  margin: 0 0 2.0rem;
}

.overview-body .ov-section-title {
  margin: 0 0 0.0rem;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.95;
}

/* Grid of thumbnails */
.overview-body .ov-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

/* Thumbnail tiles */
.overview-body .ov-thumb {
  display: block;
  border-radius: 1.1rem;
  overflow: hidden;
  text-decoration: none;

  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
}

.overview-body .ov-thumb:hover {
  border-color: rgba(255,255,255,0.20);
}

.overview-body .ov-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* Section lead-in: poetic, short */
.overview-body .ov-section-lead {
  margin: 0 0 0.65rem;
  font-style: italic;
  opacity: 0.82;
}

/* Section description: explanatory */
.overview-body .ov-section-desc {
  margin: 0 0 1.2rem;
  line-height: 1.6;
  opacity: 0.70;
}

/* --- Snippet window --- */

.overview-body .ov-window {
  display: block;
  max-width: 28rem;
  margin: 0.75rem 0 0;

  text-decoration: none;
  color: inherit;
}

.overview-body .ov-window-image {
  display: block;
  width: 100%;
  height: 7.5rem;

  background-size: cover;
  background-position: center;
  border-radius: 0.75rem;

  opacity: 0.60;
  filter: saturate(0.85) contrast(0.92);
  animation: ovRepaintFix 1ms linear;
}

/* Fix for some browsers not applying filters to background images until repaint */
@keyframes ovRepaintFix {
  from { opacity: 0.60; filter: saturate(0.85) contrast(0.92); }
  to   { opacity: 0.60; filter: saturate(0.85) contrast(0.92); }
}

.overview-body .ov-window-title {
  display: block;
  margin-top: 0.6rem;

  font-size: 0.82rem;
  letter-spacing: 0.14em;
  opacity: 0.55;
}

/* Hover: barely noticeable */
.overview-body .ov-window:hover .ov-window-image {
  opacity: 0.72;
}

.overview-body .ov-window-image {
  transition: opacity 0.2s ease;
}

/* Overview intro / about text */
.overview-body .ov-intro {
  max-width: 60ch;
  margin: 0 0 2.8rem;
}

.overview-body .ov-intro-title {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.95;
}

.overview-body .ov-intro p {
  margin: 0 0 1.15rem;
  line-height: 1.6;
  opacity: 0.85;
}

.overview-body .ov-intro em {
  font-style: italic;
  opacity: 0.95;
}

/* Teaser: quiet coda */
.overview-body .ov-teaser {
  margin: 3rem 0 1.25rem;      /* bottom smaller */
  max-width: 44ch;
  padding-left: 0.25rem;       /* slight offset, not a box */
  padding-top: 0.5rem;
  opacity: 0.88;
}

.overview-body .ov-teaser-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 18px rgba(190, 220, 255, 0.12);
  letter-spacing: 0.06em;
  color: rgba(220, 235, 255, 0.90); /* cool whisper */
  opacity: 0.92;
}

.overview-body .ov-teaser-text {
  margin: 0 0 0.9rem;
  line-height: 1.6;
  opacity: 0.5;
}

.overview-body .ov-teaser-note {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.4;
}

/* Overview: slightly tighter top spacing */
.overview-body .wrap {
  padding-top: 6vh;   /* instead of 10vh */
}

/* Responsive */
@media (max-width: 560px) {
  .overview-body .ov-grid {
    grid-template-columns: 1fr;
  }
}