/* Markets page specific styles */
.section { padding-block: var(--space-48); }
.hero { padding-block: var(--space-48); background: linear-gradient(135deg, #FFF8F0 0%, #FFF 60%); }
.hero__grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-24); align-items: center; }
.hero__actions { display: flex; gap: var(--space-12); flex-wrap: wrap; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }

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

/* Table of contents */
.toc { margin-block: var(--space-24); }
.toc__list { display: flex; flex-wrap: wrap; gap: var(--space-12); padding: 0; margin: 0; }
.toc__list a { display: inline-flex; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-full); color: var(--color-text); background: #FFF; }
.toc__list a:hover { text-decoration: none; border-color: var(--color-primary); color: var(--color-primary); }

/* KPI cards */
.kpi-grid { gap: var(--space-16); }
.kpi { text-align: left; }
.kpi__label { color: var(--gray-700); font-weight: 700; margin-bottom: var(--space-8); }
.kpi__value { font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: 900; margin: 0 0 var(--space-8) 0; color: var(--color-accent-brown); }
.kpi__note { color: var(--gray-600); font-size: var(--text-sm); }

/* Research and overview columns */
.overview-cols, .research-cols { align-items: start; }

/* Segmentation */
.segments-grid { gap: var(--space-16); }
.segment-card { border-top: 4px solid var(--color-warning); }

/* Responsive table */
.table-responsive { overflow-x: auto; }
.table-responsive table { width: 100%; border-collapse: collapse; }
.table-responsive th, .table-responsive td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-200); }
.table-responsive thead th { position: sticky; top: 0; background: #FFFDF8; z-index: 1; }

/* Trends */
.trends-grid { align-items: start; }

/* Back to top */
.back-to-top { margin-top: var(--space-24); }

/* Anchor offset to account for sticky header */
section { scroll-margin-top: 80px; }
