/* ===== Pakistan – Web phân tích, 2 cột, sidebar phải, xanh lá ===== */
:root {
  --green-dk: #01411C;
  --green-md: #006B2C;
  --green-lg: #0d7d3d;
  --green-soft: #e8f5e9;
  --green-muted: #1b5e20;
  --bg: #f5f9f5;
  --bg-card: #ffffff;
  --text: #1a2e1a;
  --text-muted: #2d4a2d;
  --border: rgba(1, 65, 28, 0.15);
  --link: #006B2C;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(1, 65, 28, 0.06);
  --shadow-sidebar: 0 4px 20px rgba(1, 65, 28, 0.08);
  --main-width: min(720px, 100%);
  --sidebar-width: 300px;
  --gap: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.seo-h1 {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ===== Hero – Nigeria banner (theme: Nigeria) ===== */
.hero {
  background: var(--green-dk);
  padding: 0;
  text-align: center;
  line-height: 0;
}
.hero-nigeria {
  background: linear-gradient(135deg, #008751 0%, #008751 33.33%, #ffffff 33.33%, #ffffff 66.66%, #008751 66.66%, #008751 100%);
  padding: 0.7rem 1rem;
  line-height: 1.2;
}
.hero-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-banner-label {
  display: block;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  font-weight: 700;
  color: #008751;
  text-shadow: 0 1px 2px rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  margin-bottom: 0.12rem;
}
.hero-banner-title {
  margin: 0;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: #1a2e1a;
}
.hero-banner-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
}
@media (max-width: 960px) {
  .hero-nigeria {
    padding: 0.55rem 0.85rem;
  }
}

/* ===== 2 cột: main + sidebar ===== */
.page-wrap {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem 2rem;
}
@media (max-width: 960px) {
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 0.3rem 0.9rem 1.5rem;
  }
}

.main {
  min-width: 0;
}

/* ===== Sections ===== */
.section {
  padding: 1.25rem 0;
}
/* Hero + intro + 5 sàn vừa 1 màn hình: giảm padding phần đầu */
.main .intro.section {
  padding: 0.15rem 0 0.08rem;
}
.main .quick-table.section {
  padding: 0.12rem 0 0.8rem;
}
.main .quick-table.section .section-title {
  margin-bottom: 0.28rem;
  font-size: 0.98rem;
}
.section-alt {
  background: var(--green-soft);
  margin: 0 -0.5rem;
  padding: 1.25rem 0.5rem;
  border-radius: var(--radius);
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

/* ===== Article images (Unsplash) ===== */
.article-img-wrap {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(1, 65, 28, 0.1);
  border: 1px solid var(--border);
}
.article-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.article-img-caption {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--green-soft);
  line-height: 1.4;
}
.article-img-inline {
  max-width: 340px;
  margin-bottom: 1rem;
}
.article-img-inline .article-img { width: 100%; }

/* ===== Intro – pain points (Nigeria) ===== */
.intro-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.intro-text--spaced {
  margin-top: 0.45rem;
}
.pain-points {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.pain-points li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pain-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-md);
}
.intro-outro {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}
.check-first {
  background: var(--green-soft);
  border: 1px solid rgba(0, 107, 44, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.check-first .check-first-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-muted);
}
.check-first ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.check-first li { margin-bottom: 0.25rem; }

/* ===== Quick table – 5 sàn, đẹp, cân đối ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(1, 65, 28, 0.1);
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.quick-ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.quick-ref-table thead tr {
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green-md) 100%);
}
.quick-ref-table th {
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: none;
}
.quick-ref-table th:first-child {
  border-radius: 12px 0 0 0;
  width: 2.75rem;
  text-align: center;
}
.quick-ref-table th:last-child {
  border-radius: 0 12px 0 0;
  width: 6rem;
  min-width: 5.5rem;
  text-align: center;
}
.quick-ref-table tbody tr {
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}
.quick-ref-table tbody tr:last-child {
  border-bottom: none;
}
.quick-ref-table tbody tr:hover {
  background: var(--green-soft);
}
.quick-ref-table tbody td {
  padding: 0.55rem 0.75rem;
  vertical-align: middle;
  border: none;
}
.quick-ref-table tbody .col-no {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-md);
  background: rgba(0, 107, 44, 0.06);
}
.quick-ref-table tbody .col-broker {
  font-weight: 600;
  color: var(--green-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Header # và Broker cùng style (chỉ áp dụng cho thead) */
