/*
Theme Name: RutaHiFi Theme
Theme URI: https://rutahifi.com/
Author: RutaHiFi
Author URI: https://rutahifi.com/
Description: Theme liviano, SEO-first y orientado al nicho Audio Hi-Fi para RutaHiFi.
Version: 0.3.42
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: rutahifi-theme
*/

:root {
	--rh-bg: #ffffff;
	--rh-surface: #f6f7f8;
	--rh-surface-strong: #eef1f4;
	--rh-ink: #15171a;
	--rh-muted: #66707d;
	--rh-line: #dfe4ea;
	--rh-line-strong: #cbd3dc;
	--rh-accent: #285a6e;
	--rh-accent-2: #101820;
	--rh-accent-soft: #e7f0f3;
	--rh-good: #0f8a63;
	--rh-bad: #b42318;
	--rh-max: 1280px;
	--rh-radius: 8px;
	--rh-gap: 24px;
	--rh-shadow-soft: 0 18px 50px rgba(16, 24, 32, 0.08);
	--rh-shadow-card: 0 10px 30px rgba(16, 24, 32, 0.055);
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--rh-bg);
	color: var(--rh-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

body.rh-menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid rgba(40, 90, 110, 0.32);
	outline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rh-container {
	width: min(var(--rh-max), calc(100% - 40px));
	margin: 0 auto;
}

.rh-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(203, 211, 220, 0.82);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
}

.rh-site-footer {
	border-top: 1px solid var(--rh-line);
	border-bottom: 0;
	margin-top: 56px;
	background: var(--rh-surface);
}

.rh-header-inner,
.rh-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
}

.rh-brand {
	color: var(--rh-accent-2);
}

.rh-brand a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	text-decoration: none;
	border-radius: 999px;
}

.rh-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rh-accent-2);
	border-radius: 50%;
	background: var(--rh-accent-2);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.rh-brand-name {
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: 0;
}

.rh-main-nav-wrap {
	display: flex;
	align-items: center;
}

.rh-main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
	color: var(--rh-muted);
}

.rh-main-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 11px;
	border-radius: 999px;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rh-main-nav a:hover,
.rh-main-nav .current-menu-item > a,
.rh-main-nav .current_page_item > a,
.rh-main-nav .current-menu-ancestor > a {
	background: var(--rh-accent-soft);
	border-color: rgba(40, 90, 110, 0.14);
	color: var(--rh-accent);
	text-decoration: none;
}

.rh-header-search {
	position: relative;
	flex: 0 0 auto;
}

.rh-header-search summary {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 11px;
	border: 1px solid var(--rh-line);
	border-radius: 999px;
	color: var(--rh-accent);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.rh-header-search summary::-webkit-details-marker {
	display: none;
}

.rh-header-search summary:hover,
.rh-header-search[open] summary {
	border-color: var(--rh-line-strong);
	background: var(--rh-accent-soft);
}

.rh-header-search-panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 30;
	width: min(380px, calc(100vw - 24px));
	padding: 14px;
	border: 1px solid var(--rh-line-strong);
	border-radius: var(--rh-radius);
	background: #fff;
	box-shadow: var(--rh-shadow-soft);
}

.rh-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.rh-search-field {
	min-width: 0;
	height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--rh-line-strong);
	border-radius: var(--rh-radius);
	background: #fff;
	color: var(--rh-ink);
	font: inherit;
}

.rh-search-field:focus-visible {
	border-color: var(--rh-accent);
	outline: 3px solid rgba(40, 90, 110, 0.16);
	outline-offset: 1px;
}

.rh-search-submit {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--rh-accent-2);
	border-radius: var(--rh-radius);
	background: var(--rh-accent-2);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rh-search-submit:hover {
	border-color: var(--rh-accent);
	background: var(--rh-accent);
}

.rh-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--rh-line);
	border-radius: 999px;
	background: var(--rh-bg);
	color: var(--rh-accent-2);
	cursor: pointer;
}

.rh-menu-toggle-bars,
.rh-menu-toggle-bars::before,
.rh-menu-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.rh-menu-toggle-bars {
	position: relative;
}

.rh-menu-toggle-bars::before,
.rh-menu-toggle-bars::after {
	content: '';
	position: absolute;
	left: 0;
}

.rh-menu-toggle-bars::before {
	top: -6px;
}

.rh-menu-toggle-bars::after {
	top: 6px;
}

.rh-menu-toggle[aria-expanded="true"] .rh-menu-toggle-bars {
	background: transparent;
}

.rh-menu-toggle[aria-expanded="true"] .rh-menu-toggle-bars::before {
	transform: translateY(6px) rotate(45deg);
}

.rh-menu-toggle[aria-expanded="true"] .rh-menu-toggle-bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

.rh-footer-copy {
	font-size: 0.9rem;
	color: var(--rh-muted);
}

.rh-footer-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(170px, 0.65fr)) minmax(220px, 0.9fr);
	gap: 28px;
	padding: 34px 0;
}

.rh-footer-about,
.rh-footer-trust,
.rh-footer-nav {
	display: grid;
	align-content: start;
	gap: 12px;
}

.rh-footer-about p,
.rh-footer-trust p {
	margin: 0;
	color: var(--rh-muted);
	max-width: 420px;
}

.rh-footer-nav h2,
.rh-footer-trust h2 {
	margin: 0;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rh-accent-2);
}

.rh-footer-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--rh-muted);
	text-decoration: none;
}

.rh-footer-nav a:hover {
	color: var(--rh-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rh-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--rh-line);
}

.rh-footer-bottom p {
	margin: 0;
}

.rh-content-wrap {
	padding: 36px 0 0;
}

.rh-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	color: var(--rh-muted);
	margin-bottom: 16px;
}

.rh-breadcrumbs span {
	margin: 0;
}

.rh-breadcrumbs a {
	color: var(--rh-accent);
	text-decoration: none;
}

.rh-breadcrumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rh-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 32px;
	align-items: start;
}

.rh-product-main,
.rh-product-sidebar {
	display: grid;
	gap: 20px;
}

.rh-product-main > .rh-card:not(.rh-product-hero):not(.rh-verdict-card) {
	padding: 24px;
}

.rh-product-sidebar {
	align-self: start;
	position: sticky;
	top: 92px;
}

