:root {
    --blue: #a8d5e2;
    --blue-light: #e4f1f7;
    --blue-accent: #4a90b8;
    --blue-deep: #2f6f95;
    --pink: #f4c2c2;
    --pink-light: #fbe8e8;
    --pink-accent: #d4707a;
    --pink-deep: #a84e59;
    --green-light: #e8f5e9;
    --green: #2e7d32;
    --amber-light: #fff8e1;
    --amber: #9b6200;
    --red-light: #ffebee;
    --red: #b3261e;
    --bg: #f7f9fb;
    --white: #fff;
    --text: #1e2a38;
    --text-mid: #4a5b6e;
    --text-light: #718095;
    --border: #dfe6ed;
    --shadow: 0 2px 12px rgba(24, 42, 62, 0.07);
    --shadow-lg: 0 16px 48px rgba(24, 42, 62, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --max-w: 1120px;
    --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
    font-family: var(--font);
}

img {
    max-width: 100%;
}

a {
    color: var(--blue-deep);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid #f0a52b;
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

code {
    padding: 0.12rem 0.35rem;
    border-radius: 5px;
    background: #eef2f6;
    color: #29384a;
    font-size: 0.9em;
}

.container {
    width: min(100% - 2.5rem, var(--max-w));
    margin-inline: auto;
}

/* Advertising placement homes — collapse when the system is off or a slot is empty. */
.bnp-ad-trends {
    margin: 1.35rem 0;
}

.bnp-ad-trends:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.methodology-content > .bnp-ad-trends {
    margin: 1.75rem 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--text);
    color: var(--white);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.trends-site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
}

.trends-site-header__inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.trends-brand {
    display: inline-flex;
    align-items: center;
}

.trends-brand img {
    display: block;
    width: auto;
    height: 54px;
}

.trends-main-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.trends-main-nav a {
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    color: var(--text-mid);
    font-size: 0.92rem;
    font-weight: 700;
}

.trends-main-nav a:hover {
    background: var(--blue-light);
    color: var(--text);
    text-decoration: none;
}

.trends-main-nav a[aria-current="page"] {
    background: var(--pink-light);
    color: var(--pink-deep);
}

.breadcrumbs {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.breadcrumbs ol {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    color: var(--text-light);
    font-size: 0.82rem;
    list-style: none;
    scrollbar-width: thin;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.breadcrumbs li + li::before {
    margin-right: 0.45rem;
    color: #a8b3c0;
    content: "/";
}

.breadcrumbs a {
    color: var(--text-mid);
}

.trends-hero,
.report-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(74, 144, 184, 0.14), transparent 29%),
        radial-gradient(circle at 88% 74%, rgba(212, 112, 122, 0.13), transparent 30%),
        linear-gradient(135deg, var(--blue-light), var(--pink-light));
}

.trends-hero::after,
.report-hero::after {
    position: absolute;
    z-index: -1;
    right: -100px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(74, 144, 184, 0.24);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(255, 255, 255, 0.24),
        0 0 0 84px rgba(255, 255, 255, 0.15);
    content: "";
}

.trends-hero {
    padding: clamp(4rem, 8vw, 7rem) 0;
    text-align: center;
}

.trends-hero__inner {
    max-width: 850px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.trends-hero h1,
.report-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.15rem, 5vw, 4.25rem);
    letter-spacing: -0.045em;
}

