/*
 * RFC Research Centre — scoped styles (rr- prefix).
 * Uses the theme's CSS variables with fallbacks so it inherits the live
 * Customizer/brand colours. Loaded only on the four research templates.
 */

.rr-page {
	--rr-green: var(--green, #1C4E3C);
	--rr-green-dark: #0D2410;
	--rr-green-pale: var(--green-pale, #EEF4F0);
	--rr-green-border: var(--green-border, #CFE0D6);
	--rr-amber: var(--amber, #F59E0B);
	--rr-amber-hover: #D97706;
	--rr-text: var(--text, #1A1A1A);
	--rr-text-mid: var(--text-mid, #3D4A44);
	--rr-muted: var(--muted, #5F6B66);
	--rr-border: var(--border, #DDE3E0);
	--rr-off: var(--off-white, #F7F9F8);
	--rr-radius: var(--radius, 10px);
	--rr-radius-sm: var(--radius-sm, 6px);
	--rr-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.08));
	--rr-display: var(--font-display, "Barlow Condensed", "Arial Narrow", sans-serif);
	--rr-body: var(--font-body, "Barlow", Arial, sans-serif);
	color: var(--rr-text);
	font-family: var(--rr-body);
}

.rr-page .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; width: 1px; word-wrap: normal !important;
}

.rr-page a { color: var(--rr-green); text-underline-offset: 2px; }
.rr-page a:hover { color: var(--rr-green-dark); }
.rr-page a:focus-visible,
.rr-page button:focus-visible,
.rr-page summary:focus-visible,
.rr-table-wrap:focus-visible { outline: 3px solid var(--rr-amber); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.rr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 46px; padding: .7em 1.3em; border-radius: var(--rr-radius-sm);
	font-family: var(--rr-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
	text-decoration: none; text-transform: uppercase; border: 2px solid transparent; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.rr-page .rr-btn--amber { background: var(--rr-amber); color: #1A1A1A; }
.rr-page .rr-btn--amber:hover { background: var(--rr-amber-hover); color: #1A1A1A; }
.rr-page .rr-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.rr-page .rr-btn--ghost:hover { background: #fff; color: var(--rr-green); }
.rr-page .rr-btn--outline { background: #fff; color: var(--rr-green); border-color: var(--rr-green); }
.rr-page .rr-btn--outline:hover { background: var(--rr-green); color: #fff; }

/* ---------- Hero ---------- */
.rr-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, var(--rr-green-dark) 0%, var(--rr-green) 70%);
	color: #fff; padding: 28px 0 56px;
}
.rr-hero__inner { position: relative; z-index: 2; }
.rr-hero__art {
	position: absolute; right: -40px; bottom: -20px; width: min(46vw, 560px); height: auto;
	color: rgba(255,255,255,.14); z-index: 1; pointer-events: none;
}
.rr-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25em; list-style: none; margin: 0 0 26px; padding: 0; font-size: .92rem; }
.rr-breadcrumbs li + li::before { content: "›"; margin: 0 .45em; color: rgba(255,255,255,.7); }
.rr-page .rr-breadcrumbs a { color: rgba(255,255,255,.88); }
.rr-page .rr-breadcrumbs a:hover { color: #fff; }
.rr-breadcrumbs [aria-current] { color: #fff; font-weight: 600; }
.rr-hero__label {
	display: inline-block; margin: 0 0 14px; padding: .3em .8em; border-radius: 999px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
	font-family: var(--rr-display); font-weight: 600; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
}
.rr-hero__title {
	font-family: var(--rr-display); font-weight: 700; color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 0 0 18px; max-width: 22ch;
}
.rr-page--hub .rr-hero__title { max-width: 18ch; }
.rr-hero__intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 62ch; margin: 0 0 22px; color: rgba(255,255,255,.92); }
.rr-hero__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, max-content)); gap: 10px 32px; margin: 0 0 26px; }
.rr-hero__facts div { border-left: 3px solid var(--rr-amber); padding-left: 10px; }
.rr-hero__facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.rr-hero__facts dd { margin: 2px 0 0; font-weight: 600; }
.rr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Layout ---------- */
.rr-layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 1100px) {
	.rr-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
	.rr-layout__aside { position: relative; }
	.rr-toc { position: sticky; top: 130px; }
}
.rr-layout__main { min-width: 0; }

.rr-toc { background: var(--rr-off); border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 18px 20px; }
.rr-toc__title { font-family: var(--rr-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; color: var(--rr-green); }
.rr-toc ol { margin: 0; padding-left: 1.2em; }
.rr-toc li { margin: 6px 0; font-size: .95rem; line-height: 1.35; }
.rr-toc a { text-decoration: none; }
.rr-toc a:hover { text-decoration: underline; }

/* ---------- Prose ---------- */
.rr-prose { font-size: 1.05rem; line-height: 1.68; color: var(--rr-text-mid); }
.rr-prose p, .rr-prose ul, .rr-prose ol { margin: 0 0 1em; }
.rr-prose strong { color: var(--rr-text); }
.rr-prose h3 { font-family: var(--rr-display); font-size: 1.4rem; line-height: 1.2; color: var(--rr-text); margin: 1.6em 0 .5em; }
.rr-standfirst { font-size: 1.12rem; border-left: 4px solid var(--rr-amber); padding: 4px 0 4px 16px; color: var(--rr-text); }
.rr-layout__main > section { padding-top: 12px; margin-bottom: 44px; scroll-margin-top: 130px; }
.rr-h2 {
	font-family: var(--rr-display); font-weight: 700; color: var(--rr-text);
	font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 0 0 18px; scroll-margin-top: 130px;
	display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.rr-h2__num {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 38px; height: 38px; border-radius: 50%; background: var(--rr-green); color: #fff; font-size: 1.15rem;
	transform: translateY(-3px);
}
.rr-anchor { font-size: 1rem; color: var(--rr-muted) !important; text-decoration: none; opacity: 0; transition: opacity .15s; }
.rr-h2:hover .rr-anchor, .rr-anchor:focus { opacity: 1; }
.rr-small { font-size: .9rem; color: var(--rr-muted); }

/* ---------- Stat cards ---------- */
.rr-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.rr-stat {
	background: #fff; border: 1px solid var(--rr-border); border-top: 5px solid var(--rr-green);
	border-radius: var(--rr-radius); padding: 18px 18px 14px; box-shadow: var(--rr-shadow);
	display: flex; flex-direction: column;
}
.rr-stat:nth-child(3n+2) { border-top-color: var(--rr-amber); }
.rr-stat__value { font-family: var(--rr-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--rr-green); margin: 0 0 8px; }
.rr-stat__label { font-size: .98rem; line-height: 1.45; color: var(--rr-text); margin: 0 0 8px; }
.rr-stat__note { font-size: .82rem; line-height: 1.4; color: var(--rr-muted); margin: 0 0 8px; }
.rr-stat__meta { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--rr-border); font-size: .8rem; color: var(--rr-muted); }
.rr-stat__period { font-weight: 600; color: var(--rr-text-mid); }

/* ---------- Figures / charts ---------- */
.rr-figure { margin: 22px 0 18px; padding: 18px; background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); }
.rr-chart { width: 100%; height: auto; display: block; font-family: var(--rr-body); }
.rr-chart__grid { stroke: #E5EAE7; stroke-width: 1; }
.rr-chart__ylab, .rr-chart__xlab { font-size: 13px; fill: #4B5752; }
.rr-chart__line { fill: none; stroke: var(--rr-green); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.rr-chart__dot { fill: #fff; stroke: var(--rr-green); stroke-width: 3; }
.rr-chart__dot--flag { stroke: var(--rr-amber-hover); fill: var(--rr-amber); }
.rr-chart__gap { font-size: 12px; fill: #8A9590; font-style: italic; }
.rr-chart__bar { fill: var(--rr-green); }
.rr-chart__blab { font-size: 14px; fill: #26302C; }
.rr-chart__bval { font-size: 14px; font-weight: 600; fill: #26302C; }
.rr-figure figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--rr-muted); }
.rr-figure__dl { white-space: nowrap; }

/* ---------- Tables ---------- */
.rr-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 8px; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); background: #fff; }
.rr-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.4; min-width: 560px; }
.rr-table--text { min-width: 720px; }
.rr-table--compliance { min-width: 1040px; }
.rr-table caption { caption-side: top; text-align: left; padding: 14px 16px 10px; font-family: var(--rr-display); font-weight: 700; font-size: 1.15rem; color: var(--rr-text); }
.rr-table th, .rr-table td { padding: 10px 14px; border-top: 1px solid var(--rr-border); text-align: left; vertical-align: top; }
.rr-table thead th { background: var(--rr-green); color: #fff; font-weight: 600; font-size: .88rem; border-top: 0; vertical-align: bottom; }
.rr-table tbody th { font-weight: 600; color: var(--rr-text); }
.rr-table tbody tr:nth-child(even) td, .rr-table tbody tr:nth-child(even) th { background: var(--rr-off); }
.rr-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rr-table tfoot th, .rr-table tfoot td { background: var(--rr-green-pale); font-weight: 700; color: var(--rr-text); }
.rr-row--group th { background: var(--rr-green-pale) !important; color: var(--rr-green); font-family: var(--rr-display); font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.rr-row--flag td, .rr-row--flag th { background: #FFF7E6 !important; }
.rr-table__note { font-size: .85rem; color: var(--rr-muted); max-width: 46ch; }
.rr-table--compact { min-width: 680px; }
.rr-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #FDE7C2; color: #7A4A00; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.rr-source { font-size: .85rem; line-height: 1.5; color: var(--rr-muted); margin: 6px 0 16px !important; }

/* ---------- Callouts & badges ---------- */
.rr-callout { border-radius: var(--rr-radius); padding: 16px 20px; margin: 18px 0; border: 1px solid; font-size: .97rem; }
.rr-callout p:last-child, .rr-callout ul:last-child { margin-bottom: 0; }
.rr-callout ul { padding-left: 1.2em; }
.rr-callout li { margin-bottom: .45em; }
.rr-callout__title { font-family: var(--rr-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px !important; color: var(--rr-text); }
.rr-callout--note { background: var(--rr-off); border-color: var(--rr-border); }
.rr-callout--info { background: var(--rr-green-pale); border-color: var(--rr-green-border); }
.rr-callout--warning { background: #FFF8EB; border-color: #F5D9A3; }
.rr-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.rr-badge { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; font-family: var(--rr-body); }
.rr-badge--law { background: var(--rr-green); color: #fff; }
.rr-badge--std { background: #E3ECF7; color: #1D3D66; }
.rr-badge--guide { background: #EDE7F6; color: #4A2C7A; }
.rr-badge--bp { background: #FDE7C2; color: #7A4A00; }
.rr-prose h3 .rr-badge { margin-left: 6px; }

/* ---------- Points grid ---------- */
.rr-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 12px; }
.rr-point { background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 16px 18px; }
.rr-point h3 { margin: 0 0 6px !important; font-size: 1.2rem !important; color: var(--rr-green) !important; }
.rr-point p { margin: 0; font-size: .96rem; }

/* ---------- Downloads ---------- */
.rr-downloads { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rr-download { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--rr-green-border); border-radius: var(--rr-radius); background: var(--rr-green-pale); text-decoration: none; height: 100%; }
.rr-download:hover { border-color: var(--rr-green); background: #fff; }
.rr-download__icon { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--rr-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.rr-download__label { display: block; font-weight: 700; color: var(--rr-text); line-height: 1.3; }
.rr-download__meta { display: block; font-size: .82rem; color: var(--rr-muted); line-height: 1.35; }

/* ---------- Methodology / sources / cite ---------- */
.rr-method { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0 0 20px; }
@media (min-width: 720px) { .rr-method { grid-template-columns: 220px 1fr; } }
.rr-method dt { font-weight: 700; color: var(--rr-text); padding-top: 10px; }
.rr-method dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rr-border); }
@media (min-width: 720px) { .rr-method dt { border-bottom: 1px solid var(--rr-border); padding-bottom: 10px; } }
.rr-sources { font-size: .92rem; padding-left: 1.2em; }
.rr-sources li { margin-bottom: .5em; }
.rr-cite { margin-top: 26px; padding: 20px; border: 2px dashed var(--rr-green-border); border-radius: var(--rr-radius); background: var(--rr-off); }
.rr-cite__label { font-family: var(--rr-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rr-green); margin: 0 0 8px !important; }
.rr-cite__text { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; color: var(--rr-text); background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius-sm); padding: 12px 14px; margin: 0 0 12px !important; }
.rr-cite__status { margin-left: 10px; font-size: .9rem; color: var(--rr-green); font-weight: 600; }
.rr-cite__note { font-size: .88rem; margin: 12px 0 0 !important; }
.rr-prepared { font-size: .9rem; color: var(--rr-muted); border-top: 1px solid var(--rr-border); padding-top: 14px; }

/* ---------- FAQ ---------- */
.rr-faq details { border: 1px solid var(--rr-border); border-radius: var(--rr-radius); margin-bottom: 10px; background: #fff; }
.rr-faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--rr-text); position: relative; list-style: none; }
.rr-faq summary::-webkit-details-marker { display: none; }
.rr-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rr-green); }
.rr-faq details[open] summary::after { content: "−"; }
.rr-faq details > div { padding: 0 18px 6px; }

/* ---------- Checklist block ---------- */
.rr-checklist { background: var(--rr-off); border: 1px solid var(--rr-border); border-left: 6px solid var(--rr-amber); border-radius: var(--rr-radius); padding: 20px; }

/* ---------- CTA ---------- */
.rr-cta { background: var(--rr-green); color: #fff; padding: 44px 0; }
.rr-cta__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .rr-cta__inner { grid-template-columns: 1fr auto; } }
.rr-cta__title { font-family: var(--rr-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: #fff; margin: 0 0 10px; }
.rr-cta__text { margin: 0 0 12px; color: rgba(255,255,255,.92); max-width: 60ch; }
.rr-cta__links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.rr-page .rr-cta__links a { color: #fff; font-weight: 600; }
.rr-cta__links a::after { content: " →"; }
.rr-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cards ---------- */
.rr-related { background: var(--rr-off); padding: 48px 0; border-top: 1px solid var(--rr-border); }
.rr-related__title, .rr-section-title { font-family: var(--rr-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--rr-text); margin: 0 0 20px; line-height: 1.15; }
.rr-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rr-card { position: relative; background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 22px; box-shadow: var(--rr-shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.rr-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,36,16,.12); }
.rr-card--featured { border-top: 5px solid var(--rr-green); }
.rr-card__cat { font-family: var(--rr-display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #8A4B00; margin: 0 0 6px; }
.rr-card__title { font-family: var(--rr-display); font-size: 1.5rem; line-height: 1.15; margin: 0 0 10px; }
.rr-card__title a { color: var(--rr-text); text-decoration: none; }
.rr-card__title a::after { content: ""; position: absolute; inset: 0; }
.rr-card__desc { font-size: .97rem; line-height: 1.5; color: var(--rr-text-mid); margin: 0 0 14px; }
.rr-card__meta { font-size: .82rem; color: var(--rr-muted); margin: auto 0 10px; }
.rr-card__link { font-weight: 700; text-decoration: none; }

/* ---------- Hub ---------- */
.rr-hub-intro { padding: 48px 0 16px; }
.rr-hub-intro__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .rr-hub-intro__inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.rr-hub-figures { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rr-hub-figures li { display: flex; align-items: baseline; gap: 14px; background: var(--rr-green-pale); border-radius: var(--rr-radius); padding: 14px 18px; color: var(--rr-text-mid); }
.rr-hub-figures__n { font-family: var(--rr-display); font-weight: 700; font-size: 2.1rem; color: var(--rr-green); min-width: 4.2ch; }
.rr-library { padding: 32px 0 24px; }
.rr-cards--featured { margin-bottom: 44px; }
.rr-cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rr-cat { border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 18px; background: #fff; }
.rr-cat__title { font-family: var(--rr-display); font-size: 1.25rem; margin: 0 0 8px; color: var(--rr-green); }
.rr-cat ul { margin: 0; padding-left: 1.1em; }
.rr-cat__meta { font-size: .85rem; color: var(--rr-muted); }
.rr-hub-downloads { padding: 24px 0 40px; }
.rr-hub-method { background: var(--rr-off); border-top: 1px solid var(--rr-border); border-bottom: 1px solid var(--rr-border); padding: 48px 0; }
.rr-hub-method__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .rr-hub-method__inner { grid-template-columns: 1.5fr 1fr; } }
.rr-ticks { list-style: none; padding: 0; }
.rr-ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.rr-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--rr-green); font-weight: 700; }
.rr-hub-sources { background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 20px 22px; }
.rr-hub-sources h3 { font-family: var(--rr-display); margin: 0 0 10px; font-size: 1.3rem; }
.rr-hub-sources ul { margin: 0; padding-left: 1.1em; line-height: 1.8; }
.rr-about { padding: 44px 0; }
.rr-about__inner { max-width: 860px; }

/* ---------- Review banner (editors only) ---------- */
.rr-review { background: #FFF3C4; border-bottom: 2px solid #E8B500; color: #3A2E00; padding: 14px 0; font-size: .95rem; }
.rr-review ul { margin: 6px 0 6px 1.2em; }
.rr-review code { background: rgba(0,0,0,.06); padding: 0 4px; border-radius: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.rr-hero { padding: 20px 0 40px; }
	.rr-hero__art { opacity: .5; width: 80vw; }
	.rr-hero__actions .rr-btn { width: 100%; }
	.rr-stat__value { font-size: 2.2rem; }
	.rr-figure { padding: 10px; }
	.rr-h2__num { width: 32px; height: 32px; font-size: 1rem; }
	.rr-cta__actions .rr-btn { width: 100%; }
}

/* ---------- Print ---------- */
@media print {
	.rr-hero { background: none !important; color: #000; padding: 0; }
	.rr-hero *, .rr-page .rr-breadcrumbs a { color: #000 !important; }
	.rr-hero__art, .rr-hero__actions, .rr-layout__aside, .rr-cta, .rr-related, .rr-review, .rr-anchor, .rr-cite__btn { display: none !important; }
	.rr-layout { display: block; padding: 0; }
	.rr-table thead th { background: #eee !important; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
	.rr-card, .rr-btn, .rr-anchor { transition: none; }
	.rr-card:hover { transform: none; }
}

/* ---------- HTML sitemap (page-sitemap.php) ---------- */
.rr-hero--compact { padding: 24px 0 36px; }
.rr-hero--compact .rr-hero__title { margin-bottom: 8px; }
.rr-hero--compact .rr-hero__intro { margin: 0; }
.rr-sitemap__body { padding-top: 32px; padding-bottom: 48px; }
.rr-sitemap__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.rr-sitemap__jump a { padding: 6px 14px; border: 1px solid var(--rr-green-border); border-radius: 999px; background: var(--rr-green-pale); font-weight: 600; font-size: .92rem; text-decoration: none; }
.rr-sitemap__jump a:hover { background: var(--rr-green); color: #fff; }
.rr-sitemap__grid { columns: 4 260px; column-gap: 20px; }
.rr-sitemap__group { background: #fff; border: 1px solid var(--rr-border); border-top: 4px solid var(--rr-green); border-radius: var(--rr-radius); padding: 18px 20px; scroll-margin-top: 130px; break-inside: avoid; margin: 0 0 20px; display: inline-block; width: 100%; }
.rr-sitemap__group--wide { column-span: all; display: block; }
.rr-sitemap__group--wide ul { columns: 2 320px; column-gap: 32px; }
.rr-sitemap__group h2 { font-family: var(--rr-display); font-size: 1.35rem; margin: 0 0 10px; color: var(--rr-text); display: flex; align-items: center; gap: 8px; }
.rr-sitemap__count { font-family: var(--rr-body); font-size: .75rem; font-weight: 700; background: var(--rr-green-pale); color: var(--rr-green); border-radius: 999px; padding: 1px 8px; }
.rr-sitemap__group ul { list-style: none; margin: 0; padding: 0; }
.rr-sitemap__group li { padding: 5px 0; line-height: 1.35; break-inside: avoid; font-size: .97rem; }
.rr-sitemap__group a { text-decoration: none; }
.rr-sitemap__group a:hover { text-decoration: underline; }
.rr-sitemap__d0 > a { font-weight: 700; }
.rr-sitemap__d1 { padding-left: 14px !important; border-left: 2px solid var(--rr-green-border); }
.rr-sitemap__d2 { padding-left: 30px !important; border-left: 2px solid var(--rr-green-border); font-size: .92rem !important; }
.rr-sitemap__date { font-size: .8rem; color: var(--rr-muted); }
.rr-sitemap__xml { margin-top: 28px; font-size: .9rem; color: var(--rr-muted); }
