/* =========================================================
   PHASE 6.3 — SECTIONS LAYER
   MODULES: GUIDE BAND • INTRO BLOCK
   Dependencies: tru-core.css, tru-theme.css
========================================================= */

/* =========================================================
   GUIDE BAND
========================================================= */

/* SECTION  */
#sp-guideband,
.guide-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1b0e05 0%, #0d0703 60%, #000 100%),
              url("/templates/visualin/images/backgrounds/honeycomb.svg");
  background-size: cover, 120px 104px;
  background-repeat: no-repeat, repeat;
  background-position: center;
  border-top: 1px solid rgba(255,214,92,0.25);
  border-bottom: 1px solid rgba(0,234,255,0.25);
  box-shadow: inset 0 0 80px rgba(255,214,92,0.08);
  padding: 100px 0 120px;
}

/* FLEX GRID */
.guide-band .guide-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 60px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2vw;
  box-sizing: border-box;
}

/* CARD */
.guide-band .guide-card {
  flex: 0 1 360px;                /* larger base width */
  max-width: 360px;
  min-width: 300px;
  background: rgba(18, 10, 5, 0.65);
  border: 1px solid rgba(255,214,92,0.25);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255,214,92,0.08);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.guide-band .guide-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: 0 0 40px rgba(255,214,92,0.3);
}

/* IMAGE */
.guide-band .guide-img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  margin-bottom: 14px;
  filter: brightness(1.05) contrast(1.15)
          drop-shadow(0 0 10px rgba(0,234,255,0.25));
  transition: filter .3s ease, transform .3s ease;
}
.guide-band .guide-card:hover .guide-img {
  filter: brightness(1.25) contrast(1.25)
          drop-shadow(0 0 16px rgba(255,214,92,0.4));
}

/* TYPOGRAPHY */
.guide-band h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  margin: 10px 0 6px;
  text-transform: uppercase;
}

/* make entire link area share color */
.guide-band h2,
.guide-band h2 a {
  display: block;
  color: var(--accent-gold);
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255,214,92,0.25);
  transition: background-position .4s ease, text-shadow .4s ease;
  background-size: 200%;
  background-position: 0% 50%;
}
.guide-band h2 a:hover {
  background-position: 100% 50%;
  text-shadow: 0 0 20px rgba(0,234,255,0.4);
}

