/* ===== BUY GOLD BULLION PAGE ===== */

/* Remove default site-main padding (handled by .content-width) */
body.page-template-buy-gold-bullion .site-main {
  padding: 0 !important;
  max-width: none !important;
}

/* ===== PAGE LAYOUT ===== */
.bgb-page-wrapper {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ===== MAIN CONTENT ===== */
.bgb-main {
  flex: 1;
  min-width: 0;
}

/* Keep the regulatory disclaimer contained inside the main column — its
   global rule uses calc(-50vw + 50%) to bleed full-width, which misaligns
   when the parent is offset by the sidebar. */
.bgb-main .regulatory-disclaimer {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

/* Lead magnet banner overrides for the narrower main column.
   Scoped to desktop+ (>=993px) — below that the page wrapper stacks and
   .bgb-main becomes full width, so the default banner styles apply. */
@media (min-width: 993px) {
  .bgb-main .lm-banner {
    padding: 36px 0;
  }
  .bgb-main .lm-banner__inner {
    gap: 16px;
  }
  .bgb-main .lm-banner__content {
    flex: 1 1 52%;
  }
  .bgb-main .lm-banner__image {
    flex: 0 0 46%;
  }
  .bgb-main .lm-banner__image img {
    max-width: 420px;
  }
  .bgb-main .lm-banner__heading img {
    max-width: 100%;
  }
  .bgb-main .lm-banner__subheading {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .bgb-main .lm-banner__benefits {
    margin-bottom: 22px;
  }
  .bgb-main .lm-banner__benefits li {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 6px;
  }
  .bgb-main .lm-banner__cta {
    padding: 13px 26px;
    font-size: 13px;
  }
  .bgb-main .lm-banner__corner-line {
    width: 45%;
  }
}

/* ===== HERO SECTION ===== */
.bgb-hero {
  margin-bottom: 2.5rem;
}

.bgb-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 1rem;
}

.bgb-hero-text {
  color: var(--gb-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bgb-hero-text p:last-child {
  margin-bottom: 0;
}

/* ===== CONTENT SECTION ===== */
.bgb-content {
  margin-bottom: 2.5rem;
  color: var(--gb-text);
  line-height: 1.7;
}

.bgb-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.bgb-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gb-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ===== CATEGORY CARDS ===== */
.bgb-categories {
  margin-bottom: 2.5rem;
}

.bgb-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bgb-category-card {
  display: block;
  background: var(--gb-white);
  border: 1px solid var(--gb-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bgb-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bgb-category-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bgb-category-content {
  padding: 1.25rem;
}

.bgb-category-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.5rem;
}

.bgb-category-content p {
  font-size: 0.9rem;
  color: var(--gb-text);
  line-height: 1.5;
  margin: 0;
}

/* ===== BENEFIT CARDS ===== */
.bgb-benefits {
  margin-bottom: 2.5rem;
}

.bgb-benefits > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 1.5rem;
}

.bgb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bgb-benefit-card {
  background: var(--gb-white);
  border: 1px solid var(--gb-border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.bgb-benefit-icon {
  margin-bottom: 1rem;
}

.bgb-benefit-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.bgb-benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.5rem;
}

.bgb-benefit-card p {
  font-size: 0.9rem;
  color: var(--gb-text);
  line-height: 1.5;
  margin: 0;
}

/* ===== HOW TO BUY ===== */
.bgb-howto {
  margin-bottom: 2.5rem;
  background: var(--gb-light-bg, #f8f9fa);
  border-radius: 8px;
  padding: 2rem;
}

.bgb-howto > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 1.5rem;
}

.bgb-howto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bgb-howto-card {
  background: var(--gb-white);
  border: 1px solid var(--gb-border);
  border-radius: 8px;
  overflow: hidden;
}

.bgb-howto-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bgb-howto-content {
  padding: 1.5rem;
}

.bgb-howto-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.75rem;
}

.bgb-howto-content p {
  color: var(--gb-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

.bgb-howto-cta {
  text-align: center;
  margin-top: 1.5rem;
}

/* ===== STRATEGIC BENEFITS ===== */
.bgb-strategic {
  margin-bottom: 2.5rem;
}

.bgb-strategic > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 1.5rem;
}

.bgb-strategic-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bgb-strategic-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.bgb-strategic-number {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--gb-navy-light);
  color: var(--gb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.bgb-strategic-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.5rem;
}

.bgb-strategic-content p {
  color: var(--gb-text);
  line-height: 1.6;
  margin: 0;
}

/* ===== BOTTOM CTA ===== */
.bgb-cta {
  margin-bottom: 2rem;
}

.bgb-cta-inner {
  background: var(--gb-navy-light);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  color: var(--gb-white);
}

.bgb-cta-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-white);
  margin-bottom: 0.75rem;
}

.bgb-cta-inner p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .bgb-page-wrapper {
    flex-direction: column;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .bgb-page-wrapper {
    padding: 1rem;
  }

  .bgb-hero h1 {
    font-size: 1.5rem;
  }

  .bgb-categories-grid {
    grid-template-columns: 1fr;
  }

  .bgb-benefits-grid {
    grid-template-columns: 1fr;
  }

  .bgb-howto-grid {
    grid-template-columns: 1fr;
  }

  .bgb-cta-inner {
    padding: 1.5rem;
  }
}
