/* =========================================================================
   HomeRise Blog — single post v2 ("Ledger" layout)
   Built from Article Page wireframe 1a. Every class is prefixed .hr-v2__.
   Depends on global.css for shared tokens (--hr-color-cta etc.).
   Loaded INSTEAD of blog.css on single posts when v2 is active.
   ========================================================================= */

:root {
	--hr-header-h: 72px;                      /* #hr-custom-header is fixed, 72px tall */
	--hr2-ink:      #042A32;   /* headings, strong text (brand deep teal) */
	--hr2-teal:     #115664;   /* links, rules, active TOC, progress line */
	--hr2-teal-soft:#81B5B1;
	--hr2-mint:     #F4F9F5;
	--hr2-mint-line:#B9D8D4;
	--hr2-cream:    #F7F4EE;   /* page ground */
	--hr2-text:     #221C22;
	--hr2-muted:    #5B6266;
	--hr2-line:     rgba(4,42,50,.12);
	--hr2-max:      1180px;
	--hr2-prose:    720px;
	--hr2-font:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-padding-top: calc(var(--hr-header-h) + 1.5rem); }

.hr-v2 {
	font-family: var(--hr2-font);
	color: var(--hr2-text);
	background: var(--hr2-cream);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	padding: 0 0 4rem;
	overflow-x: clip;               /* NOT hidden — would break position:sticky */
}
.hr-v2 *, .hr-v2 *::before, .hr-v2 *::after { box-sizing: border-box; }
.hr-v2 a { color: var(--hr2-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hr-v2 a, .hr-v2 button, .hr-v2 b, .hr-v2 strong, .hr-v2__bar a, .hr-v2__bar b { font-family: inherit; }   /* Elementor kit link/typography rules must not leak in */
.hr-v2 a:hover { color: var(--hr2-ink); }
.hr-v2 img { max-width: 100%; height: auto; }
.hr-v2 h1, .hr-v2 h2, .hr-v2 h3, .hr-v2 h4 { font-family: var(--hr2-font); color: var(--hr2-ink); letter-spacing: -.015em; font-weight: 700; }

.hr-v2__wrap { max-width: var(--hr2-max); margin: 0 auto; padding: 0 24px; }
.hr-v2__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hr2-muted); }
.hr-v2__label--teal { color: var(--hr2-teal); }
.hr-v2__sep { opacity: .5; }

/* 1 — reading progress: 3px teal line pinned under the site header */
.hr-v2__progress {
	position: fixed; top: var(--hr-header-h); left: 0;
	width: 0; height: 3px;
	background: var(--hr2-teal);
	z-index: 9999; pointer-events: none;
	transition: width 80ms linear;
}

