/* =====================================================================
   HP - Why Precious Metals. Dark navy band below the social proof:
   left column = gold eyebrow + two-tone H2 (white / gold) + body copy +
   a muted closing line with a gold emphasis; right column = framed media.
   Token-only; every class prefixed hp-why-metals- (BEM). Desktop-first.
   ===================================================================== */

.hp-why-metals {
  background: var(--hp-wm-bg);
  padding-block: var(--hp-wm-pad-y);
}

.hp-why-metals__inner {
  display: flex;
  flex-direction: row-reverse; /* gold bar left, copy right (DOM keeps copy first for a11y/SEO) */
  align-items: center;
  gap: var(--hp-wm-col-gap);
}

.hp-why-metals__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--home-stack-gap);
  max-width: var(--hp-wm-text-max);
  word-break: break-word;
}

/* Gold eyebrow — uppercased + tracked via CSS so locale copy stays natural-case. */
.hp-why-metals__eyebrow {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: var(--fs-14);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hp-wm-gold);
}

.hp-why-metals__heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-44);
  line-height: var(--lh-55);
  color: var(--gray-0);
}
.hp-why-metals__heading-line { display: block; }
/* Second (and later) headline lines render gold for the two-tone look. */
.hp-why-metals__heading-line + .hp-why-metals__heading-line { color: var(--hp-wm-gold); }

.hp-why-metals__body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--hp-wm-body);
}

/* Closing line: muted lead-in + gold emphasis on the OneGold hook. */
.hp-why-metals__closing {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--hp-wm-muted);
}
.hp-why-metals__closing-em {
  font-weight: var(--fw-bold);
  color: var(--hp-wm-gold);
}

/* Right: framed media holding the bars image (stand-in). */
.hp-why-metals__media {
  flex: 0 0 auto;
  width: 50%;
  max-width: 560px;
  height: var(--hp-wm-media-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--hp-wm-frame-bg);
  border: 1px solid var(--hp-wm-frame-border);
  border-radius: var(--hp-wm-frame-radius);
  box-sizing: border-box;
}
.hp-why-metals__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---- Tablet (768–1023): keep 2-col, step the heading + media ---- */
@media (max-width: 1023.98px) {
  .hp-why-metals {
    padding-block: var(--hp-wm-pad-y-mobile);
  }
  .hp-why-metals__inner {
    gap: var(--home-stack-gap);
  }
  .hp-why-metals__heading {
    font-size: var(--fs-36);
    line-height: var(--lh-40);
  }
  .hp-why-metals__media {
    height: var(--hp-wm-media-h-mobile);
    padding: 12px;
  }
}

/* ---- Large-mobile (600–767): tighten heading ---- */
@media (max-width: 767.98px) {
  .hp-why-metals__heading {
    font-size: var(--fs-32);
    line-height: var(--lh-45);
  }
}

/* ---- Phone (≤599): stack — copy first, framed media below, full width ---- */
@media (max-width: 599.98px) {
  .hp-why-metals__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--home-stack-gap);
  }
  .hp-why-metals__content {
    max-width: none;
    width: 100%;
  }
  .hp-why-metals__heading {
    font-size: var(--fs-26);
    line-height: var(--lh-36);
  }
  .hp-why-metals__media {
    width: 100%;
    max-width: none;
  }
}
