/* ============================================================
   CONSTELLATION UNIFIED STYLES
   Replaces per-constellation prefixed CSS with a single
   stylesheet driven by CSS custom properties.

   Each constellation page sets its theme on a wrapper element:
   <div class="c-page" style="--c-primary:#f4d03f; ...">

   Required custom properties per constellation:
   --c-primary        Main accent (headings, labels, borders)
   --c-primary-rgb    RGB triplet for rgba() usage
   --c-card-bg        Card/panel background
   --c-card-border    Card border colour
   --c-secondary      Secondary accent (find cards, season table)
   --c-myth           Mythology accent
   --c-adv            Advanced targets accent
   --c-adv-rgb        RGB triplet for adv rgba()
   ============================================================ */


/* ── HERO: Badges pattern (Orion, Scorpius, Ursa Major) ────── */
.c-hero-badges {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.c-hero-badges::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-hero-overlay, linear-gradient(to bottom, rgba(5,8,20,0.45) 0, rgba(5,8,20,0.20) 35%, rgba(5,8,20,0.85) 100%));
}

.c-hero-badges > * {
  position: relative;
  z-index: 1;
}

.c-hero-badges .star-tag {
  font-family: 'Courier New', monospace;
  color: var(--c-primary);
  font-size: .80rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.c-hero-badges h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  max-width: 860px;
  margin: 0 auto 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}