.quick-ref-table thead th {
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
}
.quick-ref-table .broker-logo-table {
  width: 64px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--green-soft);
  padding: 4px;
  flex-shrink: 0;
}
/* IC Markets logos slightly larger (often appear smaller) */
.quick-ref-table tbody tr:nth-child(5) .broker-logo-table {

  width: 84px;
  height: 56px;
}
.quick-ref-table .col-ref {
  text-align: center;
}
.quick-ref-table .col-ref a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  padding: 0.4rem 0.65rem;
  min-width: 4.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(1, 65, 28, 0.25);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.quick-ref-table .col-ref a:hover {
  box-shadow: 0 4px 14px rgba(1, 65, 28, 0.35);
  transform: translateY(-1px);
}
.quick-ref-table .btn-icon {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
}

/* ===== Fit cards (vertical) ===== */
.fit-intro {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.fit-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fit-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  padding-left: 3.25rem;
  box-shadow: var(--shadow);
}
.fit-rank {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: 2px solid rgba(255,255,255,0.2);
  line-height: 1;
}
.fit-card-1 .fit-rank {
  background: linear-gradient(180deg, #0d7d3d 0%, var(--green-dk) 100%);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.fit-card-2 .fit-rank { background: linear-gradient(180deg, #1b5e20 0%, #0a5c28 100%); }
.fit-card-3 .fit-rank { background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%); }
.fit-card-4 .fit-rank { background: linear-gradient(180deg, #0a5c28 0%, var(--green-dk) 100%); }
.fit-card-5 .fit-rank { background: linear-gradient(180deg, #006B2C 0%, #002a12 100%); }
/* Cụm nổi bật: Logo + tên + Best for + tags */
.fit-card-highlight {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.12) 0%, var(--green-soft) 50%, rgba(13, 125, 61, 0.1) 100%);
  border: 1px solid rgba(0, 107, 44, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(1, 65, 28, 0.08);
}
.fit-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.fit-card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
/* IC Markets logo in cards slightly larger */
.fit-card-5 .fit-card-logo {
  width: 72px;
  height: 72px;
}
.fit-card-name { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.fit-card-highlight .fit-label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-muted);
}
.fit-card-highlight .fit-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fit-card-highlight .fit-tag {
  font-size: 0.8rem;
  padding: 0.28rem 0.6rem;
  background: #fff;
  color: var(--green-md);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(0, 107, 44, 0.3);
  box-shadow: 0 1px 3px rgba(1, 65, 28, 0.06);
}
.fit-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.fit-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(1, 65, 28, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fit-cta-btn:hover {
  background: linear-gradient(180deg, var(--green-dk) 0%, #002a12 100%);
  box-shadow: 0 4px 16px rgba(1, 65, 28, 0.38);
  transform: translateY(-2px);
  color: #fff;
}
.fit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(1, 65, 28, 0.25);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.fit-link:hover {
  background: linear-gradient(180deg, var(--green-dk) 0%, #002a12 100%);
  box-shadow: 0 4px 14px rgba(1, 65, 28, 0.35);
  transform: translateY(-1px);
}
.fit-link-icon {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.fit-cta-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.suggest-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Criteria ===== */
.criteria-intro p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.criterion-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.criterion-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green-md) 100%);
  border-radius: var(--radius-sm);
}
.criterion-lead {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}
.criterion p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}
.data-table th,
.data-table td {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  text-align: left;
}
.data-table th {
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green-md) 100%);
  color: #fff;
  font-weight: 600;
}
.data-table tbody tr:nth-child(even) td { background: var(--green-soft); }
.table-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}
.conclusion p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.wrap-up-link { color: var(--link); font-weight: 600; text-decoration: none; }
.wrap-up-link:hover { text-decoration: underline; }

