/* ==========================================================================
   Birch Notes (birchnotes.fyi) - Editorial Running Publication Stylesheet
   Modern, zero-JS responsive layout for runners in Vietnam
   ========================================================================== */

:root {
  --bn-font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --bn-font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --bn-bg-canvas: #f8f9f6;
  --bn-surface: #ffffff;
  --bn-surface-warm: #f1f4ee;
  --bn-surface-tint: #eaf1eb;
  
  --bn-text-main: #1c2720;
  --bn-text-muted: #48584d;
  --bn-text-light: #6e7f73;
  
  --bn-primary: #23533c;
  --bn-primary-dark: #173b2a;
  --bn-primary-soft: #e3ede6;
  
  --bn-accent: #c85a17;
  --bn-accent-hover: #a8470e;
  --bn-accent-soft: #fcf1e8;
  
  --bn-border: #dce3dd;
  --bn-border-subtle: #e8ede9;
  
  --bn-shadow-sm: 0 1px 3px rgba(28, 39, 32, 0.05);
  --bn-shadow-md: 0 4px 12px rgba(28, 39, 32, 0.08);
  --bn-shadow-lg: 0 10px 24px rgba(28, 39, 32, 0.12);
  
  --bn-radius-sm: 6px;
  --bn-radius-md: 10px;
  --bn-radius-lg: 16px;
  --bn-max-width: 1160px;
  --bn-content-width: 780px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bn-bg-canvas);
  color: var(--bn-text-main);
  font-family: var(--bn-font-sans);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip link */
.bn-skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--bn-primary);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--bn-radius-sm);
  transition: top 0.2s ease;
}
.bn-skip-link:focus {
  top: 1rem;
}

/* Accessibility & Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--bn-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--bn-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.bn-container {
  width: 100%;
  max-width: var(--bn-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Navigation */
.bn-header {
  background: #ffffff;
  border-bottom: 1px solid var(--bn-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--bn-shadow-sm);
}

.bn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.bn-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--bn-text-main);
}
.bn-brand-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.bn-brand-text {
  display: flex;
  flex-direction: column;
}
.bn-brand-name {
  font-family: var(--bn-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bn-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.bn-brand-tagline {
  font-size: 0.75rem;
  color: var(--bn-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Navigation - Pure CSS toggle */
.bn-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.bn-nav-desktop a {
  text-decoration: none;
  color: var(--bn-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  position: relative;
}
.bn-nav-desktop a:hover,
.bn-nav-desktop a.active {
  color: var(--bn-primary);
}
.bn-nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bn-accent);
  border-radius: 2px;
}
.bn-nav-cta {
  background: var(--bn-primary);
  color: #ffffff !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--bn-radius-sm);
  font-weight: 600 !important;
}
.bn-nav-cta:hover {
  background: var(--bn-accent) !important;
}

/* Mobile Nav Drawer (Zero JS details/summary) */
.bn-nav-mobile-toggle {
  display: none;
  position: relative;
}
.bn-nav-mobile-toggle summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bn-nav-mobile-toggle summary::-webkit-details-marker {
  display: none;
}
.bn-hamburger-icon {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bn-hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--bn-text-main);
  border-radius: 2px;
}
.bn-mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  box-shadow: var(--bn-shadow-lg);
  width: 240px;
  padding: 0.75rem 0;
  list-style: none;
  z-index: 1001;
}
.bn-mobile-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--bn-text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.bn-mobile-menu li a:hover,
.bn-mobile-menu li a.active {
  background: var(--bn-surface-tint);
  color: var(--bn-primary);
}

/* Notice Bar */
.bn-notice-bar {
  background: var(--bn-surface-warm);
  border-bottom: 1px solid var(--bn-border-subtle);
  padding: 0.5rem 0;
  font-size: 0.825rem;
  color: var(--bn-text-muted);
  text-align: center;
}
.bn-notice-bar strong {
  color: var(--bn-primary);
}

/* Homepage Hero */
.bn-hero {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--bn-border-subtle);
}
.bn-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.bn-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bn-accent-soft);
  color: var(--bn-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.bn-hero-title {
  font-family: var(--bn-font-serif);
  font-size: 2.35rem;
  line-height: 1.25;
  color: var(--bn-text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.bn-hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bn-text-muted);
  margin-bottom: 1.5rem;
}
.bn-hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.bn-topic-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  color: var(--bn-text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}
.bn-topic-pill:hover {
  background: var(--bn-primary);
  color: #ffffff;
  border-color: var(--bn-primary);
}

/* Featured Hero Card */
.bn-hero-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  overflow: hidden;
  box-shadow: var(--bn-shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bn-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bn-shadow-lg);
}
.bn-hero-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bn-hero-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.bn-hero-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.785rem;
  color: var(--bn-text-light);
  margin-bottom: 0.5rem;
  align-items: center;
}
.bn-badge {
  background: var(--bn-primary-soft);
  color: var(--bn-primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.bn-hero-card-title {
  font-family: var(--bn-font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.bn-hero-card-title a {
  color: var(--bn-text-main);
  text-decoration: none;
}
.bn-hero-card-title a:hover {
  color: var(--bn-accent);
}
.bn-hero-card-excerpt {
  font-size: 0.9rem;
  color: var(--bn-text-muted);
  line-height: 1.55;
}

/* Section Header */
.bn-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bn-border);
}
.bn-section-title {
  font-family: var(--bn-font-serif);
  font-size: 1.65rem;
  color: var(--bn-primary);
  line-height: 1.2;
}
.bn-section-subtitle {
  font-size: 0.9rem;
  color: var(--bn-text-light);
  margin-top: 0.25rem;
}
.bn-section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bn-primary);
  text-decoration: none;
}
.bn-section-link:hover {
  color: var(--bn-accent);
}