.c-hero-badges .lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.c-hero-badges .hero-badges {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.c-hero-badges .badge {
  background: rgba(var(--c-primary-rgb), 0.15);
  border: 1px solid rgba(var(--c-primary-rgb), 0.40);
  color: var(--c-primary);
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .82rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}


/* ── HERO: Image-overlay pattern (Aries, Taurus, Cassiopeia, Leo, etc.) ── */
.c-hero-img-overlay {
  position: relative;
  width: 100%;
  height: 420px;
  background: var(--c-hero-gradient, linear-gradient(180deg, #0a0e1a 0, #111827 60%, #1a2035 100%));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.c-hero-img-overlay .hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.c-hero-img-overlay .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.c-hero-img-overlay h1 {
  font-size: 3.5rem;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  font-weight: 700;
}

.c-hero-img-overlay p {
  font-size: 1.2rem;
  margin: 10px 0 0 0;
  color: var(--c-primary);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.c-hero-img-overlay .badge {
  display: inline-block;
  background: rgba(var(--c-primary-rgb), 0.25);
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .85rem;
  margin-top: 15px;
}


/* ── HERO: Text-only pattern (Aquarius, Pisces, Capricornus, Sagittarius) ── */
.c-hero-text {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--c-hero-gradient, linear-gradient(135deg, #0a1a2e 0, #16213e 50%, #0f3460 100%));
  background-image: var(--c-hero-image, none);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.c-hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-hero-overlay, none);
  pointer-events: none;
}

.c-hero-text .hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  letter-spacing: -0.02em;
}


/* ── CONTAINER ─────────────────────────────────────────────── */
.c-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--text-primary, #e8e8e8);
}


/* ── SECTIONS ──────────────────────────────────────────────── */
.c-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.c-section:last-child {
  border-bottom: none;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: 'Courier New', monospace;
  font-size: .72rem;
  letter-spacing: 3px;
  color: var(--c-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .75rem;
}

.section-header p {
  color: rgba(255,255,255,0.70);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
}


/* ── INTRO ─────────────────────────────────────────────────── */
.c-intro {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  font-size: 1.05rem;
}


/* ── FACTS PANEL ───────────────────────────────────────────── */
.facts-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(var(--c-primary-rgb), 0.08);
  border: 1px solid rgba(var(--c-primary-rgb), 0.18);
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

.fact-item {
  padding: 1.25rem 1.5rem;
  background: rgba(5,8,20,0.80);
}

.fact-label {
  font-size: .72rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: .35rem;
  display: block;
}

.fact-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .15rem;
}

.fact-note {
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
}


/* ── ILLUSTRATION / SVG WRAPS ──────────────────────────────── */
.illustration-wrap {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  background: rgba(10,20,40,0.80);
  border: 2px solid rgba(var(--c-primary-rgb), 0.18);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.illustration-wrap svg {
  width: 100%;
  height: auto;
  max-width: 720px;
}

.illustration-caption {
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,0.50);
  margin-top: .75rem;
  font-style: italic;
}


/* ── BELT BOX (callout) ────────────────────────────────────── */
.belt-box {
  background: rgba(var(--c-primary-rgb), 0.06);
  border: 1px solid rgba(var(--c-primary-rgb), 0.22);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.belt-box h3 {
  color: var(--c-primary);
  font-size: 1.05rem;
  margin: 0 0 .6rem;
}

.belt-box p {
  color: rgba(255,255,255,0.78);
  font-size: .95rem;
  line-height: 1.72;
  margin: 0;
}


/* ── FIND GRID ─────────────────────────────────────────────── */
.find-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.find-card {
  background: var(--c-card-bg, rgba(15,20,45,0.60));
  border: 1px solid var(--c-card-border, rgba(137,196,244,0.18));
  border-radius: 10px;
  padding: 1.5rem;
}

.find-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-secondary, var(--c-primary));
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.find-card p,
.find-card ul {
  font-size: .95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

.find-card ul {
  padding-left: 1.2rem;
}

.find-card ul li {
  margin-bottom: .4rem;
}


/* ── SEASONAL TABLE ────────────────────────────────────────── */
.season-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: .92rem;
}

.season-table th {
  background: rgba(var(--c-primary-rgb), 0.12);
  color: var(--c-secondary, var(--c-primary));
  font-family: 'Courier New', monospace;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .7rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(var(--c-primary-rgb), 0.20);
}

.season-table td {
  padding: .7rem 1rem;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.season-table tr:last-child td {
  border-bottom: none;
}

.season-table .best {
  color: #f4d03f;
  font-weight: 600;
}

.season-table .good {
  color: #7dce94;
}

.season-table .poor {
  color: rgba(255,255,255,0.38);
}


/* ── STARS GRID ────────────────────────────────────────────── */
.stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.star-card {
  background: var(--c-card-bg, rgba(15,20,45,0.70));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.star-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.star-card.red::before    { background: linear-gradient(90deg, #e55a2b, transparent); }
.star-card.blue::before   { background: linear-gradient(90deg, #89c4f4, transparent); }
.star-card.gold::before   { background: linear-gradient(90deg, #f4d03f, transparent); }
.star-card.white::before  { background: linear-gradient(90deg, #e8eaf0, transparent); }
.star-card.orange::before { background: linear-gradient(90deg, #e88a6a, transparent); }

.star-card .star-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .2rem;
}

.star-card .star-greek {
  font-family: 'Courier New', monospace;
  color: var(--c-primary);
  font-size: .78rem;
  letter-spacing: 1px;
}

.star-card .star-stats {
  margin-top: .85rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.star-card .stat {
  font-size: .88rem;
  color: rgba(255,255,255,0.65);
}

.star-card .stat span {
  color: rgba(255,255,255,0.90);
  font-weight: 500;
}

.star-card .star-desc {
  margin-top: .85rem;
  font-size: .90rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
}

/* Simple star card variant (Cassiopeia/Leo style) */
.star-card h4 {
  margin: 0 0 .3rem;
  font-size: 1.05rem;
  color: #fff;
}

.star-card .star-meta {
  font-size: .8rem;
  color: rgba(var(--c-primary-rgb), 0.7);
  margin-bottom: .6rem;
  font-style: italic;
}

.star-card p {
  color: rgba(255,255,255,0.68);
  font-size: .93rem;
  margin: 0;
  line-height: 1.6;
}


/* ── MYTHOLOGY ─────────────────────────────────────────────── */
.myth-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.myth-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

.myth-text p:last-child {
  margin-bottom: 0;
}

.myth-text em {
  color: var(--c-primary);
  font-style: normal;
  font-weight: 500;
}

.myth-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.culture-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.culture-card {
  background: var(--c-card-bg, rgba(15,20,45,0.65));
  border: 1px solid rgba(var(--c-primary-rgb), 0.18);
  border-radius: 10px;
  padding: 1.25rem;
}

.culture-card .culture-name {
  font-size: .75rem;
  font-family: 'Courier New', monospace;
  color: var(--c-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.culture-card h4 {
  font-size: .78rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  color: var(--c-myth, var(--c-primary));
  text-transform: uppercase;
  margin: 0 0 .45rem;
}

.culture-card p {
  font-size: .92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0;
}

/* Myth grid variant (Family B/C pages) */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0;
}

.myth-card {
  background: var(--c-card-bg, rgba(15,20,45,0.60));
  border: 1px solid var(--c-card-border, rgba(255,255,255,0.10));
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
}

.myth-card h4 {
  color: var(--c-myth, var(--c-primary));
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .5rem;
}

.myth-card p {
  color: rgba(255,255,255,0.68);
  font-size: .88rem;
  margin: 0;
  line-height: 1.6;
}


/* ── DSO GRID ──────────────────────────────────────────────── */
.dso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dso-card {
  background: var(--c-card-bg, rgba(15,20,45,0.70));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Difficulty-coloured top border */
.dso-card.easy   { border-top: 3px solid #7dce94; }
.dso-card.medium { border-top: 3px solid #f4d03f; }
.dso-card.hard   { border-top: 3px solid #e55a2b; }
.dso-card.photo  { border-top: 3px solid #c47bdb; }

/* Difficulty badge via data-type attribute */
.dso-card::after {
  content: attr(data-type);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Courier New', monospace;
  font-size: .68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 4px;
}

.dso-card.easy::after   { background: rgba(125,206,148,0.15); color: #7dce94; }
.dso-card.medium::after { background: rgba(244,208,63,0.15);  color: #f4d03f; }
.dso-card.hard::after   { background: rgba(229,90,43,0.15);   color: #e55a2b; }
.dso-card.photo::after  { background: rgba(200,130,255,0.15); color: #c882ff; }

.dso-card .dso-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .2rem;
  padding-right: 4rem;
}

.dso-card .dso-cat {
  font-size: .80rem;
  color: var(--c-secondary, var(--c-primary));
  margin-bottom: .85rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.dso-card .dso-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.dso-card .dso-stat {
  font-size: .85rem;
  color: rgba(255,255,255,0.65);
}

.dso-card .dso-stat span {
  color: var(--c-primary);
  font-weight: 600;
}

.dso-card p {
  font-size: .92rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  margin: 0;
}

/* DSO card image (Orion-style with lightbox) */
.dso-img-wrap {
  margin: -1.5rem -1.5rem 1.2rem -1.5rem;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.dso-img-wrap img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.dso-img-wrap:hover img {
  transform: scale(1.05);
}

.dso-img-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.60);
  color: rgba(255,255,255,0.55);
  font-size: .62rem;
  padding: 2px 7px;
  border-top-left-radius: 4px;
  pointer-events: none;
}

.dso-img-zoom-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.50);
  color: rgba(255,255,255,0.70);
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}

.dso-img-wrap:hover .dso-img-zoom-hint {
  opacity: 1;
}

/* Inline difficulty badges (Family B/C variant) */
.dso-difficulty {
  display: inline-block;
  font-size: .72rem;
  padding: .15rem .55rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-left: .4rem;
  vertical-align: middle;
}

.diff-easy   { background: rgba(80,200,120,0.15); color: #50c878; border: 1px solid #50c878; }
.diff-medium { background: rgba(255,180,50,0.12);  color: #ffb432; border: 1px solid #ffb432; }
.diff-hard   { background: rgba(229,90,43,0.15);   color: #e55a2b; border: 1px solid #e55a2b; }
.diff-photo       { background: rgba(200,100,220,0.12); color: #c864dc; border: 1px solid #c864dc; }
.diff-challenging { background: rgba(229,90,43,0.15);   color: #e55a2b; border: 1px solid #e55a2b; }

/* DSO meta (Family B/C variant) */
.dso-card .dso-meta {
  font-size: .78rem;
  color: rgba(255,255,255,0.50);
  margin-bottom: .6rem;
  font-style: italic;
}

.dso-card h4 {
  color: var(--c-primary);
  margin: 0 0 .3rem;
  font-size: 1rem;
}


/* ── OBSERVING STEPS (ordered list) ────────────────────────── */
.obs-steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.obs-steps li {
  counter-increment: steps;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.obs-steps li:last-child {
  border-bottom: none;
}

.obs-steps li::before {
  content: counter(steps);
  min-width: 32px;
  height: 32px;
  background: rgba(var(--c-primary-rgb), 0.15);
  border: 1px solid rgba(var(--c-primary-rgb), 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  color: var(--c-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.obs-steps .step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: .1rem 0 .5rem;
}

.obs-steps .step-content p {
  font-size: .94rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin: 0;
}

/* Div-based observing steps (Orion pattern) */
.obs-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.obs-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--c-primary-rgb), 0.10);
  border: 2px solid rgba(var(--c-primary-rgb), 0.35);
  color: var(--c-primary);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.obs-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: .1rem 0 .5rem;
}

.obs-body p {
  font-size: .94rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin: 0;
}


/* ── EQUIPMENT / KIT GRID ──────────────────────────────────── */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.kit-item {
  background: var(--c-card-bg, rgba(15,20,45,0.60));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.kit-item .kit-icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
  display: block;
}

.kit-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
}

.kit-item p {
  font-size: .85rem;
  color: rgba(255,255,255,0.60);
  margin: 0;
  line-height: 1.55;
}

/* Kit card variant (Orion pattern) */
.kit-card {
  background: var(--c-card-bg, rgba(15,20,45,0.65));
  border: 1px solid rgba(var(--c-primary-rgb), 0.18);
  border-radius: 9px;
  padding: 1.3rem;
  text-align: center;
}

.kit-card .kit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .6rem;
}

.kit-card h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--c-secondary, var(--c-primary));
  margin: 0 0 .5rem;
}

.kit-card p {
  font-size: .84rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}


/* ── ADVANCED PANEL ────────────────────────────────────────── */
.advanced-panel {
  background: linear-gradient(135deg, rgba(var(--c-adv-rgb, 196,123,219), 0.08), rgba(var(--c-adv-rgb, 196,123,219), 0.03));
  border: 1px solid rgba(var(--c-adv-rgb, 196,123,219), 0.22);
  border-radius: 14px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.advanced-panel .adv-label {
  font-family: 'Courier New', monospace;
  font-size: .72rem;
  letter-spacing: 3px;
  color: var(--c-adv, #c47bdb);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}

.advanced-panel h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.adv-card {
  background: rgba(var(--c-adv-rgb, 196,123,219), 0.06);
  border: 1px solid rgba(var(--c-adv-rgb, 196,123,219), 0.15);
  border-radius: 10px;
  padding: 1.4rem;
}

.adv-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-adv, #c47bdb);
  margin: 0 0 .5rem;
}

.adv-card p,
.adv-card ul {
  font-size: .90rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin: 0;
}

.adv-card ul {
  padding-left: 1.1rem;
}

.adv-card ul li {
  margin-bottom: .35rem;
}


/* ── TIP BOX ───────────────────────────────────────────────── */
.tip-box {
  background: rgba(125,206,148,0.07);
  border: 1px solid rgba(125,206,148,0.22);
  border-left: 4px solid #7dce94;
  border-radius: 0 8px 8px 0;
  padding: 1.4rem 1.75rem;
  margin-top: 2rem;
}

.tip-box h4 {
  color: #7dce94;
  font-size: .95rem;
  margin: 0 0 .5rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.tip-box strong {
  color: #7dce94;
}

.tip-box p {
  color: rgba(255,255,255,0.75);
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
}


/* ── RELATED LINKS ─────────────────────────────────────────── */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.related-link {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  color: var(--c-primary);
  text-decoration: none;
  padding: .8rem 1rem;
  background: rgba(var(--c-primary-rgb), 0.06);
  border: 1px solid rgba(var(--c-primary-rgb), 0.18);
  border-radius: 8px;
  font-size: .92rem;
  transition: background .2s ease, transform .2s ease;
}

.related-link span {
  font-size: .78rem;
  color: rgba(192,212,245,0.55);
  font-weight: 400;
}

.related-link:hover {
  background: rgba(var(--c-primary-rgb), 0.12);
  transform: translateY(-2px);
}


/* ── LIGHTBOX ──────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: .88rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  font-family: inherit;
}


/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .c-hero-badges h1 {
    font-size: 2.2rem;
  }

  .c-hero-img-overlay {
    height: 320px;
  }

  .c-hero-img-overlay h1 {
    font-size: 2.4rem;
  }

  .c-hero-text {
    height: 300px;
  }

  .find-grid {
    grid-template-columns: 1fr;
  }

  .myth-layout {
    grid-template-columns: 1fr;
  }

  .myth-sidebar {
    order: -1;
  }

  .kit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .stars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .c-hero-badges {
    padding: 4rem 1rem 3rem;
  }

  .c-hero-badges h1 {
    font-size: 1.8rem;
  }

  .c-hero-img-overlay {
    height: 260px;
  }

  .c-hero-img-overlay h1 {
    font-size: 2rem;
  }

  .c-hero-text {
    height: 240px;
  }

  .facts-panel {
    grid-template-columns: 1fr;
  }

  .kit-grid {
    grid-template-columns: 1fr;
  }

  .dso-grid {
    grid-template-columns: 1fr;
  }

  .dso-card .dso-stats {
    gap: .75rem;
  }

  .obs-step {
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  .c-hero-badges h1 {
    font-size: 1.5rem;
  }

  .c-hero-badges .badge {
    font-size: .72rem;
    padding: .25rem .65rem;
  }

  .c-container {
    padding: 0 1rem;
  }

  .advanced-panel {
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONSTELLATIONS HUB PAGE  (/constellations/)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.const-hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(3,5,15,0.55) 0, rgba(3,5,15,0.20) 50%, rgba(3,5,15,0.75) 100%),
    url('/images/blog/orion-constellation-hero.webp') center 35% / cover no-repeat;
  overflow: hidden;
}

.const-hero > * { position: relative; z-index: 1; }

.const-hero .hero-tag {
  font-family: 'Courier New', monospace;
  color: #89c4f4;
  font-size: .80rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.const-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}

.const-hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.78;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

/* ── Hero stats bar ────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item .stat-number {
  font-size: 2.5rem;
  color: #89c4f4;
  font-weight: 800;
  display: block;
  font-family: 'Courier New', monospace;
  line-height: 1;
  margin-bottom: .3rem;
  text-shadow: 0 0 20px rgba(137,196,244,0.5);
}

.stat-item .stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

/* ── Container & sections ─────────────────────────────────────── */
.const-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.const-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.const-section:last-child { border-bottom: none; }

.const-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.const-section-label {
  font-family: 'Courier New', monospace;
  color: #89c4f4;
  font-size: .78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: .6rem;
}

.const-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .75rem;
}

.const-section-header p {
  color: rgba(255,255,255,0.70);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Intro two-column ─────────────────────────────────────────── */
.intro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.intro-two-col p {
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  font-size: .97rem;
  margin: 0;
}

/* ── Tip bar ──────────────────────────────────────────────────── */
.tip-bar {
  background: rgba(137,196,244,0.08);
  border: 1px solid rgba(137,196,244,0.22);
  border-left: 4px solid #89c4f4;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.75rem;
  margin-top: 1rem;
}

.tip-bar p {
  color: rgba(255,255,255,0.82);
  font-size: .97rem;
  line-height: 1.75;
  margin: 0;
}

/* ── Constellation cards grid ─────────────────────────────────── */
.const-cards-grid,
.const-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.const-card {
  display: flex;
  flex-direction: column;
  background: rgba(10,14,35,0.75);
  border: 1px solid rgba(137,196,244,0.15);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.const-card:hover {
  transform: translateY(-4px);
  border-color: rgba(137,196,244,0.40);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.const-card-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.const-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.const-card-meta {
  font-family: 'Courier New', monospace;
  font-size: .76rem;
  color: rgba(137,196,244,0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.const-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .75rem;
  line-height: 1.35;
}

/* ── Card badges ──────────────────────────────────────────────── */
.const-card-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.card-season-badge {
  font-family: 'Courier New', monospace;
  font-size: .74rem;
  background: rgba(137,196,244,0.15);
  color: #89c4f4;
  border: 1px solid rgba(137,196,244,0.30);
  border-radius: 4px;
  padding: .2rem .6rem;
}

.card-level-badge {
  font-size: .74rem;
  border-radius: 4px;
  padding: .2rem .6rem;
  font-weight: 600;
}

.card-level-badge.beginner {
  background: rgba(125,206,148,0.15);
  color: #7dce94;
  border: 1px solid rgba(125,206,148,0.30);
}

.card-level-badge.intermediate {
  background: rgba(244,208,63,0.15);
  color: #f4d03f;
  border: 1px solid rgba(244,208,63,0.30);
}

.card-level-badge.advanced {
  background: rgba(196,123,219,0.15);
  color: #c47bdb;
  border: 1px solid rgba(196,123,219,0.30);
}

/* ── Card body content ────────────────────────────────────────── */
.const-card-desc {
  font-size: .91rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  margin: 0 0 .85rem;
  flex: 1;
}

.const-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .9rem;
}

.const-tag {
  font-size: .74rem;
  color: rgba(255,255,255,0.50);
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: .15rem .55rem;
}

.const-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.card-read-link {
  font-size: .86rem;
  color: #89c4f4;
  font-weight: 600;
  letter-spacing: .3px;
}

.card-best-time {
  font-family: 'Courier New', monospace;
  font-size: .74rem;
  color: rgba(255,255,255,0.40);
}

/* ── Seasonal quick guide ─────────────────────────────────────── */
.season-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.season-card {
  background: rgba(10,14,35,0.6);
  border: 1px solid rgba(137,196,244,0.12);
  border-radius: 10px;
  padding: 1.4rem;
}

.season-card .s-name {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: .80rem;
  color: #89c4f4;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-weight: 700;
}

.season-card .s-constellations {
  font-size: .93rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
}

.season-card strong {
  color: #fff;
}

/* ── Hub responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .const-hero h1 { font-size: 2.2rem; }
  .intro-two-col { grid-template-columns: 1fr; gap: 1.25rem; }
  .const-cards-grid, .const-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .season-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .const-hero { padding: 4rem 1.5rem 3rem; }
  .const-hero h1 { font-size: 1.75rem; }
  .hero-stats { gap: 2rem; }
  .stat-item .stat-number { font-size: 1.9rem; }
  .const-cards-grid, .const-grid { grid-template-columns: 1fr; }
  .season-row { grid-template-columns: 1fr; }
  .const-section { padding: 2.5rem 0; }
}