.guide-band p {
  color: var(--accent-silver);
  font-size: .95rem;
  line-height: 1.7;
  opacity: .9;
  margin: 0 14px 20px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .guide-band .guide-grid {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px;
  }
  .guide-band .guide-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 600px) {
  .guide-band .guide-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   INTRO BLOCK
========================================================= */

/* --- 0. Helix isolation --- */
.sp-module.row.intro-block.section-grid,
.sp-module.row.intro-block.section-grid > .sp-module-content {
  display: contents !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* --- 1. Main container --- */
.intro-block {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate; /* prevents pseudo-element clipping */

  background: linear-gradient(180deg,
    rgba(8, 16, 40, 1) 0%,
    rgba(4, 8, 20, 1) 100%) !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: inset 0 0 60px rgba(0,173,179,0.1);
  padding: 80px 4vw 0;
  margin: 0 auto !important;
}

/* --- 2. Gold grid overlay --- */
.intro-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: url("/templates/visualin/images/backgrounds/grid.svg") repeat;
  background-size: 50px 50px;
  background-blend-mode: screen;
  filter: hue-rotate(45deg) brightness(1.5) saturate(1.3);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* --- 3. Flex grid layout --- */
.intro-split {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

/* --- 4. Left column --- */
.intro-text-col {
  flex: 1 1 55%;
  max-width: 55%;
  text-align: left;
  color: var(--base-text);
}
.intro-text-col h1,
.intro-title {
  font-family: 'arial black', sans-serif;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2rem;
  margin-bottom: 24px;
  text-shadow: 0 0 10px rgba(255,214,92,0.4);
}
.intro-text,
.intro-text-col p {
  line-height: 1.7;
  font-size: 1rem;
  color: var(--accent-silver);
  opacity: 0.9;
  margin-bottom: 18px;
  max-width: 90%;
  text-align: left;
}

/* --- 5. Right column --- */
.intro-gallery {
  flex: 1 1 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.intro-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: brightness(0.96) contrast(1.08)
          drop-shadow(0 0 8px rgba(210,176,85,0.25));
  transition: filter 0.35s ease, transform 0.35s ease;
}
.intro-gallery img:hover {
  filter: brightness(1.1)
          drop-shadow(0 0 16px rgba(255,214,92,0.4));
  transform: scale(1.02);
}

/* --- 6. Responsive --- */
@media (max-width: 1199px) {
  .intro-split {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  .intro-text-col,
  .intro-gallery {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: left;
  }
  .intro-text {
    max-width: 100%;
  }
}

/* --- 7. Cleanup & bleed prevention --- */
#sp-position2,
#sp-position2 .sp-column,
#sp-position2 .sp-module {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Kill inherited honeycomb from global or core layers */
body .intro-block,
body #sp-position2 .intro-block,
body .sp-module.row.intro-block.section-grid,
body #sp-position2,
body #sp-position2 .sp-column,
body #sp-position2 .sp-module {
  background-image: none !important;
  background: linear-gradient(180deg,
    rgba(8,16,40,1) 0%,
    rgba(4,8,20,1) 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: inset 0 0 60px rgba(0,173,179,0.1);
  overflow: visible !important;
}

/* Maintain gold grid overlay only */
.intro-block::before {
  background: url("/templates/visualin/images/backgrounds/grid.svg") repeat !important;
  background-size: 50px 50px !important;
  opacity: 0.22 !important;
}
/* =========================================================
   HYPERCORPS
========================================================= */
/* 1️⃣ OUTER SECTION — full-width background & gradient */
#sp-mb3.hypercorps {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  background: linear-gradient(180deg, #4a2b4c, #1a0f1d);
  border-top: 1px solid rgba(210,176,85,0.25);
  border-bottom: 1px solid rgba(0,234,255,0.25);
  box-shadow: 0 6px 24px rgba(0,0,0,0.8);
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

/* 2️⃣ INNER CONTAINERS — neutralize Helix rows/columns */
#sp-mb3 .container,
#sp-mb3 .container-inner,
#sp-mb3 .row,
#sp-mb3 .sp-column,
#sp-mb3 .sp-module-content,
#sp-mb3 .mod-custom.custom,
#sp-mb3 section.hypercorps {
  background: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  text-align: center !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* 3️⃣ MODULE HEADER */
#sp-mb3 .sp-module-title {
  font-family: 'arial black', sans-serif;
  font-size: 2rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255,214,92,0.3);
}

/* 4️⃣ CARD GRID — centered flex layout */
#sp-mb3 section.hypercorps > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 40px !important;
  margin: 0 auto !important;
  max-width: 1400px !important;
  text-align: center !important;
}

/* 5️⃣ INDIVIDUAL CARDS — cyan/blue gradient panels */
#sp-mb3 .corp-card {
  flex: 1 1 320px;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(10,15,30,0.9), rgba(0,40,80,0.95));
  border: 1px solid rgba(0,234,255,0.3);
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#sp-mb3 .corp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.8);
}

/* 6️⃣ LOGOS AND TEXT */
#sp-mb3 .corp-logo img {
  width: 96px;
  height: 110px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px rgba(0,234,255,0.6));
}

/* link and tagline styling */
#sp-mb3 .corp-card h4 a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}
#sp-mb3 .corp-card p.corp-tagline {
  color: var(--accent-silver);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 8px;
}

/* 7️⃣ RESPONSIVE */
@media (max-width: 991.98px) {
  #sp-mb3 section.hypercorps > .row {
    flex-wrap: wrap !important;
  }
  #sp-mb3 .corp-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 600px) {
  #sp-mb3 .corp-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   MILITARY SHIPS BAND
========================================================= */

