/* Dark editorial-tech theme for the Bootstrap-3 blog (overrides bootstrap + styles-min). */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

body {
  background: #0d0e12 !important;
  color: #ece9e2 !important;
  font-family: 'Hanken Grotesk', system-ui, sans-serif !important;
  padding-top: 64px;
}
h1, h2, h3, h4, h5, h6, .blog-post h1, .blog-post h2, .blog-post h3 {
  font-family: 'Fraunces', Georgia, serif !important;
  color: #f3f1ea !important;
  letter-spacing: -0.01em;
}
p, li, td, span, .blog-post {
  color: #c3c7cf !important;
}
a { color: #c8ff4d !important; }
a:hover, a:focus { color: #d6ff70 !important; }
.text-muted, small { color: #9aa0ab !important; }
hr { border-color: rgba(255,255,255,0.1) !important; }

/* Top nav — the shared site-header fragment, matching the home page (overrides Bootstrap 3). */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  min-height: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: rgba(13,14,18,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 1030;
}
.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
  float: none !important; height: auto !important; padding: 0 !important;
  font-family: 'Fraunces', serif !important; font-weight: 600 !important;
  font-size: 22px !important; letter-spacing: -0.01em;
  color: #ece9e2 !important;
}
.navbar-brand-accent { color: #c8ff4d !important; }
.navbar-nav {
  list-style: none; display: flex; align-items: center; gap: 22px;
  margin: 0 !important; padding: 0 !important; float: none !important;
}
.navbar-nav > li { float: none !important; }
.navbar-link {
  display: inline; padding: 0 !important; font-size: 15px; font-weight: 500;
  color: #9aa0ab !important; line-height: normal !important;
}
.navbar-link:hover { color: #ece9e2 !important; background: none !important; }

/* Cards / panels / tables used inside posts */
.panel, .well, .card, .thumbnail {
  background: #15171d !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #ece9e2 !important;
  box-shadow: none !important;
}
.panel-heading, .panel-footer { background: #1c1f27 !important; border-color: rgba(255,255,255,0.10) !important; }
table, .table { color: #ece9e2 !important; }
.table > thead > tr > th, .table > tbody > tr > td { border-color: rgba(255,255,255,0.10) !important; }
.table-bordered, .table-bordered > tbody > tr > td, .table-bordered > thead > tr > th { border-color: rgba(255,255,255,0.10) !important; }

/* Footer already bg-dark; align to ink */
.footer.bg-dark { background: #15171d !important; }
.footer a { color: #c8ff4d !important; }

/* Buttons that may appear in posts */
.btn-primary { background: #c8ff4d !important; border-color: #c8ff4d !important; color: #0d0e12 !important; }
.btn-primary:hover { background: #d6ff70 !important; border-color: #d6ff70 !important; color: #0d0e12 !important; }

/* --- Layout/utility classes — replaces the removed Bootstrap 3 + jQuery CDN dependency.
   Scoped to blog pages only (this file is loaded on the blog), so no other pages are affected. --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.row { display: block; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.center-block { display: block; margin-left: auto; margin-right: auto; }
.img-responsive, .img-fluid { display: block; max-width: 100%; height: auto; }
.mb-3 { margin-bottom: 1rem; }

/* Blog post company sections + charts (previously relied on Bootstrap 4 classes that were never loaded) */
.company-title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 38px 0 14px; }
.company-title img { height: 34px; width: auto; }
.company-chart { max-width: 100%; height: auto; margin: 0 auto 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
