/*
Theme Name: Kcommunity Forbes Edition
Theme URI: https://kcommunity.org/
Description: Exact Forbes layout & typography replica tailored for Kcommunity. High-authority editorial serif typography, Forbes 3-column hero, dark spotlight showcase, Forbes Games hub, mobile-responsive layout, and full Google AdSense compliance.
Author: Antigravity
Author URI: https://kcommunity.org/
Template: astra
Version: 3.4.0
Text Domain: kcommunity-dark
*/

/* ==========================================================================
   1. DESIGN TOKENS & COLOR PALETTE
   ========================================================================== */
:root {
  --fb-bg: #ffffff;
  --fb-bg-subtle: #f8f9fa;
  --fb-bg-dark: #000000;
  --fb-bg-card-dark: #111111;
  --fb-bg-elevated: #f1f3f5;
  
  --fb-border: #e9ecef;
  --fb-border-dark: #222222;
  --fb-border-subtle: #dee2e6;
  --fb-border-line: #000000;
  
  --fb-red: #cc0000;
  --fb-red-hover: #b30000;
  --fb-blue: #0056b3;
  --fb-blue-hover: #003d82;
  --fb-link: #0056b3;
  --fb-link-hover: #cc0000;
  
  --fb-text-main: #000000;
  --fb-text-body: #333333;
  --fb-text-muted: #666666;
  --fb-text-light: #888888;
  
  /* Exact Forbes Editorial Font Stack */
  --fb-font-serif: 'Lora', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --fb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fb-font-heading: 'Lora', 'Playfair Display', Georgia, serif;
  
  --fb-container: 1280px;
  --fb-transition: all 0.15s ease-in-out;
}

/* ==========================================================================
   2. BASE & GLOBAL RESET (100% Overflow Protection)
   ========================================================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: border-box !important;
}

body {
  background-color: var(--fb-bg) !important;
  color: var(--fb-text-body) !important;
  font-family: var(--fb-font-sans);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page, .site, #primary, #content, .ast-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #000000 !important;
  font-family: var(--fb-font-serif) !important;
  font-weight: 700 !important;
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.02em;
}

/* Clear Hyperlink Styling */
a {
  color: #000000;
  text-decoration: none;
  transition: var(--fb-transition);
}

a:hover {
  color: var(--fb-blue);
}

/* Article Body Links - Distinct Blue with Underline */
.fb-article-body a,
.fb-article-content a,
.entry-content a {
  color: var(--fb-link) !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-color: rgba(0, 86, 179, 0.4) !important;
  transition: var(--fb-transition);
}

.fb-article-body a:hover,
.fb-article-content a:hover,
.entry-content a:hover {
  color: var(--fb-link-hover) !important;
  text-decoration-color: var(--fb-link-hover) !important;
}

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

.fb-container {
  width: 100%;
  max-width: var(--fb-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   3. FORBES MASTER HEADER
   ========================================================================== */
.fb-header-top {
  background-color: #000000;
  color: #ffffff;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  z-index: 1000;
  width: 100%;
}

.fb-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}

.fb-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  z-index: 2;
}

.fb-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--fb-transition);
}

.fb-icon-btn:hover {
  color: #cccccc;
}

.fb-logo-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

.fb-logo {
  font-family: 'Lora', 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.fb-logo:hover {
  color: #ffffff !important;
}

.fb-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 2;
}

.fb-btn-subscribe {
  background-color: var(--fb-red);
  color: #ffffff !important;
  font-family: var(--fb-font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 3px;
  text-decoration: none;
  transition: var(--fb-transition);
  white-space: nowrap;
  display: inline-block;
}

.fb-btn-subscribe:hover {
  background-color: var(--fb-red-hover);
}

/* Sub-Nav Categories Bar */
.fb-subnav {
  background-color: #000000;
  border-bottom: 1px solid #222222;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.fb-subnav::-webkit-scrollbar {
  display: none;
}

.fb-subnav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 9px 20px;
  white-space: nowrap;
}

.fb-subnav-menu a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--fb-font-sans);
  letter-spacing: 0.01em;
  transition: var(--fb-transition);
}

.fb-subnav-menu a:hover {
  color: var(--fb-red) !important;
}

