/* ===== SPOT PRICE DETAIL PAGE ===== */

/* Remove default padding */
body.page-template-spot-price .site-main,
body.page-template-gold-spot-price .site-main,
body.page-template-silver-spot-price .site-main,
body.page-template-platinum-spot-price .site-main,
body.page-template-palladium-spot-price .site-main {
  padding: 0 !important;
  max-width: none !important;
}

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

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

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

/* ===== MAIN WIDGET SECTION ===== */
.sp-main-widget {
  background: var(--gb-white);
  padding: 3rem 0;
}

.sp-main-widget-inner {
  /* Uses .content-width utility for max-width */
}

.sp-main-widget .widget-embed {
  min-height: 400px;
}

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

.sp-section:nth-child(odd) {
  background: #f8f8f8;
}

.sp-section:nth-child(even) {
  background: var(--gb-white);
}

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

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

.sp-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;
}

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

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

/* ===== BACK LINK SECTION ===== */
.sp-back-link {
  background: var(--gb-white);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--gb-border);
}

.sp-back-link .btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gb-navy);
  border: 2px solid var(--gb-navy);
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

.sp-back-link .btn-outline:hover {
  background: var(--gb-navy);
  color: var(--gb-white);
}

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

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

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

  .sp-main-widget {
    padding: 2rem 0;
  }

  .sp-main-widget .widget-embed {
    min-height: 300px;
  }

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

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

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

  .sp-back-link {
    padding: 1.5rem 0;
  }
}
