/* ==========================================================================
   Beatsway Custom Theme Stylesheet - Ultra Refined Edition
   Brand Colors:
     - Magenta / Electric Pink: #eb0f92
     - Amber / Golden Yellow:   #ffb827
     - Slate Navy / Dark Base:  #0c1622 & #183354
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bw-primary: #eb0f92;
  --bw-primary-hover: #cf087e;
  --bw-primary-light: rgba(235, 15, 146, 0.08);
  --bw-primary-glow: rgba(235, 15, 146, 0.35);

  --bw-secondary: #ffb827;
  --bw-secondary-hover: #e6a215;
  --bw-secondary-light: rgba(255, 184, 39, 0.12);

  --bw-dark-bg: #0c1622;
  --bw-dark-surface: #132235;
  --bw-dark-card: #182a40;
  --bw-dark-border: rgba(255, 255, 255, 0.08);

  --bw-light-bg: #f8fafc;
  --bw-card-bg: #ffffff;
  --bw-card-border: rgba(226, 232, 240, 0.9);

  --bw-text-main: #1e293b;
  --bw-text-heading: #0f172a;
  --bw-text-muted: #64748b;
  --bw-text-light: #94a3b8;
  --bw-text-white: #ffffff;

  --bw-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bw-gradient-brand: linear-gradient(135deg, #eb0f92 0%, #ff8c2b 100%);
  --bw-gradient-gold: linear-gradient(135deg, #ffb827 0%, #ff7a00 100%);
  --bw-gradient-card: linear-gradient(180deg, rgba(12, 22, 34, 0.1) 0%, rgba(12, 22, 34, 0.6) 45%, #0c1622 100%);

  --bw-radius-sm: 8px;
  --bw-radius-md: 14px;
  --bw-radius-lg: 20px;
  --bw-radius-pill: 50px;

  --bw-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --bw-shadow-md: 0 6px 24px -4px rgba(15, 23, 42, 0.08);
  --bw-shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.14);
  --bw-shadow-glow: 0 10px 30px rgba(235, 15, 146, 0.25);

  --bw-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--bw-font-body);
  background-color: var(--bw-light-bg);
  color: var(--bw-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bw-font-heading);
  font-weight: 600;
  color: var(--bw-text-heading);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

a {
  color: var(--bw-primary);
  text-decoration: none;
  transition: var(--bw-transition);
}

a:hover {
  color: var(--bw-primary-hover);
}

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

/* Buttons */
.btn-bw-primary {
  background: var(--bw-gradient-brand);
  color: #ffffff !important;
  font-family: var(--bw-font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--bw-radius-pill);
  border: none;
  box-shadow: 0 4px 14px var(--bw-primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--bw-transition);
  cursor: pointer;
}

.btn-bw-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 15, 146, 0.45);
  color: #ffffff !important;
}

.btn-bw-outline {
  border: 1.5px solid var(--bw-primary);
  color: var(--bw-primary) !important;
  font-family: var(--bw-font-heading);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--bw-radius-pill);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--bw-transition);
}

.btn-bw-outline:hover {
  background: var(--bw-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--bw-primary-glow);
}

/* ==========================================================================
   Category Badges (Modern Sleek High-Contrast Pills)
   ========================================================================== */
.bw-badge-pill,
.bw-badge-glass,
.badge-bw {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 10px !important;
  font-family: var(--bw-font-heading) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 6px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: var(--bw-transition) !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}

.bw-badge-pill:hover,
.bw-badge-glass:hover,
.badge-bw:hover {
  background: #eb0f92 !important;
  border-color: #eb0f92 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.bw-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.bw-badge-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--bw-font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  background: var(--bw-gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 2px 10px var(--bw-primary-glow);
}

.bw-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Spacious Container Width (Eliminating Dead Margins) */
.container {
  max-width: 1380px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1380px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.bw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.bw-section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--bw-gradient-brand);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(235, 15, 146, 0.35);
}

.bw-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(235, 15, 146, 0.12), rgba(255, 140, 43, 0.12));
  color: var(--bw-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(235, 15, 146, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.bw-section-header:hover .bw-section-icon {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 6px 18px rgba(235, 15, 146, 0.25);
}

.bw-section-icon.rock {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(249, 115, 22, 0.12));
  color: #ef4444;
}

.bw-section-icon.pop {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(235, 15, 146, 0.12));
  color: #f59e0b;
}

