/* ── CBC Portal — shared header / footer styles ──────────────────────────────
   Loaded by every index.html in the portal tree.
   Page-specific CSS lives in each page's own <style> block.
──────────────────────────────────────────────────────────────────────────── */
:root {
  --purple:  #9105a4;
  --deep:    #7c048c;
  --dark-p:  #570263;
  --rose:    #D4477B;
  --plum:    #7B2049;
  --bg:      #FAFAFA;
  --surface: #ffffff;
  --border:  #d4c8e2;
  --cream:   #f3eef8;
  --text:    #1a1030;
  --text3:   #5a4e6e;
  --meta:    #808080;
  --content-pad: max(16px, calc((100% - 1280px) / 2));
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TOP NAV ── */
.top-nav {
  background: #000;
  padding: 0 var(--content-pad);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--purple);
  flex-shrink: 0;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-logo-slot {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.nav-logo-slot img {
  width: 100%; height: 100%;
  object-fit: contain; display: block; border-radius: 8px;
}
.nav-brand {
  font-size: 1.05rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  font-family: Consolas, "Courier New", monospace;
}
.nav-brand span { color: var(--rose); }
.nav-tag {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--meta); font-family: Consolas, "Courier New", monospace;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #000 0%, var(--dark-p) 40%, var(--purple) 75%, var(--rose) 100%);
  padding: 14px var(--content-pad) 17px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,71,123,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -40px; left: 20%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(145,5,164,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  font-family: Consolas, "Courier New", monospace;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.breadcrumb a { color: var(--rose); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose);
  font-family: Consolas, "Courier New", monospace; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.hero-title {
  font-size: 2.6rem; font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -1px; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--rose), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  position: relative; z-index: 1;
}

/* ── FOOTER ── */
footer {
  background: #000;
  border-top: 1px solid #1b1b1b;
  padding: 28px var(--content-pad);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: #888888;
  font-family: Consolas, "Courier New", monospace;
}
.footer-note { font-size: 0.65rem; color: #7a7a7a; font-family: Consolas, "Courier New", monospace; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 0.82rem; }
  footer { flex-direction: column; gap: 6px; text-align: center; }
}
