/*
Theme Name: Flatsome Child
Description: High Performance Dark Luxury Child Theme for BetJadu Affiliate Portal
Author: UX Themes & BOSSBRAIN
Template: flatsome
Version: 3.20.11
*/

/* ==========================================================================
   1. BETJADU DARK LUXURY DESIGN TOKENS (UNIFIED SSOT)
   ========================================================================== */
:root {
  /* Brand Primary Accents */
  --bj-brand-primary: #F87830;        /* Royal Blaze Orange */
  --bj-brand-hover: #FF8A32;          /* Lighter Orange Hover */
  --bj-brand-gold: #F59E0B;           /* Amber Gold */
  --bj-brand-glow: rgba(248, 120, 48, 0.25);
  
  /* Midnight Navy Background Hierarchy */
  --bj-bg-primary: #070C14;          /* Dark Obsidian Base */
  --bj-bg-deep: #05080F;             /* Deepest Midnight */
  --bj-bg-card: #0C1524;             /* Midnight Navy Card Surface */
  --bj-bg-card-hover: #142338;       /* Card Hover Surface */
  
  /* Typography Colors */
  --bj-text-primary: #F8FAFC;        /* High-Contrast Off-White */
  --bj-text-secondary: #CBD5E1;      /* Crisp Silver-Slate */
  --bj-text-muted: #94A3B8;          /* Muted Gray Microcopy */
  --bj-text-accent: #F87830;         /* Orange Text Accent */
  
  /* Borders & Dividers */
  --bj-border: rgba(248, 120, 48, 0.2);              /* Subtle Orange Slate Border */
  --bj-border-subtle: rgba(255, 255, 255, 0.08);     /* Micro Border */
  --bj-border-orange: rgba(248, 120, 48, 0.45);      /* Accent Border */
  
  /* Elevation & Radius */
  --bj-shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);
  --bj-shadow-glow: 0 0 25px rgba(248, 120, 48, 0.25);
  --bj-radius-sm: 8px;
  --bj-radius-md: 16px;
  --bj-radius-lg: 20px;
  --bj-radius-pill: 9999px;
  --bj-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. GLOBAL BODY & CONTENT CONTAINER RESET (DARK LUXURY)
   ========================================================================== */
html, body, #wrapper, #main, .content-area, .page-wrapper, .blog-wrapper {
  background-color: var(--bj-bg-primary) !important;
  color: var(--bj-text-secondary) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bj-text-primary) !important;
  font-weight: 700;
  letter-spacing: -0.015em;
}

a {
  color: var(--bj-brand-primary);
  text-decoration: none;
  transition: all var(--bj-transition);
}
a:hover {
  color: var(--bj-brand-gold);
}

/* Flatsome Page/Post Blank and Default Layouts */
.page-template-page-blank #content,
.page #content {
  background-color: transparent !important;
}

/* Standard Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem !important;
  color: var(--bj-text-muted) !important;
  padding: 12px 0 20px 0 !important;
}
.breadcrumbs a {
  color: var(--bj-text-muted) !important;
}
.breadcrumbs a:hover {
  color: var(--bj-brand-primary) !important;
}
.breadcrumbs .divider {
  color: rgba(255, 255, 255, 0.15) !important;
  margin: 0 8px !important;
}

/* ==========================================================================
   3. SUBPAGES & SINGLE POST COMPONENT LIBRARY
   ========================================================================== */
}


/* ==========================================================================
   Subpages Architecture & Component Library (WO-03C Master)
   ========================================================================== */

/* Subpage Layout Wrapper */
.bj-subpage-wrap {
  padding: 40px 0 80px 0;
}

/* Breadcrumb Navigation */
.bj-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--bj-text-secondary);
  margin-bottom: 24px;
}
.bj-breadcrumb a {
  color: var(--bj-text-secondary);
  text-decoration: none;
  transition: color var(--bj-transition);
}
.bj-breadcrumb a:hover {
  color: var(--bj-brand-primary);
  text-decoration: underline;
}
.bj-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.25);
}
.bj-breadcrumb-current {
  color: var(--bj-brand-primary);
  font-weight: 500;
}