/* Article Grid */
.bn-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.bn-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  overflow: hidden;
  box-shadow: var(--bn-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bn-shadow-md);
}
.bn-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bn-surface-warm);
}
.bn-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.bn-card:hover .bn-card-img {
  transform: scale(1.03);
}
.bn-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.bn-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.785rem;
  color: var(--bn-text-light);
  margin-bottom: 0.65rem;
}
.bn-card-title {
  font-family: var(--bn-font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.bn-card-title a {
  color: var(--bn-text-main);
  text-decoration: none;
}
.bn-card-title a:hover {
  color: var(--bn-accent);
}
.bn-card-excerpt {
  font-size: 0.875rem;
  color: var(--bn-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.bn-card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--bn-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--bn-text-light);
}
.bn-read-more {
  color: var(--bn-primary);
  font-weight: 600;
  text-decoration: none;
}
.bn-read-more:hover {
  color: var(--bn-accent);
}

/* Feature Band / Editorial Philosophy */
.bn-feature-band {
  background: var(--bn-surface-warm);
  border-top: 1px solid var(--bn-border);
  border-bottom: 1px solid var(--bn-border);
  padding: 3rem 0;
  margin: 1rem 0 3rem;
}
.bn-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.bn-band-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--bn-radius-md);
  border: 1px solid var(--bn-border);
}
.bn-band-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bn-primary-soft);
  color: var(--bn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.bn-band-item h3 {
  font-family: var(--bn-font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--bn-text-main);
}
.bn-band-item p {
  font-size: 0.875rem;
  color: var(--bn-text-muted);
  line-height: 1.55;
}

/* Article Single View */
.bn-article-layout {
  padding: 2rem 0 4rem;
}
.bn-article-container {
  max-width: var(--bn-content-width);
  margin: 0 auto;
}

/* Breadcrumbs */
.bn-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--bn-text-light);
  margin-bottom: 1.25rem;
  align-items: center;
}
.bn-breadcrumb a {
  color: var(--bn-text-muted);
  text-decoration: none;
}
.bn-breadcrumb a:hover {
  color: var(--bn-primary);
}
.bn-breadcrumb span[aria-hidden="true"] {
  color: var(--bn-border);
}