.trends-hero__lead {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    color: var(--text-mid);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.trends-hero__actions,
.state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.15rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 800;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.button--primary {
    background: linear-gradient(135deg, var(--blue-accent), #5ba0c8);
    box-shadow: 0 8px 22px rgba(74, 144, 184, 0.24);
    color: var(--white);
}

.button--secondary {
    border-color: var(--border);
    background: var(--white);
    color: var(--text);
}

.freshness-note {
    max-width: 620px;
    margin: 1.4rem auto 0;
    color: var(--text-mid);
    font-size: 0.88rem;
}

.section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--tint {
    border-block: 1px solid #d7e8ef;
    background: var(--blue-light);
}

.section--method {
    background: var(--white);
}

.section--report {
    padding-top: 2rem;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.section-heading--left {
    max-width: none;
    margin-inline: 0;
    text-align: left;
}

.section-heading h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.section-heading p {
    color: var(--text-mid);
}

.laboratory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.laboratory-card {
    position: relative;
    display: flex;
    min-height: 245px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.laboratory-card::before {
    position: absolute;
    top: -65px;
    right: -65px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--blue-light);
    content: "";
}

.laboratory-card:nth-child(even)::before {
    background: var(--pink-light);
}

.laboratory-card:hover {
    border-color: #bfd4df;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transform: translateY(-4px);
}

.laboratory-card__icon {
    position: relative;
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 2.3rem;
    place-items: center;
    border-radius: 16px;
    background: var(--blue-light);
    color: var(--blue-deep);
    font-size: 1.75rem;
    font-weight: 700;
}

.laboratory-card:nth-child(even) .laboratory-card__icon {
    background: var(--pink-light);
    color: var(--pink-deep);
}

.laboratory-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.laboratory-card p {
    margin-bottom: 1rem;
    color: var(--text-mid);
    font-size: 0.92rem;
}

.laboratory-card__link {
    color: var(--blue-deep);
    font-size: 0.86rem;
    font-weight: 800;
}

.shortcut-grid,
.example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shortcut-card,
.example-card {
    padding: 1.45rem;
    border: 1px solid rgba(74, 144, 184, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.shortcut-card__flag {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 1.45rem;
}

.shortcut-card h3,
.example-card h3 {
    margin-bottom: 0.5rem;
}

.shortcut-card p,
.example-card p {
    color: var(--text-mid);
}

.shortcut-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shortcut-card__links a,
.pill-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
}

.shortcut-card__links a:hover,
.pill-links a:hover {
    border-color: var(--blue-accent);
    background: var(--blue-light);
    text-decoration: none;
}

.example-card__topline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.example-list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.45rem;
}

.example-list li {
    padding-left: 0.2rem;
}

.example-list a {
    color: var(--text);
    font-weight: 800;
}

.example-list span {
    float: right;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 700;
}

.method-callout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f8fcfe, #fff8f8);
    box-shadow: var(--shadow);
}

.method-callout h2 {
    margin-bottom: 0.65rem;
}

.method-callout p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--text-mid);
}

.report-hero {
    padding: clamp(3.5rem, 7vw, 6rem) 0 4rem;
}

.report-hero--compact {
    padding-block: 3.5rem;
}

.report-hero .container {
    position: relative;
    z-index: 1;
    max-width: 940px;
}

.report-hero h1 {
    max-width: 900px;
    font-size: clamp(2rem, 4.8vw, 3.55rem);
}

.report-hero p {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--text-mid);
    font-size: 1.05rem;
}

.report-hero .country-scope-note {
    margin-top: 1rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(74, 144, 184, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-mid);
    font-size: 0.86rem;
    font-weight: 600;
}

.report-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.report-facts span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.32rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(74, 144, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-mid);
    font-size: 0.82rem;
}

.report-facts strong {
    color: var(--text);
}