/* --- 1️⃣ Outer Section --- */
.military-band {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(
    160deg,
    #1a0000 0%,
    #330000 50%,
    #1a0000 100%
  ) !important;
  border-top: 1px solid rgba(255,74,74,0.25);
  border-bottom: 1px solid rgba(255,74,74,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.8);
  padding: 80px 30px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* --- 2️⃣ Helix Isolation --- */
.military-band .container,
.military-band .container-inner,
.military-band .sp-module,
.military-band .sp-module-content,
.military-band .mod-custom.custom {
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* --- 3️⃣ Card Grid --- */
.military-ships {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;
}

/* --- 4️⃣ Individual Cards --- */
.military-card {
  flex: 1 1 calc(33.333% - 24px);
  max-width: 440px;
  background: rgba(20,0,0,0.65);
  border: 1px solid rgba(255,50,50,0.5);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(255,0,0,0.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.military-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(255,50,50,0.8);
}

/* --- 5️⃣ Typography --- */
.military-card h3,
.military-card h4 {
  font-family: 'arial black', sans-serif;
  color: #ff4a4a;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255,74,74,0.4);
}
.military-card p {
  color: var(--accent-silver);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* --- 6️⃣ Imagery --- */
.military-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 6px rgba(255,74,74,0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.military-card:hover img {
  filter: drop-shadow(0 0 14px rgba(255,74,74,0.9));
  transform: scale(1.02);
}

/* --- 7️⃣ Responsive --- */
@media (max-width: 992px) {
  .military-card {
    flex: 1 1 calc(50% - 24px);
    max-width: 48%;
  }
}
@media (max-width: 600px) {
  .military-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   FAST TRACKS
========================================================= */

/* --- 1️⃣ Outer Section --- */
.fast-latest-row {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(
    165deg,
    #050505 0%,
    #1a0d00 35%,
    #2b1200 65%,
    #3a1500 100%
  ) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  border-top: 1px solid rgba(255,136,0,0.25);
  border-bottom: 1px solid rgba(210,176,85,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.9);
  padding: 80px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* --- 2️⃣ Helix isolation --- */
.fast-latest-row .container,
.fast-latest-row .container-inner,
.fast-latest-row .sp-column,
.fast-latest-row .sp-module,
.fast-latest-row .sp-module-content,
.fast-latest-row .mod-custom.custom {
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* --- 3️⃣ Two-Column Grid --- */
.fast-latest-row .section-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
  z-index: 1;
}

/* --- 4️⃣ Left Column — FAST TRACKS --- */
.fast-latest-row .fast-tracks {
  background: rgba(10,10,20,0.35);
  border-radius: 12px;
  padding: 40px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.fast-tracks h2 {
  font-family: 'arial black', sans-serif;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(255,214,92,0.3);
}
.fast-tracks .section-subtext {
  text-align: center;
  color: var(--accent-silver);
  opacity: 0.85;
  margin-bottom: 40px;
}

/* --- 5️⃣ Track Cards --- */
.tracks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.track-item {
  flex: 1 1 280px;
  max-width: 360px;
  background: linear-gradient(180deg, rgba(10,15,30,0.9), rgba(0,40,80,0.95));
  border: 1px solid rgba(0,234,255,0.3);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.track-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.8);
}
.track-item img {
  width: 86px;
  height: 98px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px rgba(0,234,255,0.6));
}
.track-item h3 a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}
.track-item p {
  color: var(--accent-silver);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 8px;
}

/* --- 6️⃣ Right Column — NEWS + UPDATES --- */
.latest-additions {
  background: rgba(10,10,15,0.65);
  border: 1px solid rgba(210,176,85,0.25);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.latest-additions h2 {
  font-family: 'arial black', sans-serif;
  color: var(--accent-gold);
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255,214,92,0.3);
}
.latest-additions div {
  min-height: 200px;
  color: var(--accent-silver);
  font-size: 0.95rem;
  opacity: 0.9;
}

/* --- 7️⃣ Responsive --- */
@media (max-width: 992px) {
  .fast-latest-row .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   JOURNAL SECTION
========================================================= */

/* 1️⃣ Full-width framing & gradient progression */
#sp-mb6.section-grid {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(
    180deg,
    #050505 0%,
    #0a0a0a 25%,
    #1a1f22 65%,
    #252b2f 100%
  );
  border-top: 1px solid rgba(210,176,85,0.25);
  border-bottom: 1px solid rgba(0,234,255,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.85);
  padding: 80px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* 2️⃣ Flatten Helix containers & neutralize spacing */
#sp-mb6 .container,
#sp-mb6 .container-inner,
#sp-mb6 .row,
#sp-mb6 .sp-column,
#sp-mb6 .sp-module-content,
#sp-mb6 .mod-custom.custom {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: none !important;
  display: block !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* 3️⃣ Journal band + content styling */
#sp-mb6 .journal-band {
  text-align: center;
  background: none;
  box-shadow: none;
}

.journal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
}

.journal-title {
  font-family: 'arial black', sans-serif;
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255,214,92,0.3);
}

.journal-title a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.journal-subtext {
  color: var(--accent-silver);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.journal-subtext .highlight {
  color: var(--accent-gold);
  font-weight: 700;
}

.journal-img img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
}

/* 4️⃣ Micro-seam correction with previous section */
.fast-latest-row {
  margin-bottom: -2px !important; /* eliminates micro gap */
}

/* 5️⃣ Responsive refinement */
@media (max-width: 992px) {
  .journal-inner { padding: 0 6vw; }
  .journal-title { font-size: 1.7rem; }
}
#sp-mb6 .journal-img img {
  box-shadow: none !important;       /* remove elevation */
  border: none !important;           /* clean edge */
  border-radius: 0 !important;       /* aligns flush with container */
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: none !important;       /* no residual shading */
  transform: none !important;        /* ensure no hover scaling */
}
/* =========================================================
   WORLD’S EDGE
========================================================= */

/* 1️⃣  Outer wrapper: full width + cinematic background */
.worlds-edge,
#sp-mb7,
#sp-mb7.section-grid {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 100px 0 !important;
  border-top: 1px solid rgba(210,176,85,0.25);
  border-bottom: 1px solid rgba(0,234,255,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.9);
  background:
    linear-gradient(180deg, rgba(15,20,22,0.75) 0%, rgba(0,5,9,0.9) 100%),
    url("/images/headers/Ruralscape.BG 10.png") center center / cover no-repeat !important;
  background-attachment: scroll !important;  /* change to fixed for parallax */
  background-blend-mode: lighten;
  z-index: 2;
}