.rh-card {
	background: var(--rh-bg);
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	padding: 20px;
	box-shadow: 0 1px 0 rgba(16, 24, 32, 0.02);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.rh-card:hover,
.rh-home-card:hover,
.rh-brand-card:hover,
.rh-product-card:hover,
.rh-decision-card:hover {
	border-color: var(--rh-line-strong);
	box-shadow: var(--rh-shadow-card);
}

.rh-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rh-accent);
	margin: 0 0 8px;
}

.rh-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	letter-spacing: 0;
	text-wrap: balance;
}

.rh-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	color: var(--rh-muted);
	font-size: 0.95rem;
}

.rh-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--rh-surface);
	border: 1px solid var(--rh-line);
	font-size: 0.9rem;
	text-decoration: none;
}

a.rh-pill:hover {
	border-color: rgba(40, 90, 110, 0.38);
	background: var(--rh-accent-soft);
	color: var(--rh-accent);
	text-decoration: none;
}

.rh-section-title {
	margin: 0 0 12px;
	font-size: 1.2rem;
	line-height: 1.2;
	text-wrap: balance;
}

.rh-summary {
	margin: 16px 0 0;
	font-size: 1.05rem;
	color: var(--rh-muted);
	max-width: 760px;
}

.rh-summary > :first-child {
	margin-top: 0;
}

.rh-summary > :last-child {
	margin-bottom: 0;
}

.rh-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: stretch;
}

.rh-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.rh-list li + li {
	margin-top: 10px;
}

.rh-list li {
	position: relative;
	padding-left: 20px;
	color: var(--rh-muted);
}

.rh-list li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rh-accent);
	transform: translateY(-50%);
}

.rh-fit-card-caution .rh-list li::before,
.rh-signal-card-bad .rh-list li::before {
	background: #8a6a22;
}

.rh-signal-card-good .rh-list li::before,
.rh-fit-card-good .rh-list li::before {
	background: var(--rh-good);
}

.rh-score-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.rh-score-item {
	display: grid;
	gap: 8px;
	padding: 14px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-score-label {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 600;
}

.rh-score-bar {
	height: 8px;
	border-radius: 999px;
	background: var(--rh-surface-strong);
	overflow: hidden;
	border: 1px solid var(--rh-line);
}

.rh-score-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--rh-accent), var(--rh-good));
	border-radius: 999px;
}

.rh-verdict-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background:
		linear-gradient(135deg, rgba(15, 138, 99, 0.22), rgba(255, 255, 255, 0) 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0)),
		var(--rh-accent-2);
	color: #fff;
	border-color: rgba(16, 24, 32, 0.86);
	box-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
}

.rh-verdict-card .rh-kicker,
.rh-verdict-card .rh-muted {
	color: rgba(255, 255, 255, 0.78);
}

.rh-verdict-card .rh-section-title {
	margin-bottom: 8px;
	color: #fff;
}

.rh-verdict-score {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	min-width: 110px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--rh-radius);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rh-verdict-score span {
	font-size: 2.3rem;
	font-weight: 800;
	line-height: 1;
}

.rh-verdict-score small {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 700;
}

.rh-signal-card {
	position: relative;
	overflow: hidden;
	padding-left: 26px;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	min-height: 210px;
}

.rh-signal-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--rh-line);
}

.rh-signal-card-good::before {
	background: var(--rh-good);
}

.rh-signal-card-bad::before {
	background: var(--rh-bad);
}

.rh-fit-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	min-height: 210px;
}

.rh-fit-card::before {
	content: '';
	position: absolute;
	top: 18px;
	right: 18px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rh-line-strong);
}

.rh-fit-card-good::before {
	background: var(--rh-good);
}

.rh-fit-card-caution::before {
	background: #8a6a22;
}

.rh-affiliate-box {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 240, 243, 0.74)),
		var(--rh-bg);
	border: 1px solid var(--rh-line-strong);
	border-radius: var(--rh-radius);
	padding: 24px;
	display: grid;
	gap: 14px;
	box-shadow: var(--rh-shadow-card);
}

.rh-affiliate-box .rh-button {
	width: 100%;
}

.rh-affiliate-price {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--rh-accent-2);
}

.rh-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--rh-accent-2);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--rh-accent-2);
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	min-height: 46px;
}

.rh-button:hover {
	text-decoration: none;
	background: var(--rh-accent);
	border-color: var(--rh-accent);
	transform: translateY(-1px);
}

.rh-button:active,
.rh-search-submit:active,
.rh-related-link:active {
	transform: none;
}

.rh-muted {
	color: var(--rh-muted);
}

.rh-taxonomy-list {
	display: grid;
	gap: 0;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	overflow: hidden;
}

.rh-taxonomy-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 14px;
	border-bottom: 1px solid var(--rh-line);
	font-size: 0.95rem;
	background: #fff;
}

.rh-taxonomy-row:last-child {
	border-bottom: 0;
}

.rh-taxonomy-row span {
	text-align: right;
	color: var(--rh-muted);
	font-weight: 600;
}

.rh-quick-spec-card {
	border-color: var(--rh-line-strong);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-quick-spec-card .rh-section-title,
.rh-context-links .rh-section-title {
	font-size: 1.18rem;
}

.rh-related-links {
	display: grid;
	gap: 10px;
}

.rh-related-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: #fff;
	text-decoration: none;
	min-height: 44px;
	color: var(--rh-ink);
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rh-related-link::after {
	content: '→';
	color: var(--rh-accent);
	font-weight: 700;
}

.rh-related-link:hover {
	text-decoration: none;
	border-color: var(--rh-line-strong);
	background: var(--rh-accent-soft);
	transform: translateX(2px);
}

.rh-empty-state {
	display: grid;
	gap: 10px;
	border-style: dashed;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	min-height: 180px;
	align-content: center;
}

.rh-empty-state .rh-related-link {
	width: fit-content;
	margin-top: 4px;
}

.rh-search-results-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.rh-search-term-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.rh-search-term-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 18px;
	min-width: 220px;
	padding: 11px 14px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: #fff;
	text-decoration: none;
}

.rh-search-term-link::after {
	content: '→';
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	color: var(--rh-accent);
	font-weight: 800;
}

