/* ===== CSS Variables ===== */
:root {
  --color-primary:       #E8460A;
  --color-primary-dark:  #C73A08;
  --color-dark:          #1A1A2E;
  --color-dark-mid:      #2A2A4E;
  --color-white:         #FFFFFF;
  --color-bg:            #F8F9FA;
  --color-bg-mid:        #F0F2F5;
  --color-text:          #1A1A1A;
  --color-text-secondary:#666666;
  --color-border:        #EEEEEE;
  --color-green-bg:      #EAF3DE;
  --color-green-text:    #3B6D11;
  --color-red-bg:        #FFF5F5;
  --color-red-text:      #C62828;
  --color-orange-bg:     #FFF8F5;
  --font-display:        'Barlow Condensed', sans-serif;
  --font-body:           'Inter', sans-serif;
  --max-width:           1200px;
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           10px;
  --shadow-sm:           0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:           0 4px 16px rgba(0,0,0,0.10);
  --shadow-orange:       0 4px 16px rgba(232,70,10,0.12);
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color 0.15s; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.btn-primary { background: var(--color-primary); color: #fff; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; display: inline-block; border: none; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline-orange { border: 2px solid var(--color-primary); color: var(--color-primary); padding: 8px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; display: inline-block; transition: all 0.15s; }
.btn-outline-orange:hover { background: var(--color-primary); color: #fff; }
.tag-reg  { background: var(--color-green-bg); color: var(--color-green-text); font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 3px; display: inline-block; }
.section-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; }
.section-subtitle { font-size: 14px; color: var(--color-text-secondary); margin-bottom: 24px; }
.broker-row { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 16px; }
.risk-warning { font-size: 11px; color: #C0392B; }
.risk-warning-bar { background: #FFF5F5; border-left: 3px solid var(--color-primary); padding: 10px 14px; font-size: 12px; color: #666; }

/* ===== Home Hero ===== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
  color: #fff;
  padding: 56px 0;
}
.hero h1 {
  color: #fff;
  margin-bottom: 12px;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}
.hero-actions {
  margin-bottom: 18px;
}
.hero-actions .wp-block-button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
}
.hero-actions .btn-primary,
.hero-actions .btn-outline-orange {
  background: transparent !important;
  border: 0 !important;
}
.hero-actions .wp-block-button .wp-block-button__link {
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.hero-actions .btn-primary .wp-block-button__link {
  background: #ff6a2a;
  border: 1px solid #ff6a2a;
  color: #fff;
}
.hero-actions .btn-primary .wp-block-button__link:hover {
  background: #e95a1d;
  border-color: #e95a1d;
  color: #fff;
}
.hero-actions .btn-outline-orange .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
}
.hero-actions .btn-outline-orange .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
}
.hero-rank-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 16px;
}
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mini-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mini-item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
  flex-wrap: nowrap;
}
.mini-item:last-child {
  border-bottom: 0;
}
.mini-rank {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-primary);
}
.mini-broker {
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
}
.mini-stars {
  font-size: 12px;
  opacity: 0.9;
  display: inline-block;
  white-space: nowrap;
}

/* ===== Home Sections ===== */
.top-brokers,
.broker-lists,
.latest-reviews {
  padding: 48px 0;
}
.category-grid {
  gap: 16px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.latest-reviews .review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.read-review-btn a,
a.read-review-btn {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===== CTA ===== */
.comparison-cta {
  background: #1a1a2e;
  color: #fff;
  padding: 56px 0;
}
.comparison-cta h2,
.comparison-cta p {
  color: #fff;
}

.comparison-cta-actions {
  margin-top: 8px;
}

.comparison-cta-form {
  margin: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.comparison-cta-button.btn-primary {
  font-family: inherit;
  text-decoration: none;
}

/* ===== Footer ===== */
.site-footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.86);
  padding: 48px 0 22px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  gap: 24px;
  margin-bottom: 22px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
}
.footer-logo {
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 0 0 8px;
}
.site-footer .risk-warning {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 0;
  margin: 14px 0;
  font-size: 12px;
}
.footer-bar {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}
