/* ===== BLOG PREMIUM REDESIGN — Magazine editorial style ===== */

/* ── READING PROGRESS BAR ── */
.bmg-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff8c42);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ── HERO PREMIUM ── */
.bmg-hero-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2340 0%, #162d50 50%, #1a2332 100%);
  color: #fff;
  padding: 80px 24px 60px;
  text-align: center;
}
.bmg-hero-premium__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,0.75) 0%, rgba(10,20,40,0.85) 100%);
}
.bmg-hero-premium__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.bmg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(243, 166, 28, 0.15);
  border: 1px solid rgba(243, 166, 28, 0.3);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.bmg-hero-premium h1,
.bmg-hero-premium__content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.3) !important;
}
.bmg-hero-premium .bmg-hero-subtitle,
article.bmg-article-premium .bmg-hero-premium .bmg-hero-subtitle {
  font-size: 1.08rem;
  color: #ffffff !important;
  opacity: 0.9 !important;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4) !important;
}
.bmg-hero-premium .bmg-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #ffffff !important;
  opacity: 0.9 !important;
  font-weight: 500;
}
.bmg-hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

/* ── AFFILIATE DISCLOSURE ── */
.bmg-affiliate-disclosure-premium {
  margin: 20px auto;
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 760px;
}

/* ── FEATURED IMAGE ── */
.bmg-article-image-section-premium {
  padding: 20px 0 32px;
}
.bmg-article-image-premium {
  margin: 0 auto;
  max-width: 960px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 63, 145, 0.12);
}
.bmg-article-image-premium img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── BREADCRUMB ── */
.bmg-breadcrumb {
  margin: 24px auto 0;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.bmg-breadcrumb a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.bmg-breadcrumb a:hover {
  color: var(--primary);
}
.bmg-breadcrumb span {
  margin: 0 8px;
  opacity: 0.4;
}

/* ── ARTICLE LAYOUT (3 column) ── */
.bmg-article-layout-premium {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 40px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 60px;
  position: relative;
}

.bmg-sidebar-left {
  grid-column: 1;
}
.bmg-article-content-premium {
  grid-column: 2;
}
.bmg-sidebar-right {
  grid-column: 3;
}

/* ── LEFT SIDEBAR (TOC) ── */
.bmg-sidebar-left {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
}
.bmg-sidebar-left.is-rail-fixed,
.bmg-sidebar-right.is-rail-fixed {
  will-change: top;
}

.bmg-toc {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(14, 63, 145, 0.04);
  border: 1px solid var(--line);
}
.bmg-toc__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bmg-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}
.bmg-toc li {
  counter-increment: toc-counter;
  margin: 0;
}
.bmg-toc li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid var(--line);
  margin-left: 6px;
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.2s ease;
}
.bmg-toc li a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--surface-soft);
}
.bmg-read-time {
  margin-top: 16px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 2px 12px rgba(14, 63, 145, 0.04);
  border: 1px solid var(--line);
}
.bmg-read-time__value {
  font-family: 'DM Sans', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.bmg-read-time__label {
  font-size: 0.66rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ── MAIN CONTENT ── */
.bmg-article-content-premium {
  min-width: 0;
}
.bmg-article-content-premium__inner p {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 20px;
  color: #1e293b;
}
.bmg-article-content-premium__inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  line-height: 1.2;
}
.bmg-article-content-premium__inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
  line-height: 1.3;
}
.bmg-article-content-premium__inner ul,
.bmg-article-content-premium__inner ol {
  margin: 16px 0 20px;
  padding-left: 24px;
}
.bmg-article-content-premium__inner li {
  font-size: 1.06rem;
  margin-bottom: 10px;
  color: #1e293b;
  line-height: 1.7;
}
.bmg-article-content-premium__inner strong,
.bmg-article-content-premium__inner b {
  color: var(--primary-dark);
  font-weight: 700;
}
.bmg-article-content-premium__inner a {
  color: var(--primary);
  font-weight: 600;
  text-decoration-color: rgba(14, 63, 145, 0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.bmg-article-content-premium__inner a:hover {
  text-decoration-color: var(--primary);
}

/* Drop cap */
.bmg-article-content-premium__inner p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--accent);
}

/* ── BLOCKQUOTES ── */
.bmg-article-content-premium__inner blockquote,
.bmg-article-content-premium__inner .wp-block-quote {
  margin: 40px 0;
  padding: 32px;
  text-align: center;
  position: relative;
  border-left: none;
  background: none;
}
.bmg-article-content-premium__inner blockquote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.bmg-article-content-premium__inner blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}
.bmg-article-content-premium__inner blockquote cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