.bw-section-title {
  font-family: var(--bw-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Pulsing Live Stream Beacon */
.bw-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--bw-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.bw-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}

.bw-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: liveBeacon 1.6s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes liveBeacon {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.bw-section-link {
  font-family: var(--bw-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bw-text-muted);
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
  text-decoration: none;
}

.bw-section-link:hover {
  color: var(--bw-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.bw-topbar {
  background-color: var(--bw-dark-bg);
  border-bottom: 1px solid var(--bw-dark-border);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--bw-text-light);
}

.bw-topbar a {
  color: var(--bw-text-light);
}

.bw-topbar a:hover {
  color: var(--bw-secondary);
}

.bw-trending-pill {
  background: var(--bw-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.bw-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bw-social-links a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #ffffff;
  transition: var(--bw-transition);
}

.bw-social-links a:hover {
  background: var(--bw-primary);
  transform: translateY(-2px);
}

.bw-navbar {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.bw-navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

.bw-brand-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.bw-navbar.scrolled .bw-brand-logo {
  height: 44px;
}

.bw-nav .nav-link {
  font-family: var(--bw-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bw-text-main);
  padding: 8px 14px !important;
  position: relative;
  transition: var(--bw-transition);
}

.bw-nav .nav-link:hover,
.bw-nav .nav-item.active > .nav-link,
.bw-nav .nav-link.active {
  color: var(--bw-primary);
}

.bw-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--bw-gradient-brand);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.bw-nav .nav-link:hover::after,
.bw-nav .nav-item.active > .nav-link::after {
  transform: scaleX(1);
}

.bw-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bw-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bw-card-border);
  background: #f8fafc;
  color: var(--bw-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--bw-transition);
  cursor: pointer;
}

.bw-search-btn:hover {
  background: var(--bw-primary-light);
  color: var(--bw-primary);
  border-color: var(--bw-primary);
}

.bw-mobile-toggle {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--bw-text-main);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
}

/* ==========================================================================
   Hero Featured Section (Screenshot 3 Overhaul)
   ========================================================================== */
.bw-hero-section {
  padding: 28px 0 20px;
}

/* ==========================================================================
   Hero Featured Showcase (Grand Billboard / Rolling Stone Edition)
   ========================================================================== */
.bw-hero-section {
  padding: 24px 0 20px;
}

/* ==========================================================================
   Modern 5-Card Hero Showcase (Matching Reference Design)
   ========================================================================== */

.bw-hero-section {
  padding: 24px 0 20px;
}

/* Card Shell */
.bw-hero-ref-main,
.bw-hero-ref-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #070d18;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bw-hero-ref-main:hover,
.bw-hero-ref-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Heights */
.bw-hero-ref-main {
  height: 480px;
  width: 100%;
}

.bw-hero-ref-tile {
  height: 230px;
  width: 100%;
}

/* Background image */
.bw-hero-ref-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.bw-hero-ref-main:hover .bw-hero-ref-img,
.bw-hero-ref-tile:hover .bw-hero-ref-img {
  transform: scale(1.05);
}

/* Dark Gradient Overlay (Crisp transparent top, rich dark bottom for high contrast text) */
.bw-hero-ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 24, 0) 0%, rgba(7, 13, 24, 0.04) 36%, rgba(7, 13, 24, 0.55) 66%, rgba(7, 13, 24, 0.94) 88%, #070d18 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: background 0.3s ease;
}

.bw-hero-ref-main .bw-hero-ref-overlay {
  padding: 32px 32px 28px;
}

.bw-hero-ref-tile .bw-hero-ref-overlay {
  padding: 18px 18px 16px;
}

/* Badge Wrap & Solid Pill */
.bw-hero-ref-badge-wrap {
  margin-bottom: 11px;
  z-index: 3;
}

.bw-hero-ref-tile .bw-hero-ref-badge-wrap {
  margin-bottom: 8px;
}