/* Subpage Header Banner */
.bj-subpage-header {
  background: linear-gradient(180deg, rgba(26, 43, 66, 0.6) 0%, rgba(4, 27, 40, 0.8) 100%);
  border: 1px solid var(--bj-border);
  border-radius: var(--bj-radius-lg);
  padding: 36px 32px;
  margin-bottom: 36px;
  box-shadow: var(--bj-shadow-card);
}
.bj-subpage-title {
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--bj-text-primary);
  margin: 0 0 14px 0;
  font-weight: 700;
}
.bj-subpage-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--bj-text-secondary);
  margin: 0;
  max-width: 900px;
}

/* Subpage Section Cards */
.bj-subpage-card {
  background: var(--bj-bg-card);
  border: 1px solid var(--bj-border);
  border-radius: var(--bj-radius-md);
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: var(--bj-shadow-card);
  transition: transform var(--bj-transition), border-color var(--bj-transition);
}
.bj-subpage-card:hover {
  border-color: rgba(248, 120, 48, 0.35);
}
.bj-subpage-card h2 {
  font-size: 1.35rem;
  color: var(--bj-text-primary);
  margin: 0 0 16px 0;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bj-subpage-card h3 {
  font-size: 1.1rem;
  color: var(--bj-brand-primary);
  margin: 18px 0 10px 0;
  font-weight: 600;
}
.bj-subpage-card p {
  color: var(--bj-text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.96rem;
}
.bj-subpage-card p:last-child {
  margin-bottom: 0;
}
.bj-subpage-card ul, .bj-subpage-card ol {
  color: var(--bj-text-secondary);
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.96rem;
}
.bj-subpage-card li {
  margin-bottom: 8px;
}
.bj-subpage-card li:last-child {
  margin-bottom: 0;
}

/* Internal Navigation / Related Links Hub */
.bj-related-links-card {
  background: linear-gradient(135deg, rgba(26, 43, 66, 0.8) 0%, rgba(4, 14, 23, 0.9) 100%);
  border: 1px solid var(--bj-border-orange);
  border-radius: var(--bj-radius-md);
  padding: 24px 28px;
  margin-top: 36px;
}
.bj-related-links-title {
  font-size: 1.15rem;
  color: var(--bj-brand-primary);
  margin: 0 0 14px 0;
  font-weight: 600;
}
.bj-related-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.bj-related-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 27, 40, 0.6);
  border: 1px solid var(--bj-border);
  border-radius: var(--bj-radius-sm);
  padding: 10px 14px;
  color: var(--bj-text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all var(--bj-transition);
}
.bj-related-link-item:hover {
  background: var(--bj-bg-card-hover);
  border-color: var(--bj-brand-primary);
  color: var(--bj-brand-primary);
  transform: translateX(3px);
}

/* Contact Specific Grid */
.bj-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Program Info Tables / Data Layout */
.bj-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--bj-border);
  border-radius: var(--bj-radius-sm);
}
.bj-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.bj-data-table th {
  background: rgba(4, 14, 23, 0.8);
  color: var(--bj-brand-primary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--bj-border);
  font-weight: 600;
}
.bj-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--bj-text-secondary);
}
.bj-data-table tr:last-child td {
  border-bottom: none;
}
.bj-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Responsive Overrides for Subpages */
@media (max-width: 768px) {
  .bj-subpage-wrap {
    padding: 24px 0 60px 0;
  }
  .bj-subpage-header {
    padding: 24px 20px;
    margin-bottom: 24px;
  }
  .bj-subpage-title {
    font-size: 1.6rem;
  }
  .bj-subpage-card {
    padding: 20px 18px;
    margin-bottom: 18px;
  }
  .bj-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bj-related-links-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   WO-03C FINAL VISUAL CORRECTIONS (P1 & P2 Mobile Optimizations)
   ========================================================================== */

/* P2 Breadcrumb Touch Target & Contrast Enhancements */
.bj-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #A0B2C6; /* High contrast secondary text */
  margin-bottom: 24px;
}
.bj-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* Accessible touch target */
  padding: 4px 6px;
  color: #C2D1E0; /* Elevated contrast for links */
  text-decoration: none;
  border-radius: var(--bj-radius-sm);
  transition: all var(--bj-transition);
}
.bj-breadcrumb a:hover,
.bj-breadcrumb a:focus-visible {
  color: var(--bj-brand-primary);
  outline: 2px solid var(--bj-brand-primary);
  outline-offset: 2px;
}
.bj-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
}
.bj-breadcrumb-current {
  color: var(--bj-brand-primary);
  font-weight: 600;
  padding: 4px 6px;
}

