/* ========================================================
   ARBITRAGE THEME - EXACT PIXEL PERFECT CLONE
   ======================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #222222;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header {
  width: 100%;
  background-color: #ffffff;
  position: relative;
  border-bottom: 1px solid transparent;
  padding: 18px 0;
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.heart-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  color: #ff6a13 !important;
  fill: #ff6a13 !important;
  flex-shrink: 0;
  display: inline-block;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #333333;
  letter-spacing: -0.5px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-link:hover {
  color: #c44300;
}

.arrow-down {
  font-size: 11px;
  vertical-align: middle;
}

/* Dropdown */
.dropdown-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 150px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  list-style: none;
  display: none;
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  color: #444;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #c44300;
}

.dropdown-item:hover .dropdown-menu,
.dropdown-item.active .dropdown-menu {
  display: block;
}

/* Header Right - Search & Hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 32px;
  border-radius: 4px;
}

.mobile-menu-btn .bar {
  width: 22px;
  height: 2.5px;
  background-color: #2c3e50;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.theme-toggle-btn:hover {
  color: #ff6a13;
  background-color: #f1f5f9;
  transform: rotate(15deg);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn {
  color: #fbbf24;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  color: #ff6a13;
  background-color: #222222;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.theme-toggle-btn:hover {
  color: #ff6a13;
  background-color: #f1f5f9;
  transform: rotate(15deg);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn {
  color: #fbbf24;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  color: #f59e0b;
  background-color: #334155;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: #c44300;
}

.search-icon {
  width: 22px;
  height: 22px;
}

/* Search Overlay */
.search-overlay {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-overlay.active {
  display: block;
}

.search-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-inner input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
}

.search-inner input:focus {
  border-color: #ff6a13;
}

.close-search-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
}

/* ========================================================
   MAIN CONTENT GRID
   ======================================================== */
.main-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 60px 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 26px;
  row-gap: 36px;
}

/* Article Card */
.article-card {
  display: flex;
  flex-direction: column;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.thumbnail-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9.8;
  border-radius: 6px;
  overflow: hidden;
  background-color: #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.card-link:hover .thumbnail-wrapper img {
  transform: scale(1.025);
}

.card-title {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.card-link:hover .card-title {
  color: #c44300;
}

/* The card with active/orange title passing WCAG AA contrast ratio >= 4.5:1 */
.active-orange {
  color: #c44300 !important;
}

/* ========================================================
   SINGLE ARTICLE STYLES - ULTRA MODERN & VIRAL CTR
   ======================================================== */
.single-post-container {
  max-width: 820px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs-nav a {
  color: #334155;
  font-weight: 600;
  transition: color 0.15s ease;
}

.breadcrumbs-nav a:hover {
  color: #ff6a13;
}

.crumb-separator {
  color: #94a3b8;
  font-size: 14px;
}

.crumb-current {
  color: #94a3b8;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Article Badge Wrap (Category + Trending) */
.article-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.article-category-badge {
  display: inline-block;
  background-color: #ff6a13;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.article-category-badge:hover {
  background-color: #e55a07;
  color: #ffffff;
  transform: translateY(-1px);
}

.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #dc2626;
  background-color: #fee2e2;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* Article Title */
.single-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #111827;
  letter-spacing: -0.6px;
}

/* Single Meta */
.single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-mini-avatar,
.meta-author-wrap img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6a13;
}

.author-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-by {
  font-size: 13.5px;
  color: #475569;
}

.author-name,
.author-name a {
  color: #0f172a;
  font-weight: 700;
  transition: color 0.15s ease;
}

.author-name a:hover {
  color: #ff6a13;
}

.meta-dates-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-date {
  font-size: 12px;
  color: #94a3b8;
}

.date-sep {
  font-size: 11px;
  color: #cbd5e1;
}

.meta-updated-date {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #059669;
  font-weight: 600;
}

.meta-stats-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  flex-wrap: wrap;
}