/* Breadcrumbs (markup from template-parts/blog-breadcrumbs.php) */
.hr-v2 .hr-blog__breadcrumbs { padding: calc(var(--hr-header-h) + 1rem) 0 0; font-size: 12px; color: var(--hr2-muted); }
.hr-v2 .hr-blog__breadcrumbs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.hr-v2 .hr-blog__breadcrumbs-item { display: inline-flex; gap: .4rem; align-items: center; }
.hr-v2 .hr-blog__breadcrumbs-item a { color: var(--hr2-muted); text-decoration: none; }
.hr-v2 .hr-blog__breadcrumbs-item a:hover { color: var(--hr2-teal); text-decoration: underline; }
.hr-v2 .hr-blog__breadcrumbs-item [aria-current="page"] { color: var(--hr2-ink); font-weight: 500; max-width: min(28ch, 60vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
.hr-v2 .hr-blog__breadcrumbs-sep { color: rgba(4,42,50,.25); }

/* 2 — centered narrow header
   Type scale (desktop → mobile): eyebrow 11px caps · H1 44→30px · dek 19→16.5px · byline 15→14px · meta 13→12.5px.
   Each level differs in size AND weight AND colour so the eye lands on the H1 first, dek second, byline last. */
.hr-v2__head { max-width: 600px; margin: 0 auto; padding: 36px 0 0; text-align: center; }
.hr-v2__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hr2-teal); opacity: .85; }
.hr-v2__eyebrow a { color: inherit; text-decoration: none; }
.hr-v2__eyebrow a:hover { text-decoration: underline; }
.hr-v2 .hr-v2__h1,
.hr-v2__article .hr-v2__h1 {
	font: 800 clamp(30px, 4.4vw, 46px)/1.08 var(--hr2-font);
	letter-spacing: -.025em;
	color: var(--hr2-ink);
	margin: 14px 0 0;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.hr-v2__dek { font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.5; font-weight: 400; color: var(--hr2-muted); margin: 18px auto 0; max-width: 52ch; text-wrap: pretty; }
.hr-v2__meta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hr2-line); }
.hr-v2__meta-who { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.hr-v2__meta-who > span { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.hr-v2__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #cfd8d6; flex: none; }
.hr-v2 .hr-v2__meta-author { color: var(--hr2-ink); font-weight: 600; text-decoration: none; }
.hr-v2 .hr-v2__meta-author:hover { color: var(--hr2-teal); text-decoration: underline; }
.hr-v2__meta-role { color: var(--hr2-muted); font-weight: 400; }
.hr-v2__meta-when { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; font-size: 13px; line-height: 1.4; color: var(--hr2-muted); }
.hr-v2__meta-when > span + span::before { content: "\00b7"; margin: 0 8px; opacity: .5; }
.hr-v2__reviewed { display: inline-flex; align-items: center; gap: .3rem; }
.hr-v2__reviewed svg { color: var(--hr2-teal); flex: none; }

/* hero image — full content width, 16:9 */
.hr-v2__hero { max-width: var(--hr2-max); margin: 32px auto 0; padding: 0 24px; }
.hr-v2__hero img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: #e9e6df; }
.hr-v2__hero-cap { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 13px; color: var(--hr2-muted); }
.hr-v2__hero-credit { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }

/* 2-column ledger: wide prose · one sticky rail (offer card + TOC + tools) */
.hr-v2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	justify-content: center;
	max-width: var(--hr2-max);
	margin: 0 auto;
	padding: 44px 24px 0;
	/* no align-items:start — the rails must stretch to the row height or position:sticky has no room to stick */
}
.hr-v2__rail, .hr-v2__aside { min-width: 0; }
.hr-v2__sticky { position: sticky; top: calc(var(--hr-header-h) + 28px); max-height: calc(100vh - var(--hr-header-h) - 44px); overflow-y: auto; scrollbar-width: none; }   /* short laptops: rail scrolls instead of clipping */
.hr-v2__sticky::-webkit-scrollbar { display: none; }
.hr-v2__rail { margin-top: 22px; }

/* 3 — TOC */
.hr-v2__toc { margin: 10px 0 0; padding: 0; list-style: none; }
.hr-v2__toc li a {
	display: block; padding: 9px 0 9px 12px;
	border-left: 2px solid var(--hr2-line);
	color: var(--hr2-muted); text-decoration: none;
	font-size: 14px; line-height: 1.35;
	transition: color .15s, border-color .15s;
}
.hr-v2__toc li a:hover { color: var(--hr2-ink); }
.hr-v2__toc li a.is-active { border-color: var(--hr2-teal); border-left-width: 3px; padding-left: 11px; color: var(--hr2-ink); font-weight: 700; }
.hr-v2__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hr-v2 .hr-v2__tools .hr-v2__ghost {
	flex: 1; background: transparent; border: 1.5px solid var(--hr2-ink); color: var(--hr2-ink);
	border-radius: 8px; padding: 8px 10px; font: 600 13px/1 var(--hr2-font); cursor: pointer; text-align: center;
	min-height: 36px;
}
.hr-v2 .hr-v2__tools .hr-v2__ghost:hover { background: var(--hr2-ink); color: #fff; }
.hr-v2__share-menu { position: static; flex: 1 1 100%; margin-top: 2px; width: 100%;   /* in-flow: the sticky rail is a scroll container, so an absolute menu would be clipped */ background: #fff; border: 1.5px solid var(--hr2-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(4,42,50,.12); padding: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.hr-v2__share-menu[hidden] { display: none !important; }
.hr-v2__share-menu a, .hr-v2__share-menu button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: none; border: 0; border-radius: 8px; color: var(--hr2-ink); cursor: pointer; text-decoration: none; padding: 0; }
.hr-v2__share-menu a:hover, .hr-v2__share-menu button:hover { background: var(--hr2-mint); color: var(--hr2-teal); }
.hr-v2__share-menu button.is-done { background: var(--hr2-mint); color: var(--hr2-teal); }
.hr-v2__share-menu svg { display: block; }
.hr-v2__share-msg { font: 500 12px var(--hr2-font); color: var(--hr2-teal); padding: 0 6px; }
.hr-v2__share-msg:empty { display: none; }
.hr-v2__toc-mobile { display: none; }
.hr-v2__toc-mobile details { background: #fff; border: 1.5px solid var(--hr2-line); border-radius: 10px; padding: 0 16px; }
.hr-v2__toc-mobile summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.hr-v2__toc-mobile summary::-webkit-details-marker { display: none; }
.hr-v2__toc-mobile summary::after { content: "▾"; color: var(--hr2-teal); }
.hr-v2__toc-mobile details[open] summary::after { content: "▴"; }
.hr-v2__toc-mobile .hr-v2__toc { margin: 0 0 12px; }
.hr-v2__toc-mobile .hr-v2__tools { margin-top: 10px; }
.hr-v2__toc-mobile .hr-v2__share-menu { justify-content: flex-start; }

/* prose column (white card) */
.hr-v2__prose { background: #fff; padding: 36px 40px 40px; border-radius: 14px; border: 1px solid var(--hr2-line); }

/* 4 — key takeaways */
.hr-v2__takeaways { background: var(--hr2-mint); border: 1.5px solid var(--hr2-mint-line); border-radius: 12px; padding: 20px 22px; margin: 0 0 32px; }
.hr-v2__takeaways ul { margin: 10px 0 0; padding-left: 1.2em; font-size: 16px; line-height: 1.55; }
.hr-v2__takeaways li { margin-bottom: .5em; }
.hr-v2__takeaways li:last-child { margin-bottom: 0; }
.hr-v2__takeaways strong { color: var(--hr2-ink); }

/* content typography */
.hr-v2__content { font-size: 17px; line-height: 1.7; }
.hr-v2__content > *:first-child { margin-top: 0; }
.hr-v2__content p, .hr-v2__content ul, .hr-v2__content ol, .hr-v2__content pre, .hr-v2__content table { margin: 0 0 1.2em; }
.hr-v2__content h2 { font-size: 26px; line-height: 1.2; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--hr-header-h) + 24px); text-wrap: balance; }
.hr-v2__content h3 { font-size: 19px; line-height: 1.3; margin: 1.6em 0 .45em; }
.hr-v2__content h4 { font-size: 17px; margin: 1.4em 0 .4em; }
.hr-v2__content h2 + h3, .hr-v2__content h3 + h4 { margin-top: .6em; }
.hr-v2__content ul, .hr-v2__content ol { padding-left: 1.3em; }
.hr-v2__content li { margin-bottom: .4em; }
.hr-v2__content strong { color: var(--hr2-ink); font-weight: 600; }
.hr-v2__content a { color: var(--hr2-teal); text-decoration: underline; }
.hr-v2__content a:hover { color: var(--hr2-ink); }
.hr-v2__content, .hr-v2__content p, .hr-v2__content li { overflow-wrap: break-word; }
.hr-v2__content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--hr2-cream); padding: .1em .35em; border-radius: 4px; font-size: .92em; }

