/**
 * Main Stylesheet
 * Global styles, typography, layout utilities
 *
 * @package AllForexBonus
 */

/* ===========================
   GLOBAL HTML BEHAVIOR
   =========================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky header */
}

/* ===========================
   ROOT CSS VARIABLES
   =========================== */

:root {
  /* Default variables (light theme values) */
  --bg-base: #FAFBFC;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F7F9FC;
  --bg-hover: #F1F4F8;
  --gold: #D4A24C;
  --green: #2BA471;
  --red: #DC4848;
  --yellow: #E8A93C;
  --text-primary: #0F1B2D;
  --text-secondary: #4A5468;
  --text-muted: #8B95A8;
  --border: #CDD5E0;
  --border-light: #E5E9F0;
  --navy: #0F2C4D;
  --navy-soft: #1B3A66;
  --navy-deep: #081A30;

  /* Typography & Layout defaults */
  --font-display: "DM Sans", -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container: 1240px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --card-radius: var(--r-md);
  --btn-radius: var(--r-sm);
  
  --shadow-sm: 0 1px 2px rgba(15, 28, 45, 0.04), 0 0 0 1px rgba(15, 28, 45, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 28, 45, 0.06), 0 0 0 1px rgba(15, 28, 45, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 28, 45, 0.08);

  /* Legacy mappings to preserve existing components compatibility */
  --bg: var(--bg-base);
  --bg-soft: var(--bg-hover);
  --surface: var(--bg-surface);
  --surface-elev: var(--bg-elevated);
  --text: var(--text-primary);
  --text-soft: var(--text-secondary);
  --text-mute: var(--text-muted);
  --line: var(--border-light);
  --line-strong: var(--border);

  --blue: var(--navy-soft);
  --blue-d: var(--navy);
  --blue-pale: var(--bg-soft);
  --blue-xp: var(--surface-elev);
  --gold-soft: #F4E4C1;
  --gold-deep: #8E6418;
  --gold-light: var(--gold-soft);
  --gold-pale: rgba(212, 162, 76, 0.15);
  --gold-dim: rgba(212, 162, 76, 0.12);
  --white: #FFFFFF;
  --off: var(--bg);
  --light: var(--bg-soft);
  --text-dark: var(--text-primary);
  --text-medium: var(--text-secondary);
  --text-hint: var(--text-muted);
  --border-strong: var(--border);
  --purple: var(--navy-soft);
  --success: var(--green);
  --warning: var(--yellow);
  --danger: var(--red);
  --success-soft: #D8F0E5;
  --warning-soft: #FCEFD6;
  --danger-soft: #FBE0E0;
  --trust-green: var(--green);
  --trust-yellow: var(--yellow);
  --trust-red: var(--red);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px; /* Accessible Baseline */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Accessibility & Utility Rules */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: var(--bg-base);
  padding: 10px 16px;
  z-index: 9999;
  border-radius: var(--r-sm);
  transition: top 0.2s ease;
  font-weight: 600;
}

.skip-link:focus-visible {
  top: 20px;
  outline: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

/* ===========================
   SIDEBAR & LAYOUT
   =========================== */

/* Two-column layout: main content + sidebar */
.content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

.site-main {
  min-width: 0;
}

.primary-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  overflow: hidden;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.75rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  margin-bottom: 0.5rem;
}

.widget a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: var(--gold);
}

