/**
 * DAZZLEMEDAI — Blog article chrome (nav bar + shared tokens)
 */
/**
 * DAZZLEMEDAI — Blog index (enterprise publication)
 * Dark premium · #050B18 · accent #FF3B3B
 */

:root {
  --bl-deep: #050b18;
  --bl-navy: #051344;
  --bl-navy2: #0b1220;
  --bl-glass: rgba(255, 255, 255, 0.05);
  --bl-line: rgba(255, 255, 255, 0.08);
  --bl-muted: #b8c1cc;
  --bl-white: #ffffff;
  --bl-accent: #ff3b3b;
  --bl-accent2: #ff6b6b;
  --bl-tag-bg: rgba(255, 59, 59, 0.12);
  --bl-radius: 16px;
  --bl-radius-lg: 20px;
  --bl-font: "Poppins", system-ui, sans-serif;
  --bl-font-d: "Montserrat", var(--bl-font);
  --bl-bar-h: 68px;
  --bl-max-article: 780px;
  --bl-transition: 0.22s ease;
  --pub-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pub-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --pub-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ── Base ── */
body.bl-page {
  background: var(--bl-deep);
  color: var(--bl-muted);
  font-family: var(--bl-font);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
}

body.bl-page *,
body.bl-page *::before,
body.bl-page *::after {
  box-sizing: border-box;
}

body.bl-page a {
  color: inherit;
  text-decoration: none;
}

body.bl-page h1,
body.bl-page h2,
body.bl-page h3 {
  font-family: var(--bl-font-d);
  color: var(--bl-white);
  letter-spacing: -0.02em;
  margin: 0;
}

#fn-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--bl-accent), var(--bl-accent2));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Nav ── */
.bl-bar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--bl-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(6, 10, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bl-line);
  z-index: 900;
}

.bl-bar.is-scrolled {
  background: rgba(6, 10, 24, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.bl-bar__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.bl-bar__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bl-bar__nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bl-muted);
  transition: color var(--bl-transition);
}

.bl-bar__nav a:hover,
.bl-bar__nav a[aria-current="page"] {
  color: var(--bl-white);
}

.bl-bar__cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bl-white) !important;
  background: var(--bl-accent);
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  transition: background var(--bl-transition), transform var(--bl-transition);
}

.bl-bar__cta:hover {
  background: var(--bl-accent2) !important;
  transform: translateY(-1px);
}

.bl-bar__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--bl-line);
  border-radius: 10px;
  cursor: pointer;
}

.bl-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bl-white);
  border-radius: 2px;
}

.bl-main {
  padding-top: var(--bl-bar-h);
}