/* ==========================================================================
   4. ADVERTISEMENT SLOT (Responsive Leaderboard)
   ========================================================================== */
.fb-ad-container {
  background: #fcfcfc;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding: 12px 0;
  text-align: center;
  margin-bottom: 14px;
  width: 100%;
  overflow: hidden;
}

.fb-ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888888;
  display: block;
  margin-bottom: 6px;
  font-family: var(--fb-font-sans);
  font-weight: 600;
}

.fb-ad-placeholder {
  max-width: 970px;
  min-height: 90px;
  width: 100%;
  margin: 0 auto;
  background: #f4f4f4;
  border: 1px dashed #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  font-size: 13px;
  padding: 10px;
  overflow: hidden;
}

/* ==========================================================================
   5. TRENDING TICKER BAR
   ========================================================================== */
.fb-trending-bar {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  margin-bottom: 24px;
  width: 100%;
  overflow: hidden;
}

.fb-trending-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  width: 100%;
}

.fb-trending-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.fb-trending-left::-webkit-scrollbar {
  display: none;
}

.fb-trending-tag {
  color: var(--fb-blue);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fb-font-sans);
  flex-shrink: 0;
}

.fb-trending-links {
  display: flex;
  gap: 16px;
  color: #222222;
  font-weight: 500;
  font-family: var(--fb-font-sans);
}

.fb-trending-links a {
  color: #222222;
}

.fb-trending-links a:hover {
  color: var(--fb-red);
}

/* ==========================================================================
   6. FORBES ABOVE-THE-FOLD 3-COLUMN HERO GRID
   ========================================================================== */
.fb-hero-3col {
  display: grid;
  grid-template-columns: 280px 1fr 310px;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 36px;
  width: 100%;
}

/* --- Left Column: Popular Guides List --- */
.fb-col-left {
  border-right: 1px solid #e5e5e5;
  padding-right: 22px;
}

.fb-popular-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid #000000;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.fb-tab-item {
  font-family: var(--fb-font-sans);
  font-size: 13.5px;
  font-weight: 800;
  color: #888888;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fb-tab-item.is-active {
  color: #000000;
}

.fb-popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb-popular-item {
  display: grid;
  grid-template-columns: 20px 1fr 18px;
  gap: 8px;
  align-items: flex-start;
  padding-bottom: 11px;
  border-bottom: 1px solid #f0f0f0;
}

.fb-popular-rank {
  font-family: var(--fb-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--fb-red);
  line-height: 1.1;
}

.fb-popular-headline {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.34;
  color: #111111 !important;
  font-family: var(--fb-font-sans);
}

.fb-popular-headline:hover {
  color: var(--fb-blue) !important;
}

/* --- Center Column: Lead Featured Article --- */
.fb-col-center {
  padding: 0 4px;
}

.fb-lead-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
  display: block;
}

.fb-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fb-lead-img-wrap:hover .fb-lead-img {
  transform: scale(1.02);
}

.fb-category-tag {
  font-family: var(--fb-font-sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fb-blue) !important;
  margin-bottom: 4px;
  display: inline-block;
}

.fb-category-tag:hover {
  color: var(--fb-red) !important;
}

.fb-lead-headline {
  font-family: var(--fb-font-serif) !important;
  font-size: 34px;
  font-weight: 700 !important;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 6px 0 10px;
}

.fb-lead-headline a {
  color: #000000 !important;
}

.fb-lead-headline a:hover {
  color: var(--fb-blue) !important;
}

.fb-lead-summary {
  font-family: var(--fb-font-sans);
  font-size: 15px;
  color: #333333;
  line-height: 1.52;
  margin-bottom: 10px;
}

.fb-byline {
  font-size: 12px;
  color: #666666;
  font-family: var(--fb-font-sans);
}

.fb-byline strong,
.fb-byline a {
  color: #111111;
  font-weight: 700;
}

.fb-byline a:hover {
  color: var(--fb-blue);
}

/* Center Bottom 3 Sub-Stories Grid */
.fb-center-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  width: 100%;
}

.fb-substory-card {
  width: 100%;
}

.fb-substory-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 8px;
  background: #f0f0f0;
  display: block;
}