.rh-search-term-link span {
	color: var(--rh-accent);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.rh-search-term-link:hover {
	border-color: var(--rh-line-strong);
	box-shadow: var(--rh-shadow-card);
	text-decoration: none;
}

.rh-search-result-card {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	align-content: start;
	gap: 10px;
	height: 100%;
}

.rh-search-result-card .rh-muted {
	margin: 0;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.rh-search-result-card .rh-related-link {
	margin-top: 8px;
}

.rh-search-products-head {
	margin-top: 30px;
}

.navigation.pagination {
	margin-top: 24px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: #fff;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--rh-line-strong);
	background: var(--rh-accent-soft);
	color: var(--rh-accent);
	text-decoration: none;
}

.rh-search-query {
	color: var(--rh-accent);
}

.rh-404-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 24px;
	align-items: stretch;
}

.rh-404-hero {
	padding: clamp(30px, 5vw, 52px);
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.1), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-404-hero::before {
	background: var(--rh-accent);
}

.rh-404-hero .rh-title {
	max-width: 780px;
}

.rh-404-code {
	margin: 0 0 10px;
	color: rgba(40, 90, 110, 0.22);
	font-size: clamp(4rem, 10vw, 8rem);
	font-weight: 900;
	line-height: 0.8;
}

.rh-404-search {
	display: grid;
	align-content: center;
	gap: 16px;
	padding: clamp(24px, 4vw, 38px);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-404-recovery {
	max-width: 920px;
	margin-inline: auto;
}

.rh-context-links {
	display: grid;
	gap: 12px;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-archive-hero {
	padding: clamp(30px, 5vw, 56px);
	background:
		linear-gradient(135deg, rgba(15, 138, 99, 0.09), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-archive-hero::before {
	background: var(--rh-good);
}

.rh-archive-hero .rh-title,
.rh-archive-hero .rh-summary {
	max-width: 900px;
}

.rh-archive-section {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, rgba(246, 247, 248, 0.7), #fff 28%);
}

.rh-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rh-archive-card {
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-archive-card-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rh-surface);
}

.rh-archive-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.rh-archive-card:hover .rh-archive-card-image {
	transform: scale(1.02);
}

.rh-archive-card-body {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	align-content: start;
	gap: 12px;
	padding: 22px;
}

.rh-archive-card-body .rh-home-card-title {
	font-size: 1.24rem;
}

.rh-archive-card-body .rh-home-card-title a {
	color: var(--rh-ink);
	text-decoration: none;
}

.rh-archive-card-body > .rh-muted {
	margin: 0;
	line-height: 1.62;
}

.rh-archive-card-body .rh-related-link {
	margin-top: 6px;
}

.rh-related-products {
	display: grid;
	gap: 20px;
	margin-top: 4px;
	padding: 24px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background:
		linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-related-products-header {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1.1fr);
	gap: 24px;
	align-items: end;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rh-line-strong);
}

.rh-related-products-header .rh-section-title,
.rh-related-products-header .rh-muted {
	margin-bottom: 0;
}

.rh-related-products-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.rh-related-products .rh-product-card {
	height: 100%;
	box-shadow: 0 10px 28px rgba(16, 24, 32, 0.04);
}

.rh-related-products .rh-product-card-media {
	aspect-ratio: 16 / 10;
}

.rh-related-products .rh-product-card-body {
	padding: 18px;
}

.rh-context-links .rh-section-title {
	margin-bottom: 0;
}

.rh-hero {
	padding: clamp(24px, 4vw, 42px);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 248, 0.98)),
		linear-gradient(135deg, rgba(40, 90, 110, 0.08), rgba(16, 24, 32, 0.02));
	border-color: var(--rh-line-strong);
}

.rh-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 18px;
}

.rh-home-link {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	color: var(--rh-accent);
}

.rh-home-section {
	margin-top: clamp(30px, 5vw, 52px);
}

.rh-home-section + .rh-home-section {
	padding-top: clamp(4px, 1.2vw, 12px);
}

.rh-home-section-head {
	display: grid;
	gap: 6px;
	margin-bottom: 18px;
	max-width: 780px;
}

.rh-home-section-head .rh-section-title,
.rh-home-section-head .rh-muted {
	margin: 0;
}

.rh-hub-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 18px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: var(--rh-line);
	overflow: hidden;
}

.rh-hub-strip-item {
	display: grid;
	gap: 4px;
	padding: 16px 18px;
	background: #fff;
}

.rh-hub-strip-item span {
	color: var(--rh-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rh-hub-strip-item strong {
	color: var(--rh-ink);
	font-size: 0.98rem;
	line-height: 1.25;
}

.rh-term-hero .rh-summary {
	max-width: 760px;
}

.rh-term-hub-strip {
	margin-top: 18px;
	box-shadow: 0 12px 28px rgba(16, 24, 32, 0.045);
}

.rh-term-hub-strip .rh-hub-strip-item {
	padding: 18px 20px;
}

.rh-term-product-section {
	border-color: var(--rh-line-strong);
	box-shadow: 0 14px 34px rgba(16, 24, 32, 0.045);
}

.rh-term-product-section .rh-home-section-head {
	max-width: none;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	align-items: end;
}

.rh-home-spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: 18px;
}

.rh-home-spotlight-feature,
.rh-home-route-card {
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: #fff;
	text-decoration: none;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rh-home-spotlight-feature {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
	min-height: 320px;
	box-shadow: var(--rh-shadow-card);
}

.rh-home-spotlight-feature:hover,
.rh-home-route-card:hover {
	border-color: var(--rh-line-strong);
	box-shadow: var(--rh-shadow-soft);
	text-decoration: none;
	transform: translateY(-2px);
}

.rh-home-spotlight-media {
	position: relative;
	min-height: 320px;
	background:
		linear-gradient(135deg, rgba(16, 24, 32, 0.05), rgba(40, 90, 110, 0.12)),
		var(--rh-surface);
	overflow: hidden;
}

.rh-home-spotlight-media::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(16, 24, 32, 0.08);
	content: "";
	pointer-events: none;
}

.rh-home-spotlight-media .rh-product-image {
	transition: transform 0.28s ease;
}

.rh-home-spotlight-feature:hover .rh-product-image {
	transform: scale(1.035);
}

.rh-home-spotlight-copy {
	display: grid;
	align-content: center;
	gap: 12px;
	padding: clamp(22px, 4vw, 34px);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-home-spotlight-copy .rh-section-title,
.rh-home-spotlight-copy .rh-muted {
	margin: 0;
}

.rh-home-spotlight-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var(--rh-accent);
	font-weight: 800;
}

.rh-home-spotlight-routes {
	display: grid;
	gap: 12px;
}

.rh-home-route-card {
	display: grid;
	gap: 8px;
	align-content: center;
	min-height: 98px;
	padding: 18px;
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.08), rgba(255, 255, 255, 0)),
		#fff;
}