.report-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.report-link-card,
.large-choice-card {
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.report-link-card h3 {
    margin-bottom: 0.85rem;
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.large-choice-card {
    display: grid;
    min-height: 170px;
    align-content: center;
    justify-items: center;
    color: var(--text);
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.large-choice-card:hover {
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transform: translateY(-3px);
}

.large-choice-card__flags {
    margin-bottom: 0.7rem;
    font-size: 1.8rem;
}

.large-choice-card strong {
    font-size: 1.1rem;
}

.large-choice-card span:last-child {
    color: var(--text-mid);
    font-size: 0.88rem;
}

.report-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.report-controls--single {
    grid-template-columns: minmax(0, 420px);
}

.control-group--wide {
    grid-column: 1 / -1;
}

.control-group__label {
    display: block;
    margin-bottom: 0.42rem;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.segmented-links {
    display: flex;
    min-width: 0;
    gap: 0.35rem;
}

.segmented-links--wrap {
    flex-wrap: wrap;
}

.segmented-links a {
    display: inline-flex;
    min-height: 40px;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text-mid);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

.segmented-links a:hover {
    border-color: var(--blue-accent);
    background: var(--blue-light);
    color: var(--text);
    text-decoration: none;
}

.segmented-links a.active {
    border-color: var(--blue-accent);
    background: var(--blue-accent);
    color: var(--white);
}

.analysis-note {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid #f0d68a;
    border-radius: var(--radius-sm);
    background: var(--amber-light);
    color: #6b5219;
    font-size: 0.9rem;
}

.analysis-note strong {
    color: #503b0f;
}

.sort-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1.2rem 0;
    overflow-x: auto;
    padding: 0.15rem 0 0.55rem;
    scrollbar-width: thin;
}

.sort-tabs a {
    display: inline-flex;
    min-width: max-content;
    min-height: 42px;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--text-mid);
    font-size: 0.82rem;
    font-weight: 800;
}

.sort-tabs a:hover,
.sort-tabs a.active {
    border-color: var(--pink-accent);
    background: var(--pink-light);
    color: var(--pink-deep);
    text-decoration: none;
}

.sort-tabs a span {
    display: inline-grid;
    min-width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
}

.sort-tabs-note {
    margin: -0.65rem 0 1.2rem;
    color: var(--text-light);
    font-size: 0.82rem;
}

.movement-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.movement-summary-card {
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.movement-summary-card h2 {
    margin-bottom: 0.7rem;
    color: var(--text-light);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.movement-summary-card__names {
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.movement-summary-card__name {
    color: inherit;
    font: inherit;
}

.movement-summary-card__value {
    margin: 0.65rem 0 0.25rem;
    font-size: 1.02rem;
}

.movement-summary-card__support {
    margin-bottom: 0;
    color: var(--text-mid);
    font-size: 0.8rem;
}

.overview-chart-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1.52fr);
    gap: 1.4rem;
    margin: 1.25rem 0;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.overview-chart-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.35rem;
}

.overview-chart-card p {
    color: var(--text-mid);
    font-size: 0.87rem;
}

.overview-chart-wrap {
    position: relative;
    min-width: 0;
    height: 310px;
}

.overview-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.table-card {
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.table-card--secondary {
    margin-top: 0;
    box-shadow: none;
}

.table-card__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--border);
}

.table-card__header h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.table-card__header p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.82rem;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.table-scroll:focus-visible {
    outline-offset: -4px;
}

.results-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.results-table--compact {
    min-width: 760px;
}

.comparison-table {
    min-width: 1040px;
}

.results-table th,
.results-table td {
    padding: 0.88rem 0.8rem;
    border-bottom: 1px solid #edf1f4;
    text-align: left;
    vertical-align: middle;
}

.results-table thead th {
    position: sticky;
    z-index: 2;
    top: 0;
    background: #f3f7f9;
    color: var(--text-mid);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.results-table tbody tr:nth-child(even) {
    background: #fbfcfd;
}

.results-table tbody tr:hover {
    background: #f4f9fb;
}

.results-table tbody tr:last-child th,
.results-table tbody tr:last-child td {
    border-bottom: 0;
}

.name-cell a,
.name-cell > span {
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 800;
}

.name-cell small,
.results-table td small {
    display: block;
    margin-top: 0.18rem;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 500;
}

.country-name-links {
    display: flex !important;
    gap: 0.45rem;
}

.country-name-links a {
    color: var(--blue-deep);
    font-size: 0.72rem;
}

.metric-positive {
    color: var(--green);
    font-weight: 800;
}

.metric-negative {
    color: var(--red);
    font-weight: 800;
}

.metric-neutral {
    color: var(--text-light);
    font-weight: 700;
}

.data-note {
    color: var(--text-light);
    font-size: 0.76rem;
}

.status-badge,
.score-badge,
.direction-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-badge {
    background: var(--amber-light);
    color: var(--amber);
}

.score-badge {
    background: var(--pink-light);
    color: var(--pink-deep);
}

.direction-badge--rising {
    background: var(--green-light);
    color: var(--green);
}

.direction-badge--falling {
    background: var(--red-light);
    color: var(--red);
}

.direction-badge--steady {
    background: var(--blue-light);
    color: var(--blue-deep);
}

.direction-badge--unknown {
    background: #eef1f4;
    color: var(--text-light);
}

.rank-sparkline {
    display: block;
    width: 132px;
    height: 42px;
}

.secondary-results,
.related-reports {
    margin-top: 3rem;
}

.empty-results {
    margin: 1.25rem 0;
    padding: 2.3rem;
    border: 1px dashed #bdc9d5;
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
}

.empty-results h2 {
    margin-bottom: 0.55rem;
}

.empty-results p {
    color: var(--text-mid);
}

.methodology-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.45rem;
    border: 1px solid #cbdde6;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue-light), #f7fbfd);
}

.methodology-summary h2 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.methodology-summary p {
    margin-bottom: 0.45rem;
    color: var(--text-mid);
    font-size: 0.9rem;
}

.methodology-summary p:last-child {
    margin-bottom: 0;
}

.related-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.related-report-grid a {
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
}

.related-report-grid a:hover {
    border-color: var(--blue-accent);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.related-report-grid span {
    color: var(--text-light);
    font-size: 0.78rem;
}

.methodology-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.methodology-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.methodology-nav strong {
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
}

.methodology-nav a {
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    color: var(--text-mid);
    font-size: 0.84rem;
}

.methodology-nav a:hover {
    background: var(--blue-light);
    text-decoration: none;
}

.methodology-content {
    min-width: 0;
}

.methodology-content section {
    scroll-margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.methodology-content h2 {
    margin-bottom: 0.7rem;
    font-size: 1.45rem;
}

.methodology-content p,
.methodology-content li {
    color: var(--text-mid);
}

.methodology-content p:last-child,
.methodology-content ul:last-child {
    margin-bottom: 0;
}

.dataset-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.dataset-summary-grid div {
    display: grid;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.dataset-summary-grid span {
    color: var(--text-mid);
    font-size: 0.8rem;
}

.state-page {
    display: grid;
    min-height: 62vh;
    place-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--blue-light), var(--pink-light));
}

.state-card {
    max-width: 720px;
    padding: clamp(1.8rem, 5vw, 3.2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.state-card--inline {
    margin-inline: auto;
}

.state-code {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--pink-deep);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.state-card h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.state-card p {
    color: var(--text-mid);
}

.trends-footer {
    margin-top: 0;
    background: var(--white);
}

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.82rem;
    text-align: center;
}

.site-footer p {
    margin: 0.3rem 0;
}

.site-footer .footer-affiliate-disclosure {
    max-width: 36rem;
    margin: 0.55rem auto 0.2rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-light);
    opacity: 0.9;
}

.site-footer a {
    color: var(--text-mid);
}

.footer-widget-cta {
    max-width: 34rem;
    margin: 1.1rem auto 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--blue-accent);
    border-radius: var(--radius-sm);
    background: var(--blue-light);
    text-align: center;
}

.footer-widget-cta-text {
    margin: 0 0 0.65rem !important;
    color: var(--text-mid);
    font-size: 0.8rem;
    line-height: 1.45;
}

.footer-widget-cta-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--blue-accent);
    color: var(--white) !important;
    font-size: 0.84rem;
    font-weight: 700;
}