/* ── PULL QUOTE ── */
.wp-block-quote.is-style-large,
.wp-block-pullquote {
  margin: 48px 0 !important;
  padding: 40px !important;
  text-align: center !important;
  border: none !important;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface) 100%) !important;
  border-radius: var(--radius-md) !important;
}
.wp-block-pullquote blockquote,
.wp-block-quote.is-style-large p {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem !important;
  font-style: italic;
  line-height: 1.5;
  color: var(--primary-dark);
}

/* ── TABLES ── */
.bmg-article-content-premium__inner table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 63, 145, 0.06);
  border: 1px solid var(--line);
  margin: 24px 0;
  font-size: 0.92rem;
}
.bmg-article-content-premium__inner table thead th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}
.bmg-article-content-premium__inner table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #334155;
}
.bmg-article-content-premium__inner table tbody tr:nth-child(odd) {
  background: #f8fafc;
}
.bmg-article-content-premium__inner table tbody tr:hover {
  background: var(--surface-soft);
}

/* ── IMAGES IN CONTENT ── */
.bmg-article-content-premium__inner figure,
.bmg-article-content-premium__inner .wp-block-image {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.bmg-article-content-premium__inner img {
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(14, 63, 145, 0.08);
}

/* ── CTA BOXES ── */
.bmg-cta-box-premium {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a1f3d 100%);
  padding: 40px 32px;
  text-align: center;
  color: #fff;
}
.bmg-cta-box-premium h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff !important;
}
.bmg-cta-box-premium p {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 24px !important;
}
.bmg-cta-box-premium .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(243, 166, 28, 0.3);
  transition: all 0.25s ease;
}
.bmg-cta-box-premium .btn-primary:hover {
  background: #e0960f;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(243, 166, 28, 0.35);
  color: #fff;
}

