/*=========================
TOP HEADER
==========================*/

.top-header{
    background:#ffffff;
    border-bottom:1px solid #ececec;
    font-size:13px;

}

.top-header .container{

    max-width:1180px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    padding:10px 15px;

}

.top-left{

    display:flex;
    align-items:center;
    gap:25px;

    flex-wrap:wrap;

}

.top-left a{

    color:#555;
    text-decoration:none;
    font-weight:500;
    transition:.3s;

}

.top-left a:hover{

    color:#4264fb;

}


.top-right{

    display:flex;
    align-items:center;
    gap:18px;

    flex-wrap:wrap;

}


.update-date{

    display:flex;
    align-items:center;
    gap:6px;

    color:#777;
    white-space:nowrap;

}

.update-date i{

    color:#ff8a00;
    font-size:12px;

}

.update-date span{

    color:#4264fb;
    font-weight:700;

}


/*=========================
SOCIAL
==========================*/

.top-social{

    display:flex;
    align-items:center;
    gap:8px;
    

}

.top-social a{

    width:30px;
    height:30px;

    border-radius:50%;

    background:#f5f6fb;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    color:#666;

    transition:.3s;

    border:1px solid #e6e6e6;

}

.top-social a:hover{

    background:#4264fb;
    color:#fff;
    transform:translateY(-2px);

}



/*=========================
TABLET
==========================*/

@media(max-width:991px){

.top-header .container{

    flex-direction:column;
    justify-content:center;
    gap:12px;

}

.top-left{

    justify-content:center;

}

.top-right{

    justify-content:center;

}

}


/*=========================
MOBILE
==========================*/

@media(max-width:576px){

.top-header{
    display: none;
}

}


/* ════════════════════════════════════════════
   HOMEPAGE STYLES — clean, no conflicts
   ════════════════════════════════════════════ */

/* ── Section spacing: tight & uniform ─── */
.hp-section { margin-bottom: 16px; }

/* ── 2-column main layout ─────────────── */
.hp-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
  padding: 20px 0 40px;
}
.hp-main  { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hp-aside { position: sticky; top: calc(var(--header-h) + 10px); display: flex; flex-direction: column; gap: 14px; }

/* ── White card ───────────────────────── */
.wc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}

/* ── Section header w/ blue dot ──────── */
.sh {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.sh::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.sh a {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-body);
}
.sh a:hover { text-decoration: underline; }

/* ── Bonus text list row ──────────────── */
.bl-row {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.bl-row:last-child { border-bottom: none; }
.bl-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  line-height: 1.4;
  display: block;
}
.bl-title:hover { color: var(--accent); }
.bl-date { font-size: 11px; color: var(--muted); margin-top: 2px; }
.bl-date.updated { color: var(--amber); }

/* ── 2-col text grid ──────────────────── */
.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* ── 3-col equal-height card grid ─────── */
.c3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.c4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.c2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }

