/* Shared styles used across pages (kept intentionally small).
   Pages can still define their own :root variables + layout in their inline <style>. */

/* Global color override:
   Many pages use --neon-green for highlight text (strong tags, accents, gradients).
   We remap it to the existing gold variable so highlight text matches the header gold. */
:root {
  --neon-green: var(--circuit-gold);
}

/* Shared header behavior:
   - Always span full viewport width
   - Never crop or stretch text inside the image
   - Height follows the image aspect ratio */
header {
  display: block;
}

.header-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Paper cover images */
.cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 0 22px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Social + podcast bar (image links, just below header) */
.social-podcast-bar {
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.97) 0%, rgba(5, 15, 30, 0.95) 100%);
  border-bottom: 2px solid rgba(192, 160, 98, 0.4);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.social-podcast-bar a {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-podcast-bar a:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 204, 255, 0.35);
}

.social-podcast-bar img {
  display: block;
  height: 120px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .social-podcast-bar {
    padding: 10px 12px;
    gap: 10px 14px;
  }
  .social-podcast-bar img {
    height: 108px;
    max-width: 360px;
  }
}

/* Nav bar: image buttons (larger than social-podcast-bar) */
.nav-container nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.nav-container nav a {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-container nav a:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 204, 255, 0.35);
}

.nav-container nav img {
  display: block;
  height: 240px;
  width: auto;
  max-width: 840px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav-container nav img {
    height: 216px;
    max-width: 720px;
  }
}