/* 2️⃣  Kill Helix wrappers and extra padding */
#sp-mb7 .sppb-section,
#sp-mb7 .container,
#sp-mb7 .container-inner,
.worlds-edge .container,
.worlds-edge .container-inner,
.worlds-edge .row,
.worlds-edge .sp-column,
.worlds-edge .sp-module,
.worlds-edge .sp-module-content,
.worlds-edge .mod-custom {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  display: block !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* 3️⃣  Center content container */
.worlds-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 4vw !important;
  background: none !important;
  text-align: center;
}

/* 4️⃣  World cards — translucent glass look */
.world-card {
  margin: 25px auto !important;
  padding: 24px 28px;
  max-width: 720px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 14px rgba(0,234,255,0.15);
}
.world-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0,234,255,0.35), 0 4px 18px rgba(0,0,0,0.6);
}
.world-card.odd {
  border-left: 4px solid var(--accent-cyan);
  box-shadow: inset 4px 0 14px rgba(0,234,255,0.4);
}
.world-card.even {
  border-left: 4px solid var(--accent-gold);
  box-shadow: inset 4px 0 14px rgba(255,214,92,0.35);
}

/* 5️⃣  Text hierarchy & iconography */
.world-card h5 {
  font-size: 1.3rem;
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 0 10px rgba(255,214,92,0.6);
  margin: 0;
}
.world-card h5 a {
  color: var(--accent-gold);
  text-decoration: none;
}
.world-card p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
}
.world-card img {
  width: 84px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0,234,255,0.6));
}

/* 6️⃣  Responsive layout */
@media (max-width: 768px) {
  .world-card {
    flex-direction: column;
    text-align: center;
    max-width: 90%;
  }
  .world-card h5 {
    font-size: 1.2rem;
  }
}
/* Dissolve Helix wrappers around .worlds-edge completely */
#sp-position7,
#sp-position7 .sp-column,
#sp-position7 .sp-module,
#sp-position7 .sp-module-content,
#sp-position7 .mod-custom.custom,
#sp-position7 .row,
#sp-position7 .container,
#sp-position7 .container-inner {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
}

/* Force the section to assume full control */
#sp-position7 .worlds-edge,
#sp-mb7 .worlds-edge {
  display: block !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  overflow: visible !important;
  position: relative !important;
}

/* Prevent residual vertical spacing */
#sp-position7,
#sp-mb7 {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
/* =========================================================
   HEX GUIDE ROW
========================================================= */

/* 1️⃣ Flatten all Helix wrappers for clean centering */
#sp-mb8,
#sp-mb8 .container,
#sp-mb8 .container-inner,
#sp-mb8 .row,
#sp-mb8 .sp-column,
#sp-mb8 .sp-module,
#sp-mb8 .sp-module-content,
#sp-mb8 .mod-custom.custom {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
}

/* 2️⃣ Section frame */
.hex-guides-row {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

/* 3️⃣ Cards */
.hex-guides-row .hex-card {
  flex: 0 0 auto;
  width: 200px;
  transition: transform 0.3s ease;
}
.hex-guides-row .hex-card:hover {
  transform: translateY(-6px);
}

/* 4️⃣ Hex images with soft glow */
.hex-guides-row .hex-card img {
  width: 150px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,234,255,0.6));
  transition: filter 0.4s ease, transform 0.3s ease;
}
.hex-guides-row .hex-card:hover img {
  filter: drop-shadow(0 0 15px rgba(0,234,255,0.9));
  transform: scale(1.05);
}

