/*
Theme Name: Home Stats
Theme URI: https://homestatsreport.com/
Author: Home Stats Report
Description: A clean, data-first magazine theme for Home Stats Report: U.S. housing statistics with a state tile map hero, HTML/SVG charts, key-number boxes, cost ranges, data details on every report, and SEO-ready structure (one H1, Rank Math breadcrumbs, table of contents, author box). Classic PHP theme, Inter served locally, no jQuery.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: home-stats
Tags: blog, news, two-columns, right-sidebar, left-sidebar, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--hsr-ink: #0e1726;
	--hsr-text: #2e3a4b;
	--hsr-muted: #5b6779;
	--hsr-accent: #1f4fd8;
	--hsr-accent-tint: color-mix(in srgb, var(--hsr-accent) 9%, #fff);
	--hsr-marker: #f5a524;
	--hsr-surface: #f3f6fb;
	--hsr-warm: #fff4de;
	--hsr-warm-2: #ffe9bf;
	--hsr-line: #e3e8ef;
	--hsr-line-soft: #edf1f6;
	--hsr-field: #8792a2;
	--hsr-footer: #0e1726;
	--hsr-footer-text: #c3ccd9;
	--hsr-footer-accent: #a9c1ff;
	--hsr-white: #fff;

	--hsr-b1: #e6edff;
	--hsr-b2: #b9ccfb;
	--hsr-b3: #7fa0f2;
	--hsr-b4: #3f6bdf;
	--hsr-b5: #1b3a8c;

	--hsr-c1: var(--hsr-accent);
	--hsr-c2: var(--hsr-marker);
	--hsr-c3: #0f766e;
	--hsr-c4: #8792a2;
	--hsr-c5: #7fa0f2;
	--hsr-c6: var(--hsr-ink);

	--hsr-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--hsr-space-1: 4px;
	--hsr-space-2: 8px;
	--hsr-space-3: 12px;
	--hsr-space-4: 16px;
	--hsr-space-5: 24px;
	--hsr-space-6: 32px;
	--hsr-space-7: 48px;
	--hsr-space-8: 64px;

	--hsr-radius-sm: 8px;
	--hsr-radius: 12px;
	--hsr-radius-lg: 16px;
	--hsr-radius-xl: 18px;
	--hsr-radius-pill: 999px;

	--hsr-shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 10px 30px rgba(14, 23, 38, .06);
	--hsr-shadow-sm: 0 4px 14px rgba(14, 23, 38, .12);

	--hsr-wrap: 1280px;
	--hsr-sidebar: 340px;
	--hsr-measure: 820px;
	--hsr-header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hsr-header-h) + 16px); }
body {
	margin: 0;
	background: var(--hsr-white);
	color: var(--hsr-text);
	font-family: var(--hsr-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--hsr-ink); text-decoration: none; }
a:hover { color: var(--hsr-accent); }
h1, h2, h3, h4, h5, h6 { color: var(--hsr-ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hsr-accent); outline-offset: 2px; border-radius: 6px; }
.hsr-main:focus { outline: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	left: 12px; top: 12px; padding: 12px 18px; background: var(--hsr-ink); color: #fff; border-radius: var(--hsr-radius-sm);
}
.hsr-wrap { max-width: var(--hsr-wrap); margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }

/* Buttons, chips, small text */
.hsr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
	background: var(--hsr-accent); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2;
	cursor: pointer; text-decoration: none; white-space: nowrap;
}
.hsr-btn:hover, .hsr-btn:focus-visible { background: var(--hsr-ink); color: #fff; }
.hsr-btn--outline { background: transparent; color: var(--hsr-accent); border: 1px solid var(--hsr-accent); min-height: 40px; font-size: 14px; }
.hsr-btn--outline:hover { background: var(--hsr-accent); color: #fff; }
.hsr-iconbtn {
	width: 44px; height: 44px; border: 1px solid var(--hsr-line); background: #fff; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center; color: var(--hsr-ink); cursor: pointer; flex-shrink: 0;
}
.hsr-iconbtn:hover { border-color: var(--hsr-ink); }
.hsr-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--hsr-radius-pill);
	background: var(--hsr-accent-tint); color: var(--hsr-accent); font-size: 13px; font-weight: 700;
}
a.hsr-chip:hover { background: var(--hsr-accent); color: #fff; }
.hsr-chip-link { font-size: 14px; font-weight: 700; color: var(--hsr-ink); border: 1px solid var(--hsr-line); border-radius: 10px; padding: 8px 14px; white-space: nowrap; }
.hsr-chip-link:hover { border-color: var(--hsr-ink); color: var(--hsr-ink); }
.hsr-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px;
	border-radius: var(--hsr-radius-pill); background: var(--hsr-accent-tint); color: var(--hsr-accent); font-size: 13px; font-weight: 700;
}
.hsr-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--hsr-marker); display: inline-block; }
.hsr-kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hsr-accent); }
a.hsr-kicker:hover { color: var(--hsr-ink); }
.hsr-meta { margin: 0; font-size: 14px; color: var(--hsr-muted); }
.hsr-meta a, .hsr-meta__author { color: var(--hsr-ink); font-weight: 600; }
.hsr-badge {
	position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--hsr-ink);
	font-size: 17px; font-weight: 800; letter-spacing: -.01em; padding: 6px 13px; border-radius: 9px;
	box-shadow: var(--hsr-shadow-sm); font-variant-numeric: tabular-nums; line-height: 1.3;
}
.hsr-more-link { font-weight: 700; font-size: 14px; color: var(--hsr-accent); }
.hsr-more-link:hover { color: var(--hsr-ink); }
.hsr-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--hsr-ink); }
.hsr-row { display: flex; gap: 8px; }
.hsr-row > select, .hsr-row > input { flex: 1; min-width: 0; }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="number"], select, textarea {
	min-height: 44px; border: 1px solid var(--hsr-field); border-radius: 10px; background: #fff; color: var(--hsr-ink);
	padding: 8px 12px; font-size: 15px; max-width: 100%;
}
textarea { min-height: 120px; width: 100%; }
.hsr-admin-note { font-size: 13px; padding: 10px 12px; border-radius: var(--hsr-radius-sm); background: var(--hsr-warm); color: var(--hsr-ink); }
.hsr-icon { flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.hsr-header { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--hsr-line); z-index: 50; position: relative; }
.hsr-sticky-header .hsr-header { position: sticky; top: 0; }
.admin-bar.hsr-sticky-header .hsr-header { top: 32px; }
.hsr-header__in { display: flex; align-items: center; gap: 28px; min-height: var(--hsr-header-h); }
.hsr-logo { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; flex-shrink: 0; }
.hsr-logo a { display: flex; align-items: center; gap: 10px; color: var(--hsr-ink); }
.hsr-logo em, .hsr-footer__logo em { font-style: normal; color: var(--hsr-accent); }
.hsr-logo__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--hsr-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hsr-logo--image img { max-height: 44px; width: auto; display: block; }
.hsr-nav { flex: 1; }
.hsr-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.hsr-menu li { position: relative; }
.hsr-menu a { display: inline-block; padding: 9px 14px; border-radius: var(--hsr-radius-sm); font-weight: 600; font-size: 15px; color: var(--hsr-text); }
.hsr-menu a:hover { background: var(--hsr-surface); color: var(--hsr-ink); }
.hsr-menu .current-menu-item > a, .hsr-menu .current-menu-ancestor > a, .hsr-menu .current-post-ancestor > a, .hsr-menu .current-category-ancestor > a { color: var(--hsr-accent); background: var(--hsr-accent-tint); }
.hsr-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius); box-shadow: var(--hsr-shadow); display: none; z-index: 10; }
.hsr-menu li:hover > .sub-menu, .hsr-menu li:focus-within > .sub-menu { display: block; }
.hsr-menu .sub-menu a { display: block; }
.hsr-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hsr-menu-toggle { display: none; }
.hsr-menu-toggle__close { display: none; }
.hsr-nav-open .hsr-menu-toggle__open { display: none; }
.hsr-nav-open .hsr-menu-toggle__close { display: inline-flex; }
.hsr-searchpanel { border-top: 1px solid var(--hsr-line); background: #fff; padding: 16px 0; }
.hsr-searchform { display: flex; gap: 8px; max-width: 640px; }
.hsr-searchform input[type="search"] { flex: 1; min-width: 0; }
.hsr-below-header { padding: 16px 0; border-bottom: 1px solid var(--hsr-line); }
.hsr-below-header .hsr-widget { border: 0; padding: 0; }

/* ==========================================================================
   Homepage intro, hero, most read
   ========================================================================== */
.hsr-intro { padding: 52px 0 36px; }
.hsr-intro__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hsr-intro__title { margin: 0; font-size: 58px; line-height: 1.02; letter-spacing: -.04em; }
.hsr-intro__text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--hsr-muted); }