/* ===== CTA – links only at end of article ===== */
.cta.section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.cta-intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  background: linear-gradient(180deg, var(--green-dk) 0%, #002a12 100%);
  box-shadow: 0 4px 14px rgba(1, 65, 28, 0.35);
  transform: translateY(-1px);
}
.cta-btn-icon {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.table-ref-link {
  color: var(--link);
  font-size: 0.9rem;
  text-decoration: none;
}
.table-ref-link:hover { text-decoration: underline; }

/* ===== Sidebar (right) ===== */
.sidebar {
  position: relative;
}
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sidebar);
}
.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-md);
}
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.sidebar-list a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
.sidebar-list a:hover { text-decoration: underline; }

.sidebar-regions-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sidebar broker list with logos */
.sidebar-broker-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-broker-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  min-width: 0;
}
.sidebar-broker-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.sidebar-broker-item a:hover {
  background: var(--green-soft);
  color: var(--green-md);
}
.sidebar-broker-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  max-width: 100%;
}
.sidebar-broker-item a:hover .sidebar-broker-logo {
  background: transparent;
}

/* Sidebar: only logos – stable grid, no overflow */
.sidebar-broker-logos-only {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.sidebar-broker-logos-only .sidebar-broker-item {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  min-height: 58px;
  overflow: hidden;
  background: var(--green-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.sidebar-broker-logos-only .sidebar-broker-logo {
  width: auto;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
}

/* Gentle size tuning for long or small logos */
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(1) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(4) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(9) .sidebar-broker-logo {
  height: 38px;
}
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(2) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(3) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(5) .sidebar-broker-logo {
  height: 32px;
}

.sidebar-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

.sidebar-tv .tv-embed-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  height: 430px;
}
.sidebar-tv .tv-embed {
  height: 430px;
  min-height: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: none;
  transform-origin: top center;
}
.sidebar-tv .tradingview-widget-container { width: 100% !important; }

/* ===== Footer ===== */
.disclaimer {
  background: linear-gradient(180deg, var(--green-dk) 0%, #002a12 100%);
  padding: 1.25rem 1.5rem;
  margin: 0;
}
.disclaimer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.disclaimer-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.disclaimer p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .fit-card-head { flex-wrap: wrap; }
  .fit-card { padding-left: 2.85rem; }
  .fit-rank { width: 2.25rem; font-size: 1.15rem; }
  .fit-card-1 .fit-rank { font-size: 1.25rem; }
  .table-wrapper { max-width: 100%; }
  .quick-ref-table th:last-child { width: 8rem; min-width: 7rem; }
  .quick-ref-table th, .quick-ref-table td { padding: 0.5rem 0.6rem; }
  .quick-ref-table { font-size: 0.85rem; }
  .quick-ref-table .broker-logo-table { width: 48px; height: 32px; }
  .quick-ref-table tbody tr:nth-child(3) .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(5) .broker-logo-table { width: 60px; height: 40px; }
}
/* Màn hình thấp: intro + 5 sàn gọn hơn nữa */
@media (max-height: 700px) {
  .main .intro.section { padding: 0.25rem 0 0.15rem; }
  .main .quick-table.section { padding: 0.25rem 0 0.75rem; }
  .intro-text { font-size: 0.8rem; line-height: 1.45; }
  .quick-ref-table th, .quick-ref-table td { padding: 0.28rem 0.45rem; }
}


/* Added cleanup: CTA and table links */
.table-ref-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.46rem 0.72rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--green-md) 0%, var(--green-dk) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.83rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(1, 65, 28, 0.18);
}
.table-ref-link:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, var(--green-dk) 0%, #002a12 100%);
}

@media (max-width: 600px) {
  .sidebar-broker-logos-only .sidebar-broker-item {
    min-height: 54px;
    padding: 0.45rem;
  }
  .sidebar-broker-logos-only .sidebar-broker-logo {
    height: 28px;
  }
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(1) .sidebar-broker-logo,
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(4) .sidebar-broker-logo,
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(9) .sidebar-broker-logo {
    height: 32px;
  }
}