/* 5️⃣ Titles & link styles */
.hex-guides-row .hex-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
}
.hex-guides-row .hex-card h4 a {
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* 6️⃣ Accent color variants */
.hex-guides-row .starship h4 a {
  color: #ffd65c;
  text-shadow: 0 0 8px #ffd65c;
}
.hex-guides-row .world h4 a {
  color: #cfcfcf;
  text-shadow: 0 0 8px #cfcfcf;
}
.hex-guides-row .tech h4 a {
  color: #ff4a4a;
  text-shadow: 0 0 8px #ff4a4a;
}
.hex-guides-row .stellar h4 a {
  color: #00eaff;
  text-shadow: 0 0 8px #00eaff;
}

/* Hover brighten */
.hex-guides-row .hex-card h4 a:hover {
  color: #fff;
  text-shadow: 0 0 14px currentColor, 0 0 24px currentColor;
}

/* 7️⃣ Responsive adjustments */
@media (max-width: 900px) {
  .hex-guides-row {
    flex-wrap: wrap;
  }
  .hex-guides-row .hex-card {
    width: 45%;
  }
}
@media (max-width: 600px) {
  .hex-guides-row .hex-card {
    width: 100%;
  }
}

/* =========================================================
   TECH BAND
========================================================= */

/* ---------- Ambient Pulse Animation ---------- */
@keyframes techAmbientGlow {
  0% {
    box-shadow:
      0 0 40px rgba(160,160,160,0.15),
      inset 0 0 45px rgba(0,0,0,0.60);
  }
  50% {
    box-shadow:
      0 0 70px rgba(255,255,255,0.28),
      inset 0 0 65px rgba(0,0,0,0.70);
  }
  100% {
    box-shadow:
      0 0 40px rgba(160,160,160,0.15),
      inset 0 0 45px rgba(0,0,0,0.60);
  }
}

/* Limit neutralization ONLY inside #sp-main-body.custom4 (Tech Band container) */
#sp-main-body.custom4 .container,
#sp-main-body.custom4 .container-inner,
#sp-main-body.custom4 .row,
#sp-main-body.custom4 .sp-column,
#sp-main-body.custom4 .sp-module,
#sp-main-body.custom4 .sp-module-content,
#sp-main-body.custom4 .mod-custom.custom {
  overflow: visible !important;
  position: relative !important;
  display: block !important;
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  z-index: auto !important;
}

/* Ensure Helix body wrapper (and menu above) remains in normal stacking order */
.body-wrapper,
.body-innerwrapper,
#sp-header,
#sp-header .sp-row,
#sp-header .sp-column {
  position: relative !important;
  z-index: 999 !important;
}

#sp-main-body.custom4 {
  position: relative !important;
  z-index: 2 !important;
}

/* ---------- Core Metallic Panel ---------- */
.tech-section {
  position: relative;
  padding: 30px 40px;
  margin: 0 auto 60px;
  background: linear-gradient(
    180deg,
    rgba(185,185,195,0.92) 0%,
    rgba(150,150,160,0.95) 100%
  ) !important;
  border-left: 4px solid rgba(210,176,85,0.7);
  border-radius: 6px;
  overflow: visible;
  z-index: 1;
  animation: techAmbientGlow 10s ease-in-out infinite;
  transition: box-shadow 0.6s ease, background 0.6s ease, transform 0.5s ease;
  box-shadow:
    0 0 45px rgba(160,160,160,0.25),
    inset 0 0 35px rgba(0,0,0,0.55);
}

/* ---------- Gold Accent Trim ---------- */
.tech-section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(to bottom, #ffde70, #c9a63e, #8f7c35);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 0 10px rgba(255,224,100,0.7),
    0 0 20px rgba(255,200,60,0.35);
}

/* ---------- Text & Hierarchy ---------- */
.tech-section h1,
.tech-section h2 {
  font-family: 'Orbitron', sans-serif;
  color: #1a1a1a;
  text-shadow: 0 0 6px rgba(255,214,92,0.2), 0 0 2px rgba(0,0,0,0.5);
}
.tech-section h3,
.tech-section h4 {
  font-family: 'Montserrat', sans-serif;
  color: #2b2b2b;
  text-shadow: 0 0 3px rgba(255,255,255,0.2), 0 0 2px rgba(0,0,0,0.4);
}

.tech-section p,
.tech-section ul,
.tech-section li {
  color: #181818;
  line-height: 1.75;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 18px;
  text-align: justify;
  text-justify: inter-word;
}

.tech-section ul {
  margin-left: 25px;
  list-style-type: disc;
}
.tech-section li {
  margin-bottom: 8px;
}

/* ---------- Imagery ---------- */
.tech-section img {
  display: block;
  margin: 10px auto 20px;
  border-radius: 6px;
  max-width: 100%;
  height: auto;
  box-shadow:
    0 0 18px rgba(0,0,0,0.6),
    inset 0 0 15px rgba(0,0,0,0.3);
  transition: none !important;
}

/* ---------- Hover Lift ---------- */
.tech-section:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