/* ── Award card ───────────────────────── */
.aw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  transition: all .18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.aw-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.aw-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg,#fef3c7,#fbbf24);
  border: 3px solid #fbbf24;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 6px;
}
.aw-yr  { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.aw-nm  { font-size: 14px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.aw-cat { font-size: 10px; color: var(--ink3); line-height: 1.4; }
.aw-rd  { font-size: 11px; color: var(--accent); margin-top: 4px; font-weight: 600; }

/* ── 3-col mixed (sponsored + list + ad) */
.mixed { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: stretch; }

/* ── Sponsored mini card ──────────────── */
.sp-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sp-logo { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 900; flex-shrink: 0; }
.sp-name { font-size: 14px; font-weight: 800; color: var(--ink); }
.sp-tag  { font-size: 11px; color: var(--ink3); }
.sp-desc { font-size: 12px; color: var(--ink2); line-height: 1.6; margin-bottom: 10px; flex: 1; }
.sp-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-tag-pill { font-size: 10px; font-weight: 700; background: var(--surface2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 3px; color: var(--ink3); }
.sp-btns { display: flex; gap: 7px; }
.sp-btns .btn { flex: 1; justify-content: center; font-size: 12px; }

/* ── Ad placeholder (mini) ────────────── */
.ad-mini {
  background: var(--surface2);
  border: 1.5px dashed var(--border2);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color .15s;
  height: 100%;
  min-height: 200px;
  padding: 16px;
}
.ad-mini:hover { border-color: var(--accent); }
.ad-mini-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ad-mini-size  { font-size: 11px; font-weight: 800; color: var(--ink3); font-family: var(--font-display); }
.ad-mini-price { font-size: 13px; font-weight: 900; color: var(--accent); font-family: var(--font-display); }

/* ── In-content ad (full width) ──────── */
.ic-ad {
  background: linear-gradient(135deg, var(--surface2), #e8edfb);
  border: 1.5px dashed var(--border2);
  border-radius: var(--r-md);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color .15s;
}
.ic-ad:hover { border-color: var(--accent); }
.ic-ad-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ic-ad-text  { font-size: 13px; font-weight: 700; color: var(--ink3); font-family: var(--font-display); }
.ic-ad-price { font-size: 13px; font-weight: 900; color: var(--accent); font-family: var(--font-display); }

/* ── News card ────────────────────────── */
.news-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-title { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 4px; }
.news-title:hover { color: var(--accent); }
.news-body  { font-size: 12px; color: var(--ink3); line-height: 1.56; margin-bottom: 4px; }
.news-date  { font-size: 10px; color: var(--muted); }

/* ── New broker card ──────────────────── */
.nb-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.nb-card:last-child { margin-bottom: 0; }
.nb-num  { font-family: var(--font-display); font-size: 11px; font-weight: 900; color: var(--ink3); width: 18px; flex-shrink: 0; }
.nb-logo { width: 32px; height: 32px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 9px; font-weight: 900; flex-shrink: 0; }
.nb-info { flex: 1; min-width: 0; }
.nb-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.nb-meta { font-size: 10px; color: var(--ink3); line-height: 1.5; margin-top: 2px; }

/* ── Sidebar featured broker ──────────── */
.fb-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.fb-row:last-child { border-bottom: none; }
.fb-logo { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 9px; font-weight: 900; color: var(--accent); flex-shrink: 0; }
.fb-info { flex: 1; min-width: 0; }
.fb-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.fb-tag  { font-size: 10px; color: var(--ink3); margin-top: 1px; line-height: 1.35; }
.fb-stars { color: var(--gold); font-size: 10px; }
.fb-chips { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 3px; }
.fb-chip  { font-size: 9px; font-weight: 600; background: var(--surface2); border: 1px solid var(--border); padding: 1px 4px; border-radius: 2px; color: var(--ink3); }
.fb-btns  { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.fb-open  { font-size: 10px; padding: 3px 8px; background: var(--accent); color: #fff; border-radius: 4px; font-weight: 700; white-space: nowrap; text-align: center; }
.fb-open:hover { background: var(--accent-dk); }
.fb-rev   { font-size: 10px; color: var(--accent); text-align: right; font-weight: 600; }
.fb-rev:hover { text-decoration: underline; }

/* ── Best promotions mini ─────────────── */
.bp-row { display: flex; align-items: center; gap: 9px; padding: 8px; background: var(--surface2); border-radius: var(--r-sm); margin-bottom: 7px; }
.bp-row:last-child { margin-bottom: 0; }
.bp-logo { width: 28px; height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 8px; font-weight: 900; flex-shrink: 0; }
.bp-info { flex: 1; }
.bp-name { font-size: 11px; font-weight: 700; color: var(--ink); }
.bp-tag  { font-size: 10px; color: var(--ink3); }
.bp-btn  { font-size: 9px; padding: 3px 8px; background: var(--accent); color: #fff; border-radius: 3px; font-weight: 700; white-space: nowrap; }

/* ── Common brokers ───────────────────── */
.cb-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 8px; }
.cb-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--r-sm); transition: all .15s; }
.cb-item:hover { border-color: var(--accent); background: var(--accent-lt); }
.cb-logo { width: 28px; height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 8px; font-weight: 900; flex-shrink: 0; }
.cb-nm { font-size: 11px; font-weight: 700; color: var(--ink); }
.cb-tg { font-size: 9px; color: var(--ink3); line-height: 1.3; }

/* ── Add promo bar ────────────────────── */
.promo-bar {
  background: linear-gradient(135deg,#0f172a,#1e3a5f);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.promo-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%,rgba(37,99,235,.2) 0%,transparent 70%);
  pointer-events: none;
}

/* ── Footer ───────────────────────────── */
.ft-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ══════════════════════════════════════
   MOBILE NAV — completely self-contained
   ══════════════════════════════════════ */
#mobileNav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 400;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
#mobileNav.is-open { display: flex; }

.mn-item { border-bottom: 1px solid #e2e5f0; }

.mn-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3550;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .1s;
}
.mn-trigger:active { background: #f0f2f8; }
.mn-trigger.has-sub { padding-right: 44px; position: relative; }
.mn-trigger.has-sub::after {
  content: '›';
  position: absolute;
  right: 18px;
  top: 50%; transform: translateY(-50%) rotate(90deg);
  font-size: 18px;
  color: #95a0bc;
  transition: transform .22s;
  line-height: 1;
}
.mn-trigger.has-sub.is-open::after {
  transform: translateY(-50%) rotate(270deg);
}
.mn-trigger.is-link { color: #2563eb; }

.mn-sub-panel {
  display: none;
  background: #f8f9fd;
  border-top: 1px solid #e2e5f0;
}
.mn-sub-panel.is-open { display: block; }

.mn-sub-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 500;
  color: #2d3550;
  border-bottom: 1px solid #e2e5f0;
  -webkit-tap-highlight-color: transparent;
  transition: background .1s;
}
.mn-sub-panel a:last-child { border-bottom: none; }
.mn-sub-panel a:active { background: #eff6ff; color: #2563eb; }

.mn-footer-btns {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f0f2f8;
  border-top: 2px solid #e2e5f0;
  margin-top: auto;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SEARCH MODAL
   ══════════════════════════════════════ */
#searchModal {
  position: fixed; inset: 0;
  background: rgba(11,17,32,.75);
  backdrop-filter: blur(5px);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 20px;
}
#searchModal.is-open { display: flex; }
.sm-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 8px 40px rgba(11,17,32,.22);
  animation: sm-in .18s ease;
}
@keyframes sm-in { from { opacity:0; transform:scale(.96) translateY(-8px); } to { opacity:1; transform:none; } }
.sm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #2563eb;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.sm-row input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: #0b1120; background: none;
  font-family: inherit;
}
.sm-row input::placeholder { color: #95a0bc; }
.sm-close-btn {
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: #95a0bc; padding: 0 2px; line-height: 1;
}
.sm-close-btn:hover { color: #0b1120; }
.sm-hint { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #95a0bc; margin-bottom: 9px; }
.sm-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.sm-tag {
  padding: 6px 13px;
  background: #f0f2f8;
  border: 1.5px solid #e2e5f0;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #2d3550;
  cursor: pointer;
  transition: all .12s;
  -webkit-tap-highlight-color: transparent;
}
.sm-tag:hover, .sm-tag:active { border-color: #2563eb; color: #2563eb; background: #eff6ff; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .c4 { grid-template-columns: repeat(2,1fr); }
  .c3, .mixed { grid-template-columns: repeat(2,1fr); }
  .hp-wrap { grid-template-columns: 1fr; }
  .hp-aside { position: static; }
  .ft-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .site-nav { display: none !important; }
  .header-actions .btn-primary { display: none !important; }
  .nav-toggle { display: flex !important; }
  .c4 { grid-template-columns: repeat(2,1fr); }
  .c3, .mixed { grid-template-columns: 1fr; }
  .c2 { grid-template-columns: 1fr; }
  .tc-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-finder { display: none !important; }
  .ic-ad { height: 60px; }
  .ft-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .c4 { grid-template-columns: repeat(2,1fr); }
  .ft-grid { grid-template-columns: repeat(2,1fr); }
  .cb-grid { grid-template-columns: repeat(2,1fr); }
  .container { padding: 0 12px; }
}
 