/* Forex Daily — front-page.php.
   Hero row: 65% main / 35% side. Colors from --fxd-*, layout/spacing/
   type from --fdt-* (see assets/css/variables.css). */

.front-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--fdt-space-4) var(--fdt-space-3);
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: var(--fdt-space-4);
  align-items: start;
}

.front-hero__side {
  min-width: 0;
}

.front-hero__ad {
  margin-top: var(--fdt-space-4);
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .front-hero {
    grid-template-columns: 1fr;
  }
}

/* ── Promo panel (65% column) ─────────────────────────────────── */

.promo-panel {
  background: var(--fxd-surface);
  border-radius: var(--fdt-radius-lg);
  padding: 15px 20px 10px 20px;
}

.promo-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--fdt-space-3);
  padding-bottom: var(--fdt-space-3);
  border-bottom: 1px solid var(--fxd-border);
}

.promo-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fxd-primary);
  flex-shrink: 0;
}

.promo-panel__heading {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--fxd-text);
}

.promo-panel__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--fxd-primary);
  text-decoration: none;
  white-space: nowrap;
}

.promo-panel__more:hover {
  text-decoration: underline;
}

.promo-panel__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--fdt-space-4);
}

@media (max-width: 640px) {
  .promo-panel__list {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Homepage-only ("Latest Forex Bonuses & Promotions", front-hero__main
     — see front-page.php). Columns stack full-height here (left col's
     items then right col's items), so cap each .promo-col at 3 items —
     3+3 = 6 posts shown on mobile instead of all 10
     fordai_render_latest_promos() pulls. Desktop keeps the full 5+5
     two-column list; the .promo-panel markup reused elsewhere (e.g.
     the single-post sidebar's Recent Posts / Forex No Deposit Bonus
     panels in inc/render-single-post-sidebar.php) is scoped out via
     .home .front-hero__main and unaffected.  */
  .home .front-hero__main .promo-col .promo-item:nth-child(n + 4) {
    display: none;
  }
}

.promo-col {
  display: flex;
  flex-direction: column;
	gap:8px;
}

.promo-item {
  padding: 10px;
  border-bottom: 1px solid var(--fxd-border);
}

.promo-col .promo-item:last-child {
  border-bottom: none;
}

.promo-item__title {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.promo-item__title a {
  color: var(--fxd-text);
  text-decoration: none;
}

.promo-item__title a:hover {
  color: var(--fxd-primary);
}

.promo-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--fxd-text-muted);
}

.promo-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fxd-primary);
  flex-shrink: 0;
}

.promo-item__badge {
  background: var(--fxd-primary-tint);
  color: var(--fxd-primary);
  font-size: 10px;
  font-weight: 400;
  padding: 1px 5px;
  border-radius: var(--fdt-radius-sm);
}