/* ---------- Header Grouping ---------- */
.tech-section h2,
.tech-section h3,
.tech-section h4 {
  margin-top: 28px !important;
  margin-bottom: 6px !important;
}
.tech-section h2 ~ *,
.tech-section h3 ~ *,
.tech-section h4 ~ * {
  margin-left: 14px !important;
  padding-left: 6px !important;
}
.tech-section h2 + * p:first-of-type,
.tech-section h3 + * p:first-of-type,
.tech-section h4 + * p:first-of-type {
  font-weight: 600 !important;
  color: #0f0f0f !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .tech-section { padding: 20px; }
  .tech-section h1 { font-size: 1.6rem; }
  .tech-section h2 { font-size: 1.3rem; }
  .tech-section h3,
  .tech-section h4 { font-size: 1.05rem; }
}
/* 1️⃣ Restore Helix default flow inside main body */
#sp-main-body.custom4 {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  z-index: 1 !important;
}

/* 2️⃣ Restore row behavior for content grid */
#sp-main-body.custom4 > .container > .container-inner > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px !important;
  overflow: visible !important;
}

/* 3️⃣ Return component + sidebar widths */
#sp-component.col-lg-8 {
  flex: 0 0 66.666% !important;
  max-width: 66.666% !important;
  padding: 0 15px !important;
}
#sp-right.col-lg-4 {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  padding: 0 15px !important;
}

/* 4️⃣ Re-establish stacking context for menu */
#sp-header,
#sp-header .sp-row,
#sp-header .sp-column {
  position: relative !important;
  z-index: 9999 !important;
}
body.js-sticky-header-active #sp-header {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

/* 5️⃣ Guard against accidental collapse */
#sp-main-body.custom4 .tech-section {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
}
/* =========================================================
   TECH SECTION CONTAINMENT
========================================================= */

/* 1️⃣ Limit inner container width */
#sp-main-body.custom4 > .container,
#sp-main-body.custom4 > .container > .container-inner {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
  display: block !important;
}

/* 2️⃣ Maintain proper row spacing and alignment */
#sp-main-body.custom4 > .container > .container-inner > .row {
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

/* 3️⃣ Ensure edge fade and metallic panel still appear */
.tech-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 4px solid rgba(210,176,85,0.7);
  box-shadow:
    0 0 45px rgba(160,160,160,0.25),
    inset 0 0 35px rgba(0,0,0,0.55);
}

/* 4️⃣ Responsive container handling */
@media (max-width: 1200px) {
  #sp-main-body.custom4 > .container > .container-inner {
    padding: 0 20px !important;
  }
}
@media (max-width: 768px) {
  #sp-main-body.custom4 > .container > .container-inner {
    padding: 0 15px !important;
  }
}

/* =========================================================
   SOCIAL SYSTEMS / FOOTER GRID
========================================================= */

/* 1️⃣  Section Wrapper */
.social-row-section {
  text-align: center;
  margin: 20px auto;
  padding: 10px 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 3;
}

/* 2️⃣  Row Core */
.social-row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  position: relative;
}

/* 3️⃣  Icon Items */
.social-item {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Base Icons */
.social-item img {
  width: 40px;
  height: 45px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Hover: cyan lift & pulse */
.social-item:hover img {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0,234,255,0.8)) brightness(1.15);
}

/* 4️⃣  Radial Glow Pulse */
.social-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0,234,255,0.25) 0%,
    rgba(0,234,255,0.15) 45%,
    rgba(0,234,255,0) 70%
  );
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}
.social-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 5️⃣  Captions */
.social-item p {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--accent-silver);
  letter-spacing: 0.3px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.social-item:hover p {
  color: var(--accent-gold);
  text-shadow: 0 0 6px rgba(255,214,92,0.5);
}

/* 6️⃣  Responsive */
@media (max-width: 768px) {
  .social-row { gap: 16px; }
  .social-item img { width: 32px; height: 36px; }
  .social-item::before { width: 46px; height: 46px; }
  .social-item p { font-size: 0.7rem; }
}

/* 7️⃣  Footer & Header Safety */
#sp-footer .social-row,
#sp-header .social-row {
  margin: 10px auto;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Prevent accidental overflow clipping */
#sp-footer,
#sp-footer .sp-column,
#sp-footer .sp-module-content {
  overflow: visible !important;
}


/* =========================================================
   MENU BAR
========================================================= */

/* 1️⃣ Align modules horizontally inside menu bar */
#sp-menu .sp-column {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important; /* space between search and login */
}

/* 2️⃣ Compact search styling for top nav */
#sp-menu form.search,
#sp-menu .mod-finder,
#sp-menu .tru-search-module {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3️⃣ Input appearance */
#sp-menu input[type="search"],
#sp-menu input[type="text"] {
  height: 34px !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: rgba(0,0,0,0.35) !important;
  color: #fff !important;
  font-size: 0.9rem;
  width: 180px !important;
  transition: border-color 0.3s ease, background 0.3s ease;
}
#sp-menu input[type="search"]:focus {
  border-color: var(--accent-cyan);
  background: rgba(0,0,0,0.5);
}