/* P2 FAQ Accordion Keyboard Focus Ring & Contrast */
.bj-faq-summary:focus-visible {
  outline: 2px solid var(--bj-brand-primary) !important;
  outline-offset: -2px;
  border-radius: var(--bj-radius-md);
  background-color: rgba(248, 120, 48, 0.08);
}
.bj-faq-summary {
  min-height: 48px; /* Accessible interactive touch height */
}

/* P1 Mobile Responsive Table Transformation (Card List Layout on <= 768px) */
@media (max-width: 768px) {
  .bj-data-table {
    display: block;
    width: 100%;
    border: none;
  }
  .bj-table-responsive {
    border: none;
    overflow-x: visible;
    margin: 14px 0;
  }
  .bj-data-table thead {
    display: none; /* Hide traditional tabular headers on mobile */
  }
  .bj-data-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .bj-data-table tr {
    display: flex;
    flex-direction: column;
    background: rgba(4, 14, 23, 0.85);
    border: 1px solid var(--bj-border);
    border-radius: var(--bj-radius-md);
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  .bj-data-table td {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #E2E8F0; /* High contrast body text */
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }
  .bj-data-table tr:last-child td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .bj-data-table tr td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .bj-data-table tr td:first-child {
    padding-top: 0;
    font-size: 1.05rem;
    color: var(--bj-brand-primary);
  }
  /* Data label generated via CSS attribute or inline badge */
  .bj-data-table td::before {
    content: attr(data-label);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bj-brand-primary);
    margin-bottom: 4px;
    font-weight: 700;
  }
  .bj-data-table td:first-child::before {
    display: none; /* Model name stands as card title */
  }
  
  /* P2 Mobile Touch Targets for Related Links */
  .bj-related-link-item {
    min-height: 48px; /* Accessible 48px target */
    padding: 12px 16px;
    font-size: 0.92rem;
  }
  
  /* Subpage Title and Lead Mobile Contrast & Spacing */
  .bj-subpage-title {
    font-size: 1.65rem;
    line-height: 1.3;
    color: #FFFFFF;
  }
  .bj-subpage-lead {
    font-size: 1rem;
    line-height: 1.65;
    color: #CBD5E1; /* Elevated contrast */
  }
  .bj-subpage-card p {
    color: #E2E8F0;
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* ==========================================================================
   BETJADU ARTICLE ELEVATION STYLES (WO-08 PILOT)
   ========================================================================== */
/**
 * BetJadu Affiliate Portal — Single Article Elevation & Visual Hierarchy Styles
 * Document ID: CSS-BJ-ARTICLE-ELEVATION-V2-HOMEPAGE-V7-ALIGNED
 * Brand Alignment: Homepage V7 (Midnight Navy #041B28 + Vibrant Orange #F87830)
 * Scope: Strictly isolated to .single-post and .bj-article-wrapper context
 * Zero impact on Homepage Premium V7 (IDs 14 & 20) or static pages.
 */

/* ==========================================================================
   1. ARTICLE CONTAINER & FLATSOME SINGLE POST INTEGRATION
   ========================================================================== */
.single-post #main {
  background-color: var(--bj-bg-primary, #041B28) !important;
}

.single-post #content.blog-wrapper {
  background-color: var(--bj-bg-primary, #041B28) !important;
  padding-top: 24px;
  padding-bottom: 60px;
}

.single-post .entry-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-post .entry-title {
  color: var(--bj-text-primary, #F0F4F8) !important;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
}

.single-post .entry-divider {
  display: none !important;
}

.single-post .article-inner {
  background: transparent !important;
}

.single-post .entry-content {
  color: #CBD5E1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Featured Image in Flatsome Header */
.single-post .entry-image {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #0A293E;
}

.single-post .entry-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. ARTICLE HERO STRIP & BYLINE (INSIDE CONTENT)
   ========================================================================== */
.bj-article-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bj-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(248, 120, 48, 0.12);
  border: 1px solid rgba(248, 120, 48, 0.35);
  border-radius: 50px;
  color: #F87830;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bj-category-pill:hover {
  background: rgba(248, 120, 48, 0.22);
  border-color: #F87830;
  color: #FFFFFF;
}

.bj-category-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F87830;
}

.bj-article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #94A3B8;
}

.bj-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #F0F4F8;
}

.bj-author-avatar-chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F87830;
  color: #041B28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
}