.bw-pill-solid {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 6px;
  font-family: var(--bw-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bw-pill-solid:hover {
  opacity: 0.92;
  transform: scale(1.04);
}

/* Titles: Sharp, Modern Editorial Typography */
.bw-hero-ref-title {
  font-family: var(--bw-font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.bw-hero-ref-title a {
  color: #ffffff !important;
  text-decoration: none;
}

.bw-hero-ref-tile-title {
  font-family: var(--bw-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.bw-hero-ref-tile-title a {
  color: #ffffff !important;
  text-decoration: none;
}

/* Excerpt */
.bw-hero-ref-excerpt {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 92%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Author Meta Row (Matches Reference Exactly) */
.bw-hero-ref-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 3;
}

.bw-hero-ref-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bw-hero-ref-tile .bw-hero-ref-avatar {
  width: 22px;
  height: 22px;
}

.bw-hero-ref-author {
  color: #ffffff;
  font-weight: 700;
}

.bw-hero-ref-dot {
  color: rgba(255, 255, 255, 0.4);
}

.bw-hero-ref-date {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Spacious Editorial Post Cards with Rich Micro-Animations
   ========================================================================== */
.bw-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.bw-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px -10px rgba(235, 15, 146, 0.18), 0 8px 20px rgba(15, 23, 42, 0.06);
  border-color: rgba(235, 15, 146, 0.35);
}

/* Interactive light sheen sweep across card on hover */
.bw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: 0.8s ease;
  z-index: 5;
  pointer-events: none;
}

.bw-card:hover::before {
  left: 180%;
}

.bw-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.bw-card-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.38) 100%);
  pointer-events: none;
  z-index: 1;
}

.bw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bw-card:hover .bw-card-img {
  transform: scale(1.08);
}

.bw-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.bw-card-badge .bw-pill-solid {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 0.72rem;
  padding: 3.5px 12px;
}

.bw-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bw-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.bw-meta-author {
  font-weight: 600;
  color: #334155;
}

.bw-meta-dot {
  color: #cbd5e1;
}

.bw-card-title {
  font-family: var(--bw-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: #0f172a;
  margin-top: 6px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
}

.bw-card-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.bw-card:hover .bw-card-title a {
  color: var(--bw-primary) !important;
}

.bw-card-excerpt {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.bw-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bw-read-more {
  font-family: var(--bw-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bw-primary);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.25s ease;
}

.bw-arrow-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.bw-card:hover .bw-arrow-icon,
.bw-card-horizontal:hover .bw-arrow-icon {
  transform: translateX(6px);
  color: var(--bw-secondary);
}

.bw-card-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Horizontal Card */
.bw-card-horizontal {
  display: flex;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.bw-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(235, 15, 146, 0.16);
  border-color: rgba(235, 15, 146, 0.3);
}

.bw-card-horizontal-thumb {
  width: 220px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.bw-card-horizontal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bw-card-horizontal:hover .bw-card-horizontal-img {
  transform: scale(1.08);
}

.bw-card-horizontal-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.bw-card-horizontal:hover .bw-card-title a {
  color: var(--bw-primary) !important;
}

/* Sidebar Compact Ranked Post */
.bw-compact-post {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bw-compact-post:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.bw-compact-post:last-child {
  border-bottom: none;
}

.bw-compact-thumb-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.bw-compact-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bw-compact-post:hover .bw-compact-thumb {
  transform: scale(1.08);
}

.bw-compact-rank {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-family: var(--bw-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.bw-compact-info {
  flex-grow: 1;
  overflow: hidden;
}

.bw-compact-title {
  font-family: var(--bw-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.38;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bw-compact-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bw-compact-post:hover .bw-compact-title a {
  color: var(--bw-primary) !important;
}

.bw-compact-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==========================================================================
   Newsletter Callout Banner (Music Wave Gradient)
   ========================================================================== */
.bw-newsletter-banner {
  background: var(--bw-dark-bg);
  border-radius: var(--bw-radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 22, 34, 0.25);
  margin: 36px 0;
  border: 1px solid rgba(235, 15, 146, 0.2);
}

.bw-newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(235, 15, 146, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.bw-newsletter-content {
  position: relative;
  z-index: 2;
}

.bw-newsletter-tag {
  color: var(--bw-secondary);
  font-family: var(--bw-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-newsletter-title {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.bw-newsletter-desc {
  color: #cbd5e1;
  font-size: 0.94rem;
  max-width: 540px;
  margin-bottom: 0;
}

.bw-newsletter-form-wrap {
  position: relative;
  z-index: 2;
}

.bw-newsletter-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: var(--bw-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.bw-newsletter-input {
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: #ffffff;
  outline: none;
  font-size: 0.95rem;
  flex-grow: 1;
}

.bw-newsletter-input::placeholder {
  color: #94a3b8;
}

.bw-newsletter-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
}

/* Music Beat Indicator Animation */
.bw-beat-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.bw-beat-bar {
  width: 3px;
  height: 18px;
  transform-origin: bottom;
  background: var(--bw-primary);
  border-radius: 2px;
  animation: beatAnimation 1.2s infinite ease-in-out;
}

.bw-beat-bar:nth-child(2) { animation-delay: 0.2s; background: var(--bw-secondary); }
.bw-beat-bar:nth-child(3) { animation-delay: 0.4s; background: var(--bw-primary); }
.bw-beat-bar:nth-child(4) { animation-delay: 0.6s; background: var(--bw-secondary); }

@keyframes beatAnimation {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

/* ==========================================================================
   Sidebar Widgets with Polished Elevations & Micro-Interactions
   ========================================================================== */
.bw-sidebar-widget {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 26px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.bw-sidebar-widget:hover {
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
}

.bw-sidebar-widget.bw-widget-newsletter {
  background: linear-gradient(145deg, #090e1a, #131f33) !important;
  border: 1px solid rgba(235, 15, 146, 0.35) !important;
  box-shadow: 0 12px 36px rgba(8, 14, 26, 0.28);
}

.bw-widget-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: var(--bw-gradient-brand);
  border-radius: 2px;
}

.bw-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.bw-category-list a:hover {
  background: var(--bw-primary-light);
  color: var(--bw-primary);
  border-color: rgba(235, 15, 146, 0.2);
  transform: translateX(5px);
}

.bw-category-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--bw-radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.bw-category-list a:hover .bw-category-count {
  background: var(--bw-primary);
  color: #ffffff;
}

/* Sidebar Social Community Links (High Contrast & Fluid Hover Animations) */
.bw-widget-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bw-widget-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.bw-widget-socials a:hover {
  background: linear-gradient(135deg, #eb0f92, #ff5277) !important;
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(235, 15, 146, 0.38);
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */
.bw-single-header {
  margin-bottom: 24px;
}

.bw-single-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 14px 0;
}

.bw-single-thumb-wrap {
  border-radius: var(--bw-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--bw-shadow-md);
}

.bw-single-thumb {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.bw-single-content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.bw-single-content p {
  margin-bottom: 1.5rem;
}

.bw-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--bw-card-border);
  border-bottom: 1px solid var(--bw-card-border);
  margin: 28px 0;
}

.bw-share-label {
  font-family: var(--bw-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--bw-text-muted);
  margin-right: 8px;
}

.bw-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 0.88rem;
  transition: var(--bw-transition);
}

.bw-share-btn.share-fb { background: #1877f2; }
.bw-share-btn.share-tw { background: #1da1f2; }
.bw-share-btn.share-ln { background: #0077b5; }
.bw-share-btn.share-wa { background: #25d366; }
.bw-share-btn.share-copy { background: #64748b; cursor: pointer; }

.bw-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Interactive Forms & Alerts
   ========================================================================== */
.bw-form-card {
  background: #ffffff;
  border-radius: var(--bw-radius-lg);
  border: 1px solid var(--bw-card-border);
  padding: 36px;
  box-shadow: var(--bw-shadow-md);
}

.bw-form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--bw-radius-sm);
  border: 1.5px solid var(--bw-card-border);
  background: #f8fafc;
  color: var(--bw-text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--bw-transition);
}

.bw-form-control:focus {
  border-color: var(--bw-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--bw-primary-light);
}

.bw-alert {
  padding: 12px 18px;
  border-radius: var(--bw-radius-sm);
  font-size: 0.9rem;
  margin-top: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.bw-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.bw-alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.bw-alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.bw-load-more-wrap {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 24px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid var(--bw-primary);
  color: var(--bw-primary);
  font-family: var(--bw-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(235, 15, 146, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-load-more:hover {
  background: linear-gradient(135deg, #eb0f92 0%, #ff4b72 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(235, 15, 146, 0.35);
}

.btn-load-more i {
  transition: transform 0.3s ease;
}

.btn-load-more:hover i {
  transform: translateY(4px);
}

.bw-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.bw-footer {
  background-color: var(--bw-dark-bg);
  color: #cbd5e1;
  padding-top: 56px;
  margin-top: 56px;
  border-top: 1px solid var(--bw-dark-border);
}

.bw-footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.bw-footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.bw-footer-widget-title {
  color: #ffffff;
  font-family: var(--bw-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.bw-footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--bw-secondary);
}

.bw-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bw-footer-links li {
  margin-bottom: 9px;
}

.bw-footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--bw-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bw-footer-links a:hover {
  color: var(--bw-secondary);
  transform: translateX(4px);
}

.bw-footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--bw-dark-border);
  margin-top: 44px;
  font-size: 0.84rem;
  color: #64748b;
}

.bw-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bw-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--bw-primary-glow);
  opacity: 0;
  visibility: hidden;
  transition: var(--bw-transition);
  z-index: 999;
  cursor: pointer;
  border: none;
}

.bw-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.bw-scroll-top:hover {
  background: var(--bw-primary-hover);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Live Search Modal */
.bw-search-modal .modal-content {
  background: #ffffff;
  border-radius: var(--bw-radius-lg);
  border: none;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.bw-search-input-wrap {
  position: relative;
  border-bottom: 2px solid var(--bw-card-border);
}

.bw-search-input {
  width: 100%;
  border: none;
  padding: 18px 56px 18px 24px;
  font-size: 1.15rem;
  font-family: var(--bw-font-heading);
  outline: none;
  background: transparent;
}

.bw-search-input-wrap i {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bw-primary);
  font-size: 1.2rem;
}

.bw-search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
}

.bw-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--bw-radius-sm);
  transition: var(--bw-transition);
  color: var(--bw-text-main);
}

.bw-search-item:hover {
  background: var(--bw-primary-light);
  color: var(--bw-primary);
}

.bw-search-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--bw-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.bw-search-item h6 {
  margin: 0 0 3px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Offcanvas */
.offcanvas.bw-offcanvas {
  background-color: var(--bw-dark-bg);
  color: #ffffff;
  border-left: 1px solid var(--bw-dark-border);
  width: 320px;
}

.bw-offcanvas .btn-close {
  filter: invert(1);
}

.bw-offcanvas .nav-link {
  color: #e2e8f0;
  font-family: var(--bw-font-heading);
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bw-offcanvas .nav-link:hover {
  color: var(--bw-secondary);
  padding-left: 8px;
}

/* ==========================================================================
   Single Post Editorial System (Pitchfork / Rolling Stone Style)
   ========================================================================== */

/* Reading Progress Bar (Fixed Top) */
.bw-reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.08);
  z-index: 99999;
  pointer-events: none;
}
.bw-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--bw-gradient-brand);
  box-shadow: 0 0 12px rgba(235, 15, 146, 0.8);
  transition: width 0.08s ease-out;
}

/* Breadcrumb Bar */
.bw-breadcrumb-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--bw-radius-pill);
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  max-width: 100%;
}
.bw-breadcrumb-wrap .breadcrumb-item a {
  color: var(--bw-text-muted);
  font-weight: 500;
  font-size: 0.84rem;
  transition: var(--bw-transition);
}
.bw-breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--bw-primary);
}
.bw-breadcrumb-wrap .breadcrumb-item.active {
  color: var(--bw-text-heading);
  font-weight: 600;
  font-size: 0.84rem;
  max-width: 320px;
}
.bw-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  color: #cbd5e1;
  content: "/";
  padding: 0 8px;
}

/* Single Article Card */
.bw-single-article {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.04);
  padding: 44px 48px;
  position: relative;
}

/* Article Header */
.bw-single-header {
  margin-bottom: 24px;
}
.bw-single-cat-wrap {
  display: inline-block;
}
.bw-single-title {
  font-family: var(--bw-font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

/* Author & Meta Row */
.bw-single-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
}
.bw-single-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bw-single-author-img {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eb0f92;
  box-shadow: 0 3px 12px rgba(235, 15, 146, 0.25);
}
.bw-single-author-meta {
  display: flex;
  flex-direction: column;
}
.bw-single-byline {
  font-size: 0.95rem;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bw-single-byline strong {
  color: #0f172a;
  font-weight: 700;
}
.bw-author-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bw-single-stats {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.bw-single-stats .bw-meta-sep {
  color: #cbd5e1;
}
.bw-reading-time {
  color: #eb0f92;
  font-weight: 600;
}

/* Social Share Bar */
.bw-share-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bw-share-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-right: 2px;
}
.bw-share-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, filter 0.2s;
}
.bw-share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.share-fb {
  background: #1877f2;
}
.share-fb:hover {
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}
.share-tw {
  background: #000000;
}
.share-tw:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.share-ln {
  background: #0a66c2;
}
.share-ln:hover {
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4);
}
.share-wa {
  background: #25d366;
}
.share-wa:hover {
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.share-copy {
  background: #475569;
}
.share-copy:hover {
  background: #1e293b;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.35);
}
.bw-copy-tooltip {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.bw-copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #0f172a;
}
.bw-copy-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Featured Image */
.bw-single-thumb-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0 34px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #0c1622;
}
.bw-single-thumb {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Editorial Body Typography */
.bw-single-content {
  font-family: var(--bw-font-body);
  font-size: 1.125rem;
  line-height: 1.85;
  color: #334155;
  letter-spacing: -0.003em;
}
.bw-single-content p {
  margin-bottom: 1.65rem;
}
.bw-single-content h2 {
  font-family: var(--bw-font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.6rem 0 1.2rem;
  padding-left: 16px;
  border-left: 4px solid var(--bw-primary);
  letter-spacing: -0.02em;
}
.bw-single-content h3 {
  font-family: var(--bw-font-heading);
  font-size: 1.38rem;
  font-weight: 600;
  color: #1e293b;
  margin: 2rem 0 1rem;
}
.bw-single-content h4 {
  font-family: var(--bw-font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: #334155;
  margin: 1.6rem 0 0.8rem;
}
.bw-single-content blockquote {
  background: #fdf2f8;
  border-left: 4px solid #eb0f92;
  border-radius: 0 14px 14px 0;
  padding: 22px 28px 22px 32px;
  margin: 2.4rem 0;
  font-size: 1.18rem;
  font-style: italic;
  color: #0f172a;
  line-height: 1.75;
  position: relative;
}
.bw-single-content blockquote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: rgba(235, 15, 146, 0.25);
  position: absolute;
  top: -10px;
  left: 8px;
  line-height: 1;
}
.bw-single-content a {
  color: #eb0f92;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}
.bw-single-content a:hover {
  color: #cf087e;
}
.bw-single-content img {
  border-radius: 12px;
  margin: 28px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
  display: block;
}
.bw-single-content ol {
  margin-bottom: 1.65rem;
  padding-left: 1.75rem;
  list-style: decimal;
}
.bw-single-content ol > li {
  margin-bottom: 12px;
  line-height: 1.75;
  padding-left: 4px;
}
.bw-single-content ol > li::marker {
  color: var(--bw-primary);
  font-weight: 700;
}
.bw-single-content ul {
  margin-bottom: 1.65rem;
  padding-left: 1.75rem;
  list-style: disc;
}
.bw-single-content ul > li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.bw-single-content ul > li::marker {
  color: var(--bw-primary);
}

/* Guard against scraped publisher chrome & recommendation blocks */
.bw-single-content .popular-box,
.bw-single-content .popular-box-slice,
.bw-single-content .slice-container,
.bw-single-content .widget-dynamic-popular-data,
.bw-single-content [data-component-name*="PopularBox"],
.bw-single-content [data-component-name*="Viafoura"],
.bw-single-content .viafoura,
.bw-single-content .author__default-layout,
.bw-single-content .in-article-oop-container,
.bw-single-content .tsm-ad,
.bw-single-content .photogallery-wrapper,
.bw-single-content .content-footer,
.bw-single-content [data-widget-type] {
  display: none !important;
}

/* Disclaimer & Auto-Aggregated Callout */
.bw-single-disclaimer,
.bw-single-content p:has(.rss_feed_btm) {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #eb0f92;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 36px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.rss_feed_btm {
  font-weight: 600;
  color: #eb0f92 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(235, 15, 146, 0.08);
  border-radius: 6px;
  margin-left: 6px;
  transition: background 0.2s;
}
.rss_feed_btm:hover {
  background: rgba(235, 15, 146, 0.15);
}

/* Story Tags */
.bw-post-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bw-tags-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}
.bw-tags-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bw-tag-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--bw-transition);
  border: 1px solid #e2e8f0;
  text-decoration: none;
}
.bw-tag-pill:hover {
  background: var(--bw-primary);
  color: #ffffff;
  border-color: var(--bw-primary);
  transform: translateY(-1px);
}

/* Bottom Share CTA Bar */
.bw-bottom-share-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.bw-bottom-share-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
}

/* Author Biography Card */
.bw-author-card {
  background: linear-gradient(135deg, #0c1622 0%, #182a40 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 8px 30px rgba(12, 22, 34, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bw-author-card-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffb827;
  box-shadow: 0 4px 16px rgba(255, 184, 39, 0.35);
}
.bw-author-card-info {
  flex: 1;
}
.bw-author-card-name {
  font-family: var(--bw-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}
.bw-author-card-bio {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Previous / Next Story Navigation */
.bw-post-nav-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s, background-color 0.2s;
  height: 100%;
}
.bw-post-nav-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--bw-primary);
}
.bw-nav-direction {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bw-primary);
  margin-bottom: 6px;
  display: block;
}
.bw-nav-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sticky Sidebar */
.bw-sticky-sidebar {
  position: sticky;
  top: 90px;
}

/* Modern Numbered Pagination (WordPress Core & Custom) */
.bw-pagination-nav,
.navigation.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 20px;
  width: 100%;
}

.navigation.pagination .screen-reader-text {
  display: none !important;
}

.bw-pagination,
.navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.bw-pagination .bw-page-item {
  display: inline-block;
}

.bw-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--bw-radius-pill);
  background: #ffffff;
  border: 1px solid var(--bw-card-border);
  color: var(--bw-text-main);
  font-family: var(--bw-font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--bw-shadow-sm);
}

.bw-pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:hover {
  background: var(--bw-primary);
  border-color: var(--bw-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--bw-primary-glow);
}

.bw-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--bw-gradient-brand);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--bw-primary-glow);
}

.bw-pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--bw-text-muted);
  cursor: default;
  min-width: auto;
  padding: 0 6px;
}