/* Mobile: stack sidebar below content */
@media (max-width: 768px) {
  .content-area {
    grid-template-columns: 1fr;
  }

  .primary-sidebar {
    grid-row: 2;
  }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Single/Page boxed main content container */
.single .site-main > .container.broker-content,
.single .site-main > .container.bonus-content,
.single .site-main > .container.article-content,
.single .site-main > .container.press-content,
.single .site-main.single-fallback > .container,
.page .site-main.page-template > article > .container.page-content,
.page .site-main.page-template > .container {
  max-width: 1105px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  padding: 15px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

a {
  transition: color 0.2s ease;
}

a:visited {
  color: inherit;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

small {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

code {
  background-color: var(--bg-surface);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

pre {
  background-color: var(--bg-surface);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-elevated);
  border-color: var(--gold);
}

.btn-ghost {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-ghost:hover {
  background-color: var(--gold-dim);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===========================
   FORMS
   =========================== */

input,
textarea,
select {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

input::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

/* ===========================
   LISTS
   =========================== */

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===========================
   UTILITIES
   =========================== */

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-primary {
  color: var(--text-primary);
}

.text-gold {
  color: var(--gold);
}

.text-green {
  color: var(--green);
}

.text-red {
  color: var(--red);
}

.text-yellow {
  color: var(--yellow);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}
.gap-4 {
  gap: 2rem;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

/* ===========================
   DISPLAY & VISIBILITY
   =========================== */

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none;
  }
}

/* ===========================
   TRUST SCORE COLORS
   =========================== */

.trust-green {
  color: var(--trust-green);
}

.trust-yellow {
  color: var(--trust-yellow);
}

.trust-red {
  color: var(--trust-red);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  background-color: var(--bg-surface);
  border: 2px solid;
}

.trust-badge.trust-green {
  border-color: var(--trust-green);
  background-color: rgba(0, 214, 143, 0.1);
}

.trust-badge.trust-yellow {
  border-color: var(--trust-yellow);
  background-color: rgba(245, 197, 24, 0.1);
}

.trust-badge.trust-red {
  border-color: var(--trust-red);
  background-color: rgba(255, 61, 90, 0.1);
}

/* ===========================
   RESPONSIVE IMAGES
   =========================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-cover {
  object-fit: cover;
}

.img-contain {
  object-fit: contain;
}

/* ===========================
   ACCESSIBILITY
   =========================== */

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===========================
   ANIMATION
   =========================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

.slide-in-up {
  animation: slideInUp 0.3s ease;
}

/* ===========================
   HEADER + FOOTER (Mockup Match)
   =========================== */

.trust-bar {
  background: var(--navy);
  color: white;
  font-size: 12px;
  padding: 7px 0;
}

.trust-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-items, .trust-actions { display: flex; gap: 18px; }
.trust-items span { display: inline-flex; align-items: center; gap: 5px; }
.trust-items .check { color: var(--gold); }
.trust-actions a { opacity: 0.95; transition: opacity 0.2s; font-weight: 500; }
.trust-actions a:hover { color: var(--gold); }

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 64px;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.nav { display: flex; gap: 2px; flex: 1; }
.nav a {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-soft);
}
.nav a:hover { background: var(--surface-elev); color: var(--navy); }
.nav a.active { color: var(--navy); background: var(--surface-elev); }

.search-input {
  background: var(--surface-elev);
  border: 1px solid var(--line);
  padding: 7px 12px 7px 32px;
  border-radius: var(--r-md);
  font-size: 13px;
  width: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%238B95A8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 11px center;
}
.search-input:focus { outline: none; border-color: var(--gold); }

.top-ad-strip {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  text-align: center;
}
.top-ad-strip .ad-slot {
  margin: 0 auto;
}

.ad-slot {
  position: relative;
  background: linear-gradient(135deg, #EAF1FB 0%, #F4E4C1 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}
.ad-slot::before {
  content: "Ad";
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 9px;
  font-weight: 600;
  background: rgba(255,255,255,0.85);
  color: var(--text-mute);
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  z-index: 2;
}
.ad-slot-inner {
  padding: 8px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.ad-broker-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.ad-broker-tag {
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 500;
}
.ad-broker-cta {
  margin-top: 6px;
  background: var(--navy);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.ad-dimensions {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(15, 28, 45, 0.4);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.5);
  padding: 1px 5px;
  border-radius: 3px;
}

.ad-leaderboard { width: 728px; max-width: 100%; height: 90px; }

.ad-broker-1 { background: linear-gradient(135deg, #1a4d7a 0%, #2e6db5 100%); color: white; }
.ad-broker-1 .ad-broker-name, .ad-broker-1 .ad-broker-tag { color: white; }
.ad-broker-1 .ad-broker-tag { color: rgba(255,255,255,0.8); }

/* ============ FRONT PAGE STICKY ADS ============ */
.main-wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 15px 28px;
}

.main-grid {
  display: grid;
  grid-template-columns: 160px 1fr 250px;
  gap: 24px;
  align-items: start;
}

.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 80px;
}

.right-sidebar .skyscraper.exness.ad-slot,
.right-sidebar {
  max-width: 250px;
}

.rs-updated-block {
  background: #f4f6f9;
  border: 1px solid #d4dbe6;
  border-radius: 14px;
  padding: 14px 12px 12px;
  box-shadow: 0 1px 2px rgba(15, 28, 45, 0.05);
}

.rs-updated-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #122845;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.rs-updated-title .bolt {
  color: #d4a24c;
  font-size: 14px;
}

.rs-updated-list {
  border-top: 1px solid #d4dbe6;
}

.rs-updated-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #d4dbe6;
}

.rs-updated-row:last-child {
  border-bottom: none;
}

.rs-updated-row .name {
  color: #0f1b2d;
  font-size: 13px;
  font-weight: 500;
}

.rs-updated-row .time {
  color: #8b95a8;
  font-size: 11px;
  white-space: nowrap;
}

.rs-updated-row .val {
  color: #9a6712;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rs-tools-block {
  background: #f4f6f9;
  border: 1px solid #d4dbe6;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(15, 28, 45, 0.05);
}

.rs-block-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #122845;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid #d4dbe6;
  margin-bottom: 10px;
}

.rs-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.rs-tool-card {
  background: #eef2f7;
  border: 1px solid #d4dbe6;
  border-radius: 8px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.rs-tool-card:hover {
  border-color: #c0c9d8;
  background: #f7f9fc;
}

.rs-tool-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0f2c4d;
  color: #d4a24c;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
}

.rs-tool-label {
  color: #122845;
  font-size: 11px;
  font-weight: 500;
}

.rs-alert-block {
  background: linear-gradient(135deg, #133765 0%, #173e70 100%);
  border-radius: 14px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(10, 22, 42, 0.3);
}

.rs-alert-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 10px;
}

.rs-alert-copy {
  color: rgba(230, 238, 250, 0.92);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.rs-alert-copy strong {
  color: #d4a24c;
  font-weight: 700;
}

.rs-alert-input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  padding: 0 12px;
  margin-bottom: 8px;
}

.rs-alert-input::placeholder {
  color: rgba(228, 236, 247, 0.65);
}

.rs-alert-input:focus {
  outline: none;
  border-color: rgba(212, 162, 76, 0.8);
}

.rs-alert-btn {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 0;
  background: #d4a24c;
  color: #102744;
  font-size: 12px;
  font-weight: 700;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.rs-alert-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.afb-main-column {
  min-width: 0;
}

.skyscraper {
  width: 100%;
  max-width: 160px;
  height: 600px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(9, 15, 30, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 24px 14px 20px;
  color: white;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.skyscraper.pip {
  background: linear-gradient(180deg, #07111f 0%, #10253f 48%, #0a1729 100%);
}

.skyscraper.pip::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(212,162,76,0.23) 0%, transparent 64%);
}

.skyscraper.pip::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(82, 138, 216, 0.25) 0%, transparent 66%);
}

.skyscraper.exness {
  background: linear-gradient(180deg, #121212 0%, #232325 52%, #131315 100%);
}

.skyscraper.exness::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -75px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.28) 0%, transparent 64%);
}

.skyscraper.exness .sky-logo {
  color: var(--gold);
}

.sky-logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 2px;
  position: relative;
  text-shadow: 0 2px 12px rgba(212, 162, 76, 0.3);
}

.sky-tag {
  font-size: 9.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
}

.sky-amount {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  position: relative;
}

.sky-amount .currency {
  font-size: 0.5em;
  vertical-align: super;
  color: rgba(255,255,255,0.6);
}

.sky-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  position: relative;
}

.sky-features {
  list-style: none;
  font-size: 11.2px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 8px 6px;
}

.sky-features li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sky-features li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

.sky-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #f0c16c 100%);
  color: #07111f;
  font-weight: 700;
  font-size: 11.5px;
  padding: 10px 8px;
  border-radius: 7px;
  text-align: center;
  width: 100%;
  position: relative;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(212, 162, 76, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sky-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(212, 162, 76, 0.38);
}

.ad-tag {
  position: absolute;
  top: 9px;
  left: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #d8deea;
  background: rgba(9, 15, 30, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.ad-dim {
  position: absolute;
  right: 9px;
  bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  padding: 1px 5px;
}

@media (max-width: 1280px) {
  .main-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .left-sidebar,
  .right-sidebar {
    display: none;
  }

  .main-wrap {
    padding: 20px 16px;
  }
}

/* ============ FRONT PAGE MIDDLE SECTIONS (NON-AD) ============ */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.sec-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.sec-title {
  font-family: "Fraunces", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.1;
}

.sec-title .accent {
  color: var(--gold-deep);
  font-style: italic;
}

.sec-head-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: all 0.15s;
}

.view-all:hover {
  border-color: var(--navy);
  background: var(--surface-elev);
}

.view-all .arrow {
  color: var(--gold-deep);
}

.press-tab-link.is-active {
  border-color: var(--gold);
  color: var(--navy);
  background: #fff;
}

.sec-head-right {
  gap: 8px;
}

.sec-head-right .press-tab-link {
  padding: 6px 10px;
  font-size: 11.5px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-elev);
  color: var(--text-soft);
  font-weight: 600;
}

.sec-head-right .press-tab-link:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--navy);
}