/* ==========================================================================
   3. EXECUTIVE KEY TAKEAWAYS CALLOUT BOX
   ========================================================================== */
.bj-key-takeaways {
  background: #0A293E;
  border-left: 4px solid var(--bj-brand-primary, #F87830);
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
  margin: 28px 0 36px 0;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bj-takeaways-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.bj-takeaways-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(248, 120, 48, 0.15);
  color: #F87830;
  font-size: 1rem;
}

.bj-takeaways-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F87830;
  margin: 0;
}

.bj-takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bj-takeaways-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.bj-takeaways-list li:last-child {
  margin-bottom: 0;
}

.bj-takeaways-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -2px;
  color: #F87830;
  font-size: 1.4rem;
  line-height: 1;
}

/* ==========================================================================
   4. BODY TYPOGRAPHY & HEADINGS HIERARCHY
   ========================================================================== */
.single-post .entry-content h2 {
  color: #F0F4F8 !important;
  font-size: 1.7rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 44px 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.single-post .entry-content h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--bj-brand-primary, #F87830);
}

.single-post .entry-content h3 {
  color: #F87830 !important;
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 32px 0 14px 0;
}

.single-post .entry-content h4 {
  color: #CBD5E1 !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 26px 0 10px 0;
}

.single-post .entry-content p {
  margin-bottom: 20px;
  color: #CBD5E1;
}

.single-post .entry-content strong {
  color: #F0F4F8;
  font-weight: 700;
}

.single-post .entry-content blockquote {
  background: #0A293E;
  border-left: 3px solid #F87830;
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 8px 8px 0;
  color: #94A3B8;
  font-style: normal;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.single-post .entry-content blockquote p {
  margin-bottom: 8px;
}
.single-post .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 24px 20px;
  padding-left: 10px;
  color: #CBD5E1;
}

.single-post .entry-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.single-post .entry-content hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 36px 0;
}

/* ==========================================================================
   5. RESPONSIVE TABLE MODERNIZATION
   ========================================================================== */
.table-scroll-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0A293E;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-container::-webkit-scrollbar {
  height: 6px;
}
.table-scroll-container::-webkit-scrollbar-track {
  background: #041B28;
}
.table-scroll-container::-webkit-scrollbar-thumb {
  background: #1A2B42;
  border-radius: 3px;
}
.table-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #F87830;
}

.table-scroll-container table,
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.92rem;
  color: #CBD5E1;
  text-align: left;
}

.table-scroll-container th,
.single-post .entry-content table th {
  background: #143248;
  color: #F87830;
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 2px solid #F87830;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-scroll-container td,
.single-post .entry-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.55;
  vertical-align: top;
}

.table-scroll-container tr:nth-child(even) td,
.single-post .entry-content table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.table-scroll-container tr:hover td,
.single-post .entry-content table tr:hover td {
  background: rgba(248, 120, 48, 0.06);
}

.bj-table-hint {
  display: none;
  font-size: 0.75rem;
  color: #64748B;
  text-align: right;
  margin-top: -22px;
  margin-bottom: 26px;
  padding-right: 8px;
}

@media (max-width: 768px) {
  .bj-table-hint {
    display: block;
  }
}

/* ==========================================================================
   6. PROCESS ARCHITECTURE & FLOWCARD COMPONENTS (REPLACING RAW ASCII)
   ========================================================================== */
.bj-flow-diagram {
  background: #0A293E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bj-flow-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bj-flow-title h4 {
  margin: 0;
  color: #F87830 !important;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bj-flow-badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(248, 120, 48, 0.15);
  border: 1px solid #F87830;
  color: #F87830;
  font-weight: 700;
  text-transform: uppercase;
}

/* Triad Flow Grid */
.bj-triad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bj-triad-operator {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.bj-triad-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bj-flow-card {
  background: #143248;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bj-flow-card:hover {
  border-color: rgba(248, 120, 48, 0.4);
}

.bj-flow-card.operator {
  border-top: 3px solid #F87830;
}
.bj-flow-card.publisher {
  border-top: 3px solid #243A52;
}
.bj-flow-card.player {
  border-top: 3px solid #38BDF8;
}

.bj-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.bj-card-icon {
  font-size: 1.25rem;
}

.bj-card-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #F0F4F8;
}

.bj-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: #94A3B8;
}

.bj-card-bullets li {
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}

.bj-card-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #F87830;
}

