/*
Theme Name: Live Gold Prices
Theme URI: https://livegoldprices.com
Author: Live Gold Prices
Author URI: https://livegoldprices.com
Description: Custom theme for Live Gold Prices — gold news and affiliate sales.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: livegoldprices
*/

/* ========== CSS VARIABLES ========== */
:root {
  --gold-50: #fdf8f0;
  --gold-100: #f5e6c8;
  --gold-200: #e8cc8c;
  --gold-300: #d4a843;
  --gold-400: #c9952c;
  --gold-500: #b8860b;
  --gold-600: #9a710a;
  --gold-700: #7c5b08;
  --gold-800: #5e4506;
  --gold-900: #3f2e04;
  --dark: #000000;
  --dark-light: #111111;
  --cream: #f5f1eb;
  --green: #16a34a;
  --red: #dc2626;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-800); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold-500);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ========== LAYOUT ========== */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

.main-wrap {
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  gap: 1.5rem;
  padding: 1.5rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--gold-500);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
  height: 60px;
}

.logo {
  font-family: 'Vollkorn', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo a { color: #fff; }
.logo a:hover { color: var(--gold-200); }
.logo-accent { color: var(--gold-300); }

/* Header Navigation */
.header-nav { display: flex; align-items: center; }
.header-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}
.header-nav .nav-menu li a {
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.header-nav .nav-menu li a:hover,
.header-nav .nav-menu li.current-menu-item a,
.header-nav .nav-menu li.current_page_item a {
  color: var(--gold-300);
  background: rgba(255,255,255,0.05);
}

/* Hamburger Menu Toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold-300);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ========== MOBILE TICKER ========== */
.mobile-ticker {
  display: none;
  background: var(--dark-light);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: #ccc;
}
.mobile-ticker .ticker-track {
  display: inline-flex;
  gap: 2rem;
  animation: ticker-scroll 20s linear infinite;
}
.mobile-ticker .ticker-item { display: inline-flex; gap: 0.3rem; align-items: center; }
.ticker-item .price-up { color: var(--green); }
.ticker-item .price-down { color: var(--red); }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== CONTENT UPDATED TIMESTAMP ========== */
.content-updated {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border-color);
}

/* ========== SIDEBAR SHARED ========== */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-section {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sidebar-section-title {
  background: var(--dark);
  color: var(--gold-300);
  padding: 0.6rem 1rem;
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-section-body { padding: 0.75rem; }

/* ========== LEFT SIDEBAR: SEARCH ========== */
.search-widget .search-form {
  display: flex;
  gap: 0;
}
.search-widget .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}
.search-widget .search-field:focus { border-color: var(--gold-400); }
.search-widget .search-submit {
  background: var(--gold-500);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.85rem;
}
.search-widget .search-submit:hover { background: var(--gold-600); }

/* ========== LEFT SIDEBAR: PERFORMANCE TABLES ========== */
.perf-table { width: 100%; }
.perf-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.4rem 0.5rem;
  background: var(--gray-100);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border-color);
}
.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--gray-100);
}
.perf-grid:last-child { border-bottom: none; }
.perf-grid .period-label { font-weight: 600; color: var(--text-primary); }
.price-positive { color: var(--green); font-weight: 600; }
.price-negative { color: var(--red); font-weight: 600; }

/* Price by Weight */
.price-weight-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.price-weight-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.price-weight-table tr:last-child td { border-bottom: none; }
.weight-label { font-weight: 600; color: var(--text-secondary); font-size: 0.75rem; }
.weight-price { text-align: right; font-weight: 700; color: var(--gold-700); }

/* Founder Box */
.founder-box { text-align: center; padding: 1rem 0.75rem; }
.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 2rem;
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.15rem; }
.founder-title { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.founder-bio { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }

/* ========== RIGHT SIDEBAR ========== */
.newsletter-box .sidebar-section-body { padding: 1rem; }
.newsletter-box p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-form input[type="email"] {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
}
.newsletter-form input[type="email"]:focus { border-color: var(--gold-400); outline: none; }
.newsletter-form button {
  background: var(--gold-500);
  color: #fff;
  border: none;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-600); }

.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--gray-100); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: all var(--transition);
}
.sidebar-links a:hover { background: var(--gold-50); color: var(--gold-700); }
.sidebar-links .link-icon { font-size: 0.9rem; }

/* ========== MAIN CONTENT ========== */
.main-content { min-width: 0; }