.rh-home-route-card span {
	color: var(--rh-accent);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rh-home-route-card strong {
	color: var(--rh-ink);
	font-size: 1.05rem;
	line-height: 1.22;
}

.rh-listing-section {
	padding: 24px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-home-grid {
	display: grid;
	gap: 18px;
}

.rh-home-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.rh-home-review-grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.85fr);
	align-items: stretch;
}

.rh-home-review-grid .rh-product-card:first-child {
	grid-row: span 2;
}

.rh-home-review-grid .rh-product-card:first-child .rh-product-card-media {
	aspect-ratio: 16 / 10;
}

.rh-home-review-grid .rh-product-card:first-child .rh-product-card-body {
	padding: clamp(20px, 3vw, 28px);
}

.rh-home-review-grid .rh-product-card:first-child .rh-home-card-title {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.14;
}

.rh-home-review-grid .rh-product-card:not(:first-child) {
	display: grid;
	grid-template-columns: minmax(132px, 0.45fr) minmax(0, 0.55fr);
}

.rh-home-review-grid .rh-product-card:not(:first-child) .rh-product-card-media {
	aspect-ratio: auto;
	min-height: 100%;
}

.rh-home-review-grid .rh-product-card:not(:first-child) .rh-product-card-body {
	align-content: center;
	padding: 18px;
}

.rh-home-review-grid .rh-product-card:not(:first-child) .rh-muted {
	font-size: 0.94rem;
}

.rh-home-card {
	display: grid;
	align-content: start;
	gap: 10px;
	height: 100%;
	text-decoration: none;
	overflow: hidden;
}

.rh-home-card:not(.rh-product-card) {
	position: relative;
	min-height: 132px;
	padding-right: 48px;
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.045), rgba(255, 255, 255, 0)),
		#fff;
}

.rh-template-guide .rh-home-card.rh-guide-card {
	padding-right: 20px;
}

.rh-home-card:not(.rh-product-card)::after {
	position: absolute;
	top: 20px;
	right: 20px;
	color: var(--rh-accent);
	content: "\2192";
	font-weight: 800;
	transition: transform 0.2s ease;
}

.rh-home-card:not(.rh-product-card):hover::after {
	transform: translateX(4px);
}

.rh-home-section:has(.rh-home-card:not(.rh-product-card)) {
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, rgba(246, 247, 248, 0.66), rgba(255, 255, 255, 0.96));
}

.rh-home-section:has(.rh-home-card:not(.rh-product-card)) + .rh-home-section:has(.rh-home-card:not(.rh-product-card)) {
	margin-top: 18px;
}

.rh-home-section:has(.rh-home-card:not(.rh-product-card)) .rh-home-section-head {
	max-width: none;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	align-items: end;
	gap: 18px;
}

.rh-home-section:has(.rh-home-card:not(.rh-product-card)) .rh-home-section-head .rh-muted {
	font-size: 0.96rem;
}

.rh-home-section:has(.rh-home-card:not(.rh-product-card)) .rh-home-grid-3 {
	gap: 12px;
}

.rh-home-card > .rh-muted,
.rh-product-card-body > .rh-muted {
	margin: 0;
}

.rh-home-card:hover {
	text-decoration: none;
	border-color: #c6d2e3;
	background: #fcfdff;
}

.rh-home-card-title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
}

.rh-decision-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.rh-decision-card {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 210px;
	padding: 20px;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	position: relative;
	overflow: hidden;
}

.rh-decision-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--rh-accent);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.rh-decision-card:hover {
	border-color: rgba(40, 90, 110, 0.38);
	box-shadow: var(--rh-shadow-soft);
	text-decoration: none;
	transform: translateY(-2px);
}

.rh-decision-card:hover::before {
	opacity: 1;
}

.rh-decision-label {
	display: inline-flex;
	width: fit-content;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--rh-accent-soft);
	color: var(--rh-accent);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rh-decision-card h3 {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.18;
}

.rh-decision-card p {
	margin: 0;
	color: var(--rh-muted);
	font-size: 0.95rem;
}

.rh-editorial-band {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: 24px;
	align-items: center;
	padding: 28px;
	border-top: 1px solid var(--rh-line);
	border-bottom: 1px solid var(--rh-line);
	background: var(--rh-surface);
}

.rh-editorial-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 24px;
	border: 1px solid var(--rh-line-strong);
	border-radius: var(--rh-radius);
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.09), rgba(255, 255, 255, 0)),
		#fff;
	box-shadow: var(--rh-shadow-card);
}

.rh-editorial-feature .rh-section-title {
	margin-bottom: 8px;
}

.rh-editorial-feature .rh-muted {
	max-width: 760px;
}

.rh-editorial-feature-cta {
	white-space: nowrap;
}

.rh-home-closing-feature {
	margin-top: clamp(34px, 5vw, 58px);
	padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) 0;
	border: 1px solid var(--rh-line);
	border-bottom: 0;
	border-radius: var(--rh-radius) var(--rh-radius) 0 0;
	background:
		linear-gradient(135deg, rgba(16, 24, 32, 0.035), rgba(40, 90, 110, 0.08)),
		#fff;
}

.rh-home-closing-feature .rh-editorial-feature {
	border-color: rgba(40, 90, 110, 0.24);
	box-shadow: none;
}

.rh-home-closing-band {
	margin-top: 0;
	border: 1px solid var(--rh-line);
	border-top: 0;
	border-radius: 0 0 var(--rh-radius) var(--rh-radius);
	background:
		linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-next-step-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
	gap: 24px;
	align-items: center;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-next-step-links {
	display: grid;
	gap: 10px;
}

.rh-editorial-hero {
	position: relative;
	overflow: hidden;
}

.rh-editorial-hero::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--rh-accent);
}

.rh-guide-hero::before {
	background: var(--rh-good);
}