/* E-E-A-T Fact-Checked Verification Badge */
.fact-checked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
  letter-spacing: 0.3px;
}

/* Author Profile Header (author.php) */
.author-profile-header {
  margin-bottom: 36px;
}

.author-profile-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.author-large-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.author-profile-details {
  flex: 1;
}

.author-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.author-profile-name {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.author-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #dbeafe;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.author-profile-bio {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.author-profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.author-articles-count {
  font-size: 13px;
  color: #64748b;
}

.author-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.author-social-link:hover {
  background-color: #ff6a13;
  color: #ffffff;
  border-color: #ff6a13;
  transform: translateY(-2px);
}

/* Author Bio Card In Single Article */
.author-bio-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.author-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  background-color: #eff6ff;
  padding: 2px 7px;
  border-radius: 3px;
}

.author-bio-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.author-bio-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #475569;
  transition: all 0.2s ease;
}

.author-bio-social-btn:hover {
  background-color: #ff6a13;
  color: #ffffff;
}

.author-all-posts-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #ff6a13;
  margin-left: 6px;
  transition: color 0.15s ease;
}

.author-all-posts-link:hover {
  color: #c44300;
}

.meta-read-time,
.meta-views {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sleek Social Share Bar */
.social-share-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 24px 0;
  flex-wrap: wrap;
}

.share-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
}

.share-buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  position: relative;
}

.share-btn:hover {
  opacity: 0.92;
  transform: translateY(-1.5px);
  color: #ffffff;
}

.share-btn-fb {
  background-color: #1877f2;
}

.share-btn-wa {
  background-color: #25d366;
}

.share-btn-x {
  background-color: #000000;
  padding: 8px 12px;
}

.share-btn-pin {
  background-color: #e60023;
  padding: 8px 12px;
}

.share-btn-copy {
  background-color: #475569;
  padding: 8px 12px;
}

.copy-tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.share-btn-copy.copied .copy-tooltip {
  display: block;
}

/* Ad Placement Slots */
.ad-slot {
  margin: 26px 0;
  padding: 16px;
  background-color: #fafbfc;
  border: 1px dashed #cbd5e1;
  text-align: center;
  border-radius: 8px;
}

.ad-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ad-placeholder {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  background-color: #f1f5f9;
  border-radius: 6px;
}

/* Featured Hero Image */
.single-featured-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.wp-caption-text {
  padding: 10px 14px;
  font-size: 12.5px;
  color: #64748b;
  font-style: italic;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

/* Story Highlights Box */
.story-highlights-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-left: 4px solid #ff6a13;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.highlights-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlights-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #431407;
  font-weight: 600;
}

.highlights-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff6a13;
  font-weight: 800;
}

/* Single Content Typography */
.single-content {
  font-size: 18px;
  line-height: 1.8;
  color: #27272a;
}

.lead-paragraph {
  font-size: 20.5px;
  font-weight: 600;
  line-height: 1.6;
  color: #09090b;
  margin-bottom: 22px;
}

.single-content p {
  margin-bottom: 22px;
}

/* Listicle Item */
.listicle-item {
  margin: 32px 0;
  padding-top: 10px;
}

