/**
 * BEHI Reusable Profile System — public frontend styles.
 * Theme-independent tokens: deep black, gold, cream.
 */

.behi-rps {
	--behi-black: #0b0b0b;
	--behi-charcoal: #1a1a1a;
	--behi-gold: #c5a059;
	--behi-gold-deep: #a8843d;
	--behi-cream: #f5f1e9;
	--behi-cream-dark: #e8e1d4;
	--behi-text: #1c1c1c;
	--behi-muted: #5c574e;
	--behi-green: #2f6b3b;
	--behi-radius: 4px;
	--behi-max: 1400px;
	color: var(--behi-text);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
}

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

.behi-rps-btn {
	appearance: none;
	background: var(--behi-gold);
	border: 1px solid var(--behi-gold);
	border-radius: var(--behi-radius);
	color: var(--behi-black);
	cursor: pointer;
	display: inline-block;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
}

.behi-rps-btn:hover {
	background: var(--behi-gold-deep);
	border-color: var(--behi-gold-deep);
	color: #fff;
}

.behi-rps-btn--ghost {
	background: transparent;
	color: var(--behi-gold-deep);
	text-decoration: none;
}

a.behi-rps-btn,
a.behi-rps-btn:visited,
a.behi-rps-btn:hover,
a.behi-rps-btn:focus,
a.behi-rps-btn:active {
	text-decoration: none !important;
}

.behi-rps-empty,
.behi-rps-muted {
	color: var(--behi-muted);
	font-style: italic;
}

