/* ===== Indonesia – 2 cột, sidebar phải, theme đỏ trắng ===== */
:root {
  --red-dk: #8B0000;
  --red-md: #C41E3A;
  --red-lg: #DC143C;
  --red-soft: #FFEBEE;
  --red-muted: #B71C1C;
  --bg: #faf5f5;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4a2d2d;
  --border: rgba(139, 0, 0, 0.15);
  --link: #C41E3A;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(139, 0, 0, 0.06);
  --shadow-sidebar: 0 4px 20px rgba(139, 0, 0, 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 – Indonesia banner (đỏ trắng) ===== */
.hero {
  background: var(--red-dk);
  padding: 0;
  text-align: center;
  line-height: 0;
}
.hero-indonesia {
  background: linear-gradient(135deg, #C41E3A 0%, #C41E3A 33.33%, #ffffff 33.33%, #ffffff 66.66%, #C41E3A 66.66%, #C41E3A 100%);
  padding: 0.35rem 1rem;
  line-height: 1.25;
  min-height: 20px;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
}
.hero-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-banner-label {
  display: inline-block;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: #C41E3A;
  text-shadow: 0 1px 2px rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  margin: 0;
}
.hero-banner-title {
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.hero-banner-subtitle {
  margin: 0.15rem 0 0;
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  font-weight: 500;
  color: var(--text-muted);
}
.hero-banner-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
}
@media (max-width: 960px) {
  .hero-indonesia {
    padding: 0.3rem 0.75rem;
    min-height: 20px;
  }
  .hero-banner-inner { flex-direction: column; gap: 0.2rem; }
}

/* ===== 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.75rem 1.25rem 2rem;
}
@media (max-width: 960px) {
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 0.4rem 1rem 1.5rem;
  }
}

.main { min-width: 0; }

/* ===== Sections ===== */
.section { padding: 1.25rem 0; }
.main .intro.section {
  padding: 1rem 1rem 1.1rem;
  margin: 0 -0.25rem;
  background: linear-gradient(to bottom, rgba(196, 30, 58, 0.06) 0%, transparent 100%);
  border-radius: var(--radius);
}
.main .quick-table.section { padding: 0.2rem 0 0.6rem; }
.main .quick-table.section .section-title { margin-bottom: 0.35rem; font-size: 1.05rem; }
.intro-block {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.intro-block .intro-highlight {
  background: rgba(196, 30, 58, 0.07);
  font-weight: 600;
  color: var(--text);
  padding: 0 0.12em;
  border-radius: 2px;
}
.intro-block strong {
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 600px) {
  .main .intro.section { padding: 0.75rem 0.75rem 0.85rem; }
  .intro-block { font-size: 0.88rem; line-height: 1.48; }
}
.section-alt {
  background: var(--red-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 ===== */
.article-img-wrap {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(139, 0, 0, 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(--red-soft);
  line-height: 1.4;
}
.article-img-inline { max-width: 340px; margin-bottom: 1rem; }
.article-img-inline .article-img { width: 100%; }

/* ===== Intro – pain points + check first (Indonesia layout) ===== */
.intro-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.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(--red-md);
}
.intro-outro {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.check-first {
  background: var(--red-soft);
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.check-first .check-first-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-muted);
}
.check-first ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.check-first li { margin-bottom: 0.25rem; }

/* ===== 5 broker usage boxes (below table) – wide, prominent + CTA ===== */
.broker-usage-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 560px) {
  .broker-usage-boxes { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
@media (min-width: 900px) {
  .broker-usage-boxes { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.usage-box {
  background: var(--bg-card);
  border: 2px solid rgba(196, 30, 58, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.usage-box:hover {
  box-shadow: 0 8px 28px rgba(139, 0, 0, 0.14);
  border-color: rgba(196, 30, 58, 0.4);
  transform: translateY(-2px);
}
.usage-box-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.usage-box-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  padding: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  box-sizing: border-box;
}
.usage-box-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red-muted);
}
.usage-box-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.52;
  color: var(--text-muted);
}
.usage-box-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(180deg, var(--red-md) 0%, var(--red-dk) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(139, 0, 0, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.usage-box-cta:hover {
  background: linear-gradient(180deg, var(--red-dk) 0%, #5C0000 100%);
  box-shadow: 0 5px 18px rgba(139, 0, 0, 0.38);
  transform: translateY(-2px);
  color: #fff;
}

.main .criteria-intro.section { padding-top: 1.5rem; padding-bottom: 1.25rem; }
.fit-cards.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .fit-cards.layout-grid { grid-template-columns: 1fr; }
}
.fit-cards.layout-grid .fit-card { padding-left: 3rem; }
.fit-cards.layout-grid .fit-card:nth-child(5) { grid-column: 1 / -1; max-width: 420px; justify-self: center; }
@media (max-width: 768px) {
  .fit-cards.layout-grid .fit-card:nth-child(5) { max-width: none; justify-self: stretch; }
}

/* ===== Quick table ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(139, 0, 0, 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(--red-dk) 0%, var(--red-md) 100%);
}
.quick-ref-table th {
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.6rem;
  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(--red-soft); }
.quick-ref-table tbody td { padding: 0.4rem 0.6rem; vertical-align: middle; border: none; }
.quick-ref-table tbody .col-no {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--red-md);
  background: rgba(196, 30, 58, 0.08);
}
.quick-ref-table tbody .col-broker {
  font-weight: 600;
  color: var(--red-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.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: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--red-soft);
  padding: 4px;
  flex-shrink: 0;
}
.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(--red-md) 0%, var(--red-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(139, 0, 0, 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(139, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* ===== Fit cards ===== */
.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(--red-md) 0%, var(--red-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, #DC143C 0%, var(--red-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, #B71C1C 0%, #8B0000 100%); }
.fit-card-3 .fit-rank { background: linear-gradient(180deg, var(--red-md) 0%, var(--red-dk) 100%); }
.fit-card-4 .fit-rank { background: linear-gradient(180deg, #A52A2A 0%, var(--red-dk) 100%); }
.fit-card-5 .fit-rank { background: linear-gradient(180deg, #C41E3A 0%, #5C0000 100%); }
.fit-card-highlight {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, var(--red-soft) 50%, rgba(220, 20, 60, 0.08) 100%);
  border: 1px solid rgba(196, 30, 58, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(139, 0, 0, 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;
}
.fit-card-2 .fit-card-logo,
.fit-card-4 .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(--red-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(--red-md);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(196, 30, 58, 0.3);
  box-shadow: 0 1px 3px rgba(139, 0, 0, 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(--red-md) 0%, var(--red-dk) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fit-cta-btn:hover {
  background: linear-gradient(180deg, var(--red-dk) 0%, #5C0000 100%);
  box-shadow: 0 4px 16px rgba(139, 0, 0, 0.38);
  transform: translateY(-2px);
  color: #fff;
}
.suggest-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Indonesia-specific section (payments, support, time zone) */
.id-local .id-local-block {
  margin-bottom: 1.25rem;
}
.id-local .id-local-block:last-child {
  margin-bottom: 0;
}
.id-local .id-local-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red-muted);
  margin: 0 0 0.35rem;
}
.id-local .id-local-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== 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(--red-dk) 0%, var(--red-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(--red-dk) 0%, var(--red-md) 100%);
  color: #fff;
  font-weight: 600;
}
.data-table tbody tr:not(.row-highlight) td { background: #f8f4f4; }
.data-table tbody tr.row-highlight td {
  background: rgba(196, 30, 58, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.2);
}
.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; }

/* ===== Sidebar ===== */
.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(--red-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-broker-list { list-style: none; margin: 0; padding: 0; }
.sidebar-broker-item { margin-bottom: 0.5rem; font-size: 0.9rem; }
.sidebar-broker-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--red-soft);
  padding: 2px;
}
.sidebar-broker-logos-only {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.sidebar-broker-logos-only .sidebar-broker-item {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  min-height: 52px;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.sidebar-broker-logos-only .sidebar-broker-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(1) .sidebar-broker-logo { width: 64px; height: 64px; }
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(3) .sidebar-broker-logo { width: 64px; height: 64px; }
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(6) .sidebar-broker-logo { width: 62px; height: 62px; }
.sidebar-broker-logos-only .sidebar-broker-item:nth-child(7) .sidebar-broker-logo { width: 68px; height: 68px; }
.sidebar-tv .tv-embed-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  height: 338px;
}
.sidebar-tv .tv-embed {
  height: 380px;
  min-height: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: scale(0.88);
  transform-origin: top center;
}

/* ===== Footer ===== */
.disclaimer {
  background: linear-gradient(180deg, var(--red-dk) 0%, #5C0000 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: 44px; height: 44px; }
}
/* Hide duplicate block (criteria-intro + criterion 1 + broker-fit) on Indonesia page */

@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; }
}


.usage-box-head-pair {
  align-items: flex-start;
}
.usage-box-logo-pair,
.broker-brand-pair,
.sidebar-broker-item-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.usage-box-logo-arrow,
.brand-pair-arrow,
.sidebar-pair-arrow {
  color: var(--red-muted);
  font-weight: 700;
  line-height: 1;
}
.usage-box-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.broker-pair-name {
  vertical-align: middle;
}
.quick-ref-table .broker-brand-pair .broker-logo-table {
  width: 40px;
  height: 40px;
}
.sidebar-broker-item-pair {
  gap: 0.2rem;
}
.sidebar-broker-item-pair .sidebar-broker-logo {
  width: 34px;
  height: 34px;
}


/* v7 cleanup for Elev8 single-logo presentation */
.brand-note{
  display:inline-block;
  margin-left:4px;
  font-size:12px;
  line-height:1.2;
  color:#6b7280;
  font-weight:500;
  white-space:nowrap;
}
@media (max-width: 768px){
  .brand-note{
    font-size:11px;
    margin-left:3px;
  }
}


/* v8 fixed 5-box desktop layout + aligned CTAs */
@media (min-width: 1100px){
  .usage-grid,
  .suggested-broker-grid,
  .broker-usage-grid,
  .broker-grid,
  .five-broker-grid,
  .cards-grid{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:stretch !important;
  }
}

.usage-box,
.suggested-broker-card,
.broker-card,
.five-broker-card,
.broker-box,
.card-broker{
  min-width:0 !important;
  height:100%;
  display:flex !important;
  flex-direction:column !important;
}

.usage-box-content,
.broker-card-content,
.five-broker-content,
.broker-box-content{
  flex:1 1 auto;
}

.usage-box-cta,
.table-ref-link,
.broker-card-cta,
.five-broker-cta,
.broker-box-cta{
  margin-top:auto !important;
  align-self:flex-start;
}

.usage-box img,
.usage-box .broker-logo,
.usage-box .broker-logo-table,
.suggested-broker-card img,
.broker-card img,
.five-broker-card img{
  max-width:100%;
  height:auto;
}

.brand-note{
  display:inline-block;
  margin-left:4px;
  font-size:12px;
  line-height:1.2;
  color:#6b7280;
  font-weight:500;
  white-space:nowrap;
}

@media (max-width: 1099px){
  .usage-grid,
  .suggested-broker-grid,
  .broker-usage-grid,
  .broker-grid,
  .five-broker-grid,
  .cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 767px){
  .usage-grid,
  .suggested-broker-grid,
  .broker-usage-grid,
  .broker-grid,
  .five-broker-grid,
  .cards-grid{
    grid-template-columns:1fr;
  }
  .brand-note{
    font-size:11px;
    margin-left:3px;
  }
}












/* keep long logos from forcing horizontal overflow */
aside,
.sidebar,
[class*="sidebar"]{
  overflow-x: hidden;
}