.sec-head-right .press-tab-link.is-active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--navy);
  box-shadow: none;
}

.press-panel {
  display: none;
}

.press-panel.active {
  display: block;
}

.press-hub-section {
  background: linear-gradient(180deg, #f9fbff 0%, #f3f7fd 100%);
  border: 1px solid #d6e0ee;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(15, 44, 77, 0.05);
}

.press-hub-section .sec-head {
  margin-bottom: 12px;
}

.press-hub-section .press-hub-tabs {
  background: #edf2f9;
  border: 1px solid #d3deec;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  transform: translateY(-15px);
  margin-top: 25px;
}

.press-hub-section .press-tab-link {
  padding: 7px 12px;
  font-size: 11.5px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}

.press-hub-section .press-tab-link:hover {
  background: #ffffff;
  border-color: #d6e0ee;
}

.press-hub-section .press-tab-link.is-active {
  background: #ffffff;
  border-color: #d6e0ee;
  box-shadow: 0 1px 2px rgba(15, 44, 77, 0.07);
}

.press-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 12px;
}

.press-lead-card {
  position: relative;
  border-radius: 12px;
  padding: 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.press-lead-news {
  background: #ffffff;
  border-color: #d6e0ee;
  color: #0f1b2d;
}

.press-lead-news .press-lead-kicker {
  color: #0f2c4d;
}

.press-lead-news .press-lead-title {
  color: #0f2c4d;
}

.press-lead-news .press-lead-desc {
  color: #4a5d78;
}

.press-lead-news .press-lead-meta {
  color: #6f7f97;
  border-top-color: #d6e0ee;
}

.press-lead-press {
  background: #ffffff;
  border-color: #d6e0ee;
  color: #0f1b2d;
}

.press-lead-edu {
  background: #ffffff;
  border-color: #d6e0ee;
  color: #0f1b2d;
}

.press-lead-press .press-lead-title,
.press-lead-edu .press-lead-title {
  color: #0f2c4d;
}

.press-lead-press .press-lead-desc,
.press-lead-edu .press-lead-desc {
  color: #4a5d78;
}

.press-lead-press .press-lead-meta,
.press-lead-edu .press-lead-meta {
  color: #6f7f97;
  border-top-color: #d6e0ee;
}

.press-lead-kicker {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f2c4d;
  background: #f4d57a;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0;
  line-height: 1;
}

.press-lead-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

.press-lead-thumb {
  height: 156px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  overflow: hidden;
}

.press-lead-thumb a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.press-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.press-lead-desc {
  margin: 12px 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.press-lead-meta {
  margin-top: auto;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}

.press-rail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-auto-rows: 1fr;
}

.press-rail-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 11px;
  row-gap: 5px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d6e0ee;
  border-radius: 10px;
  padding: 10px 10px;
  height: 95px;
  box-shadow: 0 2px 8px rgba(15, 44, 77, 0.04);
  transition: all 0.15s ease;
}

.press-rail-card:hover {
  border-color: #c4d4e9;
  transform: translateY(-1px);
}

.press-rail-thumb {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 80px;
  height: 74px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  overflow: hidden;
}

.press-rail-thumb a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.press-rail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: inherit;
  display: block;
}

.press-hub-section .press-cat {
  grid-column: 2;
  grid-row: 1;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.press-hub-section .press-title {
  grid-column: 2;
  grid-row: 2;
  font-size: 13.5px;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.press-hub-section .press-meta {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #e4ebf4;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
}

.press-hub-section .press-meta .meta-author {
  color: #4f6078;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.press-hub-section .press-meta .meta-time {
  color: #6f7f97;
  white-space: nowrap;
  flex: 0 0 auto;
}

.press-hub-section .press-meta .meta-time::before {
  content: " · ";
  color: #a2afc4;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.feat-tabs-col {
  order: 1;
}

.feat-brokers-col {
  order: 2;
}

.broker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -15px;
}

.broker-list-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px 14px;
  position: relative;
  transition: all 0.15s;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.broker-list-card:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.broker-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), #f0c16c);
  border-radius: var(--r-md) 0 0 var(--r-md);
  opacity: 0;
  transition: opacity 0.15s;
}