/* Update: equal logo boxes in quick tables */
.quick-ref-table .broker-logo-table {
  width: 72px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--green-soft);
  padding: 4px;
  flex-shrink: 0;
}
.quick-ref-table tbody tr:nth-child(5) .broker-logo-table,
.quick-ref-table tbody tr:nth-child(3) .broker-logo-table,
.quick-ref-table tbody tr:nth-child(4) .broker-logo-table,
.quick-ref-table tbody tr:nth-child(2) .broker-logo-table,
.quick-ref-table tbody tr:nth-child(1) .broker-logo-table {
  width: 72px;
  height: 44px;
}

/* Update: sidebar brokers 2 columns, 8 items */
.sidebar-broker-logos-only {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.sidebar-broker-logos-only .sidebar-broker-item {
  min-height: 60px;
}
.sidebar-broker-logos-only .sidebar-broker-logo {
  width: auto;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
}
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(1) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(4) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(8) .sidebar-broker-logo {
  height: 38px;
}
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(2) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(3) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(5) .sidebar-broker-logo,
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(7) .sidebar-broker-logo {
  height: 32px;
}

/* Update: keep CTA here distinct and make Exness slightly more prominent */
.fit-card-1 {
  border-color: rgba(0, 107, 44, 0.28);
  box-shadow: 0 8px 24px rgba(1, 65, 28, 0.12);
}
.fit-card-1 .fit-card-highlight {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.16) 0%, rgba(232, 248, 237, 1) 52%, rgba(13, 125, 61, 0.14) 100%);
  border-color: rgba(0, 107, 44, 0.32);
}
.fit-card-1 .fit-cta-btn {
  box-shadow: 0 4px 14px rgba(1, 65, 28, 0.22);
}

@media (max-width: 600px) {
  .quick-ref-table .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(5) .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(3) .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(4) .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(2) .broker-logo-table,
  .quick-ref-table tbody tr:nth-child(1) .broker-logo-table {
    width: 56px;
    height: 34px;
  }
  .sidebar-broker-logos-only .sidebar-broker-item {
    min-height: 54px;
    padding: 0.45rem;
  }
  .sidebar-broker-logos-only .sidebar-broker-logo {
    height: 28px;
  }
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(1) .sidebar-broker-logo,
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(4) .sidebar-broker-logo,
  .sidebar-broker-logos-only .sidebar-broker-item:nth-child(8) .sidebar-broker-logo {
    height: 31px;
  }
}


/* Update 6: isolated overrides to avoid selector collisions */
.sidebar-tv .tv-embed-wrap,
.sidebar-tv .tv-embed {
  min-height: 330px;
}

.sidebar-broker-logos-only .sidebar-broker-logo {
  transition: transform 0.2s ease, height 0.2s ease;
}
.sidebar-broker-logo--exness,
.sidebar-broker-logo--xm {
  transform: scale(0.7);
  transform-origin: center;
}
.sidebar-broker-logo--octa {
  transform: scale(1.225);
  transform-origin: center;
}
.sidebar-broker-logo--vantage {
  transform: scale(1.2);
  transform-origin: center;
}
.sidebar-broker-logo--markets4you {
  height: 40px;
}

.data-table tbody td {
  background: rgba(232, 248, 237, 0.92);
}
.data-table tbody tr.is-featured-row td {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.22) 0%, rgba(214, 241, 223, 0.98) 100%);
  font-weight: 700;
  color: #0a4d24;
}
.data-table tbody tr.is-featured-row td:first-child {
  color: var(--green-dk);
}
.data-table td.is-featured {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.28) 0%, rgba(207, 237, 217, 1) 100%);
  color: #083a1b;
}

.fit-card.fit-card--primary {
  border-color: rgba(0, 107, 44, 0.36);
  box-shadow: 0 16px 38px rgba(1, 65, 28, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(246, 252, 248, 1) 100%);
}
.fit-card.fit-card--primary .fit-card-highlight {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.22) 0%, rgba(232, 248, 237, 1) 50%, rgba(13, 125, 61, 0.18) 100%);
  border-color: rgba(0, 107, 44, 0.36);
  box-shadow: 0 8px 22px rgba(1, 65, 28, 0.12);
}
.fit-card.fit-card--primary .fit-card-logo {
  border-color: rgba(0, 107, 44, 0.22);
  box-shadow: 0 6px 18px rgba(1, 65, 28, 0.1);
}
.fit-card.fit-card--primary .fit-cta-btn {
  box-shadow: 0 8px 20px rgba(1, 65, 28, 0.24);
}