.behi-rps-eyebrow {
	color: var(--behi-gold);
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

.behi-rps-eyebrow__sep {
	margin: 0 0.4rem;
	opacity: 0.65;
}

.behi-rps-eyebrow__stable-id {
	font-weight: 700;
	letter-spacing: 0.12em;
}

.behi-rps-tag {
	background: var(--behi-cream-dark);
	border-radius: 999px;
	display: inline-block;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	margin: 0.35rem 0;
	padding: 0.2rem 0.65rem;
}

/* Header Wrapper & Breadcrumbs */
.behi-rps-header-wrapper {
	background: linear-gradient(145deg, var(--behi-black), var(--behi-charcoal));
	border-bottom: 2px solid var(--behi-gold);
	width: 100%;
	padding: 0 20px;
}

.behi-rps-breadcrumbs {
	max-width: var(--behi-max);
	margin: 0 auto;
	padding: 0.85rem 0 0.25rem;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8c8273;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.behi-rps-breadcrumbs__sep {
	color: var(--behi-gold);
	opacity: 0.6;
}

.behi-rps-breadcrumbs__item.is-current {
	color: var(--behi-gold);
	font-weight: 600;
}

/* Header */
.behi-rps-header {
	max-width: var(--behi-max);
	margin: 0 auto;
	background: transparent;
	color: var(--behi-cream);
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(140px, 200px) 1fr;
	margin-bottom: 0;
	padding: 1.75rem 0;
}

.behi-rps-header__media-col {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.behi-rps-header__portrait-wrap {
	position: relative;
	width: 100%;
	max-width: 200px;
}

.behi-rps-header__portrait {
	aspect-ratio: 1;
	border: 3px solid var(--behi-gold);
	border-radius: 50%;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
}

.behi-rps-header__portrait--placeholder {
	background: radial-gradient(circle at 30% 30%, #333, #111);
}

.behi-rps-seal {
	position: absolute;
	bottom: -8px;
	right: -8px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: #141414;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
	pointer-events: none;
}

.behi-rps-seal__svg {
	width: 100%;
	height: 100%;
	display: block;
}

.behi-rps-header__title {
	color: var(--behi-gold);
	font-size: clamp(1.75rem, 4vw, 2.6rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.15;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.behi-rps-header__dates,
.behi-rps-header__descriptors {
	color: var(--behi-cream);
	margin: 0 0 0.65rem;
	opacity: 0.92;
}

.behi-rps-header__quote {
	margin: 0.85rem 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--behi-gold);
	background: rgba(197, 160, 89, 0.08);
	border-radius: 0 var(--behi-radius) var(--behi-radius) 0;
}

.behi-rps-header__quote-text {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #f3ede2;
}

.behi-rps-header__quote-source {
	display: block;
	margin: 0.55rem 0 0;
	font-family: system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.4;
	color: #d1c7b7;
}

.behi-rps-header__quote-source-label {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--behi-gold);
	margin-right: 0.35rem;
}

.behi-rps-quote-provenance {
	margin: 0.45rem 0 0;
	font-family: system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-size: 0.72rem;
	line-height: 1.4;
	color: #7a6f5d;
}

.behi-rps-quote-provenance__label {
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #5c574e;
	margin-right: 0.3rem;
}

.behi-rps-header__meta-list {
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.behi-rps-meta-row {
	font-family: system-ui, sans-serif;
	font-size: 0.82rem;
	line-height: 1.4;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.behi-rps-meta-row__label {
	color: var(--behi-gold);
	font-weight: 600;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
}

.behi-rps-meta-row__value {
	color: var(--behi-cream);
	opacity: 0.95;
}

.behi-rps-verified-box {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	background: rgba(47, 107, 59, 0.15);
	border: 1px solid rgba(47, 107, 59, 0.6);
	border-radius: var(--behi-radius);
	padding: 0.5rem 0.85rem;
	margin: 0.5rem 0 1rem;
}

.behi-rps-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #6ed188;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.behi-rps-verified-badge__dot {
	width: 8px;
	height: 8px;
	background: #34d399;
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.behi-rps-verified-date {
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	color: #d1c7b7;
	border-left: 1px solid rgba(47, 107, 59, 0.4);
	padding-left: 0.75rem;
}

.behi-rps-verified-dates {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	border-left: 1px solid rgba(47, 107, 59, 0.4);
	padding-left: 0.75rem;
}

.behi-rps-verified-dates .behi-rps-verified-date {
	border-left: 0;
	padding-left: 0;
}

/* ==========================================================================
   Universal Academic Verification Badges
   ========================================================================== */
.behi-rps-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.22rem 0.6rem;
	border-radius: 3px;
	line-height: 1.2;
	white-space: nowrap;
	border: 1px solid transparent;
	box-sizing: border-box;
	text-decoration: none;
}

/* Light context (tables, ledger cards, legend bar, etc.) */
.behi-rps-badge--verified {
	background: #e6f4ea;
	color: #137333 !important;
	border-color: #a8dab5;
}

.behi-rps-badge--attributed {
	background: #fef3c7;
	color: #92400e !important;
	border-color: #fcd34d;
}

.behi-rps-badge--estimated {
	background: #e0f2fe;
	color: #0369a1 !important;
	border-color: #7dd3fc;
}

.behi-rps-badge--disputed {
	background: #fee2e2;
	color: #991b1b !important;
	border-color: #fca5a5;
}

.behi-rps-badge--institute-analysis {
	background: #ede9fe;
	color: #5b21b6 !important;
	border-color: #c4b5fd;
}

/* Evidence Type — independent from Claim Status colors */
.behi-rps-badge--evidence {
	background: #f3efe6;
	color: #3d3428 !important;
	border-color: #c5a059;
	font-weight: 700;
}

/* Dark context (cards, dark stat boxes, dark panels, receipts items, etc.) */
.behi-rps-overview-stat-box .behi-rps-badge,
.behi-rps-overview-economic .behi-rps-badge,
.behi-rps-dark-card .behi-rps-badge,
.behi-rps-myth-poster .behi-rps-badge,
.behi-rps-why-matters .behi-rps-badge,
.behi-rps-receipts__item .behi-rps-badge,
.behi-rps-dossier .behi-rps-badge,
.behi-rps-table td .behi-rps-badge,
.behi-rps-pathway-card .behi-rps-badge {
	font-size: 0.65rem;
	padding: 0.2rem 0.5rem;
}

.behi-rps-overview-stat-box .behi-rps-badge--verified,
.behi-rps-overview-economic .behi-rps-badge--verified,
.behi-rps-dark-card .behi-rps-badge--verified,
.behi-rps-myth-poster .behi-rps-badge--verified,
.behi-rps-why-matters .behi-rps-badge--verified,
.behi-rps-receipts__item .behi-rps-badge--verified,
.behi-rps-dossier .behi-rps-badge--verified,
.behi-rps-table td .behi-rps-badge--verified,
.behi-rps-pathway-card .behi-rps-badge--verified {
	background: rgba(34, 197, 94, 0.22);
	color: #4ade80 !important;
	border-color: rgba(74, 222, 128, 0.55);
}

.behi-rps-overview-stat-box .behi-rps-badge--attributed,
.behi-rps-overview-economic .behi-rps-badge--attributed,
.behi-rps-dark-card .behi-rps-badge--attributed,
.behi-rps-myth-poster .behi-rps-badge--attributed,
.behi-rps-why-matters .behi-rps-badge--attributed,
.behi-rps-receipts__item .behi-rps-badge--attributed,
.behi-rps-dossier .behi-rps-badge--attributed,
.behi-rps-table td .behi-rps-badge--attributed,
.behi-rps-pathway-card .behi-rps-badge--attributed {
	background: rgba(245, 158, 11, 0.22);
	color: #fbbf24 !important;
	border-color: rgba(251, 191, 36, 0.55);
}

.behi-rps-overview-stat-box .behi-rps-badge--estimated,
.behi-rps-overview-economic .behi-rps-badge--estimated,
.behi-rps-dark-card .behi-rps-badge--estimated,
.behi-rps-myth-poster .behi-rps-badge--estimated,
.behi-rps-why-matters .behi-rps-badge--estimated,
.behi-rps-receipts__item .behi-rps-badge--estimated,
.behi-rps-dossier .behi-rps-badge--estimated,
.behi-rps-table td .behi-rps-badge--estimated,
.behi-rps-pathway-card .behi-rps-badge--estimated {
	background: rgba(14, 165, 233, 0.22);
	color: #38bdf8 !important;
	border-color: rgba(56, 189, 248, 0.55);
}

.behi-rps-overview-stat-box .behi-rps-badge--disputed,
.behi-rps-overview-economic .behi-rps-badge--disputed,
.behi-rps-dark-card .behi-rps-badge--disputed,
.behi-rps-myth-poster .behi-rps-badge--disputed,
.behi-rps-why-matters .behi-rps-badge--disputed,
.behi-rps-receipts__item .behi-rps-badge--disputed,
.behi-rps-dossier .behi-rps-badge--disputed,
.behi-rps-table td .behi-rps-badge--disputed,
.behi-rps-pathway-card .behi-rps-badge--disputed {
	background: rgba(239, 68, 68, 0.22);
	color: #f87171 !important;
	border-color: rgba(248, 113, 113, 0.55);
}

.behi-rps-overview-stat-box .behi-rps-badge--institute-analysis,
.behi-rps-overview-economic .behi-rps-badge--institute-analysis,
.behi-rps-dark-card .behi-rps-badge--institute-analysis,
.behi-rps-myth-poster .behi-rps-badge--institute-analysis,
.behi-rps-why-matters .behi-rps-badge--institute-analysis,
.behi-rps-receipts__item .behi-rps-badge--institute-analysis,
.behi-rps-dossier .behi-rps-badge--institute-analysis,
.behi-rps-table td .behi-rps-badge--institute-analysis,
.behi-rps-pathway-card .behi-rps-badge--institute-analysis {
	background: rgba(168, 85, 247, 0.22);
	color: #c084fc !important;
	border-color: rgba(192, 132, 252, 0.55);
}

/* Header Action Buttons */
.behi-rps-header__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.behi-rps-btn--primary {
	background: var(--behi-gold);
	border: 1px solid var(--behi-gold);
	color: #141414;
	font-weight: 700;
}

.behi-rps-btn--primary:hover {
	background: #dfb96e;
	border-color: #dfb96e;
	color: #000;
}

.behi-rps-btn--outline {
	background: rgba(20, 20, 20, 0.6);
	border: 1px solid rgba(197, 160, 89, 0.6);
	color: var(--behi-cream);
	font-weight: 600;
}

.behi-rps-btn--outline:hover {
	background: rgba(197, 160, 89, 0.15);
	border-color: var(--behi-gold);
	color: #fff;
}

.behi-rps-btn--with-icon {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: var(--behi-radius);
	cursor: pointer;
	transition: all 0.2s ease;
}

.behi-rps-btn__icon {
	flex-shrink: 0;
}

/* Navigation — sticks flush to viewport top while scrolling */
.behi-rps-nav {
	background: #141414;
	border-top: 1px solid rgba(197, 160, 89, 0.55);
	border-bottom: 1px solid #2a2a2a;
	padding: 0 20px;
	position: -webkit-sticky;
	position: sticky;
	top: 0 !important;
	z-index: 100010;
	width: 100%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.behi-rps-nav.is-stuck {
	position: fixed !important;
	top: var(--behi-nav-sticky-top, 0px) !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.behi-rps-nav-placeholder {
	display: none;
	width: 100%;
	pointer-events: none;
	margin: 0;
	padding: 0;
}

.behi-rps-nav-placeholder.is-active {
	display: block;
}

.behi-rps-nav__scroller {
	display: flex;
	align-items: stretch;
	gap: 0.15rem;
	max-width: var(--behi-max);
	margin: 0 auto;
	width: 100%;
}

.behi-rps-nav__track {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.behi-rps-nav__fade {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2.25rem;
	pointer-events: none;
	z-index: 2;
}

.behi-rps-nav__fade--start {
	left: 0;
	background: linear-gradient(to right, #141414 15%, rgba(20, 20, 20, 0));
}

.behi-rps-nav__fade--end {
	right: 0;
	background: linear-gradient(to left, #141414 15%, rgba(20, 20, 20, 0));
}

.behi-rps-nav__scroller.has-overflow-start .behi-rps-nav__fade--start,
.behi-rps-nav__scroller.has-overflow-end .behi-rps-nav__fade--end {
	display: block;
}

.behi-rps-nav__scroll-btn {
	appearance: none;
	flex: 0 0 auto;
	align-self: center;
	display: none;
	width: 1.85rem;
	height: 1.85rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(197, 160, 89, 0.55);
	border-radius: 2px;
	background: #1a1a1a;
	color: var(--behi-gold, #c5a059);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
}

.behi-rps-nav__scroll-btn:hover,
.behi-rps-nav__scroll-btn:focus-visible {
	background: rgba(197, 160, 89, 0.12);
	border-color: var(--behi-gold, #c5a059);
	outline: none;
}

.behi-rps-nav__scroller.has-overflow-start .behi-rps-nav__scroll-btn--prev,
.behi-rps-nav__scroller.has-overflow-end .behi-rps-nav__scroll-btn--next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.behi-rps-nav__list,
.entry-content .behi-rps-nav__list,
.behi-rps .behi-rps-nav__list {
	max-width: none !important;
	margin: 0 !important;
	/* End padding keeps far-right “Company Records” / “Receipts” fully readable. */
	padding: 0 1.5rem 0 0 !important;
	display: flex !important;
	align-items: stretch;
	gap: 0.1rem;
	list-style: none !important;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(197, 160, 89, 0.55) transparent;
	-webkit-overflow-scrolling: touch;
	scroll-padding-inline: 1.5rem;
}

.behi-rps-nav__list::-webkit-scrollbar {
	height: 3px;
}

.behi-rps-nav__list::-webkit-scrollbar-thumb {
	background: rgba(197, 160, 89, 0.45);
	border-radius: 2px;
}

.behi-rps-nav__list::-webkit-scrollbar-track {
	background: transparent;
}

.behi-rps-nav__item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0;
}

.behi-rps-nav__link,
.behi-rps .behi-rps-nav__link,
.entry-content .behi-rps-nav__link,
a.behi-rps-nav__link {
	appearance: none !important;
	color: #b8b0a2 !important;
	display: block !important;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
	font-size: 0.74rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.09em !important;
	line-height: 1.2 !important;
	padding: 0.95rem 0.85rem !important;
	margin: 0 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	border: none !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
	position: relative;
}

.behi-rps-nav__link:visited,
.behi-rps .behi-rps-nav__link:visited,
a.behi-rps-nav__link:visited {
	color: #b8b0a2 !important;
	text-decoration: none !important;
}

.behi-rps-nav__link:hover,
.behi-rps .behi-rps-nav__link:hover,
a.behi-rps-nav__link:hover {
	color: #f3cf7a !important;
	background: rgba(197, 160, 89, 0.06) !important;
	border-bottom-color: rgba(197, 160, 89, 0.35) !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.behi-rps-nav__link.is-active,
.behi-rps .behi-rps-nav__link.is-active,
a.behi-rps-nav__link.is-active,
.behi-rps-nav__link.is-active:hover,
.behi-rps-nav__link.is-active:focus,
.behi-rps-nav__link[aria-selected="true"] {
	color: #e5b95c !important;
	background: transparent !important;
	border-bottom-color: #c5a059 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.behi-rps-nav__link:focus-visible {
	color: #f3cf7a !important;
	outline: 1px solid rgba(197, 160, 89, 0.6) !important;
	outline-offset: -3px;
}

.behi-rps-nav__mobile-label,
.behi-rps-nav__select {
	display: none;
}

/* Panels */
.behi-rps-panels {
	background: #F6F2E9;
	padding: 0 20px;
	width: 100%;
}

.behi-rps-panel {
	max-width: var(--behi-max);
	margin: 0 auto;
	padding: 2.25rem 0 3.5rem;
}

.behi-rps-panel[hidden] {
	display: none !important;
}

.behi-rps-panel__header {
	display: none;
}

.behi-rps-panel__title {
	display: none;
}

.behi-rps-panel__narrative {
	margin-bottom: 1.5rem;
	font-size: 0.96rem;
	line-height: 1.65;
	color: #2b2b2b;
}

.behi-rps-lead {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #1a1a1a;
	margin-bottom: 1.25rem;
}

.behi-rps-pullquote {
	background: #fbf9f5;
	border-left: 4px solid var(--behi-gold);
	border-radius: 0 4px 4px 0;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 1.08rem;
	line-height: 1.6;
	color: #1a1a1a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.behi-rps-pullquote p {
	margin: 0 0 0.5rem;
}

.behi-rps-pullquote cite {
	display: block;
	font-style: normal;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a6f5d;
}

/* Narrative Component: Stat Grid */
.behi-rps-stat-grid {
	display: grid;
	/* 13.5rem ≈ room for $275,937.88 + padding before a new column opens. */
	grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
	gap: 1.25rem;
	margin: 1.75rem 0 1rem;
	width: 100%;
	box-sizing: border-box;
}

.behi-rps-stat-card {
	background: #ffffff;
	border: 1px solid #d4ccbd;
	border-top: 3px solid var(--behi-gold);
	border-radius: var(--behi-radius);
	padding: 1.25rem 1.15rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	min-width: 0;
	overflow: visible;
}

.behi-rps-stat-card__val {
	font-family: Georgia, serif;
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	font-weight: 700;
	color: #111111;
	line-height: 1.2;
	margin-bottom: 0.35rem;
	max-width: 100%;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
	font-variant-numeric: tabular-nums;
}

.behi-rps-stat-card__label {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4a453e;
	margin-bottom: 0.65rem;
	max-width: 100%;
	word-break: break-word;
}

.behi-rps-stat-card__note {
	font-size: 0.75rem;
	color: #6a6256;
	margin-top: 0.65rem;
	line-height: 1.35;
}

/* Numbered Accomplishments Ledger */
.behi-rps-ledger-list {
	list-style: none;
	counter-reset: ledger-counter;
	padding: 0;
	margin: 1.25rem 0;
}

.behi-rps-ledger-list li {
	counter-increment: ledger-counter;
	position: relative;
	padding: 0.85rem 0.85rem 0.85rem 2.75rem;
	border-bottom: 1px solid #ebe5dc;
	line-height: 1.55;
	font-size: 0.92rem;
}

.behi-rps-ledger-list li::before {
	content: counter(ledger-counter);
	position: absolute;
	left: 0.75rem;
	top: 0.85rem;
	font-family: Georgia, serif;
	font-weight: bold;
	color: var(--behi-gold-deep);
	font-size: 1rem;
}

/* Callout Boxes */
.behi-rps-callout {
	background: #fbf9f5;
	border: 1px solid #e5ded3;
	border-left: 4px solid #141414;
	border-radius: 0 4px 4px 0;
	padding: 1.25rem;
	margin: 1.5rem 0;
}

.behi-rps-callout--gold {
	border-left-color: var(--behi-gold);
	background: #fdfbf7;
}

.behi-rps-callout h4 {
	font-family: system-ui, sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--behi-gold-deep);
	margin: 0 0 0.5rem;
}

/* ==========================================================================
   Layout Components (Tabs 1-11)
   ========================================================================== */

/* Main Section Heading */
.behi-rps-sec-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	font-weight: 700;
	color: #111111;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 0 1.25rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #111111;
	display: inline-block;
}

.behi-rps-sec-subtitle {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111111;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 2.25rem 0 1rem;
}

/* 2-Column Top Split (Narrative + Glance Box) */
.behi-rps-split-top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 420px);
	gap: 2.25rem;
	margin-bottom: 2.25rem;
	align-items: start;
	box-sizing: border-box;
	width: 100%;
}

@media (max-width: 900px) {
	.behi-rps-split-top {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
}

.behi-rps-split-top__main {
	font-size: 0.96rem;
	line-height: 1.65;
	color: #222222;
	min-width: 0;
	box-sizing: border-box;
	width: 100%;
}

.behi-rps-split-top__main p {
	margin: 0 0 1rem;
}

/* At a Glance Sidebar Card */
.behi-rps-glance-card {
	background: #ffffff;
	border: 1px solid #d4ccbd;
	border-radius: var(--behi-radius);
	padding: 1.35rem 1.35rem 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	width: 100%;
}

.behi-rps-glance-card__title {
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #111111;
	margin: 0 0 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid #e0d8cb;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.behi-rps-glance-rows {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.behi-rps-glance-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.85rem;
	line-height: 1.45;
}

.behi-rps-glance-row__icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #111111;
	color: #e5b95c;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.75rem;
	margin-top: 2px;
}

.behi-rps-glance-row__label {
	font-weight: 700;
	color: #111111;
	min-width: 120px;
	flex-shrink: 0;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.82rem;
}

.behi-rps-glance-row__val {
	color: #1a1a1a;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.45;
}

/* Dark Feature Cards (3 & 4 Columns) */
.behi-rps-dark-cards-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1.75rem 0;
	box-sizing: border-box;
	width: 100%;
}

.behi-rps-dark-cards-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1.75rem 0;
	box-sizing: border-box;
	width: 100%;
}

@media (max-width: 960px) {
	.behi-rps-dark-cards-3,
	.behi-rps-dark-cards-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.behi-rps-dark-cards-3,
	.behi-rps-dark-cards-4 {
		grid-template-columns: 1fr;
	}
}

.behi-rps-dark-card {
	background: #111111;
	border: 1px solid #2c2c2c;
	border-radius: var(--behi-radius);
	padding: 1.35rem 1.25rem;
	color: #f5f1e9;
	display: flex;
	flex-direction: column;
	min-width: 0;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.behi-rps-dark-card__icon {
	color: #e5b95c;
	margin-bottom: 0.65rem;
	display: inline-flex;
}

.behi-rps-dark-card__title {
	color: #f3cf7a;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

.behi-rps-dark-card__desc {
	color: #ebe4d3;
	font-size: 0.84rem;
	line-height: 1.55;
	margin: 0;
}

/* Mid-Section Split — stack list + panel so columns never leave dead space */
.behi-rps-mid-split {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin: 2.25rem 0;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

.behi-rps-mid-split > div {
	min-width: 0;
	box-sizing: border-box;
	width: 100%;
}

/* Numbered Step List — single archival ledger (no orphan grid cells) */
.behi-rps-num-list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0.7rem 0 0;
	padding: 0;
	background: #ffffff;
	border: 1px solid #d8cebd;
	border-radius: 2px;
	overflow: hidden;
}

.behi-rps-num-list::before {
	content: none;
	display: none;
}

.behi-rps-num-item {
	position: relative;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	column-gap: 1.1rem;
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #ebe4d7;
	padding: 0.7rem 1.2rem;
	box-shadow: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
}

.behi-rps-num-item:nth-child(even) {
	background: #faf7f1;
}

.behi-rps-num-item::before {
	content: none;
	display: none;
}

.behi-rps-num-item:last-child {
	border-bottom: none;
	padding-bottom: 0.7rem;
}

.behi-rps-num-badge {
	position: relative;
	z-index: 1;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	border-radius: 50%;
	background: #141414;
	color: #f3cf7a;
	font-size: 1.05rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-variant-numeric: tabular-nums;
	margin-top: 0;
	letter-spacing: 0;
	line-height: 1;
	box-shadow: none;
	padding: 0;
	border: 1px solid rgba(197, 160, 89, 0.65);
}

.behi-rps-num-content {
	min-width: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	box-sizing: border-box;
}

.behi-rps-num-title {
	font-size: 0.98rem;
	font-weight: 700;
	color: #151515;
	margin: 0 0 0.2rem;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.3;
}

.behi-rps-num-text,
.behi-rps p.behi-rps-num-text {
	font-size: 0.88rem;
	color: #4a453c;
	line-height: 1.45;
	margin: 0;
	margin-bottom: 0;
	max-width: none;
}

/* "Why It Matters" Infographic Dark Box — full-width banner under list */
.behi-rps-why-matters {
	background: #111111;
	border: 1px solid rgba(197, 160, 89, 0.55);
	border-radius: var(--behi-radius);
	padding: 1.75rem 2rem 1.6rem;
	color: #f5f1e9;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.behi-rps-why-matters__eyebrow {
	color: #e5b95c;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 0.4rem;
}

.behi-rps-why-matters__title {
	font-family: Georgia, serif;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: #ffffff;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	margin: 0 auto 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	max-width: 42rem;
}

.behi-rps-why-matters__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1.5rem 1.5rem;
	text-align: center;
	box-sizing: border-box;
	width: 100%;
}

@media (max-width: 700px) {
	.behi-rps-why-matters {
		padding: 1.4rem 1.2rem 1.3rem;
	}

	.behi-rps-why-matters__grid {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}
}

.behi-rps-why-matters__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	box-sizing: border-box;
}

.behi-rps-why-matters__icon {
	color: #e5b95c;
	margin-bottom: 0.5rem;
	display: inline-flex;
}

.behi-rps-why-matters__col-title {
	color: #f3cf7a;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 0.4rem;
}

.behi-rps-why-matters__col-text {
	color: #ebe4d3;
	font-size: 0.82rem;
	line-height: 1.55;
	margin: 0;
}

.behi-rps-why-matters__quote,
.behi-rps-why-matters__analysis {
	margin: 1.35rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #2e2e2e;
	text-align: center;
}

.behi-rps-why-matters__analysis-label {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--behi-gold);
	margin: 0 0 0.45rem;
}

.behi-rps-why-matters__analysis-text {
	margin: 0;
	font-family: Georgia, serif;
	font-style: normal;
	font-size: 0.94rem;
	color: #f3cf7a;
	line-height: 1.5;
}

/* Legacy: keep italic only for historical pullquotes, not analysis. */
.behi-rps-why-matters__quote {
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 0.94rem;
	color: #f3cf7a;
	line-height: 1.5;
}

/* Accomplishments Ledger — compact archival card grid */
.behi-rps-ledger-card-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	counter-reset: behi-ledger;
	margin: 0;
	padding: 0;
	list-style: none;
}

.behi-rps-ledger-card {
	counter-increment: behi-ledger;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	background:
		linear-gradient(165deg, #ffffff 0%, #fbf8f3 100%);
	border: 1px solid #e2d8c8;
	border-radius: 10px;
	padding: 1.2rem 1.25rem 1.3rem;
	box-shadow: 0 2px 10px rgba(40, 30, 15, 0.04);
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.behi-rps-ledger-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #c5a059 0%, #e5b95c 55%, rgba(197, 160, 89, 0.25) 100%);
}

.behi-rps-ledger-card:hover {
	border-color: #d2c4ae;
	box-shadow: 0 8px 22px rgba(40, 30, 15, 0.08);
	transform: translateY(-2px);
}

.behi-rps-ledger-card__left {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
	flex: 1;
	padding-top: 0.15rem;
	padding-right: 5.75rem;
}

.behi-rps-ledger-card__left > div {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.behi-rps-ledger-card__icon {
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: #141414;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	order: -1;
	box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.behi-rps-ledger-card__icon svg {
	display: none !important;
}

.behi-rps-ledger-card__icon::before {
	content: none;
}

.behi-rps-ledger-card__icon::after {
	content: counter(behi-ledger, decimal-leading-zero);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #e5b95c;
	line-height: 1;
	width: auto;
	height: auto;
	background: none;
	border-radius: 0;
}

.behi-rps-ledger-card__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.02rem;
	font-weight: 700;
	color: #151515;
	margin: 0;
	line-height: 1.35;
	padding-right: 0;
}

.behi-rps-ledger-card__desc {
	font-size: 0.84rem;
	color: #4a453e;
	line-height: 1.55;
	margin: 0;
}

.behi-rps-ledger-card > .behi-rps-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	margin: 0;
	white-space: nowrap;
	z-index: 1;
}

.behi-rps-overview-accomplishments-box .behi-rps-sec-subtitle {
	margin-bottom: 1.25rem;
	letter-spacing: 0.06em;
}

@media (max-width: 820px) {
	.behi-rps-ledger-card-list {
		grid-template-columns: 1fr;
		gap: 0.95rem;
	}

	.behi-rps-ledger-card__left {
		padding-right: 5.5rem;
	}
}

@media (max-width: 480px) {
	.behi-rps-ledger-card {
		padding: 1.1rem 1.05rem 1.15rem;
	}

	.behi-rps-ledger-card > .behi-rps-badge {
		position: static;
		align-self: flex-start;
		order: -1;
		margin-bottom: 0.15rem;
	}

	.behi-rps-ledger-card__left {
		padding-right: 0;
	}

	.behi-rps-ledger-card__icon {
		order: -2;
	}
}

/* Overview Tab: Balanced two-row layout (eliminates right-side void) */
.behi-rps-overview-tab {
	width: 100%;
	box-sizing: border-box;
}

.behi-rps-overview-row,
.behi-rps-overview-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
	column-gap: 2.25rem;
	row-gap: 2rem;
	align-items: stretch;
	margin-bottom: 2.25rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.behi-rps-overview-row--intro {
	align-items: start;
}

@media (max-width: 980px) {
	.behi-rps-overview-row,
	.behi-rps-overview-grid {
		grid-template-columns: 1fr;
		row-gap: 1.75rem;
		margin-bottom: 2rem;
	}
}

.behi-rps-overview-col-main,
.behi-rps-overview-col-side {
	min-width: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Overview Tab: Economic Record 3 Stat Cards */
.behi-rps-overview-economic {
	background: #141414;
	border: 1px solid #282828;
	border-radius: var(--behi-radius);
	padding: 1.25rem 1.25rem 1rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: visible;
	container-type: inline-size;
	container-name: behi-economic;
}

.behi-rps-overview-economic__head {
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #282828;
}

.behi-rps-overview-stats-grid {
	display: grid;
	/* Prefer 3-across; drop to 2 then 1 before $275,937.88 would clip. */
	grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr));
	gap: 0.55rem;
	width: 100%;
	box-sizing: border-box;
}

.behi-rps-overview-stat-box {
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 3px;
	padding: 0.75rem 0.4rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 0.4rem;
	min-width: 0;
	box-sizing: border-box;
	overflow: visible;
}

.behi-rps-overview-stat-val {
	font-family: Georgia, serif;
	/* Scales with panel width so 3-across can keep the figure on one line. */
	font-size: clamp(0.88rem, 3.6cqi, 1.2rem);
	font-weight: bold;
	color: var(--behi-gold);
	line-height: 1.15;
	max-width: 100%;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.behi-rps-overview-stat-label {
	font-family: system-ui, sans-serif;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e5dec9;
	line-height: 1.3;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}

@media (max-width: 820px) {
	.behi-rps-overview-economic {
		padding: 1.1rem 1rem 0.9rem;
	}

	.behi-rps-overview-stat-val {
		font-size: clamp(1.1rem, 5cqi, 1.35rem);
	}
}

.behi-rps-overview-note {
	font-size: 0.72rem;
	color: #9c9284;
	margin-top: 0.85rem;
	line-height: 1.4;
	font-style: italic;
}

/* Overview Tab: Myth Poster Box */
.behi-rps-myth-poster {
	background: #111111;
	border: 2px solid rgba(197, 160, 89, 0.6);
	border-radius: var(--behi-radius);
	padding: 1.75rem 1.5rem;
	text-align: center;
	color: #f5f1e9;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.behi-rps-myth-poster--banner {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr);
	align-items: center;
	gap: 2rem 2.5rem;
	text-align: left;
	padding: 1.75rem 2rem;
	margin: 0 0 2.25rem;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.behi-rps-myth-poster__lead {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding-right: 1.5rem;
	border-right: 1px solid rgba(197, 160, 89, 0.35);
}

.behi-rps-myth-poster--banner .behi-rps-myth-poster__eyebrow {
	margin: 0 0 0.35rem;
	text-align: left;
}

.behi-rps-myth-poster--banner .behi-rps-myth-poster__q {
	margin: 0;
	text-align: left;
	font-size: 1rem;
	line-height: 1.35;
	max-width: 18rem;
}

.behi-rps-myth-poster--banner .behi-rps-myth-poster__ans {
	margin: 0.35rem 0 0;
	font-size: 3rem;
	line-height: 1;
	color: #f3cf7a;
}

.behi-rps-myth-poster--banner .behi-rps-myth-poster__text {
	margin: 0;
	max-width: none;
	text-align: left;
	font-size: 0.92rem;
	line-height: 1.65;
	color: #ebe4d3;
}

@media (max-width: 820px) {
	.behi-rps-myth-poster--banner {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.5rem 1.35rem;
		text-align: center;
	}

	.behi-rps-myth-poster__lead {
		align-items: center;
		padding-right: 0;
		padding-bottom: 1rem;
		border-right: none;
		border-bottom: 1px solid rgba(197, 160, 89, 0.35);
	}

	.behi-rps-myth-poster--banner .behi-rps-myth-poster__eyebrow,
	.behi-rps-myth-poster--banner .behi-rps-myth-poster__q,
	.behi-rps-myth-poster--banner .behi-rps-myth-poster__text {
		text-align: center;
		max-width: none;
	}
}

.behi-rps-overview-accomplishments-box {
	margin-bottom: 1.75rem;
	width: 100%;
}

.behi-rps-myth-poster__eyebrow {
	color: var(--behi-gold);
	font-family: system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

.behi-rps-myth-poster__q {
	font-family: Georgia, serif;
	font-size: 1.05rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 0.5rem;
	line-height: 1.35;
}

.behi-rps-myth-poster__ans {
	font-family: Georgia, serif;
	font-size: 2.75rem;
	font-weight: bold;
	color: var(--behi-gold);
	margin: 0 0 0.75rem;
	line-height: 1;
}

.behi-rps-myth-poster__text {
	font-size: 0.84rem;
	line-height: 1.55;
	color: #e5dec9;
	margin: 0;
	max-width: 440px;
}

/* Archival Evidence Table */
.behi-rps-evidence-wrap {
	margin: 2.25rem 0 1.5rem;
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #d4ccbd;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-direction: column;
}

.behi-rps-evidence-wrap > .behi-rps-sec-subtitle,
.behi-rps-evidence-wrap > .behi-rps-sec-title {
	margin: 0 !important;
	padding: 1.25rem 1.35rem 1.05rem;
	box-sizing: border-box;
	width: 100%;
}

.behi-rps-evidence-wrap > .behi-rps-evidence-table,
.behi-rps-evidence-wrap .behi-rps-evidence-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.84rem;
	background: #ffffff;
	box-sizing: border-box;
	margin: 0;
}

.behi-rps-evidence-table th {
	background: #111111;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.74rem;
	padding: 0.85rem 1.15rem;
	text-align: left;
	border: none;
}

.behi-rps-evidence-table td {
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid #e8e2d4;
	vertical-align: top;
	color: #1a1a1a;
	line-height: 1.5;
}

.behi-rps-evidence-table tbody tr:last-child td {
	border-bottom: 1px solid #e0d8cc;
}

.behi-rps-evidence-table tr:nth-child(even) td {
	background: #faf8f4;
}

/* Evidence Types Ribbon */
.behi-rps-ribbon-wrap {
	margin: 1.5rem 0 2rem;
}

.behi-rps-ribbon-title {
	font-family: Georgia, serif;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #141414;
	margin: 0 0 0.65rem;
}

.behi-rps-ribbon-items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.behi-rps-ribbon-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #fff;
	border: 1px solid #dcd4c6;
	border-radius: 4px;
	padding: 0.4rem 0.75rem;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #222;
}

.behi-rps-ribbon-pill__icon {
	color: var(--behi-gold-deep);
}

/* Evidence Classification Legend — flush under table, no empty gap */
.behi-rps-evidence-wrap > .behi-rps-legend-bar,
.behi-rps-legend-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	padding: 0.95rem 1.25rem;
	background: #f7f3ec;
	border: none;
	border-top: 1px solid #e0d8cc;
	border-radius: 0;
	margin: 0;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.75rem;
	box-sizing: border-box;
	width: 100%;
}

.behi-rps-legend-bar__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #111111;
	font-size: 0.76rem;
	margin-right: 0.25rem;
}

/* Timeline: Phases of Development (4 horizontal cards) */
.behi-rps-phases-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0;
	box-sizing: border-box;
	width: 100%;
}

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

@media (max-width: 550px) {
	.behi-rps-phases-grid {
		grid-template-columns: 1fr;
	}
}

.behi-rps-phase-card {
	background: #141414;
	border: 1px solid #2a2a2a;
	border-radius: var(--behi-radius);
	padding: 1rem;
	color: #f5f1e9;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	min-width: 0;
	box-sizing: border-box;
}

.behi-rps-phase-card__icon {
	color: var(--behi-gold);
	flex-shrink: 0;
}

.behi-rps-phase-card__title {
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--behi-gold);
	margin: 0 0 0.25rem;
}

.behi-rps-phase-card__desc {
	font-size: 0.78rem;
	color: #e5dec9;
	line-height: 1.45;
	margin: 0;
}

/* Timeline */
.behi-rps-timeline__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 1rem;
	position: relative;
}