/* ── INFO/CHECKLIST BOX ── */
.bmg-info-box-premium {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
  border-left: 4px solid var(--accent);
}
.bmg-info-box-premium h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.bmg-info-box-premium ul {
  list-style: none;
  padding: 0;
}
.bmg-info-box-premium li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(243, 166, 28, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem !important;
}
.bmg-info-box-premium li:last-child {
  border-bottom: none;
}
.bmg-info-box-premium li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(243, 166, 28, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ── RIGHT SIDEBAR ── */
.bmg-sidebar-right {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
}
.bmg-share-card-premium {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(14, 63, 145, 0.06);
  border: 1px solid var(--line);
  text-align: center;
}
.bmg-share-card-premium__head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.bmg-share-card-premium__head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.bmg-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bmg-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.bmg-share-btn--fb { background: #1877F2; }
.bmg-share-btn--fb:hover { background: #166FE5; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(24,119,242,0.4); }
.bmg-share-btn--tw { background: #000000; }
.bmg-share-btn--tw:hover { background: #333333; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.bmg-share-btn--pin { background: #E60023; }
.bmg-share-btn--pin:hover { background: #CC001F; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(230,0,35,0.4); }
.bmg-share-btn--email { background: #FF6B35; }
.bmg-share-btn--email:hover { background: #E55A28; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,107,53,0.4); }
.bmg-share-icon { display: flex; align-items: center; }
.bmg-share-icon svg { width: 18px; height: 18px; }
.bmg-share-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bmg-share-card-premium__head { color: #1A2332 !important; font-family: 'Playfair Display', Georgia, serif !important; font-size: 1.1rem !important; font-weight: 700 !important; margin-bottom: 8px !important; padding-bottom: 12px !important; border-bottom: 2px solid #FF6B35 !important; }
.bmg-share-card-premium { background: #FFFFFF !important; border-radius: 12px !important; padding: 24px !important; box-shadow: 0 4px 20px rgba(14,63,145,0.06) !important; border: 1px solid rgba(231,225,215,0.9) !important; }
.bmg-share-btn--fb { background: #1877F2; }
.bmg-share-btn--tw { background: #000; }
.bmg-share-btn--pin { background: #E60023; }
.bmg-share-btn--email { background: var(--primary); }
.bmg-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* ── NEWSLETTER CARD ── */
.bmg-newsletter-card {
  background: linear-gradient(135deg, #1a2332 0%, #0a1f3d 100%) !important;
  border-radius: 12px !important;
  padding: 28px 24px !important;
  color: #ffffff !important;
  text-align: center !important;
  box-shadow: 0 8px 30px rgba(10, 31, 61, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 24px !important;
}
.bmg-newsletter-card h4 {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}
.bmg-newsletter-card p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.85rem !important;
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}
.bmg-newsletter-card__icon {
  font-size: 2rem !important;
  margin-bottom: 12px !important;
  display: block !important;
}
.bmg-newsletter-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.bmg-newsletter-form input[type="email"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  outline: none !important;
  box-sizing: border-box !important;
}
.bmg-newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
.bmg-newsletter-btn {
  width: 100% !important;
  padding: 13px 20px !important;
  background: #FF6B35 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3) !important;
}
.bmg-newsletter-btn:hover {
  background: #E55A28 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255,107,53,0.4) !important;
}
.bmg-newsletter-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(243, 166, 28, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.bmg-newsletter-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
}
.bmg-newsletter-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  color: #fff;
}
.bmg-newsletter-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
}
.bmg-newsletter-form {
  position: relative;
}
.bmg-newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.bmg-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.bmg-newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}
.bmg-newsletter-btn {
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(243, 166, 28, 0.3);
}
.bmg-newsletter-btn:hover {
  background: #e0960f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 166, 28, 0.4);
}

/* ── RELATED POSTS ── */
.bmg-related-posts-premium {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.bmg-related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.bmg-related-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.bmg-related-header a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.bmg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bmg-related-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid var(--line);
  color: inherit;
  display: block;
}
.bmg-related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14, 63, 145, 0.12);
}
.bmg-related-card__img {
  height: 200px;
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
}
.bmg-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bmg-related-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.bmg-related-card__tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
}
.bmg-related-card__body {
  padding: 20px;
}
.bmg-related-card__date {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.bmg-related-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.bmg-related-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── SCROLL ANIMATIONS ── */
.bmg-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.bmg-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .bmg-article-layout-premium {
    grid-template-columns: 1fr 240px;
  }
  .bmg-sidebar-left {
    display: none;
  }
  .bmg-article-content-premium {
    grid-column: 1;
  }
  .bmg-sidebar-right {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .bmg-article-layout-premium {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 40px;
    gap: 24px;
  }
  .bmg-article-content-premium,
  .bmg-sidebar-right {
    grid-column: 1;
  }
  .bmg-hero-premium {
    padding: 48px 16px 36px;
  }
  .bmg-hero-premium h1 {
    font-size: 1.7rem;
  }
  .bmg-hero-subtitle {
    font-size: 0.96rem;
  }
  .bmg-article-content-premium__inner h2 {
    font-size: 1.4rem;
  }
  .bmg-article-content-premium__inner p:first-of-type::first-letter {
    font-size: 3rem;
  }
  .bmg-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bmg-related-posts-premium {
    padding: 40px 0;
  }
  .bmg-related-header {
    flex-direction: column;
    gap: 8px;
  }
  .bmg-sidebar-right {
    position: static;
    flex-direction: row;
    gap: 12px;
  }
  .bmg-share-card-premium,
  .bmg-newsletter-card {
    flex: 1;
  }
  .bmg-breadcrumb {
    padding: 16px 0 0;
  }
  .bmg-article-image-premium {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(14, 63, 145, 0.1);
  }
}

@media (max-width: 560px) {
  .bmg-sidebar-right {
    flex-direction: column;
  }
  .bmg-hero-premium h1 {
    font-size: 1.5rem;
  }
  .bmg-cta-box-premium {
    padding: 28px 20px;
  }
}

/* ── PRINT ── */
@media print {
  .bmg-progress-bar,
  .bmg-sidebar-left,
  .bmg-sidebar-right,
  .bmg-cta-box-premium,
  .bmg-related-posts-premium {
    display: none;
  }
  .bmg-article-layout-premium {
    grid-template-columns: 1fr;
  }
  .bmg-hero-premium {
    background: #fff;
    color: #000;
  }
  .bmg-hero-premium__overlay {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   MODERN AMAZON CTA / PRODUCT PICK CARDS
   Uses the existing server-rendered .bmg-product-pick markup.
   Keeps one clear CTA only — no nested blobs, no duplicate Amazon pills.
   ═══════════════════════════════════════════════════════════ */

.bmg-article-premium .bmg-product-pick,
.bmg-article-content .bmg-product-pick {
  margin: 34px 0 38px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bmg-article-premium .bmg-product-pick__inner,
.bmg-article-content .bmg-product-pick__inner {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  padding: 20px 20px 18px 24px !important;
  border: 1px solid rgba(26, 35, 50, 0.10) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf3 100%) !important;
  box-shadow: 0 14px 36px rgba(26, 35, 50, 0.08) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transform: translateZ(0) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.bmg-article-premium .bmg-product-pick__inner::before,
.bmg-article-content .bmg-product-pick__inner::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 5px !important;
  background: linear-gradient(180deg, #ff6b35 0%, #f3a61c 100%) !important;
}

.bmg-article-premium .bmg-product-pick__inner::after,
.bmg-article-content .bmg-product-pick__inner::after {
  content: 'Recommended tool' !important;
  position: absolute !important;
  top: 14px !important;
  right: 18px !important;
  color: rgba(26, 35, 50, 0.42) !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  pointer-events: none !important;
}

.bmg-article-premium .bmg-product-pick__inner:hover,
.bmg-article-content .bmg-product-pick__inner:hover,
.bmg-article-premium .bmg-product-pick__inner:focus-within,
.bmg-article-content .bmg-product-pick__inner:focus-within {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 107, 53, 0.34) !important;
  box-shadow: 0 22px 50px rgba(26, 35, 50, 0.13) !important;
}

.bmg-article-premium .bmg-product-pick__icon,
.bmg-article-content .bmg-product-pick__icon {
  display: none !important;
}

.bmg-article-premium .bmg-product-pick__inner a,
.bmg-article-content .bmg-product-pick__inner a {
  display: block !important;
  min-width: 0 !important;
  padding: 16px 0 0 !important;
  color: #1a2332 !important;
  font-size: clamp(1rem, 1.2vw, 1.1rem) !important;
  font-weight: 850 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.015em !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  z-index: 1 !important;
}

.bmg-article-premium .bmg-product-pick__inner a strong,
.bmg-article-content .bmg-product-pick__inner a strong {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 0 8px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 107, 53, 0.12) !important;
  color: #c84d22 !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
}

.bmg-article-premium .bmg-product-pick__tag,
.bmg-article-content .bmg-product-pick__tag {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 146px !important;
  margin: 18px 0 0 auto !important;
  padding: 13px 18px !important;
  border-radius: 14px !important;
  background: #1a2332 !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  box-shadow: 0 12px 24px rgba(26, 35, 50, 0.20) !important;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease !important;
}

.bmg-article-premium .bmg-product-pick__tag::before,
.bmg-article-content .bmg-product-pick__tag::before {
  content: 'View on ' !important;
  font-weight: 750 !important;
  opacity: 0.94 !important;
}

.bmg-article-premium .bmg-product-pick__tag::after,
.bmg-article-content .bmg-product-pick__tag::after {
  content: '→' !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  transition: transform 180ms ease !important;
}

.bmg-article-premium .bmg-product-pick__inner:hover .bmg-product-pick__tag,
.bmg-article-content .bmg-product-pick__inner:hover .bmg-product-pick__tag {
  background: #ff6b35 !important;
  box-shadow: 0 16px 30px rgba(255, 107, 53, 0.26) !important;
}

.bmg-article-premium .bmg-product-pick__inner:hover .bmg-product-pick__tag::after,
.bmg-article-content .bmg-product-pick__inner:hover .bmg-product-pick__tag::after {
  transform: translateX(3px) !important;
}

/* Safety: old JS card markup should not be nested inside product-pick cards anymore. */
.bmg-product-pick .bmg-product-card {
  display: contents !important;
}
.bmg-product-pick .bmg-product-card__icon,
.bmg-product-pick .bmg-product-card__badge,
.bmg-product-pick .bmg-product-card__cta {
  display: none !important;
}
.bmg-product-pick .bmg-product-card__body,
.bmg-product-pick .bmg-product-card__title {
  display: contents !important;
}

@media (max-width: 768px) {
  .bmg-article-premium .bmg-product-pick__inner,
  .bmg-article-content .bmg-product-pick__inner {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
  }

  .bmg-article-premium .bmg-product-pick__inner::after,
  .bmg-article-content .bmg-product-pick__inner::after {
    display: none !important;
  }

  .bmg-article-premium .bmg-product-pick__inner a,
  .bmg-article-content .bmg-product-pick__inner a {
    padding-top: 0 !important;
    font-size: 1rem !important;
  }

  .bmg-article-premium .bmg-product-pick__tag,
  .bmg-article-content .bmg-product-pick__tag {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 2px 0 0 !important;
  }
}

.bmg-toc li a.is-active {
  color: var(--primary) !important;
  border-left-color: var(--primary) !important;
  background: rgba(14, 63, 145, 0.045);
}