.hsr-hero { padding: 0 0 56px; }
.hsr-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 1px minmax(0, 1fr); gap: 0 40px; align-items: start; }
.hsr-hero__grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.hsr-hero__divider { background: var(--hsr-line); align-self: stretch; }
.hsr-hero__media {
	position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10;
	border-radius: var(--hsr-radius-lg); overflow: hidden; background: var(--hsr-surface); color: var(--hsr-ink);
}
.hsr-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsr-hero__text { padding-top: 22px; }
.hsr-hero__title { margin: 12px 0 12px; font-size: 38px; line-height: 1.1; letter-spacing: -.035em; }
.hsr-hero__title a { color: var(--hsr-ink); }
.hsr-hero__title a:hover { color: var(--hsr-accent); }
.hsr-hero__dek { margin: 0 0 16px; font-size: 18px; color: var(--hsr-text); }

.hsr-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius-xl); padding: 24px; box-shadow: var(--hsr-shadow); min-width: 0; }
.hsr-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.hsr-panel__label {
	margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--hsr-radius-sm);
	background: var(--hsr-ink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.hsr-panel__label span { width: 7px; height: 7px; border-radius: 50%; background: var(--hsr-marker); display: inline-block; }
.hsr-panel__period { font-size: 14px; color: var(--hsr-muted); }
.hsr-panel .hsr-chart { margin: 0; }
.hsr-panel .hsr-chart__title { font-size: 22px; }
.hsr-panel__more { align-self: flex-start; margin-top: 16px; }

.hsr-trend { background: var(--hsr-surface); padding: 28px 0; }
.hsr-trend__in { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; }
.hsr-trend__label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hsr-trend__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hsr-trend__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsr-trend__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hsr-trend__list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius); }
.hsr-trend__n { font-size: 13px; font-weight: 800; color: var(--hsr-accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.hsr-trend__list a { font-size: 14.5px; font-weight: 600; line-height: 1.35; }

/* ==========================================================================
   Layout, sections, cards
   ========================================================================== */
.hsr-cols { display: grid; grid-template-columns: minmax(0, 1fr) var(--hsr-sidebar); gap: 48px; padding-bottom: 72px; }
.hsr-cols--left { grid-template-columns: var(--hsr-sidebar) minmax(0, 1fr); }
.hsr-cols--left .hsr-primary { order: 2; }
.hsr-cols--left .hsr-sidebar { order: 1; }
.hsr-cols--none { grid-template-columns: minmax(0, 1fr); }
.hsr-home-body { padding-top: 60px; }
.hsr-primary { min-width: 0; }
.hsr-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.hsr-section-title { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.hsr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.hsr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hsr-card { position: relative; min-width: 0; }
.hsr-card__media {
	position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2;
	border-radius: 14px; overflow: hidden; background: var(--hsr-surface); color: var(--hsr-ink);
}
.hsr-card__media.is-warm { background: var(--hsr-warm); }
.hsr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hsr-card:hover .hsr-card__media img { transform: scale(1.03); }
.hsr-card__body { padding-top: 16px; }
.hsr-card__title { margin: 6px 0 8px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.hsr-card__title a { color: var(--hsr-ink); }
.hsr-card__title a:hover { color: var(--hsr-accent); }
.hsr-card__excerpt { margin: 0 0 10px; font-size: 15px; }
.hsr-card--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 16px; background: var(--hsr-warm); border-radius: var(--hsr-radius-xl); margin-bottom: 36px; }
.hsr-card--wide .hsr-card__media { aspect-ratio: 4 / 3; background: var(--hsr-warm-2); }
.hsr-card--wide .hsr-card__body { padding: 0 12px 0 0; }
.hsr-card--wide .hsr-card__title { font-size: 29px; font-weight: 800; line-height: 1.12; letter-spacing: -.035em; margin: 10px 0; }
.hsr-card--wide .hsr-card__excerpt { font-size: 16.5px; }
.hsr-card--small .hsr-card__media { border-radius: var(--hsr-radius); }
.hsr-card--small .hsr-card__title { font-size: 18px; }

.hsr-topics { margin-top: 60px; }
.hsr-topics__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hsr-topics__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsr-topics__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hsr-topics__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hsr-topic { display: flex; flex-direction: column; gap: 8px; min-height: 168px; padding: 18px 16px; border: 1px solid var(--hsr-line); border-radius: 14px; background: #fff; }
.hsr-topic:hover { border-color: var(--hsr-accent); }
.hsr-topic__icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; background: var(--hsr-accent-tint); color: var(--hsr-accent); }
.hsr-topic__name { font-size: 16.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--hsr-ink); }
.hsr-topic__desc { font-size: 13.5px; line-height: 1.45; color: var(--hsr-muted); }

.hsr-archive-head { padding: 28px 0 36px; max-width: 860px; }
.hsr-archive-head__title { margin: 0; font-size: 46px; letter-spacing: -.04em; line-height: 1.06; }
.hsr-archive-head__desc { margin-top: 14px; font-size: 18px; color: var(--hsr-muted); }
.hsr-archive-head__desc p:last-child { margin-bottom: 0; }

.hsr-pagination { margin-top: 48px; }
.hsr-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hsr-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--hsr-line); border-radius: 10px; font-weight: 600; }
.hsr-pagination .page-numbers.current { background: var(--hsr-ink); border-color: var(--hsr-ink); color: #fff; }
.hsr-pagination a.page-numbers:hover { border-color: var(--hsr-ink); color: var(--hsr-ink); }
.hsr-none { padding: 20px 0; }
.hsr-none .hsr-section-title { margin-bottom: 12px; }

/* ==========================================================================
   Sidebar and widgets
   ========================================================================== */
.hsr-sidebar { min-width: 0; }
.hsr-sidebar__in { display: flex; flex-direction: column; gap: 20px; }
.single .hsr-sidebar__in { position: sticky; top: calc(var(--hsr-header-h) + 20px); }
.hsr-widget { border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius-lg); padding: 20px 20px 18px; background: #fff; font-size: 15px; }
.hsr-widget__title { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--hsr-ink); }
.hsr-widget__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hsr-marker); flex-shrink: 0; }
.hsr-widget ul:not([class]), .hsr-widget ol:not([class]), .hsr-widget .menu { list-style: none; margin: 0; padding: 0; }
.hsr-widget ul:not([class]) li, .hsr-widget .menu li { padding: 8px 0; border-bottom: 1px solid var(--hsr-line-soft); }
.hsr-widget ul:not([class]) li:last-child, .hsr-widget .menu li:last-child { border-bottom: 0; }
.hsr-widget p:last-child { margin-bottom: 0; }
.hsr-widget .hsr-chart { margin: 0; }