/* Step-by-Step Flow */
.bj-step-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bj-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #143248;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 18px;
}

.bj-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(248, 120, 48, 0.15);
  border: 1px solid #F87830;
  color: #F87830;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.bj-step-content {
  flex-grow: 1;
}

.bj-step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #F0F4F8;
  margin-bottom: 4px;
}

.bj-step-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* Mathematical Formula Callouts */
.bj-formula-card {
  background: #0A293E;
  border: 1px solid rgba(248, 120, 48, 0.3);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.bj-formula-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F87830;
  margin-bottom: 8px;
}

.bj-formula-math {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.02rem;
  color: #F0F4F8;
  background: #143248;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 8px 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bj-formula-example {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 8px;
}

/* ==========================================================================
   7. COMMENTS PERMANENT SUPPRESSION
   ========================================================================== */
.single-post #comments,
.single-post .comments-area,
.single-post #respond {
  display: none !important;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  .single-post .entry-title {
    font-size: 1.85rem;
  }
  .single-post .entry-content {
    font-size: 16.5px;
    line-height: 1.7;
  }
  .bj-key-takeaways {
    padding: 18px 20px;
  }
  .bj-triad-subgrid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   4. EXTRA POST & PAGE POLISH (AUTHOR BOX, SIDEBAR, POST NAV)
   ========================================================================== */
/* Author Box */
.author-box {
  background: var(--bj-bg-card) !important;
  border: 1px solid var(--bj-border) !important;
  border-radius: var(--bj-radius-md) !important;
  padding: 24px !important;
  margin-top: 40px !important;
  color: var(--bj-text-secondary) !important;
  box-shadow: var(--bj-shadow-card) !important;
}
.author-box .author-name a,
.author-box h5,
.author-box h5 a {
  color: var(--bj-brand-primary) !important;
  font-weight: 700 !important;
}

/* Post Navigation (Prev / Next) */
.post-navigation {
  border-top: 1px solid var(--bj-border-subtle) !important;
  border-bottom: 1px solid var(--bj-border-subtle) !important;
  padding: 20px 0 !important;
  margin: 40px 0 !important;
}
.post-navigation a {
  color: var(--bj-text-secondary) !important;
  font-weight: 600 !important;
}
.post-navigation a:hover {
  color: var(--bj-brand-primary) !important;
}

/* Sidebar Widgets on Pages / Posts */
.sidebar-inner .widget,
.post-sidebar .widget {
  background: var(--bj-bg-card) !important;
  border: 1px solid var(--bj-border) !important;
  border-radius: var(--bj-radius-md) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  box-shadow: var(--bj-shadow-card) !important;
}
.sidebar-inner .widget-title,
.post-sidebar .widget-title {
  color: var(--bj-text-primary) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--bj-brand-primary) !important;
  padding-bottom: 8px !important;
  margin-bottom: 16px !important;
}
.sidebar-inner .widget a,
.post-sidebar .widget a {
  color: var(--bj-text-secondary) !important;
}
.sidebar-inner .widget a:hover,
.post-sidebar .widget a:hover {
  color: var(--bj-brand-primary) !important;
}

/* Related Posts Box */
.related-posts {
  margin-top: 50px !important;
}
.related-posts h4 {
  color: var(--bj-text-primary) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}
.related-posts .box {
  background: var(--bj-bg-card) !important;
  border: 1px solid var(--bj-border) !important;
  border-radius: var(--bj-radius-md) !important;
  overflow: hidden !important;
  transition: transform var(--bj-transition), border-color var(--bj-transition) !important;
}
.related-posts .box:hover {
  border-color: var(--bj-brand-primary) !important;
  transform: translateY(-4px) !important;
}
.related-posts .box-text {
  color: var(--bj-text-secondary) !important;
  padding: 18px !important;
}
.related-posts .post-title a {
  color: var(--bj-text-primary) !important;
  font-weight: 700 !important;
}
.related-posts .post-title a:hover {
  color: var(--bj-brand-primary) !important;
}

/* Bengali Typography Optimization */
:lang(bn), [lang="bn"], [lang="bn-BD"], body.locale-bn-bd {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif !important;
  line-height: 1.8 !important;
}

/* ==========================================================================
   5. B2B LUXURY FOOTER ARCHITECTURE
   ========================================================================== */