.behi-rps-timeline__list::before {
	background: var(--behi-gold);
	bottom: 0;
	content: "";
	left: 0.35rem;
	position: absolute;
	top: 0.25rem;
	width: 2px;
}

.behi-rps-timeline__item {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
	position: relative;
}

.behi-rps-timeline__marker {
	background: var(--behi-cream);
	border: 2px solid var(--behi-gold);
	border-radius: 50%;
	height: 0.75rem;
	left: -0.05rem;
	position: absolute;
	top: 0.35rem;
	width: 0.75rem;
}

.behi-rps-timeline__card {
	background: #fff;
	border: 1px solid var(--behi-cream-dark);
	border-radius: var(--behi-radius);
	padding: 1rem;
}

.behi-rps-timeline__date {
	color: var(--behi-gold-deep);
	font-family: system-ui, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.behi-rps-timeline__title {
	font-size: 1.1rem;
	margin: 0 0 0.35rem;
}

.behi-rps-doc-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.behi-rps-doc-badge {
	background: var(--behi-charcoal);
	border: 0;
	border-radius: var(--behi-radius);
	color: var(--behi-cream);
	cursor: pointer;
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	padding: 0.35rem 0.55rem;
}

/* Records */
.behi-rps-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.behi-rps-chip {
	background: #ffffff;
	border: 1px solid #c5bcab;
	color: #1a1a1a;
	border-radius: 999px;
	cursor: pointer;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.95rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: all 0.15s ease-in-out;
}

.behi-rps-chip.is-active,
.behi-rps-chip:hover {
	background: #111111;
	border-color: #111111;
	color: #f3cf7a;
}

.behi-rps-records__notice {
	background: #ffffff !important;
	border: 1px solid #d4ccbd !important;
	border-left: 4px solid var(--behi-gold) !important;
	border-radius: var(--behi-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.behi-rps-records__notice-head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}

.behi-rps-records__notice-icon {
	color: var(--behi-gold-deep);
	flex-shrink: 0;
}

.behi-rps-records__notice-title {
	color: #111111 !important;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-family: system-ui, sans-serif;
}

.behi-rps-records__notice-text {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
	color: #2a2a2a !important;
}

.behi-rps-chip__count {
	opacity: 0.85;
	font-size: 0.75rem;
	margin-left: 0.25rem;
}

.behi-rps-records__table-shell {
	position: relative;
}

.behi-rps-records__scroll-cue {
	display: none;
	margin: 0 0 0.5rem;
	font-family: system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--behi-gold, #c5a059);
	opacity: 0.9;
}

.behi-rps-records__table-frame {
	position: relative;
}

.behi-rps-records__scroll-fade {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 2rem;
	pointer-events: none;
	z-index: 3;
	background: linear-gradient(to right, rgba(24, 24, 24, 0), rgba(24, 24, 24, 0.88));
}

.behi-rps-records__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
	.behi-rps-records__table-shell.has-overflow .behi-rps-records__scroll-cue {
		display: block;
	}

	.behi-rps-records__table-shell.has-overflow:not(.is-scrolled-end) .behi-rps-records__scroll-fade {
		display: block;
	}

	.behi-rps-records__table-shell.is-scrolled-end .behi-rps-records__scroll-cue,
	.behi-rps-records__table-shell:not(.has-overflow) .behi-rps-records__scroll-cue {
		display: none;
	}
}

.behi-rps-table {
	border-collapse: collapse;
	font-family: system-ui, sans-serif;
	font-size: 0.84rem;
	min-width: 860px;
	width: 100%;
}

.behi-rps-table th {
	background: var(--behi-charcoal);
	color: var(--behi-gold);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.72rem;
	padding: 0.85rem 0.75rem;
	text-align: left;
	border-bottom: 2px solid var(--behi-gold);
}

.behi-rps-table td {
	background: #181818;
	color: #e5ded3;
	border-bottom: 1px solid #282828;
	padding: 0.85rem 0.75rem;
	vertical-align: top;
}

.behi-rps-record-row:hover td {
	background: #1f1f1f;
}

.behi-rps-record__title {
	color: #fff;
	display: block;
	line-height: 1.35;
	margin-bottom: 0.25rem;
}

.behi-rps-record__id-badge {
	display: inline-block;
	font-family: ui-monospace, monospace;
	font-size: 0.68rem;
	color: var(--behi-gold);
	background: #0f0f0f;
	padding: 0.1rem 0.4rem;
	border-radius: 2px;
	border: 1px solid rgba(197, 160, 89, 0.35);
	margin-top: 0.2rem;
}

.behi-rps-record__entity {
	font-size: 0.74rem;
	color: #d8cfbe;
	margin-top: 0.25rem;
}

.behi-rps-record__cat-text {
	font-size: 0.74rem;
	color: #e5dec9;
	margin-top: 0.35rem;
}

.behi-rps-record__date-str {
	font-family: ui-monospace, monospace;
	font-weight: 600;
	color: #f3cf7a;
	font-size: 0.8rem;
}

.behi-rps-record__short-desc {
	font-size: 0.8rem;
	line-height: 1.5;
	color: #e0d8cc;
}

.behi-rps-record__location-meta {
	font-size: 0.72rem;
	color: #d8cfbe;
	margin-top: 0.3rem;
}

.behi-rps-record__repo-name {
	color: #ffffff;
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.behi-rps-record__repo-locator {
	font-family: ui-monospace, monospace;
	font-size: 0.72rem;
	color: #e5dec9;
}

.behi-rps-records__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 1rem;
	background: #111111;
	border: 1px solid #282828;
	border-top: none;
	font-size: 0.78rem;
	color: #d8cfbe;
}

.behi-rps-record-row[hidden] {
	display: none !important;
}

/* Claims / Receipts */
.behi-rps-receipts-glance {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1rem;
	background: #111;
	border: 1px solid rgba(197, 160, 89, 0.3);
	border-radius: var(--behi-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.75rem;
}

.behi-rps-glance-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-right: 1px solid #252525;
}

.behi-rps-glance-item:last-child {
	border-right: none;
}

.behi-rps-glance-item__val {
	font-family: Georgia, serif;
	font-size: 2rem;
	font-weight: bold;
	color: #fff;
	line-height: 1;
	margin-bottom: 0.35rem;
}

.behi-rps-glance-item__val--accent {
	color: var(--behi-gold);
}

.behi-rps-glance-item__label {
	font-family: system-ui, sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8c8273;
}

.behi-rps-claims__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.behi-rps-claim {
	background: #181818;
	border: 1px solid #2a2a2a;
	border-radius: var(--behi-radius);
	padding: 1.25rem;
	color: #e5ded3;
}

.behi-rps-claim__title {
	font-size: 1rem;
	color: #fff;
	margin: 0 0 0.75rem;
	line-height: 1.35;
}

.behi-rps-claim__assertion {
	background: #111;
	border-left: 3px solid var(--behi-gold);
	padding: 0.65rem 0.85rem;
	margin-bottom: 0.85rem;
	border-radius: 0 3px 3px 0;
}

.behi-rps-claim__assertion p {
	margin: 0;
	font-size: 0.82rem;
	color: #e5ded3;
}

.behi-rps-claim__correction {
	font-size: 0.82rem;
	line-height: 1.5;
	color: #b8af9f;
}

.behi-rps-claim__receipts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #282828;
}

