/* ============================================================
   MARKETSBYTE — single.css v2
   Premium article layout — Bloomberg/CoinDesk quality
============================================================ */

/* ── LAYOUT ──────────────────────────────────────────────── */
.single-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 52px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── ARTICLE MAX WIDTH ───────────────────────────────────── */
.single-article {
  min-width: 0;
  max-width: 860px;
}

/* ── CATEGORY BADGE ──────────────────────────────────────── */
.single-cat-label { margin-bottom: 14px; }
.single-cat-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 12px; border-radius: 20px;
  color: #000; background: var(--accent-gold); transition: var(--t);
}
.single-cat-badge.cat-blue   { background: var(--accent-blue); color: #fff; }
.single-cat-badge.cat-green  { background: var(--accent-green); color: #000; }
.single-cat-badge.cat-red    { background: var(--accent-red); color: #fff; }
.single-cat-badge.cat-purple { background: var(--accent-purple); color: #fff; }
.single-cat-badge:hover { opacity: 0.85; }

/* ── TITLE ───────────────────────────────────────────────── */
.single-title {
  font-size: 28px; font-weight: 600; line-height: 1.25;
  margin-bottom: 14px; color: #fff;
  letter-spacing: -0.3px;
}

/* ── EXCERPT ─────────────────────────────────────────────── */
.single-excerpt {
  font-size: 15px; font-weight: 400; color: #8a92a6;
  line-height: 1.7; margin-bottom: 22px;
  font-style: italic;
  border-left: 3px solid var(--accent-gold);
  padding-left: 16px;
}

/* ── META BAR ────────────────────────────────────────────── */
.single-meta-bar {
  display: flex; align-items: center; gap: 0;
  padding: 14px 20px; flex-wrap: wrap; row-gap: 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.single-author-info { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.single-author-avatar-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden;
  border: 2px solid var(--accent-gold);
}
.single-author-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-author-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #c47800);
  color: #000; display: flex; align-items: center;
  justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.single-author-text { display: flex; flex-direction: column; gap: 1px; }
.single-author-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.single-author-name  { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.single-author-role  { font-size: 11px; color: var(--text-muted); }
.meta-bar-divider { width: 1px; height: 40px; background: var(--border-light); margin: 0 20px; flex-shrink: 0; }
.reviewer-inline { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.reviewer-inline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--accent-green); }
.reviewer-inline-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), #089e61);
  color: #000; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.reviewer-inline-text  { display: flex; flex-direction: column; gap: 1px; }
.reviewer-inline-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-green); }
.reviewer-inline-name  { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.reviewer-inline-role  { font-size: 11px; color: var(--text-muted); }
.single-meta-info { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.single-meta-info time, .single-meta-stat { font-size: 12px; color: #aab2c7; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.single-meta-dot { color: var(--border-light); font-size: 10px; }
.single-meta-updated { font-size: 11px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px 8px; display: flex; align-items: center; gap: 5px; }

/* ── FEATURED IMAGE ──────────────────────────────────────── */
.single-featured-img-wrap {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
}
.single-featured-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.single-img-caption { font-size: 12px; color: var(--text-muted); text-align: center; padding: 8px 16px; background: var(--bg-secondary); font-style: italic; }


/* ── QUICK SUMMARY BOX ───────────────────────────────────── */
.mb-summary-box {
  background: #0d1220;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}
.mb-summary-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-gold); margin-bottom: 16px;
}
.mb-summary-label::before {
  content: '⚡';
  font-size: 13px;
}
.mb-summary-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.mb-summary-list li {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 14px;
  font-weight: 400; color: #b0b8cc;
  line-height: 1.6; text-align: left;
  word-spacing: normal;
}
.mb-summary-list li::before {
  content: '→';
  color: var(--accent-gold);
  font-weight: 600; flex-shrink: 0;
  margin-top: 1px;
}
.mb-summary-list li strong { color: #fff; font-weight: 600; }

/* Light mode */
body.light .mb-summary-box { background: #f9fafb; border-color: #e5e7eb; }
body.light .mb-summary-list li { color: #374151; }
body.light .mb-summary-list li strong { color: #0d1226; }

/* Mobile */
@media (max-width: 600px) {
  .mb-summary-box { padding: 16px; }
  .mb-summary-list li { font-size: 13px; }
}

/* ── TOC ─────────────────────────────────────────────────── */
.toc-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px; margin: 28px 0;
}
.toc-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--accent-gold);
  margin-bottom: 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.toc-title-text { flex: 1; text-align: left; }
.toc-toggle-icon {
  font-size: 9px; color: var(--accent-gold);
  transition: transform 0.25s; display: inline-block; flex-shrink: 0;
}
.toc-toggle:hover { opacity: 0.85; }
.toc-title::before { content: ''; width: 14px; height: 2px; background: var(--accent-gold); display: block; }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; counter-reset: toc-counter; }
.toc-item {
  counter-increment: toc-counter;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.toc-item:last-child { border-bottom: none; }
.toc-item::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: 11px; font-weight: 700; color: var(--accent-gold);
  min-width: 22px; padding-top: 2px; flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.toc-item a {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  transition: all 0.15s; line-height: 1.5; text-decoration: none;
}
.toc-item a:hover { color: var(--accent-gold); padding-left: 4px; }

/* ── ARTICLE CONTENT ─────────────────────────────────────── */
.single-content { line-height: 1.85; color: var(--text-primary); margin-bottom: 40px; font-size: 15px; font-weight: 400; }

.single-content h2 {
  font-size: 21px; font-weight: 800; margin: 36px 0 14px;
  color: #fff; line-height: 1.3;
  padding-left: 14px;
  border-left: 3px solid var(--accent-gold);
  letter-spacing: -0.2px;
  padding-top: 6px;
  text-align: left;
}
.single-content h3 {
  font-size: 20px; font-weight: 700; margin: 30px 0 12px;
  color: #fff; line-height: 1.3; text-align: left;
}
.single-content h4 { font-size: 17px; font-weight: 600; margin: 22px 0 10px; color: #fff; }
.single-content p  { margin-bottom: 22px; font-size: 15px; font-weight: 400; color: #b0b8cc; line-height: 1.85; }
.single-content p:last-child { margin-bottom: 0; }
.single-content a  { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 3px; }
.single-content a:hover { opacity: 0.8; }
.single-content ul, .single-content ol { margin: 0 0 22px 24px; color: #b0b8cc; }
.single-content li { margin-bottom: 8px; font-size: 15px; font-weight: 400; line-height: 1.75; color: #b0b8cc; }
.single-content blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 16px 20px; background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0; font-style: italic;
  color: var(--text-secondary); font-size: 16px; font-weight: 400;
}
.single-content img { border-radius: var(--radius-md); margin: 24px 0; max-width: 100%; height: auto; }
.single-content code { background: var(--bg-card); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--accent-green); font-family: monospace; }
.single-content pre { background: var(--bg-card); border: 1px solid var(--border); padding: 16px; border-radius: var(--radius-md); overflow-x: auto; margin-bottom: 22px; }

/* ── TABLE ───────────────────────────────────────────────── */
.single-content .table-wrap {
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.single-content table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; table-layout: auto;
}
.single-content thead tr {
  background: #080c18;
  border-bottom: 1px solid var(--border);
}
.single-content thead th {
  padding: 12px 20px; text-align: left;
  font-weight: 600; font-size: 10px;
  text-transform: uppercase; letter-spacing: 1px;
  color: #6b7a99; white-space: nowrap; word-spacing: normal;
}
.single-content tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  background: #0d1220;
}
.single-content tbody tr:nth-child(even) { background: #0a0f1c; }
.single-content tbody tr:last-child { border-bottom: none; }
.single-content tbody tr:hover { background: rgba(232,165,0,0.03); }
.single-content td {
  padding: 14px 20px;
  color: #b0b8cc; font-size: 13px;
  vertical-align: middle; white-space: nowrap; line-height: 1.4;
  text-align: left; word-spacing: normal;
}
.single-content td:first-child {
  font-weight: 600; color: #e8eaf0;
  font-size: 13px; white-space: normal; min-width: 140px;
}
.single-content td:first-child small {
  display: block; font-size: 11px;
  font-weight: 400; color: #6b7a99; margin-top: 2px;
}
.single-content td strong { color: #fff; font-weight: 700; }
.single-content td:last-child {
  font-weight: 500; font-size: 13px;
  color: #6b7a99; white-space: nowrap;
}
/* Key stats 2-col table — value column in gold */
.single-content table.stats-table td:first-child {
  color: #e8eaf0; font-weight: 600; font-size: 13px;
}
.single-content table.stats-table td:last-child {
  color: var(--accent-gold); font-weight: 600; font-size: 13px; text-align: right;
}
/* VARA badges */
.single-content .vara-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 10px;
  font-weight: 700; letter-spacing: 0.5px;
}
.single-content .vara-licensed { background: rgba(14,203,129,0.15); color: #0ecb81; border: 1px solid rgba(14,203,129,0.3); }
.single-content .vara-adgm     { background: rgba(232,165,0,0.15);  color: var(--accent-gold); border: 1px solid rgba(232,165,0,0.3); }
.single-content .vara-dfsa     { background: rgba(56,97,251,0.15);  color: #6b8fff; border: 1px solid rgba(56,97,251,0.3); }
.single-content td .check { color: #0ecb81; font-size: 14px; }
@media (max-width: 768px) {
  .single-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .single-content table { min-width: 460px; }
}
@media (max-width: 600px) {
  .single-content td { padding: 10px 14px; font-size: 12px; }
  .single-content thead th { padding: 9px 14px; font-size: 9px; }
  .single-content td:first-child { font-size: 12px; min-width: 110px; }
  .single-content td:last-child { font-size: 12px; }
}

/* ── TAGS ────────────────────────────────────────────────── */
.single-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.single-tag { font-size: 12px; padding: 5px 13px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); transition: var(--t); }
.single-tag:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ── AUTHOR BOX ──────────────────────────────────────────── */
.author-box { display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 28px; }
.author-box-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--accent-gold); }
.reviewer-box-initials { display: flex; align-items: center; justify-content: center; background: var(--bg-secondary); color: var(--accent-gold); font-size: 26px; font-weight: 700; }
.reviewer-box { margin-bottom: 20px; }
.author-box-info { flex: 1; }
.author-box-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.author-box-name  { font-size: 16px; font-weight: 700; color: var(--text-primary); display: block; margin-bottom: 2px; }
.author-box-role  { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.author-box-bio   { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ── FINAL VERDICT ───────────────────────────────────────── */
.final-verdict-box {
  background: linear-gradient(135deg, #0d1220 0%, #0a1428 100%);
  padding: 28px 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.final-verdict-box::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}
.final-verdict-eyebrow {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent-gold);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.final-verdict-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--accent-gold); display: block; }
.final-verdict-title { font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.final-verdict-text { font-size: 14px; font-weight: 400; color: #c8d0e0; line-height: 1.8; }
.final-verdict-text p { font-size: 14px; font-weight: 400; color: #c8d0e0; line-height: 1.8; margin-bottom: 12px; text-align: left; word-spacing: normal; }
.final-verdict-text p:last-child { margin-bottom: 0; }
.final-verdict-text strong { font-weight: 600; color: #fff; }

/* ── FAQ SECTION ─────────────────────────────────────────── */
.faq-section { margin-bottom: 40px; }
.faq-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px; margin-bottom: 12px;
}
.faq-section-title { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 24px; letter-spacing: -0.2px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 15px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; text-align: left;
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(232,165,0,0.04); }
.faq-q-text { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.35; flex: 1; }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
  transition: transform 0.25s; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 18px 15px;
  font-size: 13px; font-weight: 400; color: #ededed; line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.faq-answer p { font-size: 13px; font-weight: 400; color: #ededed; margin-bottom: 8px; text-align: left; word-spacing: normal; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-card-hdr {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-secondary);
}
.sidebar-card-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); }
.sidebar-card-link  { font-size: 11px; color: var(--accent-gold); font-weight: 600; text-decoration: none; }
.sidebar-card-link:hover { text-decoration: underline; }

.sidebar-post-item {
  display: flex; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-decoration: none; transition: background 0.15s;
  align-items: flex-start;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover { background: var(--bg-secondary); }
.sidebar-post-thumb { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.sidebar-post-info  { flex: 1; min-width: 0; }
.sidebar-post-cat   { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent-gold); display: block; margin-bottom: 3px; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; display: block; margin-bottom: 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sidebar-post-date  { font-size: 11px; color: var(--text-muted); }

/* ── DISCLAIMER ──────────────────────────────────────────── */
.article-disclaimer {
  background: rgba(56,97,251,0.06);
  border: 1px solid rgba(56,97,251,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 28px;
}
.article-disclaimer strong { color: var(--text-primary); }

/* ── LIGHT MODE ──────────────────────────────────────────── */
body.light .single-title          { color: #0d1226; }
body.light .single-excerpt        { color: #374151; }
body.light .single-content p      { color: #1a1f2e; }
body.light .single-content h2     { color: #0d1226; }
body.light .single-content h3     { color: #111827; }
body.light .single-content h4     { color: #1f2937; }
body.light .single-content ul,
body.light .single-content ol,
body.light .single-content li     { color: #1a1f2e; }
body.light .single-content blockquote { color: #374151; }
body.light .single-content td     { color: #374151; }
body.light .single-content thead th { color: #000; }
body.light .single-meta-bar       { background: #f3f4f6; border-color: #e5e7eb; }
body.light .single-author-name    { color: #0d1226; }
body.light .reviewer-inline-name  { color: #0d1226; }
body.light .author-box            { background: #f9fafb; border-color: #e5e7eb; }
body.light .author-box-name       { color: #0d1226; }
body.light .author-box-bio        { color: #374151; }
body.light .single-tag            { background: #f3f4f6; border-color: #e5e7eb; color: #374151; }
body.light .toc-box               { background: #f9fafb; border-color: #e5e7eb; }
body.light .toc-item              { border-bottom-color: #e5e7eb; }
body.light .toc-item a            { color: #374151; }
body.light .faq-item              { background: #f9fafb; border-color: #e5e7eb; }
body.light .faq-q-text            { color: #0d1226; }
body.light .faq-answer-inner      { color: #374151; border-top-color: #e5e7eb; }
body.light .final-verdict-box     { background: #f9fafb; border-color: #e8a500; }
body.light .final-verdict-title   { color: #0d1226; }
body.light .final-verdict-text    { color: #374151; }
body.light .sidebar-card          { background: #fff; border-color: #e5e7eb; }
body.light .sidebar-card-hdr      { background: #f9fafb; border-color: #e5e7eb; }
body.light .sidebar-post-title    { color: #0d1226; }
body.light .sidebar-post-item:hover { background: #f3f4f6; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .single-grid { grid-template-columns: 1fr 260px; gap: 32px; }
}
@media (max-width: 900px) {
  .single-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .single-title { font-size: 28px; }
  .single-article { max-width: 100%; }
}
@media (max-width: 600px) {
  .single-title { font-size: 24px; line-height: 1.3; }
  .single-excerpt { font-size: 16px; }
  .single-content { font-size: 13px; }
  .single-content p, .single-content li { font-size: 13px; }
  .single-content h2 { font-size: 16px; }
  .single-content h3 { font-size: 16px; }
  .single-meta-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .meta-bar-divider { display: none; }
  .single-meta-info { width: 100%; justify-content: flex-start; margin-left: 0; border-top: 1px solid var(--border); padding-top: 10px; }
  .final-verdict-box { padding: 20px; }
  .final-verdict-title { font-size: 17px; font-weight: 600; }
  .final-verdict-text { font-size: 12px; }
  .faq-section-title { font-size: 18px; font-weight: 600; }
  .faq-q-text { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; flex: 1; }
  .faq-question { padding: 14px 16px; }
  .faq-answer { padding: 0 16px; }
  .faq-answer-inner { font-size: 12px; padding: 10px 5px 10px 5px; }
  .toc-box { padding: 16px; }
  .toc-item a { font-size: 12px; }
}
@media (max-width: 480px) {
  .single-title { font-size: 18px; }
  .single-meta-bar { flex-direction: column; align-items: flex-start; }
  .reviewer-inline { margin-top: 4px; }
  .author-box { flex-direction: column; text-align: center; }
  .author-box-avatar { margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════════
   ARTICLE WIDGETS
══════════════════════════════════════════════════════════ */

/* ── 1. LIVE PRICE SIDEBAR WIDGET ───────────────────────── */
.widget-live-prices {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-live-prices .sidebar-card-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.widget-price-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.widget-price-item:last-child { border-bottom: none; }
.widget-price-item:hover { background: var(--bg-secondary); }
.widget-price-coin { display: flex; align-items: center; gap: 10px; }
.widget-price-icon { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.widget-price-name { font-size: 13px; font-weight: 600; color: var(--text-primary); display: block; line-height: 1.2; }
.widget-price-sym  { font-size: 10px; color: var(--text-muted); display: block; }
.widget-price-right { text-align: right; }
.widget-price-usd  { font-size: 13px; font-weight: 600; color: var(--text-primary); display: block; }
.widget-price-chg  { font-size: 11px; font-weight: 500; display: block; }
.widget-price-chg.up   { color: #0ecb81; }
.widget-price-chg.down { color: #f6465d; }
.widget-price-refresh {
  font-size: 10px; color: var(--text-muted);
  padding: 8px 16px; text-align: center;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.widget-price-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0ecb81; display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── 2. NEWSLETTER CTA SIDEBAR WIDGET ───────────────────── */
.widget-newsletter {
  background: linear-gradient(135deg, #080d18, #111e38);
  border: 1px solid rgba(232,165,0,0.25);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
}
.widget-newsletter-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.widget-newsletter-title {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 6px; line-height: 1.3;
}
.widget-newsletter-text {
  font-size: 12px; font-weight: 400; color: #8a92a6;
  line-height: 1.6; margin-bottom: 16px;
}
.widget-newsletter-input {
  width: 100%; padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff; font-size: 13px; font-family: inherit;
  margin-bottom: 10px; box-sizing: border-box;
  outline: none;
}
.widget-newsletter-input::placeholder { color: #6b7a99; }
.widget-newsletter-input:focus { border-color: var(--accent-gold); }
.widget-newsletter-btn {
  width: 100%; padding: 10px;
  background: var(--accent-gold); color: #000;
  font-size: 13px; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--t); font-family: inherit;
}
.widget-newsletter-btn:hover { background: #c47800; }
.widget-newsletter-disclaimer {
  font-size: 10px; color: #6b7a99; margin-top: 10px;
  font-weight: 400; line-height: 1.5;
}

/* ── 3. PROS & CONS IN-ARTICLE BOX ──────────────────────── */
.mb-pros-cons {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 28px 0;
}
.mb-pros, .mb-cons {
  border-radius: var(--radius-md);
  padding: 18px 20px; border: 1px solid var(--border);
}
.mb-pros { background: rgba(14,203,129,0.05); border-color: rgba(14,203,129,0.2); }
.mb-cons { background: rgba(246,70,93,0.05); border-color: rgba(246,70,93,0.2); }
.mb-pros-title, .mb-cons-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.mb-pros-title { color: #0ecb81; }
.mb-cons-title { color: #f6465d; }
.mb-pros-list, .mb-cons-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.mb-pros-list li, .mb-cons-list li {
  font-size: 13px; font-weight: 400; color: #b0b8cc;
  line-height: 1.5; display: flex; gap: 8px; align-items: flex-start;
  text-align: left; word-spacing: normal;
}
.mb-pros-list li::before { content: '✓'; color: #0ecb81; font-weight: 700; flex-shrink: 0; }
.mb-cons-list li::before { content: '✗'; color: #f6465d; font-weight: 700; flex-shrink: 0; }
@media (max-width: 600px) {
  .mb-pros-cons { grid-template-columns: 1fr; }
}

/* ── 4. AFFILIATE CTA BOX ────────────────────────────────── */
.mb-affiliate-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 28px 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.mb-affiliate-info { flex: 1; min-width: 200px; }
.mb-affiliate-badge {
  display: inline-block; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent-gold); border: 1px solid rgba(232,165,0,0.3);
  padding: 2px 8px; border-radius: 20px; margin-bottom: 8px;
}
.mb-affiliate-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.mb-affiliate-desc { font-size: 13px; font-weight: 400; color: #8a92a6; line-height: 1.5; }
.mb-affiliate-action { flex-shrink: 0; text-align: center; }
.mb-affiliate-btn {
  display: inline-block; padding: 12px 24px;
  background: var(--accent-gold); color: #000;
  font-size: 14px; font-weight: 700;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: var(--t); white-space: nowrap;
}
.mb-affiliate-btn:hover { background: #c47800; opacity: 1; }
.mb-affiliate-disclaimer {
  font-size: 10px; color: var(--text-muted);
  margin-top: 6px; font-weight: 400;
}
@media (max-width: 600px) {
  .mb-affiliate-box { flex-direction: column; text-align: center; }
  .mb-affiliate-action { width: 100%; }
  .mb-affiliate-btn { width: 100%; display: block; }
}

/* ── 5. INFO / WARNING / TIP BOXES ──────────────────────── */
.mb-info-box, .mb-warn-box, .mb-tip-box {
  padding: 16px 20px; border-radius: var(--radius-md);
  margin: 24px 0; font-size: 14px; font-weight: 400;
  line-height: 1.7; display: flex; gap: 12px; align-items: flex-start;
  text-align: left; word-spacing: normal;
}
.mb-info-box { background: rgba(56,97,251,0.08); border: 1px solid rgba(56,97,251,0.2); color: #b0b8cc; }
.mb-warn-box { background: rgba(246,70,93,0.08); border: 1px solid rgba(246,70,93,0.2); color: #b0b8cc; }
.mb-tip-box  { background: rgba(232,165,0,0.08); border: 1px solid rgba(232,165,0,0.2); color: #b0b8cc; }
.mb-box-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.mb-box-content strong { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }

/* ── 6. RATING BOX ───────────────────────────────────────── */
.mb-rating-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin: 24px 0; display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.mb-rating-score {
  font-size: 52px; font-weight: 800; color: var(--accent-gold);
  line-height: 1; flex-shrink: 0;
}
.mb-rating-score span { font-size: 20px; color: var(--text-muted); font-weight: 400; }
.mb-rating-info { flex: 1; }
.mb-rating-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.mb-rating-name  { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.mb-rating-verdict { font-size: 13px; font-weight: 400; color: #8a92a6; }
.mb-rating-stars { color: var(--accent-gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 4px; }

/* ── FEAR & GREED INDEX WIDGET ──────────────────────────── */
.widget-fng {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-fng-body { padding: 20px 18px; text-align: center; }
.widget-fng-gauge {
  position: relative; width: 140px; height: 70px;
  margin: 0 auto 10px;
}
.widget-fng-gauge svg { width: 100%; height: 100%; }
.widget-fng-needle {
  position: absolute; bottom: 0; left: 50%;
  width: 2px; height: 56px; background: #fff;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 1s ease-out;
  border-radius: 2px;
}
.widget-fng-needle::after {
  content: ''; position: absolute; bottom: -4px; left: 50%;
  width: 8px; height: 8px; background: #fff; border-radius: 50%;
  transform: translateX(-50%);
}
.widget-fng-score { font-size: 38px; font-weight: 800; color: #fff; line-height: 1; margin-top: 4px; }
.widget-fng-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; margin-top: 4px; padding: 4px 14px;
  border-radius: 20px; display: inline-block;
}
.widget-fng-label.extreme-fear  { background: rgba(246,70,93,0.15); color: #f6465d; }
.widget-fng-label.fear          { background: rgba(246,140,70,0.15); color: #f68c46; }
.widget-fng-label.neutral       { background: rgba(232,165,0,0.15); color: var(--accent-gold); }
.widget-fng-label.greed         { background: rgba(160,203,70,0.15); color: #a0cb46; }
.widget-fng-label.extreme-greed { background: rgba(14,203,129,0.15); color: #0ecb81; }
.widget-fng-updated { font-size: 10px; color: var(--text-muted); margin-top: 10px; }
.widget-fng-desc { font-size: 11px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

/* ── MARKET MOVERS WIDGET ───────────────────────────────── */
.widget-movers { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.movers-tabs { display: flex; border-bottom: 1px solid var(--border); }
.movers-tab {
  flex: 1; padding: 10px; text-align: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  cursor: pointer; transition: var(--t); border-bottom: 2px solid transparent;
  background: none; border-left: none; border-right: none; border-top: none;
  font-family: inherit;
}
.movers-tab.active { color: var(--accent-gold); border-bottom-color: var(--accent-gold); }
.movers-tab:hover { color: var(--text-primary); }
.movers-list { display: none; }
.movers-list.active { display: block; }
.movers-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
}
.movers-item:last-child { border-bottom: none; }
.movers-coin { display: flex; align-items: center; gap: 9px; }
.movers-icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.movers-sym { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.movers-price { font-size: 11px; color: var(--text-muted); }
.movers-chg { font-size: 13px; font-weight: 700; }
.movers-chg.up   { color: #0ecb81; }
.movers-chg.down { color: #f6465d; }
.movers-loading { padding: 30px; text-align: center; font-size: 12px; color: var(--text-muted); }

/* Light mode */
body.light .widget-fng-score { color: #0d1226; }
body.light .movers-sym { color: #0d1226; }
body.light .movers-price { color: #6b7280; }
body.light .widget-fng-desc { color: #6b7280; }
body.light .widget-fng-updated { color: #6b7280; }

@media (max-width: 600px) {
  .widget-fng-gauge { width: 120px; height: 60px; }
  .widget-fng-needle { height: 48px; }
  .widget-fng-score { font-size: 32px; }
  .movers-item { padding: 9px 14px; }
  .movers-icon { width: 20px; height: 20px; }
}