.footer-wrapper {
  background-color: #05080f !important;
  border-top: 1px solid rgba(248, 120, 48, 0.25) !important;
}
.footer-widgets.footer-1,
.footer-widgets.footer-2,
.absolute-footer {
  display: none !important;
}
.bj-luxury-footer {
  background-color: #05080f;
  color: #cbd5e1;
}
.bj-footer-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(248, 120, 48, 0.15);
  color: #f87830;
  border: 1px solid rgba(248, 120, 48, 0.35);
}
.bj-footer-links a {
  color: #94a3b8 !important;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
}
.bj-footer-links a:hover {
  color: #f87830 !important;
  padding-left: 4px;
}

/* ==========================================================================
   6. CASINO AFFILIATE RECRUITMENT POWER HUB (VIP PARTNERSHIP)
   ========================================================================== */
.bj-casino-hub {
  background: radial-gradient(circle at 50% 20%, rgba(248, 120, 48, 0.08) 0%, rgba(7, 12, 20, 0) 70%), #070c14 !important;
  border-top: 1px solid rgba(248, 120, 48, 0.15) !important;
  border-bottom: 1px solid rgba(248, 120, 48, 0.15) !important;
}

.bj-casino-card {
  background: #0c1524;
  border: 1px solid rgba(248, 120, 48, 0.22);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.bj-casino-card:hover {
  transform: translateY(-6px);
  border-color: #f87830;
  box-shadow: 0 12px 30px rgba(248, 120, 48, 0.25);
}

.bj-casino-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.bj-casino-title {
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  font-weight: 750 !important;
  margin: 0 0 12px 0 !important;
}

.bj-casino-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.bj-provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bj-provider-tags span {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #f87830;
  border: 1px solid rgba(248, 120, 48, 0.3);
}

.bj-casino-tagline {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f59e0b;
  display: inline-block;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tiered Commission Showcase Cards */
.bj-casino-tiers-row {
  margin-top: 45px !important;
}

.bj-tier-card {
  background: #0c1524;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 30px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bj-tier-card:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 120, 48, 0.5);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.bj-tier-popular {
  border: 2px solid #f87830 !important;
  background: linear-gradient(180deg, #101c30 0%, #0c1524 100%) !important;
  box-shadow: 0 10px 30px rgba(248, 120, 48, 0.2) !important;
  transform: scale(1.02);
}
.bj-tier-popular:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 16px 40px rgba(248, 120, 48, 0.35) !important;
}

.bj-tier-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f87830, #e05a10);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(248, 120, 48, 0.4);
}

.bj-tier-vip {
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  background: linear-gradient(180deg, #131c28 0%, #0c1524 100%) !important;
}
.bj-tier-vip:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25) !important;
}

.bj-tier-badge {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bj-tier-popular .bj-tier-badge {
  color: #f87830;
}
.bj-tier-vip .bj-tier-badge {
  color: #f59e0b;
}

.bj-tier-rate {
  color: #f8fafc;
  font-size: 2.5rem;
  font-weight: 850;
  line-height: 1.1;
  margin-bottom: 6px;
}
.bj-tier-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f87830;
}
.bj-tier-vip .bj-tier-unit {
  color: #f59e0b;
}

.bj-tier-req {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bj-tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}
.bj-tier-benefits li {
  color: #cbd5e1;
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bj-tier-btn {
  width: 100%;
  text-align: center;
  display: block;
  padding: 13px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.bj-tier-btn:hover {
  background: rgba(248, 120, 48, 0.2);
  border-color: #f87830;
  color: #f87830;
}

.bj-tier-vip-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #070c14 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35) !important;
  border: none !important;
}
.bj-tier-vip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5) !important;
  color: #070c14 !important;
}

/* ==========================================================================
   7. UNIFIED ARTICLE & BLOG POST TYPOGRAPHY & COLORS (DARK LUXURY SSOT)
   ========================================================================== */
/* Article Wrapper & Main Container */
.single-post #main,
.single-post #content,
.single-post .page-wrapper,
.single-post .blog-wrapper {
  background-color: #070C14 !important;
  color: #CBD5E1 !important;
}