.behi-rps-receipts__layout {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(320px, 420px) 1fr;
	align-items: start;
}

.behi-rps-receipts__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: 780px;
	overflow-y: auto;
	padding-right: 0.5rem;
	scrollbar-width: thin;
}

.behi-rps-receipts__detail--inline {
	margin: 0.15rem 0 0.35rem;
	width: 100%;
	box-sizing: border-box;
}

.behi-rps-receipts__list-header {
	margin-bottom: 0.5rem;
}

.behi-rps-receipts__heading {
	color: #111111;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	font-family: Georgia, serif;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.behi-rps-receipts__list-header .behi-rps-muted {
	color: #6a6256;
	font-size: 0.8rem;
}

.behi-rps-receipts__item {
	background: #111111;
	border: 1px solid #282828;
	border-radius: var(--behi-radius);
	padding: 0.95rem 1rem;
	color: #e5ded3;
	cursor: pointer;
	text-align: left;
	width: 100%;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.behi-rps-receipts__item:hover {
	background: #181818;
	border-color: #3e3e3e;
}

.behi-rps-receipts__item.is-active {
	border-color: var(--behi-gold);
	background: #1a1a1a;
	box-shadow: inset 4px 0 0 var(--behi-gold);
}

.behi-rps-receipts__item-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.behi-rps-receipts__rec-badge {
	font-family: ui-monospace, monospace;
	font-size: 0.68rem;
	background: rgba(197, 160, 89, 0.15);
	color: #f3cf7a;
	padding: 0.2rem 0.5rem;
	border-radius: 2px;
	border: 1px solid rgba(197, 160, 89, 0.35);
}

.behi-rps-receipts__item-text {
	display: block;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #f0eae1;
	font-weight: 500;
}

.behi-rps-receipts__detail {
	background: #111111;
	border: 1px solid #282828;
	border-radius: var(--behi-radius);
	padding: 1.6rem;
	color: #e5ded3;
	box-sizing: border-box;
}

.behi-rps-dossier__head {
	border-bottom: 1px solid #282828;
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
}

.behi-rps-dossier__title {
	color: #ffffff;
	font-size: 1.35rem;
	margin: 0.6rem 0 0;
	line-height: 1.3;
	font-family: Georgia, serif;
	font-weight: 700;
}

.behi-rps-dossier__section {
	margin-bottom: 1.5rem;
}

.behi-rps-meta-block__label,
.behi-rps-dossier h4 {
	font-family: system-ui, -apple-system, sans-serif !important;
	font-size: 0.74rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: #e5b95c !important;
	margin: 0 0 0.45rem !important;
}

.behi-rps-dossier__quote {
	background: #0d0d0d;
	border-left: 3px solid var(--behi-gold);
	padding: 0.85rem 1.15rem;
	margin: 0.5rem 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #ffffff;
	border-radius: 0 4px 4px 0;
	font-style: italic;
	font-family: Georgia, serif;
}

.behi-rps-dossier__correction {
	font-size: 0.92rem;
	line-height: 1.65;
	color: #e8e2d4;
	margin-top: 0.35rem;
}

.behi-rps-dossier__correction p {
	color: #e8e2d4;
	margin: 0 0 0.85rem;
}

.behi-rps-pathway-records {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 0.75rem;
}

.behi-rps-pathway-card {
	background: #101010;
	border: 1px solid #2a2a2a;
	border-radius: var(--behi-radius);
	padding: 1rem;
}

.behi-rps-pathway-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.4rem;
}

