/* ============================================================
   Drunken Safari — Shared Stylesheet
   DS Color Palette:
   DS_BG          #0a0a0f   page background
   DS_BG_CARD     #12121a   card background
   DS_GOLD        #c8a84b   primary accent
   DS_GOLD_BRIGHT #f0c040   hover gold
   DS_GOLD_TEXT   #c8b97a   body text
   DS_GOLD_DIM    #9a8a6a   secondary headings
   DS_MUTED       #7a7060   secondary text
   DS_QUIET       #5a5060   labels, metadata
   DS_DARKEST     #2a2040   very dark / footer
   DS_BORDER      rgba(200,168,75,0.14)
   DS_GREEN       #4CAF50
   DS_BLUE        #5b9bd5
   DS_PURPLE      #9c6fd6
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0a0a0f;
  color: #c8b97a;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.75rem; height: 56px;
  background: rgba(10,10,15,0.97);
  border-bottom: 1px solid rgba(200,168,75,0.2);
  backdrop-filter: blur(10px);
}
.site-nav .nav-brand {
  font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em; color: #c8a84b; white-space: nowrap;
}
.site-nav .nav-links {
  display: flex; align-items: center; gap: 0; list-style: none;
}
.site-nav .nav-links a {
  display: block; padding: 0.4rem 0.85rem;
  font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.08em;
  color: #7a7060; border-radius: 3px; transition: color 0.2s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active { color: #f0c040; }
.site-nav .nav-right { display: flex; align-items: center; gap: 0.75rem; }
.site-nav .nav-char {
  font-family: 'Cinzel', serif; font-size: 0.8rem; color: #c8b97a; white-space: nowrap;
}
.site-nav .nav-ilvl {
  display: inline-block; background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.35); color: #c8a84b;
  padding: 0.1rem 0.45rem; font-size: 0.68rem; border-radius: 2px; margin-left: 0.4rem;
}
.site-nav .officer-badge {
  display: inline-block; background: rgba(200,168,75,0.2);
  border: 1px solid #c8a84b; color: #f0c040;
  padding: 0.1rem 0.5rem; font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: 2px; margin-left: 0.5rem;
}
.site-nav .nav-logout {
  font-size: 0.72rem; color: #5a5060; border: 1px solid #2a2a40;
  padding: 0.3rem 0.7rem; border-radius: 3px; transition: all 0.2s;
}
.site-nav .nav-logout:hover { color: #ef5350; border-color: rgba(239,83,80,0.27); }
.site-nav .nav-bnet {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.9rem; background: #0074e0; border-radius: 3px;
  font-size: 0.75rem; font-weight: 600; color: #fff; white-space: nowrap;
  transition: background 0.2s;
}
.site-nav .nav-bnet:hover { background: #005bb5; }
.site-nav .nav-bnet svg { width: 14px; height: 14px; fill: #fff; flex-shrink: 0; }

/* ── Page layout ── */
.ds-page-header {
  text-align: center; padding: 2.5rem 1.5rem 1.2rem;
}
.ds-page-header h1 {
  font-family: 'Cinzel', serif; font-size: 1.5rem; letter-spacing: 0.22em;
  color: #c8a84b; text-transform: uppercase;
}
.ds-page-header p {
  color: #5a5060; font-size: 0.8rem; margin-top: 0.4rem; letter-spacing: 0.1em;
}
.ds-page-header .ds-sub-tabs {
  display: flex; justify-content: center; gap: 0; margin-top: 1.2rem;
  border-bottom: 1px solid rgba(200,168,75,0.12);
}
.ds-page-header .ds-sub-tabs a {
  font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.12em;
  color: #5a5060; padding: 0.5rem 1.2rem;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.ds-page-header .ds-sub-tabs a:hover { color: #c8a84b; }
.ds-page-header .ds-sub-tabs a.active { color: #c8a84b; border-bottom-color: #c8a84b; }

.ds-content { max-width: 860px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

/* ── DS Cards ── */
.ds-section-label {
  font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.3em;
  color: #5a5060; text-transform: uppercase; margin-bottom: 1.2rem;
}
.ds-card {
  border: 1px solid rgba(200,168,75,0.14); border-radius: 4px;
  overflow: hidden; margin-bottom: 1.5rem;
}
.ds-card-header {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.4rem; background: rgba(200,168,75,0.06);
  border-bottom: 1px solid rgba(200,168,75,0.1);
}
.ds-card-icon { font-size: 1.1rem; flex-shrink: 0; }
.ds-card-title {
  font-family: 'Cinzel', serif; font-size: 0.82rem;
  letter-spacing: 0.1em; color: #c8a84b;
}
.ds-card-body { padding: 1.4rem; }
.ds-card-body p {
  font-size: 0.84rem; color: #5a5060; line-height: 1.7; margin-bottom: 0.9rem;
}
.ds-card-body p:last-child { margin-bottom: 0; }

/* ── DS Buttons ── */
.ds-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.1em;
  padding: 0.55rem 1.3rem; background: transparent;
  border: 1px solid rgba(200,168,75,0.4); color: #c8a84b;
  border-radius: 3px; transition: all 0.2s; cursor: pointer;
}
.ds-btn:hover { border-color: #c8a84b; color: #f0c040; }
.ds-btn-primary {
  background: #c8a84b; color: #0a0a0f;
  border-color: #c8a84b; font-weight: 700;
}
.ds-btn-primary:hover { background: #f0c040; border-color: #f0c040; color: #0a0a0f; }
.ds-btn svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* ── Footer ── */
footer {
  text-align: center; padding: 1.5rem;
  font-size: 0.72rem; color: #2a2040; letter-spacing: 0.1em;
  border-top: 1px solid rgba(200,168,75,0.08);
}

/* ── Alerts ── */
.alert {
  padding: 0.75rem 1rem; margin-bottom: 1rem;
  font-size: 0.85rem; border-left: 3px solid;
}
.alert.success { border-color: #4CAF50; background: rgba(76,175,80,0.1); color: #4CAF50; }
.alert.error   { border-color: #ef5350; background: rgba(239,83,80,0.1); color: #ef5350; }
.alert.info    { border-color: #c8a84b; background: rgba(200,168,75,0.1); color: #c8a84b; }

/* ── Error box ── */
.error-box {
  background: rgba(239,83,80,0.05); border: 1px solid rgba(239,83,80,0.25);
  border-left: 3px solid #ef5350; padding: 1rem 1.25rem;
  margin: 2rem 0; color: #ef5350; font-size: 0.85rem;
}

/* ── Field Dispatch (home news) ── */
.field-dispatch {
  max-width: 860px; margin: 2.5rem auto; padding: 2rem 2.5rem;
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.18); border-radius: 6px;
}
.field-dispatch-eyebrow {
  font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 0.35em;
  color: #c8a84b; text-transform: uppercase; margin-bottom: 0.4rem;
}
.field-dispatch-headline {
  font-family: 'Cinzel', serif; font-size: 1.25rem; color: #f0c040; margin: 0 0 1.2rem;
}
.field-dispatch-body { font-size: 0.88rem; color: #b0a898; line-height: 1.8; }
.field-dispatch-body p { margin: 0 0 0.85rem; }
.field-dispatch-body p:last-child { margin-bottom: 0; }
.field-dispatch-body strong { color: #c8b97a; }
.field-dispatch-sig {
  margin-top: 1.4rem; font-size: 0.78rem; color: #5a5060; font-style: italic;
  border-top: 1px solid rgba(200,168,75,0.1); padding-top: 0.9rem;
}