/* Article Header */
.bn-article-header {
  margin-bottom: 2rem;
}
.bn-article-category {
  display: inline-block;
  background: var(--bn-primary-soft);
  color: var(--bn-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.bn-article-title {
  font-family: var(--bn-font-serif);
  font-size: 2.35rem;
  line-height: 1.25;
  color: var(--bn-text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}
.bn-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--bn-text-muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bn-border-subtle);
}
.bn-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Figure & Captions */
.bn-article-figure {
  margin: 1.75rem 0 2rem;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  overflow: hidden;
}
.bn-article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bn-figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--bn-text-light);
  background: var(--bn-surface-warm);
  border-top: 1px solid var(--bn-border-subtle);
  line-height: 1.45;
}
.bn-figcaption a {
  color: var(--bn-primary);
}

/* Table of Contents */
.bn-toc {
  background: var(--bn-surface-warm);
  border: 1px solid var(--bn-border);
  border-left: 4px solid var(--bn-primary);
  border-radius: var(--bn-radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0 2.25rem;
}
.bn-toc-title {
  font-family: var(--bn-font-serif);
  font-size: 1.1rem;
  color: var(--bn-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.bn-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bn-toc-list a {
  text-decoration: none;
  color: var(--bn-text-muted);
  font-size: 0.925rem;
  font-weight: 500;
}
.bn-toc-list a:hover {
  color: var(--bn-accent);
  text-decoration: underline;
}

/* Prose Content */
.bn-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b3930;
}
.bn-prose p {
  margin-bottom: 1.35rem;
}
.bn-prose p.bn-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--bn-text-main);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.bn-prose h2 {
  font-family: var(--bn-font-serif);
  font-size: 1.65rem;
  color: var(--bn-primary);
  margin: 2.25rem 0 1rem;
  line-height: 1.3;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--bn-border-subtle);
}
.bn-prose h3 {
  font-family: var(--bn-font-serif);
  font-size: 1.3rem;
  color: var(--bn-text-main);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.35;
}
.bn-prose ul, .bn-prose ol {
  margin: 1rem 0 1.5rem 1.75rem;
}
.bn-prose li {
  margin-bottom: 0.5rem;
}
.bn-prose blockquote {
  border-left: 3px solid var(--bn-accent);
  background: var(--bn-accent-soft);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--bn-radius-sm) var(--bn-radius-sm) 0;
  font-style: italic;
  color: var(--bn-text-main);
}

/* Tables */
.bn-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  background: #ffffff;
}
.bn-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}
.bn-table th {
  background: var(--bn-surface-warm);
  color: var(--bn-primary);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--bn-border);
  font-weight: 700;
  white-space: nowrap;
}
.bn-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bn-border-subtle);
  color: var(--bn-text-main);
}
.bn-table tr:last-child td {
  border-bottom: none;
}
.bn-table tr:hover td {
  background: var(--bn-surface-tint);
}