/* 5 — pull quotes: bold, teal rules, NEVER italic */
.hr-v2__content blockquote {
	border-top: 2px solid var(--hr2-teal); border-bottom: 2px solid var(--hr2-teal);
	padding: 22px 4px; margin: 34px 0;
	font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--hr2-teal); font-style: normal;
	background: none; border-left: 0; border-right: 0;
}
.hr-v2__content blockquote p { margin: 0; font-style: normal; }
.hr-v2__content blockquote p + p { margin-top: .6em; }
.hr-v2__content blockquote cite, .hr-v2__content blockquote footer { display: block; margin-top: 10px; font-style: normal; font-weight: 500; font-size: 14px; color: var(--hr2-muted); }

/* 6 — stat strip ([hr_stats]) */
.hr-v2__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.hr-v2__stat { border: 1.5px solid var(--hr2-line); border-radius: 12px; padding: 16px 16px 14px; }
.hr-v2__stat b { display: block; font-size: 30px; line-height: 1; font-weight: 800; color: var(--hr2-teal); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hr-v2__stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--hr2-muted); line-height: 1.35; }

/* images, figures, tables */
.hr-v2__content img { display: block; margin-inline: auto; border-radius: 10px; background: var(--hr2-cream); }
.hr-v2__content > img, .hr-v2__content p > img { margin-block: 1.6em; }
.hr-v2__content figure { margin: 28px 0; }
.hr-v2__content figcaption { font-size: 13px; color: var(--hr2-muted); margin-top: 8px; line-height: 1.5; }
.hr-v2__content .wp-caption { max-width: 100%; }
.hr-v2__content .wp-caption-text { font-size: 13px; color: var(--hr2-muted); margin-top: 8px; }
.hr-v2__content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.hr-v2__content th, .hr-v2__content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hr2-line); vertical-align: top; }
.hr-v2__content th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--hr2-muted); font-weight: 600; background: var(--hr2-cream); }
.hr-v2__content td { font-variant-numeric: tabular-nums; }
.hr-v2__content tbody tr:hover td { background: var(--hr2-mint); }
.hr-v2__content hr { border: 0; border-top: 1px solid var(--hr2-line); margin: 2em 0; }

