/* Market-specific sections (component/global-compliance-market-<slug>.php).
   Uses the --gc-* tokens defined in global-compliance-detail.css. */
.gc-market-section { padding: 4.5rem 0; }
.gc-market-tint { background: #f3f6fb; }
.gc-market-section h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: .75rem; color: var(--gc-navy); }
.gc-market-section p { color: var(--gc-muted); }
.gc-market-section .gc-section-description { margin-bottom: 2.25rem; }

.gc-market-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.gc-market-timeline li { border-top: 3px solid #bdcde3; padding-top: 1.25rem; }
.gc-market-timeline li:nth-child(2) { border-color: var(--gc-blue); }
.gc-market-timeline strong { display: block; color: var(--gc-blue); margin-bottom: .5rem; }
.gc-market-timeline p { font-size: .9375rem; margin: 0; }
.gc-market-note { max-width: 80ch; margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; background: #f3f6fb; border-radius: .5rem; font-size: .9375rem; }
.gc-market-note strong { color: var(--gc-navy); }

.gc-market-table { overflow-x: auto; background: #fff; border: 1px solid var(--gc-line); border-radius: .75rem; }
.gc-market-table:focus-visible { outline: 2px solid #278ac9; outline-offset: 3px; }
.gc-market-table table { width: 100%; min-width: 32rem; border-collapse: collapse; margin: 0; }
.gc-market-table th, .gc-market-table td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; line-height: 1.5; font-size: .9375rem; color: var(--gc-ink); border-bottom: 1px solid var(--gc-line); }
.gc-market-table thead th { background: var(--gc-navy); color: #fff; font-weight: 600; }
.gc-market-table tbody th { color: var(--gc-navy); font-weight: 600; }
.gc-market-table tbody tr:last-child > * { border-bottom: 0; }
.gc-market-code { display: grid; gap: .25rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--gc-line); border-radius: .5rem; font-family: ui-monospace, Consolas, monospace; font-size: .9375rem; }
.gc-market-section .gc-market-code { color: var(--gc-navy); }

.gc-market-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }

.gc-market-options { margin: 0 0 2.5rem; border-top: 1px solid #cfdaea; }
.gc-market-options > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid #cfdaea; }
.gc-market-options dt { color: var(--gc-navy); font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.gc-market-options dd { margin: 0; color: var(--gc-muted); line-height: 1.7; }
.gc-market-options a, .gc-market-reading a { color: var(--gc-blue); text-decoration: underline; text-underline-offset: .2rem; }

.gc-market-reading { padding: 3rem 0; }
.gc-market-reading h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.gc-market-reading ul { margin: 0; padding-left: 1.25rem; }
.gc-market-reading li { padding: .375rem 0; line-height: 1.6; }

@media (max-width: 767px) {
    .gc-market-timeline, .gc-market-split { grid-template-columns: minmax(0, 1fr); }
    .gc-market-options > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}
@media (max-width: 575px) {
    .gc-market-section { padding: 3rem 0; }
    .gc-market-table table { min-width: 0; }
    .gc-market-table th, .gc-market-table td { padding: .75rem .625rem; font-size: .8125rem; }
}