.listicle-heading,
.single-content h2 {
  font-size: 23px;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 16px 0;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.listicle-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #ff6a13;
  color: #ffffff;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}

.in-content-photo {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.in-content-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-caption {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-style: italic;
  padding: 8px 12px;
  background-color: #f8fafc;
  text-align: center;
}

/* Fact Callout Quote Box */
.fact-callout-box {
  margin: 30px 0;
  padding: 24px 28px;
  background: #f8fafc;
  border-left: 4px solid #ff6a13;
  border-radius: 8px;
  position: relative;
}

.fact-callout-box .quote-icon {
  font-size: 48px;
  color: #ff6a13;
  line-height: 1;
  display: block;
  margin-bottom: -10px;
  font-family: Georgia, serif;
}

.fact-callout-box p {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 8px;
}

.fact-callout-box cite {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Viral High-CTR Pagination Box */
.viral-pagination-box {
  margin: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fffbf7;
  padding: 28px 20px;
  border-radius: 12px;
  border: 2px dashed #fed7aa;
}

.viral-next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6a13 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  padding: 16px 48px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(255, 106, 19, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(255, 106, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0); }
}

.viral-next-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #ffffff;
}

.pagination-pages-row,
.wp-viral-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-pill,
.wp-viral-pages a,
.wp-viral-pages .viral-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background-color: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.page-pill:hover,
.wp-viral-pages a:hover {
  background-color: #ff6a13;
  color: #ffffff;
  border-color: #ff6a13;
}

.page-pill.active,
.wp-viral-pages .post-page-numbers.current,
.wp-viral-pages > span.viral-page-num {
  background-color: #ff6a13;
  color: #ffffff;
  border-color: #ff6a13;
}

.page-counter {
  font-size: 13px;
  font-weight: 600;
  color: #78350f;
}

/* Bottom Share Box */
.bottom-share-box {
  margin: 36px 0;
  padding: 24px 20px;
  background-color: #f8fafc;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.share-prompt {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.share-buttons-row.centered {
  justify-content: center;
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 36px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.author-bio-avatar img,
.author-bio-avatar .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffedd5;
  flex-shrink: 0;
}

.author-bio-info {
  flex: 1;
}

.author-bio-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #ff6a13;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.author-bio-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.author-bio-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Next / Prev Story Cards */
.post-navigation-arbitrage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid #f1f5f9;
}