@media (max-width: 600px) {
  .sidebar-broker-logo--exness,
  .sidebar-broker-logo--xm {
    transform: scale(0.76);
  }
  .sidebar-broker-logo--octa {
    transform: scale(1.15);
  }
  .sidebar-broker-logo--vantage {
    transform: scale(1.12);
  }
  .sidebar-broker-logo--markets4you {
    height: 32px;
  }
  .sidebar-tv .tv-embed-wrap,
  .sidebar-tv .tv-embed {
    min-height: 330px;
  }
}


/* Update 8: stronger but neutral Exness emphasis */
.fit-card.fit-card--primary {
  border: 2px solid rgba(0, 107, 44, 0.46);
  box-shadow: 0 22px 46px rgba(1, 65, 28, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f2faf5 100%);
  transform: translateY(-2px);
}
.fit-card.fit-card--primary::after {
  content: "Balanced pick";
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b5b2a;
  background: rgba(0, 107, 44, 0.12);
  border: 1px solid rgba(0, 107, 44, 0.22);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.fit-card.fit-card--primary .fit-rank {
  width: 2.9rem;
  background: linear-gradient(180deg, #0d7d3d 0%, #04491f 100%);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.16), 0 0 0 1px rgba(0,0,0,0.02);
}
.fit-card.fit-card--primary .fit-card-highlight {
  background: linear-gradient(135deg, rgba(0, 107, 44, 0.26) 0%, rgba(232, 248, 237, 1) 46%, rgba(13, 125, 61, 0.18) 100%);
  border: 1px solid rgba(0, 107, 44, 0.42);
  box-shadow: 0 10px 24px rgba(1, 65, 28, 0.13);
}
.fit-card.fit-card--primary .fit-card-name {
  color: #08451f;
}
.fit-card.fit-card--primary .fit-desc {
  color: #355444;
}
.fit-card.fit-card--primary .fit-cta-btn {
  background: linear-gradient(180deg, #0f6f34 0%, #085226 100%);
  border-color: rgba(0, 107, 44, 0.48);
  box-shadow: 0 10px 22px rgba(1, 65, 28, 0.24);
}
.fit-card.fit-card--primary .fit-tag {
  background: rgba(255,255,255,0.94);
}
.sidebar-tv .tv-embed-wrap,
.sidebar-tv .tv-embed {
  min-height: 300px;
}


/* Update 10: sidebar logo sizing via explicit heights (not transform) */
.sidebar-broker-logos-only .sidebar-broker-item {
  overflow: visible;
}
.sidebar-broker-logos-only .sidebar-broker-logo--exness,
.sidebar-broker-logos-only .sidebar-broker-logo--xm,
.sidebar-broker-logos-only .sidebar-broker-logo--octa,
.sidebar-broker-logos-only .sidebar-broker-logo--vantage,
.sidebar-broker-logos-only .sidebar-broker-logo--markets4you {
  transform: none;
}
.sidebar-broker-logos-only .sidebar-broker-logo--exness,
.sidebar-broker-logos-only .sidebar-broker-logo--xm {
  height: 24px;
}
.sidebar-broker-logos-only .sidebar-broker-logo--octa {
  height: 38px;
}
.sidebar-broker-logos-only .sidebar-broker-logo--vantage {
  height: 41px;
}
.sidebar-broker-logos-only .sidebar-broker-logo--markets4you {
  height: 40px;
}

@media (max-width: 600px) {
  .sidebar-broker-logos-only .sidebar-broker-logo--exness,
  .sidebar-broker-logos-only .sidebar-broker-logo--xm {
    height: 22px;
  }
  .sidebar-broker-logos-only .sidebar-broker-logo--octa {
    height: 34px;
  }
  .sidebar-broker-logos-only .sidebar-broker-logo--vantage {
    height: 37px;
  }
  .sidebar-broker-logos-only .sidebar-broker-logo--markets4you {
    height: 34px;
  }
}


/* Update 11: final sidebar + Exness fit-card polish */
.sidebar-broker-logos-only .sidebar-broker-item {
  overflow: visible;
}
.sidebar-broker-logos-only .sidebar-broker-logo--vantage {
  transform: scale(1.3);
  transform-origin: center;
}

.fit-card.fit-card--primary {
  padding-left: 4.05rem;
}
.fit-card.fit-card--primary::after {
  content: "★ Balanced pick";
  top: 0.95rem;
  right: 1rem;
  color: #fff;
  background: linear-gradient(180deg, #0f6f34 0%, #085226 100%);
  border: 1px solid rgba(8, 82, 38, 0.75);
  box-shadow: 0 6px 14px rgba(1, 65, 28, 0.18);
}
.fit-card.fit-card--primary .fit-rank {
  width: 3.15rem;
}
.fit-card.fit-card--primary .fit-card-head {
  padding-right: 8.5rem;
}

@media (max-width: 700px) {
  .sidebar-broker-logos-only .sidebar-broker-logo--vantage {
    transform: scale(1.3);
  }
  .fit-card.fit-card--primary {
    padding-left: 3.45rem;
  }
  .fit-card.fit-card--primary .fit-rank {
    width: 2.6rem;
  }
  .fit-card.fit-card--primary .fit-card-head {
    padding-right: 0;
  }
  .fit-card.fit-card--primary::after {
    position: static;
    display: inline-flex;
    margin: 0 0 0.8rem;
  }
}


/* Update 12: mobile badge alignment + stable Vantage sizing */
.sidebar-broker-logos-only .sidebar-broker-logo--vantage {
  transform: none !important;
  height: 52px !important;
  max-height: none !important;
}
.fit-card.fit-card--primary {
  padding-top: 1.8rem;
}
.fit-card.fit-card--primary::after {
  position: absolute !important;
  top: 0.85rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  z-index: 5;
  white-space: nowrap;
}
.fit-card.fit-card--primary .fit-card-head {
  padding-right: 8.2rem;
}
@media (max-width: 700px) {
  .sidebar-broker-logos-only .sidebar-broker-logo--vantage {
    transform: none !important;
    height: 44px !important;
    max-height: none !important;
  }
  .fit-card.fit-card--primary {
    padding-top: 2.2rem;
    padding-left: 3.45rem;
  }
  .fit-card.fit-card--primary::after {
    position: absolute !important;
    top: 0.7rem;
    right: 0.7rem;
    margin: 0;
    font-size: 0.64rem;
    padding: 0.28rem 0.5rem;
  }
  .fit-card.fit-card--primary .fit-card-head {
    padding-right: 6.8rem;
  }
}


/* Update 13: SEO-safe headline support + compact FAQ */
.hero-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq {
  margin-top: 0.5rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(8, 73, 31, 0.08);
  border-radius: 16px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 8px 24px rgba(14, 35, 23, 0.04);
}

.faq-question {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #14301f;
}

.faq-answer {
  margin: 0.45rem 0 0;
  color: #4c6657;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .hero-note {
    font-size: 0.88rem;
    margin-top: 0.7rem;
    line-height: 1.55;
  }

  .intro-text,
  .intro-outro,
  .check-first ul,
  .faq-answer {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .faq-item {
    border-radius: 14px;
    padding: 0.9rem 0.9rem 0.85rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}


/* ===== Legal/footer links ===== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin: 0 0 1rem;
}
.footer-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }

/* ===== Simple content pages ===== */
.simple-page-hero {
  background: linear-gradient(135deg, #008751 0%, #ffffff 50%, #008751 100%);
  padding: 1.25rem 1rem;
  text-align: center;
}
.simple-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}
.simple-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem;
}
.simple-card + .simple-card { margin-top: 1rem; }
.simple-page-title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}
.simple-page-lead {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.simple-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--text);
}
.simple-card p,
.simple-card li,
.contact-list li {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.simple-card ul { margin: 0; padding-left: 1.1rem; }
.back-home {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
.back-home:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .simple-page-wrap { padding: 0.85rem 0.9rem 1.5rem; }
  .simple-card { padding: 0.95rem 0.95rem; }
  .simple-page-title { font-size: 1.3rem; }
  .simple-page-lead,
  .simple-card p,
  .simple-card li { font-size: 0.9rem; }
}


/* Compact first screen */
.hero-banner-inner { max-width: 980px; }
.intro-text,
.intro-outro {
  font-size: 0.94rem;
  line-height: 1.5;
}
.intro-text--spaced { margin-top: 0.18rem; }
.intro-outro { margin-top: 0.3rem; }
.check-first {
  margin-top: 0.45rem;
  padding: 0.7rem 0.85rem;
}
.check-first-title {
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
}
.check-first ul { margin: 0.2rem 0 0; }
.check-first li { margin-bottom: 0.28rem; }
@media (max-width: 960px) {
  .section-title { font-size: 1.08rem; }
  .intro-text,
  .intro-outro {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .check-first {
    margin-top: 0.38rem;
    padding: 0.62rem 0.72rem;
  }
  .check-first-title { font-size: 0.9rem; }
}
@media (max-width: 640px) {
  .hero-banner-label {
    font-size: 1rem;
    margin-bottom: 0.08rem;
  }
  .hero-banner-title { font-size: 0.74rem; }
  .main .intro.section { padding: 0.08rem 0 0.02rem; }
  .main .quick-table.section { padding: 0.08rem 0 0.72rem; }
  .intro-text,
  .intro-outro {
    font-size: 0.84rem;
    line-height: 1.42;
  }
  .check-first {
    padding: 0.55rem 0.65rem;
  }
}


/* Update 16b: cleaner intro + compact first-screen checklist */
.hero-nigeria {
  padding: 0.9rem 1rem;
}
.hero-banner-inner {
  max-width: 1020px;
}
.page-wrap {
  padding-top: 0.28rem;
}
.main .intro.section {
  padding: 0.12rem 0 0.04rem;
}
.intro-text,
.intro-outro {
  font-size: 0.95rem;
  line-height: 1.48;
}
.intro-text--spaced {
  margin-top: 0.14rem;
}
.intro-outro {
  margin-top: 0.2rem;
}
.check-first {
  margin-top: 0.36rem;
  padding: 0.58rem 0.75rem;
}
.check-first-title {
  margin-bottom: 0.28rem;
  font-size: 0.9rem;
  line-height: 1.35;
}
.checklist-compact {
  margin: 0;
  padding-left: 1rem;
}
.checklist-compact li {
  font-size: 0.84rem;
  line-height: 1.35;
  margin-bottom: 0.16rem;
}
.main .quick-table.section {
  padding-top: 0.08rem;
}
@media (max-width: 960px) {
  .hero-nigeria {
    padding: 0.72rem 0.85rem;
  }
  .intro-text,
  .intro-outro {
    font-size: 0.89rem;
    line-height: 1.44;
  }
  .check-first {
    margin-top: 0.32rem;
    padding: 0.5rem 0.62rem;
  }
  .check-first-title {
    font-size: 0.84rem;
    margin-bottom: 0.22rem;
  }
  .checklist-compact {
    padding-left: 0.95rem;
  }
  .checklist-compact li {
    font-size: 0.8rem;
    line-height: 1.32;
    margin-bottom: 0.13rem;
  }
}
@media (max-width: 640px) {
  .hero-nigeria {
    padding: 0.62rem 0.7rem;
  }
  .hero-banner-label {
    font-size: 1.02rem;
  }
  .hero-banner-title {
    font-size: 0.76rem;
  }
  .page-wrap {
    padding-top: 0.22rem;
  }
  .main .intro.section {
    padding: 0.08rem 0 0.02rem;
  }
  .intro-text,
  .intro-outro {
    font-size: 0.84rem;
    line-height: 1.4;
  }
  .check-first {
    margin-top: 0.28rem;
    padding: 0.46rem 0.56rem;
  }
  .check-first-title {
    font-size: 0.8rem;
    margin-bottom: 0.18rem;
  }
  .checklist-compact {
    padding-left: 0.9rem;
  }
  .checklist-compact li {
    font-size: 0.76rem;
    line-height: 1.28;
    margin-bottom: 0.1rem;
  }
}