/* 4️⃣ Login link design */
#sp-menu a[href*="login"],
#sp-menu a.login-link {
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
#sp-menu a[href*="login"]:hover,
#sp-menu a.login-link:hover {
  color: #fff;
  text-shadow: 0 0 6px var(--accent-gold);
}

/* 5️⃣ Responsive behavior */
@media (max-width: 768px) {
  #sp-menu .sp-column {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
  }
}

/* =========================================================
   END OF MODULES: TECH BAND • SOCIAL ROW • LOGIN / SEARCH
========================================================= */
/* =========================================================
   HERO / FEATURE / JOIN-TRU
========================================================= */

section#sp-feature,
#sp-feature.sp-section,
#sp-feature.sppb-section {
  position: relative !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 480px !important; /* base visible height */
  overflow: visible !important;
  isolation: isolate;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  z-index: 1;
}

/* Allow module background or image content to show */
#sp-feature .sp-column,
#sp-feature .sp-module,
#sp-feature .sp-module-content,
#sp-feature .mod-custom {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: relative;
  z-index: 2;
}

/* Gentle overlay to preserve readability */
#sp-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
  pointer-events: none;
}

/* Responsive height control */
@media (max-width: 992px) {
  #sp-feature { min-height: 360px !important; }
}

/* ---------- SLIDER / JOIN-TRU SECTION (#sp-slide) ---------- */
section#sp-slide,
#sp-slide.sp-section,
#sp-slide.sppb-section {
  position: relative !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 360px !important;
  overflow: hidden !important;
  isolation: isolate;

  /* Allow Helix-template background to show */
  background: inherit !important;
  background-image: inherit !important;
  background-attachment: scroll !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  z-index: 1;
}

/* flatten internal wrappers */
#sp-slide .container,
#sp-slide .container-inner,
#sp-slide .sp-column,
#sp-slide .sp-module,
#sp-slide .sp-module-content,
#sp-slide .mod-custom {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

/* subtle overlay for text contrast */
#sp-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
  pointer-events: none;
}

/* ---------- JOIN-TRU CONTENT ---------- */
.join-tru {
  text-align: center;
  padding: 90px 0 80px;
  position: relative;
  z-index: 3; /* ensure above overlay */
}

/* link + subtext styling unchanged */
.join-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.1rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-decoration: none;
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  background: rgba(0,0,0,0.25);
  text-shadow: 0 0 14px rgba(255,214,92,0.6);
  transition: all 0.3s ease;
}
.join-link:hover {
  background: var(--accent-gold);
  color: #000 !important;
  text-shadow: 0 0 18px rgba(255,174,0,0.6);
  box-shadow: 0 0 25px rgba(255,214,92,0.45);
  border-color: var(--accent-gold);
}
.join-subtext {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  color: var(--accent-silver);
  margin-top: 24px;
  opacity: 0.9;
}
.join-subtext a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-cyan);
  transition: 0.3s ease;
}
.join-subtext a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* responsive height control */
@media (max-width: 992px) {
  #sp-feature { min-height: 340px !important; }
  #sp-slide { min-height: 280px !important; }
}
/* =========================================================
   HERO MODULE
========================================================= */

/* Main wrapper */
#sp-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  z-index: 1;
  isolation: isolate;
}

/* Allow Helix to render its background */
#sp-hero,
#sp-hero .sp-column,
#sp-hero .sp-module,
#sp-hero .sp-module-content,
#sp-hero .mod-custom {
  background: inherit !important;
  background-image: inherit !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* If Helix inserts inline background-image, make sure it displays */
#sp-hero [style*="background-image"] {
  display: block !important;
  opacity: 1 !important;
  background-position: center bottom !important; /* <-- anchored bottom */
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* 🔸 Fallback background when Helix renders nothing */
#sp-hero:not(:has([style*="background-image"])) {
  background:
    url("/images/headers/Cityscapes.BG 4.png") center bottom / cover no-repeat !important;
  background-attachment: fixed !important; /* parallax-style */
}

/* Optional: subtle gradient for depth — you can delete this if you want it 100% bright */
#sp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* =========================================================
   COM_FINDER — ADVANCED SEARCH & RESULTS (TRU GOLD EDITION)
   Matches Tech Section Visual System — Optimized Phase 5.7+
========================================================= */