/* Callouts */
.bn-callout {
  padding: 1.25rem;
  border-radius: var(--bn-radius-md);
  margin: 1.5rem 0;
  border: 1px solid transparent;
}
.bn-callout-tip {
  background: #eef7f2;
  border-color: #c7e5d3;
}
.bn-callout-tip h4 {
  color: var(--bn-primary);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.bn-callout-warning {
  background: #fff8f1;
  border-color: #f7d5b8;
}
.bn-callout-warning h4 {
  color: var(--bn-accent);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

/* Internal Related Callout */
.bn-internal-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-left: 4px solid var(--bn-accent);
  padding: 1rem 1.25rem;
  border-radius: var(--bn-radius-sm);
  margin: 1.75rem 0;
}
.bn-internal-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--bn-accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.bn-internal-card a {
  font-family: var(--bn-font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bn-text-main);
  text-decoration: none;
}
.bn-internal-card a:hover {
  color: var(--bn-primary);
  text-decoration: underline;
}

/* Sources Box */
.bn-sources-box {
  background: var(--bn-surface-warm);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 3rem;
}
.bn-sources-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bn-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bn-sources-list {
  list-style: none;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bn-sources-list li {
  margin-bottom: 0;
}

/* Author / Disclaimer Box */
.bn-author-box {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.bn-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bn-primary-soft);
  color: var(--bn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bn-author-info h4 {
  font-family: var(--bn-font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.bn-author-info p {
  font-size: 0.85rem;
  color: var(--bn-text-muted);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.bn-disclaimer-note {
  font-size: 0.775rem;
  color: var(--bn-text-light);
  font-style: italic;
}

/* Static Pages (About, Contact, Write for us, 404) */
.bn-page-header {
  padding: 3rem 0 2rem;
  background: var(--bn-surface-warm);
  border-bottom: 1px solid var(--bn-border);
  margin-bottom: 2.5rem;
  text-align: center;
}
.bn-page-title {
  font-family: var(--bn-font-serif);
  font-size: 2.5rem;
  color: var(--bn-primary);
  margin-bottom: 0.5rem;
}
.bn-page-lead {
  font-size: 1.1rem;
  color: var(--bn-text-muted);
  max-width: 640px;
  margin: 0 auto;
}
.bn-page-body {
  max-width: var(--bn-content-width);
  margin: 0 auto 4rem;
  font-size: 1.025rem;
  line-height: 1.7;
}
.bn-page-body h2 {
  font-family: var(--bn-font-serif);
  font-size: 1.5rem;
  color: var(--bn-primary);
  margin: 2rem 0 0.75rem;
}
.bn-page-body p {
  margin-bottom: 1.25rem;
}
.bn-page-body ul, .bn-page-body ol {
  margin: 0.75rem 0 1.5rem 1.5rem;
}
.bn-page-body li {
  margin-bottom: 0.4rem;
}

/* Contact Card */
.bn-contact-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  padding: 2rem;
  box-shadow: var(--bn-shadow-sm);
  margin: 2rem 0;
  text-align: center;
}
.bn-contact-email {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bn-primary);
  margin: 1rem 0;
  padding: 0.65rem 1.5rem;
  background: var(--bn-surface-warm);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-sm);
  text-decoration: none;
}
.bn-contact-email:hover {
  background: var(--bn-primary);
  color: #ffffff;
}

/* 404 View */
.bn-not-found {
  text-align: center;
  padding: 5rem 1rem 6rem;
}
.bn-not-found-code {
  font-family: var(--bn-font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--bn-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bn-not-found h1 {
  font-family: var(--bn-font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.bn-not-found p {
  color: var(--bn-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.bn-btn {
  display: inline-block;
  background: var(--bn-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--bn-radius-sm);
  transition: background 0.15s ease;
}
.bn-btn:hover {
  background: var(--bn-accent);
  color: #ffffff;
}

/* Footer */
.bn-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--bn-border);
  padding: 3.5rem 0 2rem;
}
.bn-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.bn-footer-brand p {
  font-size: 0.875rem;
  color: var(--bn-text-muted);
  margin-top: 0.75rem;
  line-height: 1.55;
  max-width: 380px;
}
.bn-footer-heading {
  font-family: var(--bn-font-serif);
  font-size: 1rem;
  color: var(--bn-text-main);
  margin-bottom: 1rem;
  font-weight: 700;
}
.bn-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bn-footer-links a {
  font-size: 0.875rem;
  color: var(--bn-text-muted);
  text-decoration: none;
}
.bn-footer-links a:hover {
  color: var(--bn-primary);
}
.bn-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--bn-border-subtle);
  font-size: 0.8rem;
  color: var(--bn-text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .bn-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bn-article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bn-band-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bn-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .bn-nav-desktop {
    display: none;
  }
  .bn-nav-mobile-toggle {
    display: block;
  }
  .bn-hero-title {
    font-size: 1.85rem;
  }
  .bn-article-title {
    font-size: 1.75rem;
  }
  .bn-article-grid {
    grid-template-columns: 1fr;
  }
  .bn-author-box {
    flex-direction: column;
  }
  .bn-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bn-hero {
    padding: 2rem 0 1.5rem;
  }
  .bn-hero-title {
    font-size: 1.6rem;
  }
  .bn-article-title {
    font-size: 1.5rem;
  }
  .bn-hero-topics {
    gap: 0.35rem;
  }
  .bn-topic-pill {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
  }
}
