/* ===== HISTORICAL PRICES PAGE ===== */
/* LBMA historical prices with TradingView charts */

/* Remove default padding */
body.page-template-historical-prices .site-main {
  padding: 0 !important;
  max-width: none !important;
}

/* ===== HERO SECTION ===== */
.hp-hero {
  background: var(--gb-navy-light);
  color: var(--gb-white);
  padding: 4rem 0;
  text-align: center;
}

.hp-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gb-white);
}

.hp-hero .hero-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
  max-width: 800px;
}

/* ===== CONTENT SECTIONS ===== */
.hp-section {
  padding: 3rem 0;
}

.hp-overview {
  background: var(--gb-white);
}

.hp-advanced {
  background: #f8f8f8;
}

.hp-section-inner {
  /* Uses .content-width utility for max-width */
}

.hp-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.hp-section .section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gb-text);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hp-section .widget-embed {
  min-height: 400px;
}

/* TradingView embed container */
.hp-section .widget-embed iframe {
  max-width: 100%;
}

/* ===== LINKS SECTION ===== */
.hp-links {
  background: var(--gb-gold);
  padding: 3rem 0;
  text-align: center;
}

.hp-links h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 2rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gb-navy-light);
  color: var(--gb-white);
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 1px solid var(--gb-navy);
}

.link-card:hover {
  background: #0a1628;
  color: var(--gb-white);
  border-color: #0a1628;
}

.link-card .link-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hp-hero {
    padding: 3rem 0;
  }

  .hp-hero h1 {
    font-size: 1.75rem;
  }

  .hp-hero .hero-intro {
    font-size: 1rem;
  }

  .hp-section {
    padding: 2rem 0;
  }

  .hp-section h2 {
    font-size: 1.5rem;
  }

  .hp-section .widget-embed {
    min-height: 300px;
  }

  .hp-links {
    padding: 2.5rem 1rem;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}