.bw-pagination .page-numbers.prev,
.bw-pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  padding: 0 20px;
  font-size: 0.88rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .bw-hero-ref-main {
    height: 400px;
    margin-bottom: 8px;
  }
  .bw-hero-ref-main .bw-hero-ref-overlay {
    padding: 24px 20px 20px;
  }
  .bw-hero-ref-title {
    font-size: 1.5rem;
  }
  .bw-hero-ref-tile {
    height: 210px;
  }
  .bw-card-horizontal {
    flex-direction: column;
  }
  .bw-card-horizontal-thumb {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .bw-newsletter-banner {
    padding: 32px 20px;
  }
  .bw-newsletter-title {
    font-size: 1.55rem;
  }
  .bw-newsletter-form {
    flex-direction: column;
    border-radius: var(--bw-radius-md);
  }
  .bw-newsletter-form .btn-bw-primary {
    width: 100%;
    justify-content: center;
  }
  .bw-single-article {
    padding: 32px 28px;
  }
  .bw-single-title {
    font-size: 1.95rem;
  }
  .bw-sticky-sidebar {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .bw-single-article {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .bw-single-title {
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .bw-single-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .bw-single-meta-row .bw-share-bar {
    width: 100%;
    justify-content: flex-start;
  }
  .bw-author-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .bw-author-card-avatar {
    margin: 0 auto;
  }
  .bw-author-card .d-flex {
    justify-content: center;
  }
  .bw-single-content {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .bw-form-card {
    padding: 22px 16px;
  }
  .bw-hero-ref-main {
    height: 350px;
  }
  .bw-hero-ref-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  .bw-hero-ref-excerpt {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .bw-hero-ref-tile {
    height: 195px;
  }
  .bw-hero-ref-tile-title {
    font-size: 0.92rem;
    line-height: 1.28;
    margin-bottom: 6px;
  }
  .bw-hero-ref-tile .bw-hero-ref-overlay {
    padding: 14px 12px 12px;
  }
  .bw-topbar {
    display: none;
  }
}