/* Featured Hero Article */
.featured-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--dark);
  aspect-ratio: 16/9;
  max-height: 400px;
}
.featured-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.featured-hero:hover .hero-image { opacity: 0.5; }
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.hero-category {
  display: inline-block;
  background: var(--gold-500);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.hero-overlay h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.hero-overlay h2 a { color: #fff; }
.hero-overlay h2 a:hover { color: var(--gold-200); }
.hero-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 0.75rem;
}

/* Section Heading */
.section-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-500);
}
.section-heading h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Article Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-card .card-body { padding: 1.25rem; }
.article-card .card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.article-card .card-title a { color: var(--text-primary); }
.article-card .card-title a:hover { color: var(--gold-700); }
.article-card .card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .card-meta {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-card .card-author {
  color: var(--text-primary);
  font-weight: 600;
}
.article-card .card-date {
  color: var(--text-muted);
}

/* Load More */
.load-more-wrap { text-align: center; margin: 1.5rem 0; }
.load-more-btn {
  background: var(--dark);
  color: var(--gold-300);
  border: none;
  padding: 0.7rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.load-more-btn:hover { background: var(--dark-light); }

/* ========== SINGLE POST ========== */
.single-article { max-width: 800px; }
.single-article .entry-header { margin-bottom: 1.5rem; }
.single-article .entry-category {
  display: inline-block;
  background: var(--gold-50);
  color: var(--gold-700);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.single-article .entry-title { font-size: 2rem; margin-bottom: 0.75rem; }
.single-article .entry-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.single-article .entry-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.single-article .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.single-article .entry-content h2 { margin: 2rem 0 1rem; }
.single-article .entry-content h3 { margin: 1.5rem 0 0.75rem; }
.single-article .entry-content p { margin-bottom: 1.25rem; }
.single-article .entry-content ul,
.single-article .entry-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.single-article .entry-content li { margin-bottom: 0.5rem; }
.single-article .entry-content blockquote {
  border-left: 4px solid var(--gold-500);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--gold-50);
  font-style: italic;
  color: var(--text-secondary);
}
.single-article .entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.post-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.post-nav a:hover { color: var(--gold-600); }

/* ========== ARCHIVE / BLOG ========== */
.archive-header { margin-bottom: 1.5rem; }
.archive-header h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.archive-header p { color: var(--text-muted); font-size: 0.9rem; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--gold-50); color: var(--gold-700); border-color: var(--gold-300); }
.pagination .current { background: var(--gold-500); color: #fff; border-color: var(--gold-500); }

/* ========== PAGE TEMPLATES ========== */
.page-header-banner {
  background: var(--dark);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  text-align: center;
}
.page-header-banner h1 { color: var(--gold-300); font-size: 2rem; margin-bottom: 0.3rem; }
.page-header-banner p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

.page-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

/* Spot Prices Page */
.spot-prices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.spot-price-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spot-price-card .card-header {
  background: var(--dark);
  color: var(--gold-300);
  padding: 0.75rem 1rem;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1rem;
}
.spot-price-card .card-body { padding: 0; }
.spot-price-card iframe { width: 100%; min-height: 350px; border: none; }

/* Charts Page */
.charts-section { margin-bottom: 2.5rem; }
.charts-section h2 { margin-bottom: 1rem; }
.chart-container {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.chart-container .chart-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

/* Contact Form */
.contact-form { max-width: 600px; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold-400); outline: none; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .submit-btn {
  background: var(--gold-500);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}
.contact-form .submit-btn:hover { background: var(--gold-600); }

/* About Page */
.about-content h2 { margin: 1.5rem 0 0.75rem; color: var(--gold-700); }
.about-content p { line-height: 1.8; color: var(--text-secondary); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.team-card { text-align: center; }
.team-card .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background: var(--gray-200);
  overflow: hidden;
}
.team-card .team-name { font-weight: 700; font-size: 0.9rem; }
.team-card .team-role { font-size: 0.8rem; color: var(--text-muted); }

/* Sources Page */
.sources-list { list-style: none; }
.sources-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sources-list li:last-child { border-bottom: none; }
.sources-list .source-name { font-weight: 700; font-size: 0.9rem; }
.sources-list .source-desc { font-size: 0.82rem; color: var(--text-secondary); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  padding: 2.5rem 1rem;
  text-align: center;
  color: #fff;
}
.cta-banner h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--gold-700);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.cta-banner .cta-btn:hover {
  background: var(--gold-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark);
  color: #ccc;
  margin-top: auto;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.footer-brand {
  font-family: 'Vollkorn', serif;
  font-size: 1.1rem;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  color: var(--gold-300);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col p { font-size: 0.82rem; color: #999; line-height: 1.6; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.35rem; }
.footer-col ul li a { color: #999; font-size: 0.82rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: #666;
  max-width: 1280px;
  margin: 0 auto;
}

/* Disclaimer Bar */
.disclaimer-bar {
  background: var(--dark-light);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: #888;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========== GoldBroker Widget Overrides ========== */
.goldbroker-widget { width: 100%; }
.goldbroker-widget iframe { width: 100%; height: 280px; border: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .main-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar-left { order: 2; }
  .main-content { order: 1; }
  .sidebar-right { order: 3; }
  .mobile-ticker { display: block; }
  .header-nav .nav-menu { display: none; }
  .hamburger { display: block; }
  .header-nav .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .header-nav .nav-menu.is-open li a {
    padding: 0.75rem 1rem;
  }
  .sidebar-left, .sidebar-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .spot-prices-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  .hero-overlay h2 { font-size: 1.2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .sidebar-left, .sidebar-right {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 0.75rem; }
  .logo { font-size: 1.4rem; }
  .featured-hero { aspect-ratio: 4/3; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-content { padding: 1.25rem; }
}