.rh-guide-hero {
	padding: clamp(28px, 5vw, 52px);
	background:
		linear-gradient(135deg, rgba(15, 138, 99, 0.1), rgba(255, 255, 255, 0) 46%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-guide-hero .rh-summary {
	max-width: 820px;
	font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.rh-comparison-hero::before {
	background: var(--rh-accent);
}

.rh-comparison-hero {
	padding: clamp(30px, 5vw, 56px);
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.11), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-comparison-hero .rh-title {
	max-width: 900px;
}

.rh-comparison-hero .rh-summary {
	max-width: 820px;
	font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.rh-budget-hero::before {
	background: #8a6a22;
}

.rh-budget-hero {
	padding: clamp(30px, 5vw, 56px);
	background:
		linear-gradient(135deg, rgba(138, 106, 34, 0.1), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-budget-hero .rh-title {
	max-width: 900px;
}

.rh-budget-hero .rh-summary {
	max-width: 820px;
	font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.rh-guide-card,
.rh-comparison-card {
	position: relative;
	padding-top: 24px;
}

.rh-guide-card {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 300px;
	padding-right: 20px;
	background:
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-template-guide .rh-home-section:has(.rh-guide-card) {
	padding: 0;
	border: 0;
	background: transparent;
}

.rh-guide-card::after {
	display: none;
}

.rh-guide-card::before,
.rh-comparison-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 20px;
	right: 20px;
	height: 3px;
	border-radius: 999px;
	background: var(--rh-accent-soft);
}

.rh-guide-card::before {
	background: rgba(15, 138, 99, 0.22);
}

.rh-guide-card-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 30px;
	margin-bottom: 4px;
	border: 1px solid rgba(15, 138, 99, 0.28);
	border-radius: 999px;
	background: rgba(15, 138, 99, 0.08);
	color: var(--rh-good);
	font-size: 0.75rem;
	font-weight: 800;
}

.rh-guide-card .rh-section-title {
	margin-bottom: 0;
	font-size: 1.3rem;
}

.rh-guide-card .rh-list {
	display: grid;
	gap: 2px;
}

.rh-guide-reading {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.65fr);
	gap: 28px;
	align-items: start;
}

.rh-guide-article {
	padding: clamp(24px, 4vw, 44px);
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.04);
}

.rh-guide-article .rh-page-body {
	max-width: 760px;
	font-size: 1.04rem;
	line-height: 1.75;
}

.rh-guide-article .rh-page-body p {
	margin: 0 0 1.25em;
}

.rh-guide-article .rh-page-body ul,
.rh-guide-article .rh-page-body ol {
	margin: 0 0 1.35em;
	padding-left: 1.25em;
}

.rh-guide-article .rh-page-body li + li {
	margin-top: 0.45em;
}

.rh-guide-article .rh-page-body > :first-child {
	margin-top: 0;
}

.rh-guide-article .rh-page-body h2 {
	margin-top: 2.2em;
	padding-top: 0.8em;
	border-top: 1px solid var(--rh-line);
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	line-height: 1.16;
}

.rh-guide-article .rh-page-body h3 {
	margin-top: 1.7em;
	font-size: 1.2rem;
	line-height: 1.25;
}

.rh-guide-aside {
	position: sticky;
	top: 92px;
	background:
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.045);
}

.rh-guide-aside .rh-section-title {
	font-size: 1.16rem;
}

.rh-guide-checklist {
	display: grid;
	gap: 0;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.rh-guide-checklist li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	padding: 14px 0;
	border-top: 1px solid var(--rh-line);
	font-size: 0.94rem;
	font-weight: 650;
}

.rh-guide-checklist span {
	color: var(--rh-good);
	font-size: 0.78rem;
	font-weight: 800;
}

.rh-comparison-card::before {
	background: rgba(40, 90, 110, 0.24);
}

.rh-template-comparison .rh-home-section {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--rh-line);
	background: #fff;
}

.rh-template-comparison .rh-home-section-head {
	margin-bottom: 22px;
}

.rh-template-comparison .rh-comparison-card {
	display: grid;
	align-content: start;
	min-height: 250px;
	padding: 28px;
	border-color: var(--rh-line-strong);
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-template-comparison .rh-comparison-card .rh-home-card-title {
	margin-bottom: 10px;
	font-size: clamp(1.25rem, 2vw, 1.48rem);
}

.rh-template-comparison .rh-comparison-card .rh-muted {
	max-width: 55ch;
	line-height: 1.65;
}

.rh-comparison-card-a::before {
	background: var(--rh-accent);
}

.rh-comparison-card-b::before {
	background: var(--rh-good);
}

.rh-comparison-choice-label,
.rh-table-option {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rh-accent);
}

.rh-comparison-choice-label {
	width: fit-content;
	margin-bottom: 16px;
	padding: 6px 9px;
	border: 1px solid var(--rh-line-strong);
	border-radius: 999px;
	background: var(--rh-surface);
}

.rh-comparison-card-b .rh-comparison-choice-label {
	color: var(--rh-good);
}

.rh-template-comparison .rh-compare-table-wrap {
	padding: 0;
	overflow: auto;
	border-color: var(--rh-line-strong);
	background: #fff;
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-template-comparison .rh-compare-table tbody tr:hover {
	background: var(--rh-surface);
}

.rh-template-comparison .rh-compare-table thead th {
	padding: 18px 16px;
	background: var(--rh-accent-2);
	color: #fff;
}

.rh-template-comparison .rh-compare-table tbody td {
	padding: 17px 16px;
	line-height: 1.5;
}

.rh-template-comparison .rh-compare-table tbody td:first-child {
	width: 25%;
	background: rgba(238, 241, 244, 0.58);
	color: var(--rh-ink);
	font-weight: 750;
}

.rh-template-comparison .rh-compare-table tbody tr:last-child td {
	border-bottom: 0;
}

.rh-compare-scroll-hint {
	display: none;
	margin-bottom: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rh-muted);
}

.rh-table-option {
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.68);
}

.rh-comparison-next-card,
.rh-comparison-decision-card {
	position: relative;
	overflow: hidden;
	min-height: 100%;
	padding: 30px;
}

.rh-comparison-closing .rh-home-grid {
	align-items: stretch;
}

.rh-template-comparison .rh-home-card.rh-comparison-next-card {
	padding-right: 30px;
	background: linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-comparison-next-card .rh-related-links {
	margin-top: auto;
}

.rh-template-comparison .rh-home-card.rh-comparison-decision-card {
	padding-right: 30px;
	background: linear-gradient(145deg, var(--rh-accent-2), #233f49);
	color: #fff;
	border-color: transparent;
}

.rh-template-comparison .rh-home-card.rh-comparison-decision-card:hover {
	background: linear-gradient(145deg, var(--rh-accent-2), #233f49);
	color: #fff;
	border-color: rgba(15, 138, 99, 0.58);
	box-shadow: var(--rh-shadow-card);
}

.rh-comparison-decision-card .rh-kicker,
.rh-comparison-decision-card .rh-muted {
	color: rgba(255, 255, 255, 0.76);
}

.rh-comparison-decision-card .rh-home-card-title,
.rh-comparison-decision-card .rh-list {
	color: #fff;
}

.rh-comparison-decision-card .rh-list li::marker {
	color: var(--rh-good);
}

.rh-template-comparison .rh-home-card.rh-comparison-decision-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 5px;
	height: 100%;
	background: var(--rh-good);
}

.rh-template-budget .rh-product-card {
	position: relative;
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-template-budget .rh-product-card::before {
	content: 'Selección';
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--rh-accent-2);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: 0 5px 16px rgba(16, 24, 32, 0.08);
}

.rh-template-budget .rh-budget-hero + .rh-home-section {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: linear-gradient(180deg, rgba(246, 247, 248, 0.72), #fff 30%);
}

.rh-template-budget .rh-budget-hero + .rh-home-section .rh-home-grid {
	gap: 22px;
}

.rh-template-budget .rh-product-card-body {
	padding: 20px;
}

.rh-template-budget .rh-product-card-title {
	font-size: 1.22rem;
}

.rh-budget-range,
.rh-budget-result-count {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border-radius: 999px;
	font-weight: 800;
	white-space: nowrap;
}

.rh-budget-range {
	grid-column: 2;
	grid-row: 1 / span 2;
	margin: 0;
	padding: 10px 14px;
	background: #8a6a22;
	color: #fff;
	font-size: 0.88rem;
	box-shadow: 0 8px 20px rgba(89, 67, 17, 0.16);
}

.rh-budget-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 22px;
	align-items: start;
}

.rh-budget-hero > :not(.rh-budget-range) {
	grid-column: 1;
}

.rh-budget-result-count {
	margin-bottom: 2px;
	padding: 7px 10px;
	border: 1px solid var(--rh-line-strong);
	background: #fff;
	color: var(--rh-accent-2);
	font-size: 0.76rem;
}

.rh-budget-section-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
	margin-bottom: 24px;
}

.rh-budget-section-head .rh-section-title {
	grid-column: 2;
	margin-bottom: 0;
}

.rh-budget-section-head .rh-muted {
	grid-column: 2;
}

.rh-budget-result-count {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.rh-template-budget .rh-next-step-card {
	padding: clamp(24px, 4vw, 36px);
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
}

.rh-template-budget .rh-next-step-card .rh-section-title {
	max-width: 560px;
}

.rh-template-budget .rh-next-step-card .rh-muted {
	max-width: 680px;
	line-height: 1.65;
}

.rh-product-card-facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	padding: 10px 0;
	border-top: 1px solid var(--rh-line);
	border-bottom: 1px solid var(--rh-line);
}

.rh-product-card-facts span {
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--rh-surface);
	color: var(--rh-muted);
	font-size: 0.74rem;
	font-weight: 700;
}

.rh-product-card-price {
	margin-right: auto;
	color: var(--rh-accent-2);
	font-size: 1rem;
}

.rh-product-card {
	padding: 0;
	gap: 0;
	background: #fff;
	overflow: hidden;
}

.rh-product-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(135deg, rgba(16, 24, 32, 0.04), rgba(40, 90, 110, 0.09)),
		var(--rh-surface);
	overflow: hidden;
	text-decoration: none;
}