.nav-story-card {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-story-card:hover {
  background-color: #ffffff;
  border-color: #ff6a13;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.nav-story-label {
  font-size: 11px;
  font-weight: 800;
  color: #ff6a13;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.nav-story-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-story-card.next-story {
  text-align: right;
}

.nav-story-card.empty-card {
  visibility: hidden;
}

/* Related Stories Section */
.related-section {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid #f1f5f9;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-decor {
  width: 6px;
  height: 22px;
  background-color: #ff6a13;
  border-radius: 3px;
  display: inline-block;
}

.related-headline {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  width: 100%;
  border-top: 1px solid #eef0f2;
  padding: 28px 0 34px 0;
  background: #ffffff;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-info {
  font-size: 12px;
  color: #555555;
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links li a {
  font-size: 12.5px;
  color: #4b5563;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #c44300;
}

/* ========================================================
   BACK TO TOP FLOATING BUTTON
   ======================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background-color: #475569;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
  z-index: 99;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  background-color: #334155;
  transform: translateY(-2px);
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 28px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }

  .header-container {
    flex-wrap: nowrap;
    position: relative;
  }

  .logo-text {
    font-size: 22px;
  }

  .heart-icon {
    width: 26px;
    height: 26px;
  }

  .header-left {
    gap: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Slide down mobile navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0f0f0;
    border-bottom: 2px solid #c44300;
    padding: 10px 20px 16px 20px;
    z-index: 999;
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 12px 4px;
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    background-color: #f8fafc;
    padding: 4px 0 6px 12px;
    border-left: 3px solid #c44300;
    margin-bottom: 8px;
  }

  .dropdown-item.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    border-bottom: none;
  }

  .dropdown-menu li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 14px;
  }
}

/* ========================================================
   PREMIUM OLED BLACK DARK MODE (ZERO BLUE TINT)
   ======================================================== */
html[data-theme="dark"] body {
  background-color: #0a0a0a;
  color: #d4d4d8;
}

html[data-theme="dark"] .site-header {
  background-color: #111111;
  border-bottom: 1px solid #222222;
}

html[data-theme="dark"] .logo-text {
  color: #ffffff;
}

html[data-theme="dark"] .nav-link {
  color: #d1d5db;
}

html[data-theme="dark"] .nav-link:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .dropdown-menu {
  background-color: #141414;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  border: 1px solid #262626;
}

html[data-theme="dark"] .dropdown-menu li a {
  color: #e5e5e5;
}

html[data-theme="dark"] .dropdown-menu li a:hover {
  background-color: #202020;
  color: #ff6a13;
}

html[data-theme="dark"] .search-btn {
  color: #a1a1aa;
}

html[data-theme="dark"] .search-btn:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .mobile-menu-btn .bar {
  background-color: #f4f4f5;
}

html[data-theme="dark"] .search-overlay {
  background-color: #141414;
  border-bottom: 1px solid #262626;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .search-inner input {
  background-color: #050505;
  border-color: #2c2c2c;
  color: #ffffff;
}

html[data-theme="dark"] .search-inner input:focus {
  border-color: #ff6a13;
}

html[data-theme="dark"] .close-search-btn {
  color: #a1a1aa;
}

html[data-theme="dark"] .card-title {
  color: #f5f5f5;
}

html[data-theme="dark"] .card-link:hover .card-title {
  color: #ff6a13;
}

html[data-theme="dark"] .thumbnail-wrapper {
  background-color: #161616;
  border: 1px solid #1f1f1f;
}

html[data-theme="dark"] .breadcrumbs-nav {
  color: #71717a;
}

html[data-theme="dark"] .breadcrumbs-nav a {
  color: #a1a1aa;
}

html[data-theme="dark"] .breadcrumbs-nav a:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .crumb-current {
  color: #52525b;
}

html[data-theme="dark"] .single-title {
  color: #ffffff;
}

html[data-theme="dark"] .single-meta {
  border-top-color: #222222;
  border-bottom-color: #222222;
}

html[data-theme="dark"] .meta-by {
  color: #a1a1aa;
}

html[data-theme="dark"] .author-name,
html[data-theme="dark"] .author-name a {
  color: #ffffff;
}

html[data-theme="dark"] .meta-date {
  color: #71717a;
}

html[data-theme="dark"] .single-content {
  color: #d4d4d8;
}

html[data-theme="dark"] .lead-paragraph {
  color: #ffffff;
}

html[data-theme="dark"] .listicle-heading,
html[data-theme="dark"] .single-content h2 {
  color: #ffffff;
}

html[data-theme="dark"] .single-featured-image {
  background-color: #141414;
  border: 1px solid #222222;
}

html[data-theme="dark"] .wp-caption-text,
html[data-theme="dark"] .photo-caption {
  background-color: #141414;
  color: #888888;
  border-top-color: #222222;
}

html[data-theme="dark"] .in-content-photo {
  background-color: #141414;
  border: 1px solid #222222;
}

html[data-theme="dark"] .fact-callout-box {
  background-color: #141414;
  border-left-color: #ff6a13;
  border-top: 1px solid #222222;
  border-right: 1px solid #222222;
  border-bottom: 1px solid #222222;
}

html[data-theme="dark"] .fact-callout-box p {
  color: #f4f4f5;
}

html[data-theme="dark"] .fact-callout-box cite {
  color: #888888;
}

html[data-theme="dark"] .story-highlights-box {
  background: linear-gradient(135deg, #1b120c 0%, #111111 100%);
  border-left-color: #ff6a13;
  border-top: 1px solid #241a12;
  border-right: 1px solid #241a12;
  border-bottom: 1px solid #241a12;
}

html[data-theme="dark"] .highlights-header {
  color: #ff8c42;
}

html[data-theme="dark"] .highlights-list li {
  color: #fed7aa;
}

html[data-theme="dark"] .ad-slot {
  background-color: #121212;
  border-color: #262626;
}

html[data-theme="dark"] .ad-label {
  color: #666666;
}

html[data-theme="dark"] .ad-placeholder {
  background-color: #080808;
  color: #555555;
  border: 1px solid #1a1a1a;
}

html[data-theme="dark"] .author-bio-card {
  background: #141414;
  border-color: #242424;
}

html[data-theme="dark"] .author-bio-name {
  color: #ffffff;
}

html[data-theme="dark"] .author-bio-desc {
  color: #a1a1aa;
}

html[data-theme="dark"] .author-bio-social-btn {
  background-color: #0a0a0a;
  border-color: #2c2c2c;
  color: #d1d5db;
}

html[data-theme="dark"] .author-bio-social-btn:hover {
  background-color: #ff6a13;
  color: #ffffff;
  border-color: #ff6a13;
}

html[data-theme="dark"] .nav-story-card {
  background-color: #141414;
  border-color: #242424;
}

html[data-theme="dark"] .nav-story-card:hover {
  background-color: #1c1c1c;
  border-color: #ff6a13;
}

html[data-theme="dark"] .nav-story-title {
  color: #f5f5f5;
}

html[data-theme="dark"] .post-navigation-arbitrage {
  border-top-color: #222222;
}

html[data-theme="dark"] .related-section {
  border-top-color: #222222;
}

html[data-theme="dark"] .related-headline {
  color: #ffffff;
}

html[data-theme="dark"] .bottom-share-box {
  background-color: #141414;
  border-color: #242424;
}

html[data-theme="dark"] .share-prompt {
  color: #ffffff;
}

html[data-theme="dark"] .site-footer {
  background-color: #060606;
  border-top-color: #1c1c1c;
}

html[data-theme="dark"] .copyright-info {
  color: #888888;
}

html[data-theme="dark"] .footer-links li a {
  color: #888888;
}

html[data-theme="dark"] .footer-links li a:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .back-to-top {
  background-color: #1f1f1f;
  color: #ffffff;
  border: 1px solid #333333;
}

html[data-theme="dark"] .back-to-top:hover {
  background-color: #ff6a13;
}

@media (max-width: 768px) {
  html[data-theme="dark"] .main-nav {
    background-color: #111111;
    border-top-color: #222222;
  }
  html[data-theme="dark"] .nav-list li {
    border-bottom-color: #202020;
  }
  html[data-theme="dark"] .dropdown-menu {
    background-color: #0a0a0a;
  }
}

/* ========================================================
   UNIVERSAL DARK MODE SYSTEM (COMPATIBLE ACROSS ALL DEVICES)
   ======================================================== */
html[data-theme="dark"] body {
  background-color: #0f172a;
  color: #e2e8f0;
}

html[data-theme="dark"] .site-header {
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
}

html[data-theme="dark"] .logo-text {
  color: #f8fafc;
}

html[data-theme="dark"] .nav-link {
  color: #cbd5e1;
}

html[data-theme="dark"] .nav-link:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .dropdown-menu {
  background-color: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
}

html[data-theme="dark"] .dropdown-menu li a {
  color: #e2e8f0;
}

html[data-theme="dark"] .dropdown-menu li a:hover {
  background-color: #334155;
  color: #ff6a13;
}

html[data-theme="dark"] .search-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .search-btn:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .mobile-menu-btn .bar {
  background-color: #e2e8f0;
}

html[data-theme="dark"] .search-overlay {
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .search-inner input {
  background-color: #0f172a;
  border-color: #475569;
  color: #f8fafc;
}

html[data-theme="dark"] .close-search-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .card-title {
  color: #f1f5f9;
}

html[data-theme="dark"] .card-link:hover .card-title {
  color: #fb923c;
}

html[data-theme="dark"] .thumbnail-wrapper {
  background-color: #1e293b;
}

html[data-theme="dark"] .breadcrumbs-nav {
  color: #94a3b8;
}

html[data-theme="dark"] .breadcrumbs-nav a {
  color: #cbd5e1;
}

html[data-theme="dark"] .breadcrumbs-nav a:hover {
  color: #ff6a13;
}

html[data-theme="dark"] .crumb-current {
  color: #64748b;
}

html[data-theme="dark"] .single-title {
  color: #f8fafc;
}

html[data-theme="dark"] .single-meta {
  border-top-color: #334155;
  border-bottom-color: #334155;
}

html[data-theme="dark"] .meta-by {
  color: #94a3b8;
}

html[data-theme="dark"] .author-name,
html[data-theme="dark"] .author-name a {
  color: #f1f5f9;
}

html[data-theme="dark"] .meta-date {
  color: #64748b;
}

html[data-theme="dark"] .single-content {
  color: #cbd5e1;
}

html[data-theme="dark"] .lead-paragraph {
  color: #f8fafc;
}

html[data-theme="dark"] .listicle-heading,
html[data-theme="dark"] .single-content h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .wp-caption-text,
html[data-theme="dark"] .photo-caption {
  background-color: #1e293b;
  color: #94a3b8;
  border-top-color: #334155;
}

html[data-theme="dark"] .fact-callout-box {
  background-color: #1e293b;
  border-left-color: #ff6a13;
}

html[data-theme="dark"] .fact-callout-box p {
  color: #f1f5f9;
}

html[data-theme="dark"] .fact-callout-box cite {
  color: #94a3b8;
}

html[data-theme="dark"] .story-highlights-box {
  background: linear-gradient(135deg, #2b1705 0%, #1c1917 100%);
  border-left-color: #ff6a13;
}

html[data-theme="dark"] .highlights-header {
  color: #fb923c;
}

html[data-theme="dark"] .highlights-list li {
  color: #fed7aa;
}

html[data-theme="dark"] .ad-slot {
  background-color: #1e293b;
  border-color: #334155;
}

html[data-theme="dark"] .ad-label {
  color: #64748b;
}

html[data-theme="dark"] .ad-placeholder {
  background-color: #0f172a;
  color: #64748b;
}

html[data-theme="dark"] .author-bio-card {
  background: #1e293b;
  border-color: #334155;
}

html[data-theme="dark"] .author-bio-name {
  color: #f8fafc;
}

html[data-theme="dark"] .author-bio-desc {
  color: #94a3b8;
}

html[data-theme="dark"] .author-bio-social-btn {
  background-color: #0f172a;
  color: #cbd5e1;
}

html[data-theme="dark"] .author-bio-social-btn:hover {
  background-color: #ff6a13;
  color: #ffffff;
}

html[data-theme="dark"] .nav-story-card {
  background-color: #1e293b;
  border-color: #334155;
}

html[data-theme="dark"] .nav-story-card:hover {
  background-color: #243248;
  border-color: #ff6a13;
}

html[data-theme="dark"] .nav-story-title {
  color: #f1f5f9;
}

html[data-theme="dark"] .post-navigation-arbitrage {
  border-top-color: #334155;
}

html[data-theme="dark"] .related-section {
  border-top-color: #334155;
}

html[data-theme="dark"] .related-headline {
  color: #f8fafc;
}

html[data-theme="dark"] .bottom-share-box {
  background-color: #1e293b;
  border-color: #334155;
}

html[data-theme="dark"] .share-prompt {
  color: #f8fafc;
}

html[data-theme="dark"] .site-footer {
  background-color: #0b1120;
  border-top-color: #1e293b;
}

html[data-theme="dark"] .copyright-info {
  color: #94a3b8;
}

html[data-theme="dark"] .footer-links li a {
  color: #94a3b8;
}

html[data-theme="dark"] .footer-links li a:hover {
  color: #fb923c;
}

@media (max-width: 768px) {
  html[data-theme="dark"] .main-nav {
    background-color: #1e293b;
    border-top-color: #334155;
  }
  html[data-theme="dark"] .nav-list li {
    border-bottom-color: #334155;
  }
  html[data-theme="dark"] .dropdown-menu {
    background-color: #0f172a;
  }
}