.behi-rps-pathway-card__title {
	color: #ffffff !important;
	font-size: 0.94rem;
	line-height: 1.35;
	font-weight: 700;
}

.behi-rps-pathway-card__meta {
	font-size: 0.76rem;
	color: #d8cfbe !important;
	margin-bottom: 0.4rem;
}

.behi-rps-pathway-card__citation {
	font-size: 0.8rem;
	line-height: 1.5;
	color: #e5dec9 !important;
	background: #080808;
	padding: 0.55rem 0.75rem;
	border-radius: 3px;
	margin-bottom: 0.75rem;
	border-left: 2px solid rgba(197, 160, 89, 0.5);
}

.behi-rps-pathway-source-note {
	margin-top: 0.75rem;
	padding: 0.65rem 0.85rem;
	background: #0d0d0d;
	border-left: 2px solid var(--behi-gold);
	border-radius: 0 var(--behi-radius) var(--behi-radius) 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #e5dec9 !important;
}

.behi-rps-badge--source {
	background: rgba(197, 160, 89, 0.2);
	color: var(--behi-gold);
	border: 1px solid rgba(197, 160, 89, 0.5);
	font-weight: 700;
	margin-right: 0.4rem;
	font-size: 0.7rem;
}

.behi-rps-lightbox__pending-notice {
	padding: 2.5rem 1.5rem;
	text-align: center;
}

.behi-rps-lightbox__pending-notice .behi-rps-callout {
	max-width: 650px;
	margin: 0 auto;
	text-align: left;
}

/* Lightbox */
.behi-rps-lightbox[hidden] {
	display: none !important;
}

.behi-rps-lightbox {
	inset: 0;
	position: fixed;
	z-index: 100100;
}

.behi-rps-lightbox__backdrop {
	background: rgba(0, 0, 0, 0.72);
	inset: 0;
	position: absolute;
}

.behi-rps-lightbox__dialog {
	background: #fff;
	border-radius: var(--behi-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	inset: 5vh 5vw;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	width: min(1100px, 90vw);
}

.behi-rps-lightbox__close {
	appearance: none;
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.15rem;
	height: 2.15rem;
	margin: 0;
	padding: 0;
	background: #141414;
	border: 1px solid rgba(197, 160, 89, 0.65);
	border-radius: 50%;
	box-shadow: none;
	color: #f3cf7a;
	cursor: pointer;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.behi-rps-lightbox__close:hover,
.behi-rps-lightbox__close:focus {
	background: #1f1f1f;
	border-color: #c5a059;
	color: #ffe09a;
	outline: none;
	transform: scale(1.04);
}

.behi-rps-lightbox__close:active {
	transform: scale(0.96);
}

.behi-rps-lightbox__toolbar {
	align-items: center;
	border-bottom: 1px solid var(--behi-cream-dark);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.85rem 1rem;
}

.behi-rps-lightbox__title {
	min-width: 0;
	flex: 1 1 auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: #151515;
	padding-right: 0.5rem;
}

.behi-rps-lightbox__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem;
	flex: 0 0 auto;
}

.behi-rps-lightbox__actions .behi-rps-btn {
	margin: 0;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--behi-gold);
	border-radius: var(--behi-radius);
	color: var(--behi-gold-deep);
	text-decoration: none !important;
	box-shadow: none;
	line-height: 1.2;
}

.behi-rps-lightbox__actions a.behi-rps-btn:hover,
.behi-rps-lightbox__actions a.behi-rps-btn:focus,
.behi-rps-lightbox__actions button.behi-rps-btn:hover,
.behi-rps-lightbox__actions button.behi-rps-btn:focus {
	background: rgba(197, 160, 89, 0.12);
	border-color: var(--behi-gold-deep);
	color: var(--behi-gold-deep);
	text-decoration: none !important;
}

.behi-rps-lightbox__body {
	flex: 1;
	min-height: 60vh;
	overflow: auto;
	padding: 1rem;
}

.behi-rps-lightbox__meta {
	background: var(--behi-cream);
	border: 1px solid var(--behi-cream-dark);
	border-radius: var(--behi-radius);
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
}

.behi-rps-lightbox__note {
	font-size: 0.92rem;
}

.behi-rps-lightbox__viewer iframe,
.behi-rps-lightbox__viewer img,
.behi-rps-lightbox__viewer object,
.behi-rps-lightbox__body iframe,
.behi-rps-lightbox__body img,
.behi-rps-lightbox__body object {
	border: 0;
	display: block;
	max-width: 100%;
	width: 100%;
}

.behi-rps-lightbox__viewer iframe,
.behi-rps-lightbox__viewer object,
.behi-rps-lightbox__body iframe,
.behi-rps-lightbox__body object {
	height: 70vh;
	min-height: 420px;
	background: #f6f2e9;
}

.behi-rps-lightbox__viewer img,
.behi-rps-lightbox__body img {
	height: auto;
	margin: 0 auto;
}

.behi-rps-lightbox__open-fallback {
	margin: 0.85rem 0 0;
	text-align: center;
}

.behi-rps-scan-pending,
.behi-rps-scan-pending-label {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	color: #a8843d !important;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.35;
	text-transform: uppercase;
	text-align: left;
	white-space: normal;
}

.behi-rps-scan-pending {
	border-color: rgba(197, 160, 89, 0.55) !important;
	background: rgba(197, 160, 89, 0.08) !important;
	padding: 0.45rem 0.65rem !important;
}

.behi-rps-scan-pending-label {
	margin: 0 0 0.45rem;
}

/* Responsive */
@media (max-width: 820px) {
	.behi-rps-header {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.behi-rps-header__media {
		margin: 0 auto;
		max-width: 180px;
	}

	.behi-rps-header__meta {
		text-align: left;
	}

	/*
	 * Punch list #31 — preserve stacked mobile action buttons:
	 * View the Receipts / Download (Print/Save PDF) / Cite This Profile.
	 */
	.behi-rps-header__actions {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 0.65rem !important;
		width: 100%;
	}

	.behi-rps-header__actions .behi-rps-btn {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}

	.behi-rps-nav {
		padding: 0.75rem 1rem 0.95rem;
	}

	/*
	 * Punch list #32 — Preserve Section dropdown on mobile.
	 * Desktop tab row (scroller/list) hides; Section select MUST remain visible
	 * and usable (do not remove or display:none this block).
	 */
	.behi-rps-nav__scroller,
	.entry-content .behi-rps-nav__scroller,
	.behi-rps .behi-rps-nav__scroller {
		display: none !important;
	}

	.behi-rps-nav__list,
	.entry-content .behi-rps-nav__list,
	.behi-rps .behi-rps-nav__list {
		display: none !important;
	}

	.behi-rps-nav__mobile-label,
	.entry-content .behi-rps-nav__mobile-label,
	.behi-rps .behi-rps-nav__mobile-label {
		color: var(--behi-gold) !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		font-family: system-ui, sans-serif;
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		margin: 0 0 0.5rem;
		text-transform: uppercase;
	}

	.behi-rps-nav__select,
	.entry-content .behi-rps-nav__select,
	.behi-rps .behi-rps-nav__select,
	select.behi-rps-nav__select[data-behi-tab-select] {
		appearance: none !important;
		-webkit-appearance: none !important;
		-moz-appearance: none !important;
		background-color: #141414 !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23c5a059' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5L7 7l5.5-5.5'/%3E%3C/svg%3E") !important;
		background-position: right 1rem center !important;
		background-repeat: no-repeat !important;
		background-size: 14px 9px !important;
		border: 1px solid var(--behi-gold) !important;
		border-radius: var(--behi-radius);
		box-sizing: border-box;
		color: var(--behi-cream) !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
		font-size: 1rem;
		font-weight: 500;
		height: auto;
		line-height: 1.45;
		margin: 0;
		min-height: 3.15rem;
		padding: 0.85rem 2.75rem 0.85rem 1rem;
		text-overflow: ellipsis;
		width: 100% !important;
		max-width: 100% !important;
	}

	.behi-rps-nav__select option {
		background: #141414;
		color: #f5f1e9;
	}

	.behi-rps-nav__select:focus {
		outline: 2px solid var(--behi-gold);
		outline-offset: 2px;
	}

	.behi-rps-receipts__layout {
		grid-template-columns: 1fr;
	}

	.behi-rps-receipts__list {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}

	.behi-rps-receipts__detail--inline {
		order: unset;
	}

	.behi-rps-lightbox__dialog {
		inset: 2vh 2vw;
		width: auto;
	}

	.behi-rps-lightbox__toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 0.75rem;
	}

	.behi-rps-lightbox__actions {
		justify-content: flex-start;
		width: 100%;
	}

	.behi-rps-lightbox__title {
		padding-right: 0;
	}
}

/* Citation Modal */
.behi-rps-modal {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.behi-rps-modal[hidden] {
	display: none !important;
}

.behi-rps-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(3px);
}