.rh-product-card-media::after,
.rh-product-hero-media::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(16, 24, 32, 0.08);
	content: "";
	pointer-events: none;
}

.rh-product-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rh-product-image-fallback {
	display: grid;
	align-items: center;
	justify-content: center;
	align-content: center;
	gap: 10px;
	min-height: 190px;
	background:
		linear-gradient(135deg, rgba(16, 24, 32, 0.08), rgba(40, 90, 110, 0.14)),
		var(--rh-surface-strong);
	color: var(--rh-accent-2);
}

.rh-product-image-fallback span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 1px solid rgba(16, 24, 32, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.66);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.rh-product-image-fallback small {
	color: var(--rh-muted);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.rh-product-card-body {
	display: grid;
	gap: 10px;
	padding: 20px;
}

.rh-product-card:hover .rh-product-image {
	transform: scale(1.035);
}

.rh-product-card .rh-product-image {
	transition: transform 0.28s ease;
}

.rh-product-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(22px, 4vw, 34px);
	align-items: start;
	overflow: hidden;
	border-color: var(--rh-line-strong);
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.075), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
}

.rh-product-hero-copy {
	display: grid;
	gap: 14px;
	max-width: 780px;
}

.rh-product-hero-media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--rh-radius);
	background:
		linear-gradient(135deg, rgba(16, 24, 32, 0.06), rgba(40, 90, 110, 0.12)),
		var(--rh-surface);
	box-shadow: 0 16px 34px rgba(16, 24, 32, 0.1);
	overflow: hidden;
}

.rh-product-hero-media .rh-product-image {
	object-fit: contain;
}

.rh-product-hero .rh-title {
	font-size: clamp(2.15rem, 4.6vw, 3.45rem);
}

.rh-product-hero .rh-summary {
	max-width: 720px;
}

.rh-product-sidebar .rh-card,
.rh-product-sidebar .rh-affiliate-box {
	box-shadow: 0 10px 28px rgba(16, 24, 32, 0.045);
}

/* ========== BRAND GRID PREMIUM ========== */
.rh-brand-section {
	padding: 36px 0 0;
}

.rh-brand-header {
	margin-bottom: 28px;
}

.rh-brand-title {
	margin: 0 0 6px;
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--rh-ink);
}

.rh-brand-sub {
	margin: 0;
	color: var(--rh-muted);
	font-size: 1rem;
	max-width: 640px;
}

.rh-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rh-brand-index-page {
	display: grid;
	gap: 22px;
}

.rh-brand-index-page > .rh-title {
	max-width: 780px;
}

.rh-brand-index-page > .rh-page-body {
	max-width: 760px;
}

.rh-brand-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: var(--rh-radius);
	background: #ffffff;
	border: 1px solid var(--rh-line);
	text-decoration: none;
	transition: transform 0.28s cubic-bezier(.22,.61,.36,1), box-shadow 0.28s cubic-bezier(.22,.61,.36,1), border-color 0.28s ease;
	position: relative;
	overflow: hidden;
}

.rh-brand-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--rh-radius);
	opacity: 0;
	background: linear-gradient(135deg, rgba(33,71,217,0.03) 0%, rgba(109,61,242,0.03) 100%);
	transition: opacity 0.28s ease;
	pointer-events: none;
}