/* 7 — sources: an H2 "Sources" (or "References") followed by a list */
.hr-v2__content h2#sources, .hr-v2__content h2#references { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hr2-muted); border-top: 1px solid var(--hr2-line); padding-top: 16px; margin: 40px 0 8px; }
.hr-v2__content h2#sources + ol, .hr-v2__content h2#sources + ul,
.hr-v2__content h2#references + ol, .hr-v2__content h2#references + ul { font-size: 14px; color: var(--hr2-muted); line-height: 1.5; }
.hr-v2__content sup a { text-decoration: none; font-weight: 600; }

/* author card (closes the article) */
.hr-v2__author { display: flex; gap: 20px; align-items: flex-start; background: var(--hr2-cream); border: 1px solid var(--hr2-line); border-radius: 12px; padding: 24px; margin-top: 40px; }
.hr-v2__author-img { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; background: #cfd8d6; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(4,42,50,.12); }
.hr-v2__author-body { min-width: 0; }
.hr-v2__author-name { display: block; font-size: 18px; margin-top: 4px; letter-spacing: -.01em; }
.hr-v2__author-name a { color: var(--hr2-ink); text-decoration: none; }
.hr-v2__author-name a:hover { color: var(--hr2-teal); text-decoration: underline; }
.hr-v2__author-title { margin: 2px 0 0; font-size: 14px; font-weight: 500; color: var(--hr2-teal); }
.hr-v2__author-bio { margin: 10px 0 0; font-size: 15px; color: var(--hr2-text); line-height: 1.6; max-width: 62ch; }
.hr-v2__author-facts { margin: 8px 0 0; font-size: 13px; color: var(--hr2-muted); }
.hr-v2__author-links { margin: 12px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hr-v2__author-links a { font-weight: 600; text-decoration: none; }
.hr-v2__author-links a:hover { text-decoration: underline; }
@media (max-width: 479px) { .hr-v2__author { flex-direction: column; gap: 12px; padding: 20px; } }

/* market snapshot ([hr_market]) — carried over from blog.css */
.hr-v2 .hr-blog__market { margin: 2rem 0; padding: 1.25rem 1.25rem 1rem; background: linear-gradient(135deg, var(--hr2-ink), #021A1F); color: #fff; border-radius: 14px; }
.hr-v2 .hr-blog__market-head { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .75rem; }
.hr-v2 .hr-blog__market-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--hr2-teal-soft); }
.hr-v2 .hr-blog__market-city { font: 700 20px/1.1 var(--hr2-font); margin: 0; color: #fff; }
.hr-v2 .hr-blog__market-updated { font-size: 12px; opacity: .7; }
.hr-v2 .hr-blog__market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 0; }
.hr-v2 .hr-blog__market-grid div { background: rgba(255,255,255,.08); padding: .75rem; border-radius: 10px; }
.hr-v2 .hr-blog__market-grid dt { font-size: 12px; opacity: .75; margin: 0 0 .2rem; }
.hr-v2 .hr-blog__market-grid dd { font: 700 18px/1 var(--hr2-font); margin: 0; color: #fff; font-variant-numeric: tabular-nums; }

/* 8 — sticky offer card: the only teal-bordered element */
.hr-v2__offer { background: #fff; border: 1.5px solid var(--hr2-teal); border-radius: 12px; padding: 20px; box-shadow: 0 6px 18px rgba(4,42,50,.08); }
.hr-v2__offer-title { font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--hr2-ink); margin: 8px 0 6px; letter-spacing: -.015em; text-wrap: balance; }
.hr-v2__offer-sub { font-size: 14px; color: var(--hr2-muted); margin: 0 0 14px; line-height: 1.45; }
.hr-v2 .hr-v2__btn {
	display: flex; align-items: center; justify-content: center; width: 100%;
	min-height: 48px; padding: 12px 16px;
	background: var(--hr2-teal); color: #fff; border: 2px solid var(--hr2-teal);
	border-radius: 10px; font: 700 15px/1.2 var(--hr2-font); text-decoration: none; text-align: center;
	box-shadow: 0 3px 10px rgba(4,42,50,.14);
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.hr-v2 .hr-v2__btn:hover { background: var(--hr2-ink); border-color: var(--hr2-ink); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(4,42,50,.2); }
.hr-v2 .hr-v2__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(129,181,177,.6); }
.hr-v2 .hr-v2__offer-calc { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 500; }
.hr-v2__offer-trust { margin: 12px 0 0; font-size: 12px; font-weight: 600; color: var(--hr2-teal); text-align: center; letter-spacing: .01em; }

/* newsletter card (only renders when a form is supplied) */
.hr-v2__news { margin-top: 16px; border: 1.5px solid var(--hr2-line); border-radius: 12px; padding: 18px 20px; background: #fff; }
.hr-v2__news p { font-size: 14px; margin: 6px 0 12px; color: var(--hr2-muted); }
.hr-v2__news input[type="email"] { width: 100%; font: 15px var(--hr2-font); padding: 10px 12px; border: 1.5px solid var(--hr2-line); border-radius: 8px; margin-bottom: 8px; }
.hr-v2__news input[type="email"]:focus { outline: 2px solid var(--hr2-teal-soft); border-color: var(--hr2-teal); }
.hr-v2__news button, .hr-v2__news input[type="submit"] { width: 100%; background: transparent; border: 1.5px solid var(--hr2-ink); color: var(--hr2-ink); border-radius: 8px; padding: 9px; font: 600 14px var(--hr2-font); cursor: pointer; }
.hr-v2__news button:hover, .hr-v2__news input[type="submit"]:hover { background: var(--hr2-ink); color: #fff; }

/* keep reading */
.hr-v2__related { max-width: var(--hr2-max); margin: 0 auto; padding: 56px 24px 0; }
.hr-v2__related-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hr-v2__related-card { display: block; text-decoration: none; color: var(--hr2-text); }
.hr-v2__related-img { display: block; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: #e9e6df; }
.hr-v2__related-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-v2__related-card b { display: block; margin-top: 10px; color: var(--hr2-ink); font-size: 16px; line-height: 1.35; }
.hr-v2__related-card span { font-size: 13px; color: var(--hr2-muted); }
.hr-v2__related-card:hover b { color: var(--hr2-teal); }

/* mobile bottom bar — hidden on desktop */
.hr-v2__bar { display: none; }
/* The sitewide sticky CTA (#hr-sticky-cta, from the Elementor header) would stack on top of ours — this file only loads on v2 posts, so hide it here. */
html body #hr-sticky-cta, html body #hr-sticky-cta.is-visible { display: none !important; visibility: hidden !important; pointer-events: none !important; }

/* ---------- tablet (<1100px): narrower rail ---------- */
@media (max-width: 1099px) {
	.hr-v2__grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
}

/* ---------- mobile (<900px): single column, accordion TOC, bottom bar ---------- */
@media (max-width: 899px) {
	.hr-v2 { font-size: 16px; }
	.hr-v2__wrap, .hr-v2__hero, .hr-v2__toc-mobile, .hr-v2__related { padding-left: 16px; padding-right: 16px; }
	.hr-v2__head { padding-top: 22px; }
	.hr-v2__meta { margin-top: 22px; padding-top: 18px; gap: 8px; }
	.hr-v2__meta-who { font-size: 14px; }
	.hr-v2__meta-when { font-size: 12.5px; }
	.hr-v2__meta-when > span + span::before { margin: 0 6px; }
	.hr-v2__hero { margin-top: 22px; }
	.hr-v2__hero img { border-radius: 10px; }
	.hr-v2__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 16px 0; }
	.hr-v2__aside { display: none; }
	.hr-v2__toc-mobile { display: block; max-width: var(--hr2-max); margin: 28px auto 0; }
	.hr-v2__prose { padding: 24px 20px 28px; border-radius: 12px; }
	.hr-v2__content { font-size: 16px; }
	.hr-v2__content h2 { font-size: 22px; margin-top: 1.8em; }
	.hr-v2__content blockquote { font-size: 19px; }
	.hr-v2__stats { grid-template-columns: repeat(2, 1fr); }
	.hr-v2__stat b { font-size: 24px; }
	.hr-v2__stat:nth-child(3):last-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
	.hr-v2 .hr-blog__market-grid { grid-template-columns: repeat(2, 1fr); }
	.hr-v2__related { padding-top: 40px; }
	.hr-v2__related-list { grid-template-columns: 1fr; }
	.hr-v2 { padding-bottom: 96px; }   /* room for the bottom bar */

	.hr-v2__bar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		align-items: center; gap: 12px;
		background: #fff; border-top: 1px solid var(--hr2-line);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		box-shadow: 0 -6px 18px rgba(4,42,50,.1);
		transform: translateY(110%); transition: transform .25s ease;
		font-family: var(--hr2-font);
	}
	.hr-v2__bar.is-on { transform: none; }
	.hr-v2__bar-copy { flex: 1; min-width: 0; }
	.hr-v2__bar-copy b { display: block; color: var(--hr2-ink); font-size: 15px; line-height: 1.2; }
	.hr-v2__bar-copy small { color: var(--hr2-muted); font-size: 12px; }
	.hr-v2 .hr-v2__btn--bar, .hr-v2__bar .hr-v2__btn { width: auto; padding: 11px 18px; flex: none; min-height: 44px; }
}
@media (max-width: 479px) {
	.hr-v2 .hr-v2__h1, .hr-v2__article .hr-v2__h1 { font-size: clamp(27px, 7.4vw, 31px); line-height: 1.12; }
	.hr-v2__dek { font-size: 16px; margin-top: 14px; }
	.hr-v2__meta-when { flex-direction: column; gap: 4px; }
	.hr-v2__meta-when > span + span::before { content: none; }
	.hr-v2__prose { padding: 20px 16px 24px; }
}

/* Bottom bar lives outside .hr-v2 — mirror the button styles */
.hr-v2__bar .hr-v2__btn {
	display: flex; align-items: center; justify-content: center;
	background: var(--hr2-teal); color: #fff; border: 2px solid var(--hr2-teal);
	border-radius: 10px; font: 700 15px/1.2 var(--hr2-font); text-decoration: none;
}
.hr-v2__bar .hr-v2__btn:hover { background: var(--hr2-ink); border-color: var(--hr2-ink); color: #fff; }

@media print {
	.hr-v2__progress, .hr-v2__bar, .hr-v2__aside, .hr-v2__tools, .hr-v2__related, .hr-v2__toc-mobile { display: none !important; }
	.hr-v2__grid { display: block; }
	.hr-v2__prose { border: 0; padding: 0; }
	.hr-v2 { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
	.hr-v2__progress, .hr-v2__bar, .hr-v2 .hr-v2__btn, .hr-v2__toc li a { transition: none !important; }
	.hr-v2 .hr-v2__btn:hover { transform: none; }
}