.behi-rps-modal__dialog {
	position: relative;
	background: #181818;
	border: 1px solid var(--behi-gold);
	border-radius: 6px;
	max-width: 680px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.75rem;
	color: var(--behi-cream);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.behi-rps-modal__close,
.behi-rps-cite-modal .behi-rps-modal__close,
button.behi-rps-modal__close {
	appearance: none !important;
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid rgba(197, 160, 89, 0.45) !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	color: #c5a059 !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.behi-rps-modal__close:hover,
.behi-rps-modal__close:focus,
.behi-rps-cite-modal .behi-rps-modal__close:hover,
.behi-rps-cite-modal .behi-rps-modal__close:focus,
button.behi-rps-modal__close:hover,
button.behi-rps-modal__close:focus {
	background: rgba(197, 160, 89, 0.12) !important;
	background-color: rgba(197, 160, 89, 0.12) !important;
	border-color: #c5a059 !important;
	color: #f3cf7a !important;
	outline: none !important;
	box-shadow: none !important;
	transform: scale(1.05);
}

.behi-rps-modal__close:active,
button.behi-rps-modal__close:active {
	transform: scale(0.96);
	background: rgba(197, 160, 89, 0.2) !important;
}

.behi-rps-modal__header {
	border-bottom: 1px solid #2e2e2e;
	padding-bottom: 0.85rem;
	margin-bottom: 1.25rem;
}

.behi-rps-modal__title {
	color: var(--behi-gold);
	font-size: 1.35rem;
	font-family: Georgia, serif;
	margin: 0 0 0.25rem;
}

.behi-rps-modal__subtitle {
	color: #9c9284;
	font-family: system-ui, sans-serif;
	font-size: 0.8rem;
	margin: 0;
}

.behi-rps-cite-item {
	background: #111;
	border: 1px solid #2a2a2a;
	border-radius: 4px;
	padding: 0.85rem;
	margin-bottom: 0.85rem;
}

.behi-rps-cite-item__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.45rem;
}

.behi-rps-cite-item__label {
	color: var(--behi-gold);
	font-family: system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.behi-rps-cite-text {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #e5ded3;
	background: #0a0a0a;
	padding: 0.6rem 0.75rem;
	border-radius: 3px;
	border-left: 2px solid var(--behi-gold);
	word-break: break-word;
	white-space: pre-wrap;
}

.behi-rps-btn--xs {
	font-family: system-ui, sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	background: transparent;
	border: 1px solid var(--behi-gold);
	color: var(--behi-gold);
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.behi-rps-btn--xs:hover {
	background: var(--behi-gold);
	color: #141414;
}

@media print {
	.behi-rps-nav,
	.behi-rps-nav-placeholder,
	.behi-rps-header__actions,
	.behi-rps-breadcrumbs,
	.behi-rps-lightbox,
	.behi-rps-modal,
	.behi-rps-pager,
	.behi-rps-seal,
	.behi-rps-filters,
	.behi-rps-chip,
	.behi-rps-records__scroll-cue,
	.behi-rps-records__scroll-fade,
	.behi-rps-col-action,
	.behi-rps-receipts__layout,
	.behi-rps-btn,
	.behi-rps-scan-pending-label {
		display: none !important;
	}

	.behi-rps-receipts-print {
		display: block !important;
	}

	/* Same colours with "Background graphics" / "Print backgrounds" switched off. */
	html,
	body,
	.behi-rps,
	.behi-rps *,
	.elementor-location-header,
	.elementor-location-header *,
	.elementor-location-footer,
	.elementor-location-footer * {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	.behi-rps,
	.behi-rps * {
		box-shadow: none !important;
		text-shadow: none !important;
	}

	.behi-rps p,
	.behi-rps li,
	.behi-rps blockquote {
		orphans: 3;
		widows: 3;
	}

	.behi-rps,
	.behi-rps-panels,
	.behi-rps-panel {
		background: #fff !important;
		color: #000 !important;
	}

	/* Cover keeps the dark screen header, so its text keeps the light screen colours. */
	.behi-rps-header-wrapper {
		background: linear-gradient(145deg, #0b0b0b, #1a1a1a) !important;
	}

	/* Compact cover that fits the first sheet; block flow so an overflow breaks between lines. */
	.behi-rps-header {
		display: block !important;
		padding: 1rem 0 !important;
	}

	.behi-rps-header__media-col,
	.behi-rps-header__meta-list {
		display: block !important;
	}

	.behi-rps-header__portrait-wrap {
		width: 120px !important;
		max-width: 120px !important;
		margin: 0 auto 0.85rem;
	}

	/* Locked square so the circle survives placeholder text injected by site CSS/JS. */
	.behi-rps .behi-rps-header__portrait {
		width: 120px !important;
		height: 120px !important;
		min-height: 0 !important;
		max-height: 120px !important;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.behi-rps .behi-rps-header__portrait--placeholder {
		padding: 10px !important;
		gap: 4px !important;
	}

	.behi-rps .behi-rps-header__portrait--placeholder::before,
	.behi-rps .behi-rps-header__portrait--placeholder > span:first-child {
		font-size: 22px !important;
		letter-spacing: 1.5px !important;
		margin-bottom: 4px !important;
	}

	.behi-rps .behi-rps-header__portrait--placeholder::after,
	.behi-rps .behi-rps-header__portrait--placeholder > span + span {
		font-size: 7px !important;
		line-height: 1.4 !important;
		letter-spacing: 0.5px !important;
		max-width: 96px !important;
	}

	.behi-rps-meta-row + .behi-rps-meta-row {
		margin-top: 0.3rem;
	}

	.behi-rps-header__quote,
	.behi-rps-verified-box {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.behi-rps-header__title {
		color: #c5a059 !important;
	}

	.behi-rps-header__dates,
	.behi-rps-header__descriptors {
		color: #f5f1e9 !important;
	}

	/* Include full profile content when saving as PDF. */
	.behi-rps-panel,
	.behi-rps-panel[hidden] {
		display: block !important;
		/* Allow long sections to flow across pages (avoids huge blank gaps). */
		page-break-inside: auto;
		break-inside: auto;
	}

	.behi-rps-panel__header,
	.behi-rps-panel__title,
	.behi-rps-sec-title,
	.behi-rps-sec-subtitle {
		display: block !important;
		color: #000 !important;
		margin: 1.25rem 0 0.5rem;
		break-after: avoid;
		page-break-after: avoid;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.behi-rps-panel__narrative h2,
	.behi-rps-panel__narrative h3,
	.behi-rps-panel__narrative h4,
	.behi-rps-glance-card__title,
	.behi-rps-ribbon-title {
		break-after: avoid;
		page-break-after: avoid;
	}

	/* Company Records print follows the active filter (hidden rows stay hidden). */
	.behi-rps-record-row[hidden] {
		display: none !important;
	}

	/* Drop the screen min-width and scroll clip so columns are not cut off. */
	.behi-rps-records__table-shell,
	.behi-rps-records__table-frame,
	.behi-rps-records__table-wrap,
	.behi-rps-evidence-wrap,
	.behi-rps-num-list,
	.behi-rps-why-matters,
	.behi-rps-ledger-card,
	.behi-rps-dark-card,
	.behi-rps-mid-split {
		overflow: visible !important;
		max-height: none !important;
	}

	.behi-rps-records__table-wrap,
	.behi-rps-table,
	.behi-rps-evidence-table,
	.behi-rps-claims-table {
		overflow: visible !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	/* collapse makes Chrome ignore row page-breaks and slice a record in half. */
	.behi-rps-table,
	.behi-rps-evidence-table,
	.behi-rps-claims-table {
		border-collapse: separate !important;
		border-spacing: 0 !important;
	}

	.behi-rps-table thead,
	.behi-rps-evidence-table thead,
	.behi-rps-claims-table thead {
		display: table-header-group;
	}

	.behi-rps-table tr,
	.behi-rps-record-row,
	.behi-rps-claims-table tr,
	.behi-rps-evidence-table tr,
	.behi-rps-table th,
	.behi-rps-table td,
	.behi-rps-evidence-table th,
	.behi-rps-evidence-table td,
	.behi-rps-claims-table th,
	.behi-rps-claims-table td {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	/* Small blocks stay whole. Long dossiers may cross a page so they do not leave a blank sheet. */
	.behi-rps-dossier,
	.behi-rps-dossier--print {
		break-inside: auto;
		page-break-inside: auto;
	}

	/*
	 * Safari/WebKit cannot fragment grid or flex containers cleanly: it slices lines and cards
	 * across pages. Section wrappers flow as plain blocks so every engine breaks between items.
	 */
	.behi-rps-overview-row,
	.behi-rps-overview-grid,
	.behi-rps-overview-col-main,
	.behi-rps-overview-col-side,
	.behi-rps-split-top,
	.behi-rps-mid-split,
	.behi-rps-ledger-card-list,
	.behi-rps-num-list,
	.behi-rps-evidence-wrap,
	.behi-rps-pathway-records,
	.behi-rps-dark-cards-3,
	.behi-rps-dark-cards-4,
	.behi-rps-phases-grid,
	.behi-rps-stat-grid {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.behi-rps-overview-col-side,
	.behi-rps-split-top > * + *,
	.behi-rps-mid-split > * + * {
		margin-top: 1.5rem !important;
	}

	.behi-rps-ledger-card-list > * + *,
	.behi-rps-pathway-records > * + * {
		margin-top: 1rem !important;
	}

	/* Card rows: atomic inline boxes never split, pages break between rows. Widths leave room for inter-card whitespace. */
	.behi-rps-dark-cards-3 > *,
	.behi-rps-dark-cards-4 > *,
	.behi-rps-phases-grid > *,
	.behi-rps-stat-grid > * {
		display: inline-flex !important;
		vertical-align: top;
		width: 47.5% !important;
		margin: 0 0 1rem !important;
	}

	.behi-rps-dark-cards-4 > :nth-child(odd),
	.behi-rps-phases-grid > :nth-child(odd),
	.behi-rps-stat-grid > :nth-child(odd) {
		margin-right: 3% !important;
	}

	.behi-rps-dark-cards-3 > * {
		width: 30.5% !important;
	}

	.behi-rps-dark-cards-3 > :not(:nth-child(3n)) {
		margin-right: 3% !important;
	}

	.behi-rps-dossier__head,
	.behi-rps-meta-block__label,
	.behi-rps-pathway-card,
	.behi-rps-callout,
	.behi-rps-timeline__item,
	.behi-rps-timeline__card,
	.behi-rps-stat-card,
	.behi-rps-ledger-card,
	.behi-rps-glance-card,
	.behi-rps-glance-item,
	.behi-rps-glance-row,
	.behi-rps-dark-card,
	.behi-rps-phase-card,
	.behi-rps-num-item,
	.behi-rps-why-matters,
	.behi-rps-why-matters__col,
	.behi-rps-why-matters__analysis,
	.behi-rps-why-matters__quote,
	.behi-rps-myth-poster,
	.behi-rps-overview-economic,
	.behi-rps-receipts-glance,
	.behi-rps-ribbon-wrap,
	.behi-rps-legend-bar,
	.behi-rps-dossier__quote {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	/* Dark screen cards print light so ink and contrast hold on any printer. */
	.behi-rps-dark-card,
	.behi-rps-why-matters,
	.behi-rps-myth-poster,
	.behi-rps-overview-economic,
	.behi-rps-phase-card,
	.behi-rps-receipts-glance {
		background: #fbf8f2 !important;
		border: 1px solid #d9c9a6 !important;
		border-top: 3px solid #c5a059 !important;
		color: #1f1f1f !important;
	}

	.behi-rps-overview-stat-box {
		background: #fff !important;
		border: 1px solid #e2d6bf !important;
	}

	.behi-rps-overview-economic__head,
	.behi-rps-why-matters__analysis,
	.behi-rps-why-matters__quote {
		border-color: #e2d6bf !important;
	}

	.behi-rps-dark-card :is(p, li, span, div, em, strong, blockquote, h2, h3, h4),
	.behi-rps-why-matters :is(p, li, span, div, em, strong, blockquote, h2, h3, h4),
	.behi-rps-myth-poster :is(p, li, span, div, em, strong, blockquote, h2, h3, h4),
	.behi-rps-overview-economic :is(p, li, span, div, em, strong, blockquote, h2, h3, h4),
	.behi-rps-phase-card :is(p, li, span, div, em, strong, blockquote, h2, h3, h4),
	.behi-rps-receipts-glance :is(p, li, span, div, em, strong, blockquote, h2, h3, h4) {
		color: #1f1f1f !important;
	}

	.behi-rps-overview-economic .behi-rps-overview-note {
		color: #5a5248 !important;
	}

	.behi-rps-dark-card .behi-rps-dark-card__title,
	.behi-rps-dark-card .behi-rps-dark-card__icon,
	.behi-rps-why-matters .behi-rps-why-matters__eyebrow,
	.behi-rps-why-matters .behi-rps-why-matters__icon,
	.behi-rps-why-matters .behi-rps-why-matters__col-title,
	.behi-rps-why-matters .behi-rps-why-matters__analysis-label,
	.behi-rps-why-matters .behi-rps-why-matters__analysis-text,
	.behi-rps-why-matters .behi-rps-why-matters__quote,
	.behi-rps-myth-poster .behi-rps-myth-poster__eyebrow,
	.behi-rps-myth-poster .behi-rps-myth-poster__ans,
	.behi-rps-overview-economic .behi-rps-overview-stat-val,
	.behi-rps-phase-card .behi-rps-phase-card__title,
	.behi-rps-phase-card .behi-rps-phase-card__icon,
	.behi-rps-receipts-glance .behi-rps-glance-item__val--accent {
		color: #7a5a1e !important;
	}

	/* Status badges use the light palette everywhere on paper. */
	.behi-rps .behi-rps-badge.behi-rps-badge--verified {
		background: #e6f4ea !important;
		color: #137333 !important;
		border-color: #a8dab5 !important;
	}

	.behi-rps .behi-rps-badge.behi-rps-badge--attributed {
		background: #fef3c7 !important;
		color: #92400e !important;
		border-color: #fcd34d !important;
	}

	.behi-rps .behi-rps-badge.behi-rps-badge--estimated {
		background: #e0f2fe !important;
		color: #0369a1 !important;
		border-color: #7dd3fc !important;
	}

	.behi-rps .behi-rps-badge.behi-rps-badge--disputed {
		background: #fee2e2 !important;
		color: #991b1b !important;
		border-color: #fca5a5 !important;
	}

	.behi-rps .behi-rps-badge.behi-rps-badge--institute-analysis {
		background: #ede9fe !important;
		color: #5b21b6 !important;
		border-color: #c4b5fd !important;
	}

	/* Receipts print stack sits on the white page, not the dark viewer. */
	.behi-rps-dossier--print .behi-rps-dossier__head {
		border-bottom-color: #e2d6bf !important;
	}

	.behi-rps-dossier--print .behi-rps-dossier__title,
	.behi-rps-dossier--print .behi-rps-pathway-card__title {
		color: #111 !important;
	}

	.behi-rps-dossier--print h4,
	.behi-rps-dossier--print .behi-rps-meta-block__label {
		color: #7a5a1e !important;
	}

	.behi-rps-dossier--print .behi-rps-dossier__correction,
	.behi-rps-dossier--print .behi-rps-dossier__correction p,
	.behi-rps-dossier--print .behi-rps-pathway-card__citation {
		color: #2b2b2b !important;
	}

	.behi-rps-dossier--print .behi-rps-pathway-card__meta,
	.behi-rps-dossier--print .behi-rps-muted {
		color: #5a5248 !important;
	}

	.behi-rps-dossier--print .behi-rps-dossier__quote {
		background: #fbf8f2 !important;
		color: #1f1f1f !important;
	}

	.behi-rps-dossier--print .behi-rps-pathway-card {
		background: #fff !important;
		border: 1px solid #e2d6bf !important;
	}

	.behi-rps-dossier--print .behi-rps-pathway-card__citation {
		background: #fbf8f2 !important;
	}

	.behi-rps-dossier--print .behi-rps-pathway-source-note {
		background: #fbf8f2 !important;
		color: #2b2b2b !important;
	}

	.behi-rps-dossier--print .behi-rps-record__id-badge {
		background: #f3efe6 !important;
		color: #3d3428 !important;
		border-color: #c5a059 !important;
	}

	.behi-rps-dossier--print {
		margin: 0 0 1.25rem;
		padding-bottom: 0.75rem;
		border-bottom: 1px solid #ccc;
	}

	.behi-rps-receipts-print__heading,
	.behi-rps-dossier__head,
	.behi-rps-meta-block__label {
		margin: 1rem 0 0.75rem;
		break-after: avoid;
		page-break-after: avoid;
	}

	.behi-rps-records__footer,
	.behi-rps-records__count,
	body:has(.behi-rps) .elementor-location-footer {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	/* Theme flex wrappers (Astra) stop WebKit honouring the page-break rules above. */
	body:has(.behi-rps) #page,
	body:has(.behi-rps) .ast-container {
		display: block !important;
	}
}

@media screen {
	.behi-rps-receipts-print {
		display: none !important;
	}
}

/* Theme Integration Overrides */
.single-behi_profile.ast-separate-container,
.single-behi_profile.ast-two-container,
.single-behi_profile {
	background-color: #0f0f0f !important;
}

.single-behi_profile .entry-header,
.single-behi_profile .ast-single-post-order .entry-header,
.single-behi_profile .post-thumb-img-content,
.page-template-default .behi-rps-page-wrap .entry-header {
	display: none !important;
}

.single-behi_profile .entry-content,
.single-behi_profile #primary,
.single-behi_profile #main,
.single-behi_profile .site-content,
.single-behi_profile #content,
.single-behi_profile .ast-container,
.single-behi_profile .ast-article-single,
.single-behi_profile .ast-separate-container .ast-article-single,
.single-behi_profile .ast-post-format-,
body:has(.behi-rps) .site-content,
body:has(.behi-rps) #content,
body:has(.behi-rps) #primary,
body:has(.behi-rps) #main,
body:has(.behi-rps) .ast-container,
body:has(.behi-rps) .ast-article-single,
body:has(.behi-rps) .entry-content {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	overflow: visible !important;
}

/* Keep sticky tab bar working through theme wrappers */
body:has(.behi-rps) #page,
body:has(.behi-rps) .site,
body:has(.behi-rps) .site-content,
body:has(.behi-rps) #content,
body:has(.behi-rps) #primary,
body:has(.behi-rps) #main,
body:has(.behi-rps) article,
body:has(.behi-rps) .behi-rps {
	overflow: visible !important;
}

/* Hide leftover Astra post nav if still printed */
.single-behi_profile .post-navigation,
.single-behi_profile .navigation.post-navigation {
	display: none !important;
}

/* BEHI Profile Previous / Next Pager */
.behi-rps-pager {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #0f0f0f;
	border-top: 1px solid rgba(197, 160, 89, 0.45);
}

.behi-rps-pager__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: var(--behi-max, 1400px);
	margin: 0 auto;
	min-height: 7.5rem;
}

.behi-rps-pager__cell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
	padding: 1.6rem 1.75rem;
	text-decoration: none !important;
	color: #f5f1e9 !important;
	background: transparent;
	border: none;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
	min-width: 0;
}

.behi-rps-pager__cell--prev {
	align-items: flex-start;
	text-align: left;
	border-right: 1px solid rgba(197, 160, 89, 0.28);
}

.behi-rps-pager__cell--next {
	align-items: flex-end;
	text-align: right;
}

.behi-rps-pager__cell:hover,
.behi-rps-pager__cell:focus {
	background: rgba(197, 160, 89, 0.08);
	color: #ffffff !important;
	outline: none;
	text-decoration: none !important;
}

.behi-rps-pager__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e5b95c !important;
}

.behi-rps-pager__arrow {
	font-size: 1rem;
	line-height: 1;
	color: #e5b95c !important;
}

.behi-rps-pager__label {
	color: #e5b95c !important;
}

.behi-rps-pager__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.3;
	color: #f7f2e9 !important;
	max-width: 28rem;
}

.behi-rps-pager__cell--next .behi-rps-pager__title {
	margin-left: auto;
}

.behi-rps-pager__cell:hover .behi-rps-pager__title {
	color: #ffffff !important;
}

.behi-rps-pager__cell:hover .behi-rps-pager__meta,
.behi-rps-pager__cell:hover .behi-rps-pager__arrow,
.behi-rps-pager__cell:hover .behi-rps-pager__label {
	color: #f3cf7a !important;
}

.behi-rps-pager__cell--muted {
	opacity: 0.72;
}

.behi-rps-pager__cell--muted .behi-rps-pager__title {
	font-size: 1rem;
	font-weight: 600;
	color: #d9d0c0 !important;
}

.behi-rps-pager__cell--muted:hover {
	opacity: 1;
}

@media (max-width: 700px) {
	.behi-rps-pager__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.behi-rps-pager__cell--prev {
		border-right: none;
		border-bottom: 1px solid rgba(197, 160, 89, 0.28);
	}

	.behi-rps-pager__cell--next {
		align-items: flex-start;
		text-align: left;
	}

	.behi-rps-pager__cell--next .behi-rps-pager__title {
		margin-left: 0;
	}
}

/* ==========================================================================
   Profiles Archive
   ========================================================================== */

.behi-rps-archive {
	width: 100%;
	max-width: 100%;
	background: #f6f2e9;
}

.behi-rps-archive .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;
}

.behi-rps-archive-hero {
	position: relative;
	background:
		linear-gradient(120deg, rgba(8, 8, 8, 0.92) 15%, rgba(20, 16, 10, 0.78) 55%, rgba(12, 12, 12, 0.88) 100%),
		radial-gradient(ellipse at 20% 40%, rgba(197, 160, 89, 0.18), transparent 55%),
		#111;
	border-bottom: 1px solid rgba(197, 160, 89, 0.45);
	padding:
		var(--behi-archive-hero-pt, 3.5rem)
		var(--behi-archive-hero-px, 1.5rem)
		var(--behi-archive-hero-pb, 3.25rem);
	color: #f5f1e9;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.behi-rps-archive-hero {
		padding:
			var(--behi-archive-hero-pt-t, var(--behi-archive-hero-pt, 3.5rem))
			var(--behi-archive-hero-px-t, var(--behi-archive-hero-px, 1.5rem))
			var(--behi-archive-hero-pb-t, var(--behi-archive-hero-pb, 3.25rem));
	}
}

.behi-rps-archive-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 11px,
		rgba(197, 160, 89, 0.03) 11px,
		rgba(197, 160, 89, 0.03) 12px
	);
	pointer-events: none;
}

/* Background image from Profiles → Profiles Page Hero; overlay is darkest behind the text column. */
.behi-rps-archive-hero.has-image {
	background-color: #111;
	background-image:
		linear-gradient(
			90deg,
			rgba(var(--behi-archive-hero-overlay-rgb, 8, 8, 8), calc(var(--behi-archive-hero-overlay, 0.65) + 0.25)) 0%,
			rgba(var(--behi-archive-hero-overlay-rgb, 8, 8, 8), calc(var(--behi-archive-hero-overlay, 0.65) + 0.12)) 45%,
			rgba(var(--behi-archive-hero-overlay-rgb, 8, 8, 8), var(--behi-archive-hero-overlay, 0.65)) 100%
		),
		var(--behi-archive-hero-image);
	background-position: center, var(--behi-archive-hero-position, center);
	background-repeat: no-repeat;
	background-size: cover;
}

.behi-rps-archive-hero.has-image::before {
	display: none;
}

.behi-rps-archive-hero.has-image .behi-rps-archive-hero__title,
.behi-rps-archive-hero.has-image .behi-rps-archive-hero__lead,
.behi-rps-archive-hero.has-image .behi-rps-archive-hero__eyebrow {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

@media (max-width: 700px) {
	.behi-rps-archive-hero.has-image {
		background-image:
			linear-gradient(
				rgba(var(--behi-archive-hero-overlay-rgb, 8, 8, 8), calc(var(--behi-archive-hero-overlay, 0.65) + 0.15)),
				rgba(var(--behi-archive-hero-overlay-rgb, 8, 8, 8), calc(var(--behi-archive-hero-overlay, 0.65) + 0.15))
			),
			var(--behi-archive-hero-image);
	}
}

.behi-rps-archive-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--behi-max, 1400px);
	margin: 0 auto;
}

/* Typography matches the Research & Evidence page hero (Elementor breakpoints 1024 / 767). */
.behi-rps-archive-hero__title {
	margin: 0 0 20px;
	color: #f2f2f2;
	font-family: "Libertinus Serif", Georgia, "Times New Roman", serif;
	font-size: 84px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1;
	text-transform: none;
}

.behi-rps-archive-hero__dot {
	color: #d2a15b;
}

.behi-rps-archive-hero__rule {
	display: block;
	width: 100px;
	height: 2px;
	margin: 0 0 20px;
	background: #d2a15b;
}

.behi-rps-archive-hero__eyebrow {
	margin: 0 0 20px;
	color: #d2a15b;
	font-family: "Libertinus Serif", Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 25px;
	text-transform: uppercase;
}

.behi-rps-archive-hero__lead {
	margin: 0;
	max-width: 504px;
	color: #f2f2f2;
	font-family: "Libertinus Serif", Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 30px;
}

@media (max-width: 1024px) {
	.behi-rps-archive-hero__title {
		font-size: 60px;
	}

	.behi-rps-archive-hero__rule {
		width: 70px;
	}

	.behi-rps-archive-hero__lead {
		max-width: 343px;
		font-size: 20px;
		line-height: 26px;
	}
}

@media (max-width: 767px) {
	.behi-rps-archive-hero__title {
		font-size: 42px;
	}

	.behi-rps-archive-hero__rule {
		width: 50px;
	}

	.behi-rps-archive-hero__eyebrow {
		font-size: 18px;
	}

	.behi-rps-archive-hero__lead {
		max-width: none;
		font-size: 18px;
		line-height: 24px;
	}
}

.behi-rps-archive-filters {
	background: #141414;
	border-bottom: 1px solid #2a2a2a;
	padding: 1.1rem 1.5rem 1.2rem;
}

.behi-rps-archive-filters__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 0.85rem;
	max-width: var(--behi-max, 1400px);
	margin: 0 auto;
}

.behi-rps-archive-search {
	display: flex;
	align-items: stretch;
	flex: 1 1 280px;
	min-width: 220px;
	max-width: 34rem;
	border: 1px solid #3a342c;
	border-radius: 2px;
	background: #1c1c1c;
	overflow: hidden;
}

.behi-rps-archive-search input[type="search"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	color: #f5f1e9;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.92rem;
	padding: 0.7rem 0.9rem;
	box-shadow: none;
	outline: none;
}

.behi-rps-archive-search input[type="search"]::placeholder {
	color: #8c8273;
}

.behi-rps-archive-search input[type="search"]::-webkit-search-decoration,
.behi-rps-archive-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.behi-rps-archive-search__btn {
	appearance: none;
	position: relative;
	top: auto;
	right: auto;
	transform: none;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.75rem;
	width: 2.75rem;
	min-width: 2.75rem;
	height: auto;
	min-height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	border-left: 1px solid rgba(20, 20, 20, 0.2);
	border-radius: 0;
	background: #c5a059 !important;
	color: #141414 !important;
	cursor: pointer;
	line-height: 1;
	box-shadow: none;
}

.behi-rps-archive-search__btn:hover,
.behi-rps-archive-search__btn:focus,
.behi-rps-archive-search__btn:focus-visible {
	background: #d4b36e !important;
	color: #141414 !important;
	outline: none;
	box-shadow: none;
}

.behi-rps-archive-search__btn svg {
	display: block !important;
	width: 1.15rem !important;
	height: 1.15rem !important;
	min-width: 1.15rem;
	min-height: 1.15rem;
	flex-shrink: 0;
	fill: none !important;
	stroke: #141414 !important;
	stroke-width: 2.25 !important;
	color: #141414 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.behi-rps-archive-filters__toggle,
.behi-rps-archive-filters__reset {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid rgba(197, 160, 89, 0.65);
	border-radius: 2px;
	background: transparent;
	color: #e5b95c;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.behi-rps-archive-filters__toggle.is-open,
.behi-rps-archive-filters__toggle:hover,
.behi-rps-archive-filters__toggle:focus,
.behi-rps-archive-filters__toggle:focus-visible,
.behi-rps-archive-filters__reset:hover,
.behi-rps-archive-filters__reset:focus,
.behi-rps-archive-filters__reset:focus-visible {
	background: rgba(197, 160, 89, 0.14);
	border-color: #c5a059;
	color: #f3cf7a;
	outline: none;
	box-shadow: none;
}

.behi-rps-archive-filters__toggle:active,
.behi-rps-archive-filters__reset:active {
	background: rgba(197, 160, 89, 0.22);
	border-color: #d4b36e;
	color: #f3cf7a;
	outline: none;
}

.behi-rps-archive-view {
	display: inline-flex;
	gap: 0.35rem;
	margin-left: auto;
}

.behi-rps-archive-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid #3a342c;
	border-radius: 2px;
	color: #9c9284;
	text-decoration: none;
	outline: none;
	box-shadow: none;
}

.behi-rps-archive-view__btn.is-active,
.behi-rps-archive-view__btn:hover,
.behi-rps-archive-view__btn:focus,
.behi-rps-archive-view__btn:focus-visible {
	border-color: #c5a059;
	color: #f3cf7a;
	background: rgba(197, 160, 89, 0.1);
	outline: none;
	box-shadow: none;
}

.behi-rps-archive-filters__advanced {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	max-width: var(--behi-max, 1400px);
	margin: 0.95rem auto 0;
}

.behi-rps-archive-filters__advanced.is-open {
	display: grid;
}

.behi-rps-archive-select {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.behi-rps-archive-select span {
	color: #9c9284;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.behi-rps-archive-select select {
	width: 100%;
	appearance: none;
	background: #1c1c1c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c5a059' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	border: 1px solid #3a342c;
	border-radius: 2px;
	color: #f5f1e9;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.88rem;
	padding: 0.65rem 2rem 0.65rem 0.75rem;
}

.behi-rps-archive-results {
	max-width: var(--behi-max, 1400px);
	margin: 0 auto;
	padding: 1.75rem 1.5rem 3rem;
}

.behi-rps-archive-results__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.behi-rps-archive-results__count {
	margin: 0;
	color: #5c574e;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.9rem;
}

.behi-rps-archive-sort {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	background: #ffffff;
	border: 1px solid #d4ccbd;
	border-radius: 2px;
	padding: 0.35rem 0.45rem 0.35rem 0.85rem;
	box-shadow: 0 1px 2px rgba(40, 30, 15, 0.04);
}

.behi-rps-archive-sort label {
	margin: 0;
	color: #8c8273;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.behi-rps-archive-sort select {
	min-width: 9.5rem;
	margin: 0;
	appearance: none;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8843d' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.55rem center !important;
	border: none !important;
	border-radius: 0;
	box-shadow: none;
	color: #151515;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.4rem 1.75rem 0.4rem 0.15rem;
	cursor: pointer;
}

.behi-rps-archive-sort select:focus {
	outline: none;
}

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

.behi-rps-archive-grid.is-list {
	grid-template-columns: 1fr;
}

.behi-rps-profile-card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	background: #fff;
	border: 1px solid #e0d6c6;
	border-radius: 2px;
	padding: 1.15rem 1.2rem 1.1rem;
	box-sizing: border-box;
	min-width: 0;
}

.behi-rps-archive-grid.is-list .behi-rps-profile-card {
	padding: 1.25rem 1.4rem;
}

.behi-rps-profile-card__top {
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: start;
}

.behi-rps-profile-card__portrait {
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #c5a059;
	background: #1a1a1a;
	flex-shrink: 0;
}

.behi-rps-profile-card__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(0.25) contrast(1.05);
}

.behi-rps-profile-card__portrait-ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #2a2a2a, #111);
}

.behi-rps-profile-card__name {
	margin: 0 0 0.2rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.behi-rps-profile-card__name a {
	color: #151515;
	text-decoration: none;
}

.behi-rps-profile-card__name a:hover {
	color: #a8843d;
}

.behi-rps-profile-card__dates {
	margin: 0 0 0.25rem;
	color: #5c574e;
	font-size: 0.86rem;
}

.behi-rps-profile-card__roles {
	margin: 0;
	color: #3f3a34;
	font-size: 0.84rem;
	line-height: 1.4;
}

.behi-rps-profile-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.22rem 0.5rem;
	border-radius: 999px;
	background: #e8f3ea;
	color: #2f6b3b;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.behi-rps-profile-card__excerpt {
	margin: 0;
	color: #4a453c;
	font-size: 0.9rem;
	line-height: 1.55;
}

.behi-rps-profile-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.85rem;
	margin-top: auto;
	padding-top: 0.35rem;
}

.behi-rps-profile-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.95rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
}