.rh-brand-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--rh-shadow-card);
	border-color: var(--rh-line-strong);
	text-decoration: none;
}

.rh-brand-card:hover::before {
	opacity: 1;
}

.rh-brand-card-name {
	margin: 0 0 14px;
	font-size: 1.4rem;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--rh-ink);
}

.rh-brand-card-desc {
	margin: 0 0 auto;
	font-size: 0.92rem;
	color: var(--rh-muted);
	line-height: 1.5;
	flex: 1;
}

.rh-brand-card-meta {
	display: inline-flex;
	width: fit-content;
	margin-top: 18px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--rh-surface);
	color: var(--rh-muted);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rh-brand-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--rh-accent);
	transition: gap 0.2s ease;
}

.rh-brand-card-cta span {
	transition: transform 0.2s ease;
}

.rh-brand-card:hover .rh-brand-card-cta {
	gap: 10px;
}

.rh-brand-card:hover .rh-brand-card-cta span {
	transform: translateX(4px);
}

.rh-home-simple-callout {
	padding: 26px;
}

.rh-page-content {
	padding: 28px;
}

.rh-page-body {
	max-width: none;
	width: 100%;
	color: var(--rh-muted);
	font-size: 1.02rem;
}

.rh-page-body h2,
.rh-page-body h3 {
	color: var(--rh-ink);
}

.rh-standard-page {
	padding: clamp(28px, 5vw, 52px);
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.04);
}

.rh-standard-page > .rh-title {
	max-width: 920px;
	margin-bottom: 26px;
}

.rh-standard-page > .rh-kicker {
	margin-bottom: 10px;
}

.rh-standard-page > .rh-page-body,
.rh-article-reading > .rh-page-body {
	max-width: 780px;
	margin-inline: auto;
	color: #3f4954;
	font-size: clamp(1rem, 1.5vw, 1.08rem);
	line-height: 1.78;
}

.rh-standard-page > .rh-page-body > :first-child,
.rh-article-reading > .rh-page-body > :first-child {
	margin-top: 0;
}

.rh-standard-page .rh-page-body p,
.rh-article-reading .rh-page-body p {
	margin: 0 0 1.3em;
}

.rh-standard-page .rh-page-body h2,
.rh-article-reading .rh-page-body h2 {
	margin: 2.2em 0 0.75em;
	padding-top: 0.85em;
	border-top: 1px solid var(--rh-line);
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	line-height: 1.18;
}

.rh-standard-page .rh-page-body h3,
.rh-article-reading .rh-page-body h3 {
	margin: 1.7em 0 0.65em;
	font-size: clamp(1.18rem, 2vw, 1.35rem);
	line-height: 1.25;
}

.rh-standard-page .rh-page-body ul,
.rh-standard-page .rh-page-body ol,
.rh-article-reading .rh-page-body ul,
.rh-article-reading .rh-page-body ol {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

.rh-standard-page .rh-page-body li + li,
.rh-article-reading .rh-page-body li + li {
	margin-top: 0.45em;
}

.rh-standard-page .rh-page-body blockquote,
.rh-article-reading .rh-page-body blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	border-left: 4px solid var(--rh-accent);
	background: var(--rh-surface);
	color: var(--rh-ink);
	font-size: 1.08em;
}

.rh-standard-page .rh-page-body img,
.rh-article-reading .rh-page-body img {
	height: auto;
	border-radius: var(--rh-radius);
}

.rh-standard-page .rh-page-body figcaption,
.rh-article-reading .rh-page-body figcaption {
	margin-top: 8px;
	color: var(--rh-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.rh-article-featured-media {
	max-width: 1040px;
	margin: 0 auto 34px;
	overflow: hidden;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	background: var(--rh-surface);
}

.rh-standard-page .rh-article-featured-media {
	margin-top: 8px;
}

.rh-article-featured-image {
	display: block;
	width: 100%;
	height: auto;
}

.rh-article-hero {
	padding: clamp(30px, 5vw, 56px);
	background:
		linear-gradient(135deg, rgba(40, 90, 110, 0.1), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff, var(--rh-surface));
	border-color: var(--rh-line-strong);
}

.rh-article-hero::before {
	background: var(--rh-accent);
}

.rh-article-hero .rh-title,
.rh-article-hero .rh-summary {
	max-width: 900px;
}

.rh-article-meta {
	margin: 20px 0 0;
	color: var(--rh-muted);
	font-size: 0.84rem;
	font-weight: 700;
}

.rh-article-featured-wide {
	margin-top: 28px;
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.05);
}

.rh-article-reading {
	max-width: 940px;
	margin: 28px auto 0;
	padding: clamp(28px, 5vw, 52px);
	border-color: var(--rh-line-strong);
	box-shadow: 0 12px 34px rgba(16, 24, 32, 0.04);
}

.rh-article-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 940px;
	margin: 24px auto 0;
}

.rh-article-nav-link {
	display: grid;
	gap: 8px;
	min-height: 128px;
	padding: 22px;
	text-decoration: none;
}

.rh-article-nav-link span {
	color: var(--rh-accent);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rh-article-nav-link strong {
	color: var(--rh-ink);
	font-size: 1.05rem;
	line-height: 1.3;
}

.rh-article-nav-next {
	grid-column: 2;
	text-align: right;
}

.rh-compare-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rh-compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	min-width: 620px;
}

.rh-compare-table th,
.rh-compare-table td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--rh-line);
	text-align: left;
	vertical-align: top;
}

.rh-compare-table thead th {
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rh-muted);
}

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

.screen-reader-text:focus,
.rh-skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 10px;
	padding: 12px 16px;
	background: #fff;
	color: #000;
	border: 1px solid var(--rh-line);
	border-radius: var(--rh-radius);
	box-shadow: var(--rh-shadow-soft);
	z-index: 10000;
}