/* Post Entry Title */
.single-post .entry-title,
.post-title,
.entry-title {
  color: #F8FAFC !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Post Entry Meta (Date, Category, Author) */
.single-post .entry-meta,
.single-post .entry-meta span,
.single-post .entry-meta time,
.post-meta,
.entry-meta {
  color: #94A3B8 !important;
  font-size: 0.85rem !important;
}
.single-post .entry-meta a,
.post-meta a,
.entry-meta a {
  color: #CBD5E1 !important;
  transition: color 0.2s ease !important;
}
.single-post .entry-meta a:hover,
.post-meta a:hover,
.entry-meta a:hover {
  color: #F87830 !important;
}

/* Article Body Typography */
.single-post .entry-content,
.entry-content {
  color: #CBD5E1 !important;
  font-size: 17.5px !important;
  line-height: 1.78 !important;
}

.single-post .entry-content p,
.entry-content p {
  color: #CBD5E1 !important;
  margin-bottom: 22px !important;
}

.single-post .entry-content strong,
.single-post .entry-content b,
.entry-content strong,
.entry-content b {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.single-post .entry-content a,
.entry-content a {
  color: #F87830 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease !important;
}
.single-post .entry-content a:hover,
.entry-content a:hover {
  color: #F59E0B !important;
}

/* Headings inside Article */
.single-post .entry-content h2,
.entry-content h2 {
  color: #F8FAFC !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  margin: 44px 0 18px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
}
.single-post .entry-content h2::after,
.entry-content h2::after {
  content: "" !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  width: 50px !important;
  height: 2px !important;
  background: #F87830 !important;
}

.single-post .entry-content h3,
.entry-content h3 {
  color: #F87830 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin: 34px 0 14px 0 !important;
}

.single-post .entry-content h4,
.entry-content h4 {
  color: #CBD5E1 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin: 28px 0 12px 0 !important;
}

.single-post .entry-content h5,
.single-post .entry-content h6,
.entry-content h5,
.entry-content h6 {
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

/* Lists */
.single-post .entry-content ul,
.single-post .entry-content ol,
.entry-content ul,
.entry-content ol {
  color: #CBD5E1 !important;
  margin: 0 0 24px 20px !important;
  padding-left: 10px !important;
}
.single-post .entry-content li,
.entry-content li {
  color: #CBD5E1 !important;
  margin-bottom: 10px !important;
  line-height: 1.7 !important;
}

/* Blockquotes */
.single-post .entry-content blockquote,
.entry-content blockquote {
  background: #0C1524 !important;
  border-left: 4px solid #F87830 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 20px 24px !important;
  margin: 28px 0 !important;
  color: #CBD5E1 !important;
}
.single-post .entry-content blockquote p,
.entry-content blockquote p {
  color: #CBD5E1 !important;
}

/* Tables inside Articles */
.single-post .entry-content table,
.table-scroll-container table,
.entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #0C1524 !important;
  border: 1px solid rgba(248, 120, 48, 0.2) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  color: #CBD5E1 !important;
}

.single-post .entry-content table th,
.table-scroll-container th,
.entry-content table th {
  background: #101c30 !important;
  color: #F87830 !important;
  font-weight: 750 !important;
  padding: 14px 16px !important;
  border-bottom: 2px solid #F87830 !important;
  text-transform: uppercase !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.04em !important;
}

.single-post .entry-content table td,
.table-scroll-container td,
.entry-content table td {
  padding: 13px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #CBD5E1 !important;
  vertical-align: middle !important;
}

.single-post .entry-content table tr:hover td,
.table-scroll-container tr:hover td,
.entry-content table tr:hover td {
  background: rgba(248, 120, 48, 0.08) !important;
}

/* Category & Archive Cards */
.archive .post-item .box,
.blog .post-item .box {
  background: #0C1524 !important;
  border: 1px solid rgba(248, 120, 48, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, border-color 0.3s ease !important;
}
.archive .post-item .box:hover,
.blog .post-item .box:hover {
  border-color: #F87830 !important;
  transform: translateY(-4px) !important;
}
.archive .post-item .box-text,
.blog .post-item .box-text {
  color: #CBD5E1 !important;
  padding: 20px !important;
}
.archive .post-item .post-title a,
.blog .post-item .post-title a {
  color: #F8FAFC !important;
}
.archive .post-item .post-title a:hover,
.blog .post-item .post-title a:hover {
  color: #F87830 !important;
}

/* B2B Topbar Pill */
.bj-topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}
.bj-topbar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f87830;
    box-shadow: 0 0 8px #f87830;
    display: inline-block;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .bj-topbar-pill {
        font-size: 11px;
        gap: 6px;
    }
}