.broker-list-card:hover::before {
  opacity: 1;
}

.broker-list-card .broker-rank {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.broker-list-card .broker-logo {
  width: 110px;
  height: auto;
  min-height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.03em;
  color: white;
  flex-shrink: 0;
  box-sizing: border-box;
}

.broker-list-card .broker-logo img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.broker-logo.octa { background: linear-gradient(135deg, #fe6a10 0%, #c84d00 100%); }
.broker-logo.headway { background: linear-gradient(135deg, #1abc9c 0%, #16876e 100%); }
.broker-logo.xm { background: linear-gradient(135deg, #ed1c24 0%, #b30d13 100%); }
.broker-logo.exness { background: linear-gradient(135deg, #ffd500 0%, #c8a600 100%); color: #0f2c4d; }
.broker-logo.roboforex { background: linear-gradient(135deg, #00569c 0%, #003f73 100%); }

.broker-name-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.broker-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.broker-name-row .broker-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.broker-rating-inline {
  font-size: 10.5px;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.broker-rating-inline .stars {
  color: var(--gold);
  letter-spacing: -0.5px;
  font-size: 10.5px;
}

.broker-info-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-soft);
  line-height: 1.4;
  font-weight: 500;
}

.broker-info-line .regulated .reg-plus {
  color: var(--gold-deep, #c58d2b);
  background: rgba(197, 141, 43, 0.08);
  border: 1px solid rgba(197, 141, 43, 0.15);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 9px;
  margin-left: 2px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.3;
}

.broker-info-line .key {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-right: 1px;
}

.broker-info-line .regulated {
  color: var(--success);
  font-weight: 600;
}

.broker-info-line .dot {
  color: var(--line-strong);
  font-weight: 700;
  margin: 0 1px;
}

.broker-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  align-items: stretch;
}

.broker-actions .broker-apply {
  display: block;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  transition: background 0.2s ease-in-out 0s;
  color: #333;
  background: #f7ca18;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 12px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.broker-actions .broker-apply:hover {
  background: #0f2c4d;
  color: #ffffff;
}

.broker-actions .broker-review {
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 10.5px;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.15s;
  white-space: nowrap;
}

.broker-actions .broker-review:hover {
  background: var(--surface-elev);
  border-color: var(--navy);
  color: var(--navy);
}

.feat-tabs-wrap {
  margin-top: -15px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feat-tabs-bar {
  display: flex;
  background: white;
}

.feat-tab-btn {
  flex: 1;
  padding: 12px 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
  border-right: none;
  background: white;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feat-tab-btn:hover {
  color: #4b5563;
  background: rgba(249, 250, 251, 0.5);
}

.feat-tab-btn.active {
  background: white;
  color: #111827;
}

.feat-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #f59e0b;
}

.feat-tab-panel {
  display: none;
  flex: 1;
  min-height: 0;
}

.feat-tab-panel.active {
  display: flex;
  flex-direction: column;
}

.feat-bonus-list {
  display: flex;
  flex-direction: column;
}

.feat-tabs-wrap {
  --feat-row-height: 98px;
}

.bonus-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px dashed #e5e7eb;
  background: white;
  transition: background 0.15s;
}

.bonus-row:last-child {
  border-bottom: none;
}

.bonus-row:hover {
  background: #f9fafb;
}

.feat-tabs-col .bonus-row:hover {
  background: linear-gradient(90deg, transparent, var(--gold-pale));
}

.bonus-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.bonus-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
}

.feat-tabs-wrap .bonus-row .bonus-title,
.premium-bonus-panels .bonus-title {
  font-size: 13px;
  margin-bottom: 6px;
}

.feat-bonus-list .bonus-title {
  line-height: 1.25;
}

.bonus-title i {
  color: #f59e0b;
  margin-top: 2px;
}

.bonus-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.bonus-meta .meta-dot {
  display: none;
}

.bonus-meta .bonus-expiry {
  color: #dc2626;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-amount {
  background: white;
  color: #4b5563;
  padding: 0;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feat-bonus-list .bonus-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px dashed #e5e7eb;
  background: white;
  transition: background 0.15s;
}

.feat-bonus-list .bonus-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.feat-bonus-list .bonus-amount {
  background: white;
  color: #4b5563;
  padding: 0;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-meta .bonus-category {
  color: #4b5563;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-apply-for {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.2;
}

.bonus-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: transparent;
  padding: 0;
  font-size: 20px;
  text-decoration: none;
  font-weight: 300;
  border-radius: 0;
}

.bonus-cta:hover {
  background: transparent;
  color: #4b5563;
}

/* Per-tab row designs removed to keep background white */

.feat-tab-foot {
  padding: 12px 18px;
  background: var(--surface-elev);
  border-top: 1px solid var(--line);
  text-align: center;
  margin-top: auto;
}

.awards-view-all {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-pick {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--r-lg);
  padding: 14px;
  color: white;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.top-pick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, #f0c16c 50%, var(--gold) 100%);
}

.tp-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #f0c16c;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.tp-title {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.tp-broker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  margin-bottom: 14px;
}

.tp-broker-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  background: linear-gradient(135deg, #fe6a10 0%, #c84d00 100%);
  flex-shrink: 0;
}

.tp-broker-name {
  font-weight: 700;
  font-size: 16px;
  color: white;
}

.tp-broker-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "JetBrains Mono", monospace;
  margin-top: 2px;
}

.tp-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.tp-amount {
  font-family: "Fraunces", serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
  line-height: 1;
}

.tp-amount .currency {
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 4px;
}

.tp-amount-tag {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.tp-promo {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(212, 162, 76, 0.4);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tp-promo-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.tp-promo-code {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  color: #f0c16c;
  letter-spacing: 0.04em;
}

.tp-promo-copy {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

.tp-promo-copy.copied {
  background: var(--success);
  color: white;
}

.tp-cta {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.15s;
}

.tp-cta:hover {
  background: #f0c16c;
}

.tp-trust {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.top-pick-compact .tp-broker-row {
  margin-bottom: 8px;
  padding: 8px 10px;
}

.tp-list {
  display: grid;
  gap: 5px;
}

.tp-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.tp-item:nth-child(1) {
  background: linear-gradient(135deg, rgba(212, 162, 76, 0.18) 0%, rgba(212, 162, 76, 0.08) 100%);
  border-color: rgba(212, 162, 76, 0.42);
}

.tp-item:nth-child(2) {
  background: linear-gradient(135deg, rgba(43, 164, 113, 0.18) 0%, rgba(43, 164, 113, 0.08) 100%);
  border-color: rgba(43, 164, 113, 0.42);
}

.tp-item:nth-child(3) {
  background: linear-gradient(135deg, rgba(111, 169, 224, 0.18) 0%, rgba(111, 169, 224, 0.08) 100%);
  border-color: rgba(111, 169, 224, 0.42);
}

.tp-quick-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.tp-cta-compact {
  width: auto;
  min-width: 110px;
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 12px;
}

.top-pick-compact .tp-amount {
  font-size: 30px;
}

.awards-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.awards-head {
  background: linear-gradient(135deg, #f8efd7 0%, #faf3df 100%);
  padding: 16px 20px;
  border-bottom: 1px solid var(--gold-soft);
}

.awards-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.awards-title {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.awards-title .accent {
  color: var(--gold-deep);
  font-style: italic;
}

.awards-sub {
  font-size: 12px;
  color: var(--text-soft);
}

.award-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}

.award-row:last-child {
  border-bottom: none;
}

.award-medal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.award-medal.gold { background: linear-gradient(135deg, #f4c75c, #c8a032); }
.award-medal.silver { background: linear-gradient(135deg, #d4d4d8, #94949c); }
.award-medal.bronze { background: linear-gradient(135deg, #d49654, #985f2c); }
.award-medal.special { background: linear-gradient(135deg, #6fa9e0, #2c5f8d); }

.award-category {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.award-broker {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-top: 1px;
  letter-spacing: -0.01em;
}

.award-arrow {
  color: var(--gold-deep);
  font-size: 16px;
  font-weight: 700;
}

.awards-cards-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.awards-cards-head {
  position: relative;
  padding: 12px 18px 14px;
  background: #f3edd9;
  border-bottom: 1px solid #e6dcc0;
}

.awards-cards-head::after {
  content: "🏆";
  position: absolute;
  right: 12px;
  top: 15px;
  font-size: 76px;
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
}

.awards-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.awards-more-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.awards-cards-head .awards-eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: #8e6418;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.awards-cards-head .awards-title {
  font-size: 20px;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.awards-cards-head .awards-sub {
  font-size: 12px;
  color: #4a5468;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.award-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  background: #f9fbfd;
  transition: all 0.15s ease;
  position: relative;
}

.award-card-main {
  min-width: 0;
}

.award-card:hover {
  transform: translateY(-1px);
  border-color: #d4a24c;
  box-shadow: var(--shadow-sm);
}

.award-card-category {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
  padding-right: 0;
}

.award-card-image {
  width: 100%;
  height: 105px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
  background: #ffffff;
  border: 0;
  padding: 4px;
}

.award-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 5px;
  line-height: 1.2;
}

.award-card-meta {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.award-card-extra {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--text-mute);
  line-height: 1.35;
}

.award-card-link {
  margin-top: 6px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-soft);
}

.award-card-link:hover {
  color: var(--gold-deep);
}

@media (max-width: 980px) {
  .awards-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .awards-cards-grid {
    grid-template-columns: 1fr;
  }

  .award-card {
    grid-template-columns: minmax(0, 1fr) 86px;
  }
}

.tabbed-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tabbed-section .tab-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--line);
  background: var(--surface-elev);
}

.tabbed-section .tab-btn {
  flex: 1;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  border-right: 1px solid var(--line);
  background: var(--surface-elev);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.tabbed-section .tab-btn:last-child {
  border-right: none;
}

.tabbed-section .tab-btn:hover {
  color: var(--navy);
  background: white;
}

.tabbed-section .tab-btn.active {
  color: var(--navy);
  background: white;
  font-weight: 700;
}

.tabbed-section .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.tab-content {
  padding: 20px;
  display: none;
}

.tab-content.active {
  display: block;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.special-item {
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}

.special-item:hover {
  background: white;
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.special-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
}

.special-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.special-broker {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 500;
  margin-top: auto;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.press-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.15s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.press-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.press-thumb {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  color: white;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.press-thumb-1 { background: linear-gradient(135deg, #2a4a3d 0%, #4a7d65 100%); }
.press-thumb-2 { background: linear-gradient(135deg, #1a3d5c 0%, #2c5f8d 100%); }
.press-thumb-3 { background: linear-gradient(135deg, #7a1d3f 0%, #b53e6d 100%); }

.press-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Override generic .press-content wrapper rule from components.css */
.press-grid .press-card .press-thumb {
  height: 100px;
}

.press-grid .press-card .press-content {
  padding: 10px;
}

.press-cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.press-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.press-meta {
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.glossary-grid.is-collapsed .glossary-item:nth-child(n+10) {
  display: none;
}

.glossary-item {
  background: #f7f9fc;
  border: 1px solid #d6dde8;
  border-radius: 10px;
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 124px;
  transition: border-color 0.15s ease;
}

.glossary-item:hover {
  border-color: var(--gold);
}



.glossary-term {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.glossary-term .letter {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #8e6418;
  font-weight: 700;
  background: #efe0bc;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.1;
}

.glossary-item:nth-child(6n+1) .glossary-term .letter {
  color: #8e6418;
  background: #efe0bc;
}

.glossary-item:nth-child(6n+2) .glossary-term .letter {
  color: #15508e;
  background: #dbeafe;
}

.glossary-item:nth-child(6n+3) .glossary-term .letter {
  color: #5b3f9a;
  background: #ece4ff;
}

.glossary-item:nth-child(6n+4) .glossary-term .letter {
  color: #1f7a4a;
  background: #dcf6e8;
}

.glossary-item:nth-child(6n+5) .glossary-term .letter {
  color: #8b4a1f;
  background: #ffe9d8;
}

.glossary-item:nth-child(6n+6) .glossary-term .letter {
  color: #7a2f68;
  background: #f8e2f2;
}

.glossary-def {
  font-size: 13px;
  color: #4b556b;
  line-height: 1.45;
  margin: 0;
}

/* Trust Matrix */
.trust-matrix-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trust-matrix-section .tm-view-all {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #d4dbe6;
  background: #ffffff;
  color: #0f1b2d;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-matrix-section .tm-view-all .arrow {
  color: #8e6418;
}

.trust-matrix-section .tm-view-all:hover {
  border-color: #c5cfdd;
  background: #f9fbfd;
  color: #0f1b2d;
}

.trust-matrix-scroll {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.trust-matrix-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
}

.trust-matrix-table th:nth-child(1) { width: 18%; }
.trust-matrix-table th:nth-child(2) { width: 11%; }
.trust-matrix-table th:nth-child(3) { width: 16%; }
.trust-matrix-table th:nth-child(4) { width: 22%; }
.trust-matrix-table th:nth-child(5) { width: 11%; }
.trust-matrix-table th:nth-child(6) { width: 12%; }
.trust-matrix-table th:nth-child(7) { width: 10%; }

.trust-matrix-table th {
  background: var(--surface-elev);
  color: var(--navy);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.trust-matrix-table td {
  padding: 11px 10px;
  font-size: 12.5px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.trust-matrix-table tbody tr:last-child td {
  border-bottom: none;
}

.trust-matrix-table tbody tr:hover {
  background: var(--surface-elev);
}

.tm-score {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
}

.tm-score.high {
  background: var(--success-soft);
  color: var(--success);
}

.tm-score.mid {
  background: var(--warning-soft);
  color: var(--warning);
}

.tm-chip {
  display: inline-flex;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-chip.good {
  background: var(--success-soft);
  color: var(--success);
}

.tm-chip.mid {
  background: var(--warning-soft);
  color: var(--warning);
}

.tm-chip.risky {
  background: var(--danger-soft);
  color: var(--danger);
}

.tm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s;
}

.tm-cta:hover {
  background: var(--gold-deep);
}

@media (max-width: 1280px) {
  .press-hub-layout {
    grid-template-columns: 1fr;
  }

  .press-lead-title {
    font-size: 17px;
  }

  .press-rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feat-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .special-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-grid,
  .glossary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .press-hub-section .press-hub-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .press-hub-section .press-tab-link {
    white-space: nowrap;
  }

  .press-rail-grid {
    grid-template-columns: 1fr;
  }

  .press-lead-title {
    font-size: 17px;
  }



  .press-grid,
  .glossary-grid,
  .special-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  position: relative;
  background: #0f2c4d;
  color: rgba(255, 255, 255, 0.74);
  padding: 42px 24px 28px;
  font-size: 12.5px;
  margin-top: 16px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #7b5416 0%,
    #c58f2f 12%,
    #f2cf7f 24%,
    #bb8529 36%,
    #93661b 50%,
    #c99539 64%,
    #f7da97 78%,
    #b57f23 90%,
    #744f13 100%
  );
  z-index: 2;
}


.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-community {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-community-head {
  text-align: center;
  margin-bottom: 14px;
}

.footer-community-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4a24c;
  margin-bottom: 8px;
}

.footer-community-eyebrow::before,
.footer-community-eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(212, 162, 76, 0.4);
}

.footer-community-title {
  color: #f6f8fc;
  font-family: "Fraunces", serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.footer-community-title span {
  color: #d4a24c;
  font-style: italic;
}

.footer-community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.footer-community-card {
  position: relative;
  background: rgba(10, 31, 56, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  color: #dbe4f4;
  transition: all 0.15s ease;
}

.footer-community-card:hover {
  border-color: rgba(212, 162, 76, 0.6);
  transform: translateY(-1px);
}

.fcc-icon {
  font-size: 16px;
  line-height: 1;
  margin-top: 3px;
}

.fcc-content h4 {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.fcc-content p {
  color: rgba(219, 228, 244, 0.75);
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 8px;
}

.fcc-meta {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #d4a24c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(212, 162, 76, 0.35);
  background: rgba(212, 162, 76, 0.08);
}

.fcc-arrow {
  color: #d4a24c;
  font-size: 16px;
  align-self: center;
  margin-top: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(130px, 1fr));
  gap: 26px;
  margin-bottom: 24px;
}

.footer-action-row {
  margin: 0 0 20px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-action-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.footer-action-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 31, 56, 0.52);
  transition: all 0.2s ease;
}

.footer-action-card--1 {
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.36), rgba(10, 31, 56, 0.52));
}

.footer-action-card--2 {
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.44), rgba(10, 31, 56, 0.60));
}

.footer-action-card--3 {
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.52), rgba(10, 31, 56, 0.68));
}

.footer-action-card--4 {
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.40), rgba(10, 31, 56, 0.56));
}

.footer-action-card--5 {
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.48), rgba(10, 31, 56, 0.64));
}

.footer-action-card:hover {
  border-color: rgba(212, 162, 76, 0.65);
  transform: translateY(-1px);
}

.fac-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.afb-nav-shell {
  background: #0f2c4d;
  border-bottom: 3px solid #d4a24c;
  margin-bottom: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.afb-nav-shell.is-sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.fac-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fac-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.fac-sub {
  color: rgba(220, 232, 247, 0.72);
  font-size: 11px;
  line-height: 1.35;
}

.fac-arrow {
  color: #d4a24c;
  font-size: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 7px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: #f2bf53;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo-svg {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0a1f38;
  color: #f2bf53;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.footer-about {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  font-size: 11.5px;
}

.footer-disclaimer strong {
  color: #ffffff;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom > div:last-child {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1200px) {
  .footer-community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(140px, 1fr));
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-action-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .footer-action-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-community-title {
    font-size: 28px;
  }

  .footer-community-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 34px 16px 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .footer-action-cards {
    grid-template-columns: 1fr;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
  }
  
  .footer-col:first-child .footer-logo {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  .footer-logo-text {
    font-size: 21px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom > div:last-child {
    gap: 12px;
  }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast::before { content: "✓ "; color: var(--success); font-weight: 700; }

@media (max-width: 640px) {
  .nav { display: none; }
  .top-ad-strip .ad-slot { width: 320px; height: 50px; }
  .ad-leaderboard { width: 100%; height: 60px; }
}

/* ===========================
   SCREENSHOT HEADER MATCH
   =========================== */

.afb-top-shell {
  background: #f6f6f6;
  border-bottom: 1px solid #cfd6e2;
}

.afb-top-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 18px 54px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.afb-brand {
  display: inline-flex;
  align-items: center;
  max-width: 430px;
}

.afb-brand-svg {
  display: block;
  width: 100%;
  max-width: 285px;
  height: auto;
}

.afb-brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #0f2c4d;
  color: #d4a24c;
  font-weight: 700;
  font-size: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.afb-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.afb-brand-title {
  font-size: 20px;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.afb-brand-all,
.afb-brand-bonus {
  color: #0f2c4d;
}

.afb-brand-forex {
  color: #d4a24c;
}

.afb-brand-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #8e6418;
  letter-spacing: 0.18em;
}

.afb-top-sponsor {
  min-height: 90px;
  width: 730px;
  max-width: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10624f 0%, #0b7059 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 18px;
  position: relative;
}

.afb-top-sponsor-label {
  position: absolute;
  top: 7px;
  left: 8px;
  font-size: 9px;
  font-weight: 600;
  color: #6f8f84;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.04em;
  font-family: "JetBrains Mono", monospace;
}

.afb-top-sponsor-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.afb-top-sponsor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.afb-top-sponsor-broker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.afb-top-sponsor-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #ecf2f3;
  color: #0f5f4c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.afb-top-sponsor-offer {
  font-size: 22px;
  font-weight: 700;
  color: #f7ca63;
  letter-spacing: -0.025em;
}

.afb-top-sponsor-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.afb-top-sponsor-cta {
  background: #d4a24c;
  color: #0f1b2d;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #e2e7ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.afb-nav-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 54px;
  display: flex;
  align-items: center;
  gap: 0;
}

.afb-home-btn {
  width: 52px;
  height: 52px;
  background: #d4a24c;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  border-radius: 0;
  border: none;
  margin: 0;
}

.afb-home-btn:hover {
  background: #c58d2b;
  color: #ffffff !important;
}

.afb-main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow: visible; /* Prevent dropdown clipping on desktop */
}

.afb-main-nav .afb-nav-item {
  display: inline-flex;
  position: relative;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.afb-main-nav .afb-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 8px 20px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.afb-main-nav .afb-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.afb-main-nav .afb-nav-item.is-active .afb-nav-link {
  color: #ffffff !important;
  background: #d4a24c;
  font-weight: 700;
}

.afb-main-nav .afb-nav-item.is-active .afb-nav-link:hover {
  background: #c58d2b;
}

/* Caret icon styles on desktop */
.afb-main-nav .dropdown-caret {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
  opacity: 0.8;
}

.afb-main-nav .afb-nav-item:hover .dropdown-caret {
  transform: rotate(225deg);
  margin-top: 3px;
  opacity: 1;
}

/* Dropdown Menu on Desktop hover */
.afb-main-nav .afb-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: #0f2c4d;
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #d4a24c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1050;
}

.afb-main-nav .afb-nav-item:hover .afb-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.afb-main-nav .afb-dropdown-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-left: 3px solid transparent;
}

.afb-main-nav .afb-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-left-color: #d4a24c;
  padding-left: 16px;
}

.afb-main-nav .afb-dropdown-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-left-color: #d4a24c;
  font-weight: 600;
}

/* Hamburger button styling */
.hamburger {
  padding: 10px;
  display: none;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
  color: #4a5468;
  transition: color 0.15s ease;
  flex-shrink: 0;
  outline: none;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  color: #0f2c4d;
}

.hamburger-box {
  width: 20px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease, background-color 0s 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease;
}

.hamburger-inner::before {
  top: -6px;
}

.hamburger-inner::after {
  bottom: -6px;
}

.hamburger.is-active .hamburger-inner {
  transform: rotate(45deg);
  background-color: transparent !important;
  transition: transform 0.15s ease, background-color 0s 0s ease;
}

.hamburger.is-active .hamburger-inner::before {
  top: 0;
  transform: rotate(90deg);
}

.hamburger.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(90deg);
}

/* Mobile Drawer Overlay Container */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f2c4d;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
  overflow-y: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-title {
  font-weight: 700;
  color: #0f2c4d;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-search {
  margin-bottom: 24px;
  width: 100%;
}

.mobile-search .afb-search-form {
  width: 100%;
}

.mobile-search .afb-search-input-wrapper {
  width: 100%;
}

.mobile-search .afb-search-input {
  width: 100% !important;
  box-sizing: border-box;
  padding: 0 40px 0 16px !important;
  height: 42px !important;
  border-radius: 8px !important;
}

.afb-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.afb-mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.afb-mobile-nav-item:last-child {
  border-bottom: 0;
}

.afb-mobile-nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.afb-mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 10px 0;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
}

.afb-mobile-nav-link.is-active {
  color: #d4a24c;
}

.afb-mobile-submenu-toggle {
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.afb-mobile-submenu-toggle .caret-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: block;
  margin-top: -4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.afb-mobile-nav-item.is-open .afb-mobile-submenu-toggle {
  color: #d4a24c;
}

.afb-mobile-nav-item.is-open .afb-mobile-submenu-toggle .caret-icon {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* Accordion nested dropdown menu */
.afb-mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(212, 162, 76, 0.15);
  margin-left: 4px;
}

.afb-mobile-nav-item.is-open .afb-mobile-dropdown-menu {
  max-height: 500px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.afb-mobile-dropdown-link {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.afb-mobile-dropdown-link:hover,
.afb-mobile-dropdown-link.is-active {
  color: #d4a24c;
}

.afb-new-badge {
  margin-left: 7px;
  font-size: 9.5px;
  line-height: 1;
  color: #ffffff;
  background: #10b981;
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: afbBadgePulse 2s infinite;
}

@keyframes afbBadgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.afb-hot-badge {
  margin-left: 7px;
  font-size: 9.5px;
  line-height: 1;
  color: #ffffff;
  background: #ef4444;
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  animation: afbHotBadgePulse 2s infinite;
}

@keyframes afbHotBadgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.afb-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.afb-search-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.afb-search-input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.afb-search-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  background: transparent;
  border: none;
  height: 30px;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
  z-index: 2;
}

.afb-search-type-btn {
  border: 0;
  background: transparent;
  color: #6e7787;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
  font-family: var(--font-body);
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.afb-search-type-btn.is-active {
  background: #fff;
  color: #2a9df4;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.afb-search-input {
  width: 280px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #d1d8e4;
  background: #eef1f5;
  padding: 0 135px 0 36px;
  font-size: 14px;
  color: #4a5468;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B95A8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.afb-search-input:focus {
  outline: none;
  border-color: #d4a24c;
}

.afb-get-alerts {
  height: 38px;
  padding: 0 17px;
  border-radius: 9px;
  background: #d4a24c;
  color: #0f1b2d;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.afb-wide-promo {
  padding: 0 0 0;
  max-width: 1425px;
  margin: auto;
}

.afb-wide-promo-inner {
  width: 100%;
  min-height: 84px;
  border-radius: 10px;
  background: #2a48bb;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  color: #fff;
  position: relative;
}

.afb-wide-promo-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #ffffff;
  color: #2a48bb;
  font-weight: 700;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.afb-wide-promo-brand {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 6px;
}

.afb-wide-promo-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.afb-wide-promo-offer {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.afb-wide-promo-offer strong {
  color: #f3be47;
}

.afb-wide-promo-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-left: 0;
}

.afb-wide-promo-cta {
  background: #d9ac4f;
  color: #0f1b2d;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 28px;
  white-space: nowrap;
}

.afb-wide-promo-terms {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-align: right;
  line-height: 1.2;
}

.afb-wide-promo-size {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  color: #90a5da;
  background: rgba(12, 29, 83, 0.5);
  padding: 1px 5px;
  border-radius: 3px;
}

@media (max-width: 1400px) {
  .afb-top-inner,
  .afb-nav-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .afb-brand-title {
    font-size: 18px;
  }

  .afb-top-sponsor-broker {
    font-size: 15px;
  }

  .afb-top-sponsor-offer {
    font-size: 20px;
  }

  .afb-top-sponsor-sub {
    font-size: 11px;
  }

  .afb-top-sponsor-cta {
    font-size: 12px;
  }

  .afb-wide-promo-brand {
    font-size: 26px;
  }

  .afb-wide-promo-offer {
    font-size: 30px;
  }

  .afb-wide-promo-sub {
    font-size: 12px;
  }

  .afb-wide-promo-cta {
    font-size: 12px;
  }

  .afb-wide-promo-terms {
    font-size: 10px;
  }
}

@media (max-width: 960px) {
  .afb-top-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .afb-top-sponsor {
    width: 100%;
  }

  .afb-main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .afb-nav-tools {
    display: none;
  }

  .afb-nav-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .afb-home-logo .header-logo-svg {
    width: 120px !important;
    max-width: 100%;
  }

  .afb-wide-promo-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .afb-wide-promo-sub {
    order: 5;
    margin-left: 0;
    flex: 0 0 100%;
  }

  .afb-wide-promo-cta {
    white-space: normal;
    height: auto;
    text-align: center;
    line-height: 1.4;
    padding: 10px 16px;
    max-width: 100%;
  }

  .afb-wide-promo-terms,
  .afb-wide-promo-size {
    display: none;
  }
}

@media (max-width: 640px) {
  .afb-search-input {
    width: 220px;
    height: 32px;
    padding: 0 100px 0 28px;
    background-position: 8px center;
  }

  .afb-search-toggle {
    height: 26px;
    right: 3px;
  }

  .afb-search-type-btn {
    padding: 3px 6px;
    font-size: 9px;
    height: 22px;
  }

  .afb-get-alerts {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* Utility Bar */
.utility-bar {
  background: #0d1b2f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.utility-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 7px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.utility-trust,
.utility-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-trust .live {
  color: #f2bf53;
  font-weight: 600;
}

.utility-trust .check {
  color: #f2bf53;
  margin-right: 4px;
}

.utility-actions a {
  color: rgba(255, 255, 255, 0.78);
}

.utility-actions a:hover {
  color: #d4a24c;
}

.utility-actions-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.utility-actions-menu li {
  margin: 0;
}

@media (max-width: 960px) {
  .utility-inner {
    padding: 7px 18px;
  }
}

@media (max-width: 640px) {
  .utility-trust {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }
}

/* Dynamic Hide of Pagination Container when JavaScript is active */
html.js #pagination-container {
  display: none !important;
}