.fb-substory-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
}

.fb-substory-title a {
  color: #000000 !important;
}

.fb-substory-title a:hover {
  color: var(--fb-blue) !important;
}

/* --- Right Column: Spotlight Stories --- */
.fb-col-right {
  border-left: 1px solid #e5e5e5;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fb-side-story-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}

.fb-side-story-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f0f0;
  display: block;
}

.fb-side-story-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 16.5px;
  font-weight: 700 !important;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 4px 0 6px;
}

.fb-side-story-title a {
  color: #000000 !important;
}

.fb-side-story-title a:hover {
  color: var(--fb-blue) !important;
}

/* ==========================================================================
   7. DARK SPOTLIGHT SHOWCASE BANNER
   ========================================================================= */
.fb-dark-showcase {
  background: #000000;
  color: #ffffff;
  padding: 36px 0;
  margin: 28px 0 44px;
  width: 100%;
}

.fb-dark-showcase-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.fb-showcase-badge {
  font-family: var(--fb-font-sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888888;
  margin-bottom: 10px;
}

.fb-showcase-heading {
  font-family: var(--fb-font-serif) !important;
  font-size: 32px;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 14px;
}

.fb-showcase-link {
  font-family: var(--fb-font-sans);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.fb-showcase-link:hover {
  color: var(--fb-red) !important;
}

.fb-showcase-arrows {
  display: flex;
  gap: 10px;
}

.fb-arrow-btn {
  background: #222222;
  color: #ffffff;
  border: 1px solid #444444;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: var(--fb-transition);
}

.fb-arrow-btn:hover {
  background: #444444;
}

.fb-showcase-graphic {
  background: linear-gradient(135deg, #091a10 0%, #030805 100%);
  border: 1px solid #1a3322;
  padding: 28px;
  border-radius: 4px;
  text-align: center;
  width: 100%;
}

.fb-graphic-year {
  background: var(--fb-red);
  color: #ffffff;
  font-family: var(--fb-font-sans);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.fb-graphic-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 28px;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 18px;
}

.fb-avatars-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.fb-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2e7d32;
  object-fit: cover;
}

/* ==========================================================================
   8. CATEGORY HUBS & GRID LAYOUTS
   ========================================================================== */
.fb-category-section {
  padding: 20px 0 36px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 32px;
  width: 100%;
}

.fb-section-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 24px;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000000;
  letter-spacing: -0.01em;
}

/* Multi-Column Desktop Grid Classes */
.fb-hub-3col {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 28px;
  width: 100%;
}

.fb-hub-2col {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 32px;
  width: 100%;
}

.fb-split-2col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 36px;
  width: 100%;
}

.fb-substories-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.fb-featured-strip-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.fb-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
}

.fb-hub-lead-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 22px;
  font-weight: 700 !important;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}

.fb-hub-lead-title a {
  color: #000000 !important;
}

.fb-hub-lead-title a:hover {
  color: var(--fb-blue) !important;
}

.fb-hub-center-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.fb-text-news-item {
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}

.fb-text-news-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 4px 0 4px;
}

.fb-text-news-title a {
  color: #000000 !important;
}

.fb-text-news-title a:hover {
  color: var(--fb-blue) !important;
}

.fb-market-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 16px;
  width: 100%;
}

.fb-market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dee2e6;
  font-size: 13.5px;
  font-weight: 800;
  font-family: var(--fb-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   9. FORBES GAMES SECTION
   ========================================================================== */
.fb-games-section {
  padding: 24px 0 44px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 36px;
  width: 100%;
}

.fb-games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  width: 100%;
}

.fb-game-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: var(--fb-transition);
  width: 100%;
}

.fb-game-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  border-color: #ced4da;
}

.fb-game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #e9ecef;
  color: #495057;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: var(--fb-font-sans);
}

.fb-game-icon {
  width: 58px;
  height: 58px;
  margin: 8px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-crossword-grid-icon {
  width: 48px;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #0056b3;
  padding: 2px;
  border-radius: 3px;
}

.fb-crossword-cell {
  background: #ffffff;
}

.fb-frase-icon {
  width: 48px;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #00897b;
  padding: 2px;
  border-radius: 3px;
}

.fb-game-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 20px;
  font-weight: 700 !important;
  color: #000000;
  margin-bottom: 4px;
}