.hsr-pulse { list-style: none; margin: 0; padding: 0; }
.hsr-pulse li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hsr-line-soft); align-items: baseline; }
.hsr-pulse li:last-child { border-bottom: 0; padding-bottom: 2px; }
.hsr-pulse__num { font-size: 25px; font-weight: 800; color: var(--hsr-ink); line-height: 1; white-space: nowrap; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hsr-pulse__lbl { font-size: 14px; line-height: 1.4; }
.hsr-pulse__lbl small { display: block; font-size: 12px; color: var(--hsr-muted); margin-top: 3px; }
.hsr-pulse__lbl small a { color: var(--hsr-muted); text-decoration: underline; text-underline-offset: 2px; }

.hsr-numlist { list-style: none; margin: 0; padding: 0; }
.hsr-numlist li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hsr-line-soft); }
.hsr-numlist li:last-child { border-bottom: 0; }
.hsr-numlist__n { font-size: 13px; font-weight: 800; color: var(--hsr-accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.hsr-numlist a { font-size: 15px; font-weight: 600; line-height: 1.35; }

.hsr-avatar { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--hsr-accent-tint); }
.hsr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsr-avatar--md { flex-basis: 60px; width: 60px; height: 60px; }
.hsr-avatar--lg { flex-basis: 72px; width: 72px; height: 72px; }
.hsr-wauthor { display: flex; gap: 14px; align-items: flex-start; }
.hsr-wauthor > div { min-width: 0; }
.hsr-wauthor__name { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--hsr-ink); }
.hsr-wauthor__bio { margin: 0 0 8px; font-size: 14px; }