.footer-widget-cta-btn:hover {
    text-decoration: none;
    filter: brightness(0.95);
}

.trends-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

@media (max-width: 900px) {
    .laboratory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-chart-card {
        grid-template-columns: 1fr;
    }

    .methodology-layout {
        grid-template-columns: 1fr;
    }

    .methodology-nav {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .methodology-nav strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 1.5rem, var(--max-w));
    }

    .trends-site-header__inner {
        min-height: auto;
        flex-direction: column;
        gap: 0.35rem;
        padding-block: 0.7rem;
    }

    .trends-brand img {
        height: 45px;
    }

    .trends-main-nav {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .trends-main-nav a {
        padding-inline: 0.55rem;
        font-size: 0.79rem;
        white-space: nowrap;
    }

    .trends-hero {
        padding-block: 3.5rem;
    }

    .trends-hero h1,
    .report-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .laboratory-grid,
    .shortcut-grid,
    .example-grid,
    .report-link-grid,
    .related-report-grid,
    .dataset-summary-grid {
        grid-template-columns: 1fr;
    }

    .laboratory-card {
        min-height: 220px;
    }

    .method-callout,
    .methodology-summary {
        grid-template-columns: 1fr;
    }

    .report-controls {
        grid-template-columns: 1fr;
    }

    .control-group--wide {
        grid-column: auto;
    }

    .segmented-links {
        flex-wrap: wrap;
    }

    .segmented-links a {
        min-width: calc(50% - 0.35rem);
    }

    .report-facts {
        align-items: stretch;
        flex-direction: column;
    }

    .report-facts span {
        border-radius: var(--radius-sm);
    }

    .movement-summary-grid {
        grid-template-columns: 1fr;
    }

    .overview-chart-wrap {
        height: 270px;
    }

    .table-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .methodology-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .trends-hero__actions,
    .state-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .example-list span {
        display: block;
        float: none;
    }

    .overview-chart-card {
        padding: 1rem;
    }

    .overview-chart-wrap {
        height: 245px;
    }

    .methodology-nav {
        grid-template-columns: 1fr;
    }

    .methodology-nav strong {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .trends-site-header,
    .trends-footer,
    .breadcrumbs,
    .report-controls,
    .sort-tabs,
    .related-reports,
    .button {
        display: none !important;
    }

    body {
        background: var(--white);
    }

    .report-hero {
        padding: 1rem 0;
        background: var(--white);
    }

    .table-scroll {
        overflow: visible;
    }

    .results-table {
        min-width: 0;
        font-size: 8pt;
    }
}