.behi-rps-profile-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #6a6358;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.75rem;
	line-height: 1.3;
	max-width: 100%;
}

.behi-rps-profile-card__meta li span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 14rem;
}

.behi-rps-profile-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.9rem;
	background: #141414;
	border: 1px solid #141414;
	border-radius: 2px;
	color: #f5f1e9 !important;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.behi-rps-profile-card__cta:hover {
	background: #c5a059;
	border-color: #c5a059;
	color: #141414 !important;
}

.behi-rps-archive-empty {
	margin: 2rem 0;
	color: #5c574e;
	font-style: italic;
}

.behi-rps-archive-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2rem;
}

.behi-rps-archive-pagination__page,
.behi-rps-archive-pagination__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	height: 2.35rem;
	padding: 0 0.55rem;
	border: 1px solid #d8cebd;
	border-radius: 2px;
	background: #fff;
	color: #151515;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.behi-rps-archive-pagination__page.is-active {
	background: #c5a059;
	border-color: #c5a059;
	color: #141414;
}

.behi-rps-archive-pagination__page:hover,
.behi-rps-archive-pagination__arrow:hover {
	border-color: #c5a059;
	color: #a8843d;
}

.behi-rps-archive-pagination__arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

@media (max-width: 980px) {
	.behi-rps-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.behi-rps-archive-filters__advanced.is-open {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.behi-rps-archive-hero {
		padding:
			var(--behi-archive-hero-pt-m, 2.4rem)
			var(--behi-archive-hero-px-m, 1.1rem)
			var(--behi-archive-hero-pb-m, 2.2rem);
	}

	.behi-rps-archive-filters {
		padding: 1rem 1.1rem 1.1rem;
	}

	.behi-rps-archive-view {
		margin-left: 0;
	}

	/*
	 * Punch list #33 — Keep Profiles cards stacked on mobile.
	 * At ~390px (and all widths ≤700px) Morgan / Walker / all cards
	 * must stack vertically — never side-by-side in the library grid.
	 */
	.behi-rps-archive .behi-rps-archive-grid,
	.behi-rps-archive .behi-rps-archive-grid.is-list,
	.behi-rps-archive-grid,
	.behi-rps-archive-grid.is-list,
	.behi-rps-archive-grid[data-behi-archive-grid] {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-auto-flow: row !important;
	}

	.behi-rps-archive .behi-rps-profile-card,
	.behi-rps-archive-grid .behi-rps-profile-card {
		width: 100% !important;
		max-width: 100% !important;
	}

	.behi-rps-archive-filters__advanced.is-open {
		grid-template-columns: 1fr;
	}

	.behi-rps-profile-card__top {
		grid-template-columns: 3.6rem minmax(0, 1fr);
	}

	.behi-rps-profile-card__badge {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.behi-rps-profile-card__portrait {
		width: 3.6rem;
		height: 3.6rem;
	}
}

/* Archive page theme chrome */
body:has(.behi-rps-archive) .entry-header,
body:has(.behi-rps-archive) .ast-archive-description {
	display: none !important;
}

body:has(.behi-rps-archive) .entry-content,
body:has(.behi-rps-archive) #primary,
body:has(.behi-rps-archive) #main,
body:has(.behi-rps-archive) .ast-container {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}