.hsr-widget--dark { background: var(--hsr-ink); border-color: var(--hsr-ink); color: var(--hsr-footer-text); }
.hsr-widget--dark .hsr-widget__title { color: #fff; }
.hsr-widget--dark .hsr-label { color: var(--hsr-footer-text); }
.hsr-widget--dark input { border-color: #fff; }
.hsr-widget--dark .hsr-btn { background: var(--hsr-marker); color: var(--hsr-ink); }
.hsr-widget--dark .hsr-btn:hover { background: #fff; }
.hsr-widget--dark a { color: #fff; }
.hsr-news__pitch { margin: 0 0 14px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; color: #fff; }
.hsr-news__note { margin: 10px 0 0; font-size: 12.5px; }
.hsr-widget--dark .hsr-admin-note { color: var(--hsr-ink); }

.hsr-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hsr-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hsr-line); border-radius: 10px; color: var(--hsr-ink); }
.hsr-social a:hover { border-color: var(--hsr-accent); color: var(--hsr-accent); }

/* ==========================================================================
   Charts (one renderer: hero, [hsr_chart], Chart widget)
   ========================================================================== */
.hsr-chart { margin: 28px 0; padding: 24px 24px 18px; background: #fff; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius-lg); box-shadow: var(--hsr-shadow); }
.hsr-chart--bare { padding: 0; border: 0; box-shadow: none; background: transparent; }
.hsr-chart__cap { display: block; margin: 0 0 18px; }
.hsr-chart__title { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; color: var(--hsr-ink); }
.hsr-chart__sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--hsr-muted); }
.hsr-chart__note { margin: 14px 0 0; font-size: 13.5px; color: var(--hsr-text); }
.hsr-chart__src { margin: 12px 0 0; font-size: 12.5px; color: var(--hsr-muted); line-height: 1.5; }
.hsr-chart__src a, .hsr-stat__src a, .hsr-cost__meta a { color: var(--hsr-accent); text-decoration: underline; text-underline-offset: 2px; }
.hsr-chart__table { margin-top: 12px; font-size: 13.5px; }
.hsr-chart__table summary { cursor: pointer; color: var(--hsr-accent); font-weight: 600; width: max-content; }
.hsr-chart__table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.hsr-chart__table th, .hsr-chart__table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--hsr-line-soft); }
.hsr-chart__table thead th { color: var(--hsr-muted); font-weight: 600; }
.hsr-chart__table tbody th { font-weight: 500; color: var(--hsr-ink); }
.hsr-chart-empty { padding: 14px; border: 1px dashed var(--hsr-field); border-radius: var(--hsr-radius-sm); font-size: 14px; }

