/* ==========================================================================
   Belec 2026 — Home page (hero + ticker, value-prop, brand strip, newsletter)
   ========================================================================== */

.bel-home { padding-bottom: 60px; }

/* On home, let the bel-shell sections control width (drop Bootstrap .container cap) */
body#index #columns.container { max-width: none; width: 100%; padding: 0; }
body#index #center_column { width: 100%; padding: 0; float: none; }
body#index #columns > .row { margin: 0; }
/* hide legacy themeconfigurator promos above the hero (homeslider is the hero) */
body#index #top_column { display: none; }

/* eyebrow sits on the gold value-prop block */
.bel-valueprop .bel-eyebrow { color: var(--bel-gold-ink); opacity: .7; }

/* ---- Hero (slider kept + ticker beside it) ------------------------------ */
.bel-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin: 28px 0 0;
  align-items: stretch;
}
.bel-hero__slider {
  position: relative;
  border-radius: var(--bel-r-lg);
  overflow: hidden;
  background: var(--bel-fixed-ink);
  min-height: 380px;
}
/* keep homeslider (#homepage-slider/#homeslider) functional, just frame it */
.bel-hero__slider #homepage-slider,
.bel-hero__slider #homeslider { width: 100%; margin: 0; }
.bel-hero__slider #homeslider img { width: 100%; height: auto; display: block; }
.bel-hero__slider .homeslider-description {
  background: linear-gradient(180deg, transparent, rgba(14,14,12,.78));
  color: var(--bel-paper);
}

/* Ticker — live-feed style list of featured/new products */
.bel-hero__ticker {
  background: var(--bel-fixed-ink);
  color: var(--bel-fixed-on-ink);
  border-radius: var(--bel-r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bel-hero__ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--bel-font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bel-fixed-on-ink-mut);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bel-fixed-rule);
}
.bel-hero__ticker-head .bel-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bel-stock-ok);
  animation: bel-pulse 2s infinite;
}
.bel-hero__ticker-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--bel-r-sm);
  transition: background-color var(--bel-fast) var(--bel-ease);
}
.bel-hero__ticker-row:hover { background: rgba(245,206,26,.08); }
.bel-hero__ticker-row .name { font-size: 13px; color: var(--bel-fixed-on-ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bel-hero__ticker-row .sku { font-family: var(--bel-font-mono); font-size: 10px; color: rgba(244,242,232,.45); }
.bel-hero__ticker-row .price { color: var(--bel-gold); }
.bel-hero__ticker-row .price { font-family: var(--bel-font-display); font-size: 16px; font-weight: 700; }

@keyframes bel-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15,122,60,.6); }
  70%  { box-shadow: 0 0 0 6px rgba(15,122,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(15,122,60,0); }
}

/* ---- Value prop (surplus CTA) ------------------------------------------ */
.bel-valueprop {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bel-gold);
  color: var(--bel-gold-ink);
  border-radius: var(--bel-r-lg);
  padding: 40px;
  overflow: hidden;
}
.bel-valueprop__title { font-family: var(--bel-font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.bel-valueprop__sub { margin-top: 12px; max-width: 460px; font-size: 16px; opacity: .85; }
.bel-valueprop__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.bel-valueprop__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bel-valueprop__stat { background: var(--bel-gold-ink); color: var(--bel-gold); border-radius: var(--bel-r-md); padding: 18px; }
.bel-valueprop__stat .num { font-family: var(--bel-font-display); font-size: 30px; font-weight: 800; }
.bel-valueprop__stat .lbl { font-family: var(--bel-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---- Brand strip (manufacturer marquee) -------------------------------- */
.bel-brand-strip { overflow: hidden; border-block: 1px solid var(--bel-rule); padding: 22px 0; }
.bel-brand-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: bel-marquee 38s linear infinite;
}
.bel-brand-strip:hover .bel-brand-strip__track { animation-play-state: paused; }
.bel-brand-strip__brand { font-family: var(--bel-font-display); font-weight: 700; font-size: 18px; color: var(--bel-muted); opacity: .8; }
.bel-brand-strip__brand:hover { color: var(--bel-ink); opacity: 1; }
.bel-brand-strip__brand img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; }
.bel-brand-strip__brand:hover img { filter: none; opacity: 1; }

/* ---- Newsletter hero (footer-adjacent capture) -------------------------- */
.bel-surplus-hero {
  position: relative;
  background: var(--bel-fixed-ink);
  color: var(--bel-fixed-on-ink);
  border-radius: var(--bel-r-lg);
  padding: 56px;
  overflow: hidden;
}
.bel-surplus-hero__title { font-family: var(--bel-font-display); font-size: clamp(30px, 5vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.bel-surplus-hero__title em { color: var(--bel-gold); font-style: normal; }
.bel-surplus-hero__sub { margin-top: 14px; font-size: 16px; opacity: .8; max-width: 560px; }

@media (max-width: 980px) {
  .bel-hero { grid-template-columns: 1fr; }
  .bel-hero__ticker { order: -1; }
}
@media (max-width: 760px) {
  .bel-valueprop { grid-template-columns: 1fr; padding: 24px; }
  .bel-surplus-hero { padding: 32px; }
  .bel-hero__ticker { display: none; }
}