/* ---------- 1️⃣ PAGE WRAPPER ---------- */
.finder,
.com_finder {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(180deg, #0b0b0f 0%, #09090c 60%, #050507 100%);
  background-attachment: fixed;
  padding: 120px 6vw 100px;
  color: #e0e0e0;
  font-family: 'Montserrat', sans-serif;
  box-shadow: inset 0 0 80px rgba(255, 214, 92, 0.08);
  overflow-x: hidden;
}

/* ---------- 2️⃣ SEARCH FORM ---------- */
.finder #finder-search {
  text-align: center;
  margin-bottom: 60px;
}

.finder .input-group {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.finder input[type="text"].js-finder-search-query {
  width: 60%;
  max-width: 640px;
  padding: 14px 18px;
  border: 2px solid rgba(0, 234, 255, 0.9);
  border-radius: 8px;
  background: rgba(10, 15, 25, 0.85);
  color: #eaeaea;
  box-shadow:
    0 0 12px rgba(0, 234, 255, 0.6),
    inset 0 0 6px rgba(0, 234, 255, 0.25);
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background-image: url("/images/icons/magnifier-cyan.svg");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 18px;
  padding-left: 42px;
}

.finder input[type="text"].js-finder-search-query:focus {
  border-color: #ffd65c;
  box-shadow:
    0 0 18px rgba(255, 214, 92, 0.8),
    0 0 10px rgba(255, 214, 92, 0.5);
  background: rgba(10, 15, 25, 0.95);
  outline: none;
}

.finder label[for="q"],
.finder .form-label {
  display: none !important;
}

.finder input.js-finder-search-query::placeholder {
  color: transparent !important;
  text-shadow: none !important;
}

/* ---------- 3️⃣ BUTTONS ---------- */
.finder button.btn,
.finder a.btn {
  padding: 14px 22px;
  border-radius: 6px;
  border: none;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.finder button.btn-primary {
  background: linear-gradient(90deg, #00eaff, #66f5ff);
  color: #0a0a0a !important;
}

.finder button.btn-primary:hover {
  background: #ffd65c;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(255, 214, 92, 0.8);
}

.finder a.btn-secondary {
  background: rgba(255, 214, 92, 0.12);
  color: #ffd65c;
  border: 1px solid rgba(255, 214, 92, 0.3);
}

.finder a.btn-secondary:hover {
  background: #ffd65c;
  color: #000;
  box-shadow: 0 0 16px rgba(255, 214, 92, 0.8);
}

/* ---------- 4️⃣ INFO PANEL (INSTRUCTIONS) ---------- */
.finder .card-outline-secondary,
.finder .card-body {
  background: rgba(10, 10, 18, 0.95) !important;
  border: 1px solid rgba(255, 214, 92, 0.4) !important;
  border-radius: 10px;
  padding: 20px 26px;
  color: #f0f0f0 !important;
  box-shadow: 0 0 20px rgba(255, 214, 92, 0.15);
  margin-bottom: 30px;
}

.finder .card-body p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.finder .card-body strong {
  color: #ffd65c;
}

.finder .card-body code {
  background: rgba(255, 214, 92, 0.15);
  color: #ffd65c;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
}

/* ---------- 5️⃣ FILTERS ---------- */
.finder #finder-filter-window {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.finder .control-group {
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid rgba(0, 234, 255, 0.25);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 240px;
  box-shadow: 0 0 12px rgba(0, 234, 255, 0.15);
}

.finder .control-label label {
  color: #ffd65c;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}

.finder .form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #e6e6e6;
  border: 1px solid rgba(0, 234, 255, 0.4);
  border-radius: 6px;
  padding: 8px 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.finder .form-select:focus {
  border-color: #ffd65c;
  box-shadow: 0 0 10px rgba(255, 214, 92, 0.6);
  outline: none;
}

/* ---------- 6️⃣ RESULTS ---------- */
.finder #search-results {
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.finder .result-title a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffd65c;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 214, 92, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.finder .result-title a:hover {
  color: #00eaff;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.8);
}

.finder .result-text {
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 30px;
  color: #d6d6d6;
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.15);
  line-height: 1.7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finder .result-text:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(0, 234, 255, 0.45);
}

/* ---------- 7️⃣ PAGINATION ---------- */
.finder .search-pagination {
  text-align: center;
  margin-top: 30px;
  color: #ccc;
  font-family: 'Orbitron', sans-serif;
}

/* ---------- 8️⃣ RESPONSIVE ---------- */
@media (max-width: 992px) {
  .finder input[type="text"].js-finder-search-query {
    width: 90%;
    padding-left: 42px;
  }
  .finder button.btn,
  .finder a.btn {
    width: 90%;
    margin-top: 12px;
  }
  .finder #finder-filter-window {
    flex-direction: column;
    align-items: center;
  }
}
/* Hide header search module when viewing finder results */
body.com_finder #sp-header .mod-finder,
body.view-search #sp-header .mod-finder {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