/* Horizontal bars */
.hsr-hbar { display: grid; gap: 8px; }
.hsr-hbar__row { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14.5px; }
.hsr-hbar__label { color: var(--hsr-ink); font-weight: 500; line-height: 1.25; }
.hsr-hbar__track {
	height: 20px; border-left: 2px solid var(--hsr-ink);
	background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--hsr-line-soft) calc(25% - 1px) 25%);
}
.hsr-hbar__bar { display: block; height: 100%; background: var(--hsr-accent); border-radius: 0 6px 6px 0; transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.hsr-hbar.hsr-anim:not(.is-in) .hsr-hbar__bar { width: 0 !important; }
.hsr-hbar__value { min-width: 56px; text-align: right; font-weight: 700; color: var(--hsr-ink); font-variant-numeric: tabular-nums; }
.hsr-hbar__row.is-hi .hsr-hbar__bar { background: var(--hsr-ink); }
.hsr-hbar__row.is-hi .hsr-hbar__label { font-weight: 700; }
.hsr-hbar__row.is-muted .hsr-hbar__bar { background: var(--hsr-footer-text); }
.hsr-hbar__row.is-muted .hsr-hbar__label { color: var(--hsr-muted); font-style: italic; }
.hsr-hbar__row:hover .hsr-hbar__bar { filter: brightness(1.15); }

/* Columns */
.hsr-colchart { --hsr-n: 6; display: grid; grid-template-columns: repeat(var(--hsr-n), minmax(0, 1fr)); gap: 10px; padding: 0; align-items: end; border-bottom: 2px solid var(--hsr-ink); }
.hsr-colchart__col { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.hsr-colchart__plot { height: 200px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.hsr-colchart__value { font-size: 13px; font-weight: 700; color: var(--hsr-ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hsr-colchart__bar { width: 100%; max-width: 64px; background: var(--hsr-accent); border-radius: 6px 6px 0 0; min-height: 2px; transition: height .8s cubic-bezier(.2, .7, .2, 1); }
.hsr-colchart.hsr-anim:not(.is-in) .hsr-colchart__bar { height: 0 !important; }
.hsr-colchart__col.is-hi .hsr-colchart__bar { background: var(--hsr-ink); }
.hsr-colchart__col.is-muted .hsr-colchart__bar { background: var(--hsr-footer-text); }
.hsr-colchart__label { order: 2; font-size: 12.5px; color: var(--hsr-muted); text-align: center; margin-top: 8px; line-height: 1.25; overflow-wrap: anywhere; }
.hsr-colchart__col { position: relative; }
.hsr-chart--bar .hsr-colchart { border-bottom: 0; }
.hsr-chart--bar .hsr-colchart__plot { border-bottom: 2px solid var(--hsr-ink); }

/* Line */
.hsr-line-wrap { width: 100%; }
.hsr-line { width: 100%; height: 260px; display: block; overflow: visible; }
.hsr-line__grid { stroke: var(--hsr-line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hsr-line__path { fill: none; stroke: var(--hsr-accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hsr-line__dot { fill: #fff; stroke: var(--hsr-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hsr-line__dot.is-hi { fill: var(--hsr-accent); }
.hsr-line__ylab, .hsr-line__xlab { fill: var(--hsr-muted); font-size: 12px; font-family: var(--hsr-font); }
.hsr-line__last { fill: var(--hsr-ink); font-size: 14px; font-weight: 800; font-family: var(--hsr-font); }

/* Donut */
.hsr-donut-wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; }
.hsr-donut { width: 180px; height: 180px; transform: rotate(0deg); }
.hsr-donut__ring { fill: none; stroke: var(--hsr-line-soft); stroke-width: 6; }
.hsr-donut__seg { fill: none; stroke-width: 6; }
.hsr-donut__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.hsr-donut__legend li { display: flex; align-items: center; gap: 10px; }
.hsr-donut__name { flex: 1; color: var(--hsr-ink); }
.hsr-donut__val { font-weight: 700; color: var(--hsr-ink); font-variant-numeric: tabular-nums; }
.hsr-swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(14, 23, 38, .12); }
.hsr-c1 { stroke: var(--hsr-c1); background: var(--hsr-c1); }
.hsr-c2 { stroke: var(--hsr-c2); background: var(--hsr-c2); }
.hsr-c3 { stroke: var(--hsr-c3); background: var(--hsr-c3); }
.hsr-c4 { stroke: var(--hsr-c4); background: var(--hsr-c4); }
.hsr-c5 { stroke: var(--hsr-c5); background: var(--hsr-c5); }
.hsr-c6 { stroke: var(--hsr-c6); background: var(--hsr-c6); }

/* Cost range */
.hsr-range { display: grid; gap: 14px; }
.hsr-range__row { display: grid; grid-template-columns: minmax(90px, 160px) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14.5px; }
.hsr-range__label { color: var(--hsr-ink); font-weight: 500; line-height: 1.25; }
.hsr-range__track { position: relative; height: 14px; border-radius: 7px; background: var(--hsr-surface); }
.hsr-range__bar { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--hsr-b2); }
.hsr-range__mid { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--hsr-accent); box-shadow: 0 0 0 3px #fff; }
.hsr-range__value { text-align: right; font-weight: 700; color: var(--hsr-ink); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
.hsr-range__value small { display: block; font-weight: 500; font-size: 12px; color: var(--hsr-muted); }

/* State tile map */
.hsr-map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.hsr-map__tile {
	aspect-ratio: 1 / 1; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	box-shadow: inset 0 0 0 1px rgba(14, 23, 38, .08); line-height: 1.05; cursor: default; min-width: 0; color: var(--hsr-ink);
}
.hsr-map__tile b { font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.hsr-map__tile i { font-style: normal; font-size: 9.5px; font-weight: 500; opacity: .92; display: none; font-variant-numeric: tabular-nums; }
.hsr-map.has-values .hsr-map__tile i { display: block; }
.hsr-map__tile:hover { box-shadow: inset 0 0 0 2px var(--hsr-ink); }
.hsr-map__tile.is-empty { background: #fff; color: var(--hsr-muted); box-shadow: inset 0 0 0 1px var(--hsr-line); }
.hsr-b1 { background: var(--hsr-b1); }
.hsr-b2 { background: var(--hsr-b2); }
.hsr-b3 { background: var(--hsr-b3); }
.hsr-b4 { background: var(--hsr-b4); }
.hsr-b5 { background: var(--hsr-b5); }
.hsr-map__tile.hsr-b4, .hsr-map__tile.hsr-b5 { color: #fff; }
.hsr-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; font-size: 12.5px; color: var(--hsr-text); }
.hsr-legend__item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: var(--hsr-radius-pill); background: var(--hsr-surface); }
.hsr-legend__unit { margin-left: 4px; color: var(--hsr-muted); }
.hsr-extremes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hsr-extremes > div { background: var(--hsr-surface); border-radius: var(--hsr-radius); padding: 12px 14px; font-size: 13px; color: var(--hsr-muted); }
.hsr-extremes strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--hsr-ink); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Single post
   ========================================================================== */
.hsr-crumbs { padding: 24px 0 0; font-size: 13.5px; color: var(--hsr-muted); }
.hsr-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hsr-crumbs li + li::before { content: "/"; margin-right: 8px; color: #b4bdca; }
.hsr-crumbs a { color: var(--hsr-text); }
.hsr-crumbs a:hover { color: var(--hsr-accent); }
.hsr-crumbs p { margin: 0; }
.hsr-crumbs .separator { color: #b4bdca; margin: 0 6px; }

.hsr-entry-head { padding: 28px 0 30px; max-width: 880px; }
.hsr-entry-head--page { padding-bottom: 20px; }
.hsr-entry-head__title { margin: 16px 0 16px; font-size: 50px; line-height: 1.06; letter-spacing: -.04em; }
.hsr-entry-head--page .hsr-entry-head__title { margin-top: 8px; }
.hsr-entry-head__dek { margin: 0 0 22px; font-size: 20px; line-height: 1.5; color: var(--hsr-text); }
.hsr-byline { display: flex; align-items: center; gap: 12px; }
.hsr-datastrip { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hsr-datastrip li { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: var(--hsr-radius-pill); background: var(--hsr-surface); font-size: 13.5px; }
.hsr-datastrip b { color: var(--hsr-ink); }
.hsr-datastrip a { color: var(--hsr-accent); text-decoration: underline; text-underline-offset: 2px; }

.hsr-entry__image { margin: 0 0 28px; }
.hsr-entry__image img { width: 100%; border-radius: var(--hsr-radius-lg); display: block; }
.hsr-entry__image figcaption { margin-top: 8px; font-size: 13.5px; color: var(--hsr-muted); }

.hsr-prose { font-size: 18px; line-height: 1.75; color: var(--hsr-text); overflow-wrap: break-word; }
/* With a sidebar the text fills the content column. Without one, the whole article sits in one centered column. */
.hsr-cols--none .hsr-entry { max-width: var(--hsr-measure); margin-left: auto; margin-right: auto; width: 100%; }
.hsr-layout-none.single .hsr-crumbs, .hsr-layout-none.single .hsr-entry-head,
.hsr-layout-none.page .hsr-crumbs, .hsr-layout-none.page .hsr-entry-head { max-width: var(--hsr-measure); margin-left: auto; margin-right: auto; }
.hsr-prose > * { margin-top: 0; margin-bottom: 22px; }
.hsr-prose h2 { margin: 48px 0 14px; font-size: 30px; line-height: 1.15; letter-spacing: -.035em; }
.hsr-prose h3 { margin: 36px 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.hsr-prose h4 { margin: 28px 0 10px; font-size: 18px; letter-spacing: -.015em; }
.hsr-prose a { color: var(--hsr-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hsr-prose a:hover { text-decoration-thickness: 2px; }
.hsr-prose ul, .hsr-prose ol { padding-left: 24px; }
.hsr-prose li { margin-bottom: 8px; }
.hsr-prose li::marker { color: var(--hsr-accent); font-weight: 700; }
.hsr-prose strong { color: var(--hsr-ink); }
.hsr-prose blockquote, .hsr-prose .wp-block-quote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--hsr-accent); font-size: 20px; line-height: 1.5; color: var(--hsr-ink); }
.hsr-prose blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--hsr-muted); }
.hsr-prose img { border-radius: var(--hsr-radius); }
.hsr-prose figure { margin-left: 0; margin-right: 0; }
.hsr-prose figcaption, .hsr-prose .wp-element-caption { font-size: 13.5px; color: var(--hsr-muted); margin-top: 8px; }
.hsr-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.hsr-prose th, .hsr-prose td { padding: 10px 12px; border-bottom: 1px solid var(--hsr-line); text-align: left; vertical-align: top; }
.hsr-prose thead th { background: var(--hsr-ink); color: #fff; font-weight: 700; }
.hsr-prose .wp-block-table { overflow-x: auto; }
.hsr-prose hr { border: 0; border-top: 1px solid var(--hsr-line); margin: 40px 0; }
.hsr-prose code { font-size: .9em; background: var(--hsr-surface); padding: 2px 6px; border-radius: 6px; }
.hsr-prose .alignwide { max-width: none; }
.hsr-prose .hsr-chart__title, .hsr-prose .hsr-chart__sub { margin: 0; }

.hsr-toc { margin: 28px 0 32px; padding: 20px 24px; background: var(--hsr-surface); border-radius: 14px; }
.hsr-toc__title { margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hsr-ink); line-height: 1.4; }
.hsr-toc ol { margin: 0; padding-left: 22px; font-size: 16.5px; line-height: 1.9; }
.hsr-toc ol ol { margin: 2px 0 4px; font-size: 15.5px; }
.hsr-toc li { margin: 0; }
.hsr-prose .hsr-toc a { color: var(--hsr-ink); text-decoration: none; }
.hsr-prose .hsr-toc a:hover { color: var(--hsr-accent); text-decoration: underline; }

.hsr-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin: 32px 0; padding: 24px 26px; border-radius: var(--hsr-radius-lg); background: var(--hsr-accent-tint); }
.hsr-stat__value { font-size: 62px; line-height: .95; font-weight: 800; letter-spacing: -.045em; color: var(--hsr-accent); font-variant-numeric: tabular-nums; }
.hsr-stat__label { margin: 0 !important; font-size: 17px; line-height: 1.5; color: var(--hsr-ink); }
.hsr-stat__src { margin: 8px 0 0 !important; font-size: 13px; color: var(--hsr-muted); }
.hsr-stat .hsr-delta { margin-top: 8px; }
.hsr-widget .hsr-stat { margin: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px; }
.hsr-widget .hsr-stat__value { font-size: 44px; }

.hsr-delta { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--hsr-radius-pill); font-size: .85em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: baseline; }
.hsr-delta.is-up { background: #e7f6ee; color: #0b6b3a; }
.hsr-delta.is-down { background: #fdecec; color: #a3242a; }
.hsr-delta.is-flat { background: var(--hsr-surface); color: var(--hsr-text); }
.hsr-delta > span[aria-hidden] { font-size: .8em; }

.hsr-cost { margin: 32px 0; padding: 22px 24px; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius-lg); background: #fff; }
.hsr-cost__title { margin: 0 0 14px !important; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--hsr-ink); line-height: 1.3; }
.hsr-cost__title span { font-weight: 500; font-size: 14px; color: var(--hsr-muted); letter-spacing: 0; }
.hsr-cost__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hsr-cost__cell { padding: 14px; border-radius: var(--hsr-radius); background: var(--hsr-surface); }
.hsr-cost__cell.is-typical { background: var(--hsr-accent-tint); }
.hsr-cost__cell dt { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hsr-muted); }
.hsr-cost__cell.is-typical dt { color: var(--hsr-accent); }
.hsr-cost__cell dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--hsr-ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hsr-cost__meta { margin: 12px 0 0 !important; font-size: 13px; color: var(--hsr-muted); }

.hsr-compare { overflow-x: auto; margin: 28px 0; border: 1px solid var(--hsr-line); border-radius: var(--hsr-radius-lg); }
.hsr-compare table { margin: 0; min-width: 520px; }
.hsr-compare caption { text-align: left; padding: 14px 16px 6px; font-weight: 800; color: var(--hsr-ink); font-size: 16px; }
.hsr-compare tbody th { position: sticky; left: 0; background: #fff; font-weight: 600; color: var(--hsr-ink); }
.hsr-compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
.hsr-compare tbody tr:last-child th, .hsr-compare tbody tr:last-child td { border-bottom: 0; }

.hsr-sources { margin: 40px 0 0; padding: 20px 24px; border: 1px solid var(--hsr-line); border-radius: 14px; font-size: 15.5px; line-height: 1.55; }
.hsr-sources__title { margin: 0 0 10px !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hsr-ink); }
.hsr-sources ol { margin: 0 !important; padding-left: 20px; }
.hsr-sources li { margin-bottom: 6px; }

.hsr-tags { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hsr-tags a { display: inline-block; padding: 6px 12px; border-radius: var(--hsr-radius-pill); border: 1px solid var(--hsr-line); font-size: 13.5px; font-weight: 600; }
.hsr-tags a:hover { border-color: var(--hsr-accent); }
.hsr-after-post { margin-top: 32px; display: grid; gap: 20px; }

.hsr-authorbox { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: var(--hsr-radius-lg); background: var(--hsr-surface); }
.hsr-authorbox > div { min-width: 0; }
.hsr-authorbox__name { margin: 0 0 4px; font-size: 18px; letter-spacing: -.02em; }
.hsr-authorbox p { margin: 0 0 8px; font-size: 15.5px; }

.hsr-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.hsr-postnav a { display: block; padding: 16px 18px; border: 1px solid var(--hsr-line); border-radius: 14px; background: #fff; }
.hsr-postnav a:hover { border-color: var(--hsr-accent); }
.hsr-postnav small { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; color: var(--hsr-accent); }
.hsr-postnav span { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--hsr-ink); }
.hsr-postnav__next { text-align: right; grid-column: 2; }

.hsr-related { margin-top: 56px; }
.hsr-related .hsr-section-title { margin-bottom: 20px; font-size: 28px; }
.hsr-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.hsr-comments { margin-top: 56px; }
.hsr-comments__list { list-style: none; margin: 20px 0; padding: 0; }
.hsr-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--hsr-line); }
.hsr-comments__list .children { list-style: none; padding-left: 24px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; }

.hsr-404 { padding-top: 64px; padding-bottom: 96px; }
.hsr-404 > * { max-width: 760px; }
.hsr-404__code { margin: 0; font-size: 96px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--hsr-accent); }
.hsr-404__text { font-size: 18px; color: var(--hsr-muted); }
.hsr-404 .hsr-searchform { margin: 24px 0 36px; }
.hsr-404__topics-title { font-size: 22px; margin-bottom: 12px; }
.hsr-404__topics { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hsr-footer { background: var(--hsr-footer); color: var(--hsr-footer-text); }
.hsr-footer a { color: #fff; }
.hsr-footer a:hover { color: var(--hsr-footer-accent); }
.hsr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 48px; }
.hsr-footer__grid--1 { grid-template-columns: 1fr; }
.hsr-footer__grid--2 { grid-template-columns: 1.4fr 1fr; }
.hsr-footer__grid--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.hsr-footer__col { min-width: 0; font-size: 15px; }
.hsr-footer__title, .hsr-footer .hsr-widget__title { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hsr-footer-accent); }
.hsr-footer .hsr-widget__title::before { display: none; }
.hsr-footer .hsr-widget { background: transparent; border: 0; padding: 0; color: var(--hsr-footer-text); }
.hsr-footer .hsr-widget + .hsr-widget { margin-top: 28px; }
.hsr-footer .hsr-widget ul:not([class]) li, .hsr-footer .hsr-widget .menu li { border-color: rgba(255, 255, 255, .1); }
.hsr-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hsr-footer__logo { margin: 0 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hsr-footer__logo em { color: var(--hsr-footer-accent); }
.hsr-footer p { line-height: 1.6; }
.hsr-social--footer { margin-top: 18px; }
.hsr-social--footer a, .hsr-footer .hsr-social a { border-color: rgba(255, 255, 255, .25); color: #fff; }
.hsr-footer__bar { border-top: 1px solid rgba(255, 255, 255, .14); }
.hsr-footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; }
.hsr-footer__copy { margin: 0; }
.hsr-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.hsr-footer__barwidgets .hsr-widget { padding: 0; }
.hsr-totop { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; margin-left: auto; opacity: 0; visibility: hidden; transition: opacity .2s; }
.hsr-totop.is-visible { opacity: 1; visibility: visible; }
.hsr-totop:focus-visible { opacity: 1; visibility: visible; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: 13.5px; color: var(--hsr-muted); }
.sticky, .bypostauthor { position: relative; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
	.hsr-menu-toggle { display: inline-flex; }
	.hsr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--hsr-line); box-shadow: var(--hsr-shadow); padding: 12px 20px 20px; }
	.hsr-nav-open .hsr-nav { display: block; }
	.hsr-menu { flex-direction: column; gap: 2px; }
	.hsr-menu a { display: block; padding: 12px 14px; font-size: 16px; }
	.hsr-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.hsr-intro__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.hsr-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hsr-hero__divider { display: none; }
	.hsr-cols, .hsr-cols--left { grid-template-columns: minmax(0, 1fr); }
	.hsr-cols--left .hsr-primary, .hsr-cols--left .hsr-sidebar { order: 0; }
	.single .hsr-sidebar__in { position: static; }
	.hsr-topics__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hsr-trend__in { grid-template-columns: minmax(0, 1fr); }
	.hsr-trend__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsr-footer__grid, .hsr-footer__grid--3 { grid-template-columns: 1fr 1fr; }
	.hsr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.admin-bar.hsr-sticky-header .hsr-header { top: 46px; }
}
@media (max-width: 640px) {
	.hsr-wrap { padding-left: 16px; padding-right: 16px; }
	.hsr-header__in { min-height: 64px; gap: 10px; }
	.hsr-logo { font-size: 18px; }
	.hsr-logo__mark { width: 28px; height: 28px; }
	.hsr-header__btn { display: none; }
	.hsr-intro { padding: 32px 0 24px; }
	.hsr-intro__title { font-size: 38px; }
	.hsr-hero__title { font-size: 28px; }
	.hsr-panel { padding: 16px; border-radius: 14px; }
	.hsr-map { gap: 2px; }
	.hsr-map__tile { border-radius: 4px; }
	.hsr-map__tile b { font-size: 9px; }
	.hsr-map.has-values .hsr-map__tile i { display: none; }
	.hsr-extremes strong { font-size: 17px; }
	.hsr-trend__list, .hsr-trend__list--2, .hsr-trend__list--3 { grid-template-columns: minmax(0, 1fr); }
	.hsr-home-body { padding-top: 40px; }
	.hsr-grid, .hsr-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.hsr-card--wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.hsr-card--wide .hsr-card__body { padding: 0 4px 4px; }
	.hsr-card--wide .hsr-card__title { font-size: 25px; }
	.hsr-topics__grid, .hsr-topics__grid--3, .hsr-topics__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsr-topic { min-height: 0; }
	.hsr-section-title { font-size: 26px; }
	.hsr-archive-head__title { font-size: 34px; }
	.hsr-entry-head__title { font-size: 34px; }
	.hsr-entry-head__dek { font-size: 18px; }
	.hsr-prose { font-size: 17px; }
	.hsr-prose h2 { font-size: 25px; }
	.hsr-chart { padding: 16px 14px 12px; }
	.hsr-hbar__row { grid-template-columns: minmax(70px, 96px) minmax(0, 1fr) auto; gap: 8px; font-size: 13.5px; }
	.hsr-range__row { grid-template-columns: minmax(0, 1fr) auto; }
	.hsr-range__track { grid-column: 1 / -1; grid-row: 2; }
	.hsr-donut-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.hsr-donut__legend { width: 100%; }
	.hsr-colchart__value { font-size: 11px; }
	.hsr-stat { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
	.hsr-stat__value { font-size: 50px; }
	.hsr-cost__grid { grid-template-columns: minmax(0, 1fr); }
	.hsr-postnav { grid-template-columns: minmax(0, 1fr); }
	.hsr-postnav__next { grid-column: auto; }
	.hsr-related__grid { grid-template-columns: minmax(0, 1fr); }
	.hsr-authorbox { flex-direction: column; }
	.hsr-footer__grid, .hsr-footer__grid--2, .hsr-footer__grid--3 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.hsr-404__code { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.hsr-header, .hsr-footer, .hsr-sidebar, .hsr-related, .hsr-postnav, .hsr-comments, .hsr-totop { display: none !important; }
	.hsr-cols { grid-template-columns: 1fr; }
	.hsr-chart, .hsr-panel { box-shadow: none; }
}
