/* ============================================================================
   The Trinity Beast Infrastructure — Shared Document Styles
   ============================================================================
   Used by all documents in the Document Library.
   Change header padding, spacing, or typography here — applies everywhere.
   ============================================================================ */

/* Fixed header bar */
header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 3px solid #FF9900;
  padding: 0.6rem 2rem 0.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

header h1 {
  color: #FF9900;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

header .subtitle {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 400;
  margin-top: 0.1rem;
  line-height: 1.3;
}

header .meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  line-height: 1.2;
}

/* Spacer to push content below the fixed header */
.header-spacer {
  height: 90px;
}

/* ============================================================================
   Shared Document Footer
   ============================================================================
   Tightened padding and line spacing. Same pattern as the header.
   Each document provides its own subtitle text via inline <p> tags.
   ============================================================================ */

footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-top: 3px solid #FF9900;
  padding: 0.8rem 2rem 0.6rem;
  text-align: center;
  margin-top: 2rem;
}

footer p {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
  line-height: 1.3;
}

footer .footer-subtitle {
  color: #94a3b8;
  font-size: 0.8rem;
}

footer .footer-mission {
  color: #64748b;
  font-size: 0.78rem;
  font-style: italic;
  margin-bottom: 0;
}

footer .footer-extra {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  margin-bottom: 0;
}

footer strong { color: #FF9900; }
footer a { color: #FF9900; text-decoration: none; }
footer a:hover { text-decoration: underline; }