@media (max-width: 1024px) {
	.rh-footer-layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

@media (max-width: 900px) {
	.rh-product-layout,
	.rh-404-layout,
	.rh-product-hero,
	.rh-home-spotlight,
	.rh-home-spotlight-feature,
	.rh-editorial-band,
	.rh-editorial-feature,
	.rh-guide-reading,
	.rh-related-products-header,
	.rh-related-products-grid,
	.rh-next-step-card,
	.rh-two-col,
	.rh-score-grid,
	.rh-home-grid-2,
	.rh-home-grid-3,
	.rh-home-review-grid,
	.rh-search-results-grid,
	.rh-archive-grid,
	.rh-hub-strip,
	.rh-brand-grid {
		grid-template-columns: 1fr;
	}

	.rh-product-sidebar {
		position: static;
	}

	.rh-guide-aside {
		position: static;
	}

	.rh-header-inner {
		position: relative;
		flex-direction: row;
		align-items: center;
	}

	.rh-header-search {
		order: 2;
	}

	.rh-footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.rh-footer-bottom {
		flex-direction: column;
	}

	.rh-menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.rh-main-nav-wrap {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		display: none;
		padding: 10px;
		border: 1px solid var(--rh-line);
		border-radius: var(--rh-radius);
		background: var(--rh-bg);
		box-shadow: var(--rh-shadow-soft);
	}

	.rh-main-nav-wrap.is-open,
	.rh-menu-open .rh-main-nav-wrap {
		display: block;
	}

	.rh-main-nav {
		display: grid;
		gap: 4px;
		width: 100%;
	}

	.rh-main-nav a {
		width: 100%;
		min-height: 44px;
		padding: 10px 12px;
		border-radius: var(--rh-radius);
		color: var(--rh-ink);
	}

	.rh-main-nav .current-menu-item > a,
	.rh-main-nav .current_page_item > a,
	.rh-main-nav .current-menu-ancestor > a {
		border-color: rgba(40, 90, 110, 0.18);
	}

	.rh-home-spotlight-feature {
		min-height: 0;
	}

	.rh-home-spotlight-media {
		min-height: 260px;
		aspect-ratio: 4 / 3;
	}

	.rh-home-review-grid .rh-product-card:first-child {
		grid-row: auto;
	}

	.rh-home-review-grid .rh-product-card:not(:first-child) {
		grid-template-columns: 1fr;
	}

	.rh-home-review-grid .rh-product-card:not(:first-child) .rh-product-card-media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.rh-home-section:has(.rh-home-card:not(.rh-product-card)) .rh-home-section-head {
		grid-template-columns: 1fr;
	}

	.rh-term-product-section .rh-home-section-head {
		grid-template-columns: 1fr;
	}

	.rh-verdict-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.rh-editorial-feature-cta {
		width: fit-content;
	}
}

@media (max-width: 640px) {
	.rh-container {
		width: min(var(--rh-max), calc(100% - 20px));
	}

	.rh-footer-layout {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 28px 0;
	}

	.rh-budget-range {
		grid-column: 1;
		grid-row: auto;
		margin: 0 0 14px;
	}

	.rh-template-budget .rh-budget-hero {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.rh-budget-section-head {
		grid-template-columns: 1fr;
	}

	.rh-budget-section-head .rh-section-title,
	.rh-budget-section-head .rh-muted,
	.rh-budget-result-count {
		grid-column: 1;
		grid-row: auto;
	}

	.rh-template-budget .rh-budget-hero + .rh-home-section {
		padding: 18px;
	}

	.rh-template-budget .rh-budget-hero + .rh-home-section .rh-home-grid {
		gap: 16px;
	}

	.rh-card,
	.rh-hero,
	.rh-listing-section,
	.rh-page-content,
	.rh-home-simple-callout {
		padding: 18px;
	}

	.rh-template-404 .rh-404-hero,
	.rh-template-404 .rh-404-search,
	.rh-template-archive .rh-archive-hero {
		padding: 22px;
	}

	.rh-archive-section {
		padding: 18px;
	}

	.rh-archive-card {
		padding: 0;
	}

	.rh-archive-card-body {
		padding: 18px;
	}

	.rh-standard-page,
	.rh-article-hero,
	.rh-article-reading {
		padding: 22px;
	}

	.rh-article-featured-media {
		margin-bottom: 24px;
	}

	.rh-article-featured-wide,
	.rh-article-reading {
		margin-top: 20px;
	}

	.rh-article-navigation {
		grid-template-columns: 1fr;
	}

	.rh-article-nav-next {
		grid-column: 1;
		text-align: left;
	}

	.rh-title {
		font-size: clamp(1.8rem, 8vw, 2.4rem);
	}

	.rh-content-wrap {
		padding-top: 24px;
	}

	.rh-taxonomy-row {
		display: grid;
		gap: 4px;
	}

	.rh-taxonomy-row span {
		text-align: left;
	}

	.rh-score-item {
		padding: 10px;
	}

	.rh-compare-table-wrap {
		margin-right: -10px;
		padding-bottom: 4px;
	}

	.rh-template-comparison .rh-home-section {
		padding: 18px;
	}

	.rh-template-comparison .rh-comparison-card,
	.rh-comparison-next-card,
	.rh-comparison-decision-card {
		min-height: 0;
		padding: 20px;
	}

	.rh-template-comparison .rh-home-card.rh-comparison-next-card,
	.rh-template-comparison .rh-home-card.rh-comparison-decision-card {
		padding-right: 20px;
	}

	.rh-template-comparison .rh-compare-table-wrap {
		margin-right: 0;
		padding-bottom: 0;
	}

	.rh-template-comparison .rh-compare-table thead th,
	.rh-template-comparison .rh-compare-table tbody td {
		padding: 14px 12px;
	}

	.rh-compare-scroll-hint {
		display: block;
	}

	.rh-compare-table {
		font-size: 0.9rem;
	}

	.rh-brand-card {
		padding: 20px;
	}

	.rh-brand-card-name {
		font-size: 1.2rem;
	}

	.rh-product-card-body {
		padding: 16px;
	}

	.rh-product-image-fallback {
		min-height: 160px;
	}

	.rh-home-route-card {
		min-height: 84px;
	}

	.rh-decision-grid {
		grid-template-columns: 1fr;
	}

	.rh-decision-card {
		min-height: auto;
	}

	.rh-editorial-band {
		padding: 22px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (hover: none) {
	.rh-button:hover,
	.rh-related-link:hover,
	.rh-home-spotlight-feature:hover,
	.rh-home-route-card:hover,
	.rh-decision-card:hover,
	.rh-brand-card:hover {
		transform: none;
	}

	.rh-home-spotlight-feature:hover .rh-product-image,
	.rh-product-card:hover .rh-product-image,
	.rh-archive-card:hover .rh-archive-card-image,
	.rh-brand-card:hover .rh-brand-card-cta span {
		transform: none;
	}
}

@media (min-width: 641px) and (max-width: 900px) {
	.rh-term-product-section .rh-home-grid-3,
	.rh-template-budget .rh-home-grid-3,
	.rh-related-products-grid,
	.rh-search-results-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