.fb-game-desc {
  font-family: var(--fb-font-sans);
  font-size: 13px;
  color: #666666;
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.45;
}

.fb-game-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-family: var(--fb-font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--fb-transition);
}

.fb-game-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* Game Hub Mini List Card */
.fb-game-list-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.fb-game-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 12px;
  border: 1px solid #e9ecef;
  border-radius: 3px;
}

.fb-mini-game-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-mini-game-icon {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
}

.fb-mini-game-title {
  font-family: var(--fb-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
}

.fb-mini-game-sub {
  font-family: var(--fb-font-sans);
  font-size: 11px;
  color: #777777;
}

.fb-mini-play-link {
  font-family: var(--fb-font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fb-blue);
}

/* ==========================================================================
   10. EDITORIAL SINGLE POST TEMPLATE
   ========================================================================== */
.fb-single-layout {
  padding: 24px 0 60px;
  width: 100%;
}

.fb-single-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  width: 100%;
}

.fb-single-main {
  max-width: 820px;
  width: 100%;
}

.fb-single-top-cat {
  font-family: var(--fb-font-sans);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.fb-single-title {
  font-family: var(--fb-font-serif) !important;
  font-size: 36px;
  font-weight: 700 !important;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 16px;
}

.fb-single-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 24px;
  width: 100%;
}

.fb-single-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.fb-author-info {
  display: flex;
  flex-direction: column;
}

.fb-author-name {
  font-family: var(--fb-font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fb-link) !important;
}

.fb-author-name:hover {
  color: var(--fb-link-hover) !important;
}

.fb-author-title-badge {
  font-family: var(--fb-font-sans);
  font-size: 11px;
  color: var(--fb-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fb-post-dates {
  font-family: var(--fb-font-sans);
  font-size: 12px;
  color: #777777;
}

.fb-article-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: #222222;
  width: 100%;
}

.fb-article-body p {
  margin-bottom: 22px;
}

.fb-article-body h2 {
  font-family: var(--fb-font-serif) !important;
  font-size: 25px;
  font-weight: 700 !important;
  margin-top: 36px;
  margin-bottom: 14px;
  color: #000000;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
}

.fb-article-body h3 {
  font-family: var(--fb-font-serif) !important;
  font-size: 20px;
  font-weight: 700 !important;
  margin-top: 28px;
  margin-bottom: 10px;
}

.fb-article-body blockquote {
  margin: 28px 0;
  padding: 14px 22px;
  border-left: 3px solid #000000;
  font-family: var(--fb-font-serif) !important;
  font-style: italic;
  font-size: 18px;
  color: #111111;
  background: #f9f9f9;
}

/* Table of Contents */
#ez-toc-container,
.ez-toc-v2_0_71 {
  background: #f8fafc !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  padding: 18px 22px !important;
  margin: 24px 0 32px !important;
}

/* ==========================================================================
   11. MASTER FOOTER
   ========================================================================== */
.fb-footer {
  background-color: #000000;
  color: #999999;
  padding: 56px 0 36px;
  border-top: 1px solid #222222;
  width: 100%;
}

.fb-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid #222222;
  margin-bottom: 36px;
}

.fb-footer-logo {
  font-family: var(--fb-font-serif) !important;
  font-size: 30px;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.fb-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-bottom: 44px;
  width: 100%;
}

.fb-footer-col h4 {
  font-family: var(--fb-font-sans);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fb-footer-links a {
  color: #999999 !important;
  font-size: 12.5px;
  font-family: var(--fb-font-sans);
  transition: var(--fb-transition);
}

.fb-footer-links a:hover {
  color: #ffffff !important;
}

.fb-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #222222;
  font-size: 12px;
  color: #666666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--fb-font-sans);
}

/* ==========================================================================
   12. MOBILE & TABLET RESPONSIVE FIXES (Forbes Exact Mobile Hierarchy)
   ========================================================================== */
@media (max-width: 1024px) {
  .fb-hero-3col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fb-col-left {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding-right: 0;
    padding-bottom: 24px;
    order: 3;
  }
  .fb-col-center {
    order: 1;
  }
  .fb-col-right {
    border-left: none;
    border-top: 1px solid #e5e5e5;
    padding-left: 0;
    padding-top: 24px;
    order: 2;
  }
  .fb-hub-3col, 
  .fb-hub-2col, 
  .fb-split-2col, 
  .fb-archive-grid, 
  .fb-single-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 24px !important;
  }
  .fb-substories-3col,
  .fb-center-subgrid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .fb-featured-strip-4col {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .fb-featured-strip-4col article {
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    padding-right: 0 !important;
  }
  .fb-games-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .fb-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .fb-container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Header Mobile Flex Layout */
  .fb-header-top-inner {
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .fb-logo-wrap {
    position: static;
    transform: none;
    flex-grow: 1;
    text-align: center;
  }
  .fb-logo {
    font-size: 22px;
    letter-spacing: -0.02em;
  }
  .fb-header-left {
    gap: 8px;
  }
  .fb-icon-btn {
    font-size: 18px;
    padding: 4px;
  }
  .fb-btn-subscribe {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  
  /* Sub-nav horizontal touch scroll */
  .fb-subnav-menu {
    justify-content: flex-start;
    padding: 8px 14px;
    gap: 16px;
  }
  .fb-subnav-menu a {
    font-size: 12px;
  }
  
  /* Trending bar */
  .fb-trending-bar {
    padding: 6px 0;
    margin-bottom: 16px;
  }
  .fb-trending-links {
    font-size: 12px;
  }
  
  /* Lead Story */
  .fb-lead-headline {
    font-size: 23px;
    line-height: 1.2;
    margin: 8px 0;
  }
  .fb-lead-summary {
    font-size: 14.5px;
  }
  
  /* Dark Banner */
  .fb-dark-showcase {
    padding: 24px 0;
    margin: 20px 0 32px;
  }
  .fb-dark-showcase-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }
  .fb-showcase-heading {
    font-size: 23px;
  }
  .fb-graphic-title {
    font-size: 21px;
  }
  .fb-section-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
  
  /* Single Post */
  .fb-single-title {
    font-size: 24px;
    line-height: 1.22;
  }
  .fb-single-grid {
    gap: 28px;
  }
  .fb-col-right {
    border-left: none;
    padding-left: 0;
  }
  
  /* Footer */
  .fb-footer {
    padding: 36px 0 24px;
  }
  .fb-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 24px;
  }
  .fb-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .fb-logo {
    font-size: 19px;
  }
  .fb-btn-subscribe {
    font-size: 11px;
    padding: 4px 8px;
  }
  .fb-lead-headline {
    font-size: 20px;
  }
  .fb-section-title {
    font-size: 18px;
  }
  .fb-game-card {
    padding: 18px 12px;
  }
}

/* ==========================================================================
   13. FORBES EDITORIAL PAGINATION (Desktop & Mobile)
   ========================================================================== */
.fb-pagination,
.navigation.pagination {
  margin: 36px 0 20px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  width: 100%;
  text-align: center;
}

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

.fb-pagination .page-numbers,
.navigation.pagination .page-numbers {
  font-family: var(--fb-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #111111 !important;
  background: #ffffff;
  border: 1px solid #dee2e6;
  padding: 8px 14px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-decoration: none !important;
  transition: var(--fb-transition);
}

.fb-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
  background: #f1f3f5;
  border-color: #000000;
  color: #000000 !important;
}

.fb-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.fb-pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  padding: 8px 4px;
  min-width: auto;
  color: #888888;
}

.fb-pagination .prev.page-numbers,
.fb-pagination .next.page-numbers,
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
  padding: 8px 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #111111 !important;
}

@media (max-width: 768px) {
  .fb-pagination .page-numbers,
  .navigation.pagination .page-numbers {
    padding: 6px 10px;
    min-width: 34px;
    height: 34px;
    font-size: 12.5px;
  }
  .fb-pagination .prev.page-numbers,
  .fb-pagination .next.page-numbers,
  .navigation.pagination .prev.page-numbers,
  .navigation.pagination .next.page-numbers {
    padding: 6px 10px;
    font-size: 11px;
  }
}

