.rec-main {
	width: 100%;
	max-width: var(--rec-frame);
	margin-inline: auto;
	background: var(--rec-surface);
}

.rec-page-hero {
	border-bottom: 1px solid var(--rec-border);
	background: var(--rec-ice-50);
}

.rec-page-hero__inner {
	width: 100%;
	max-width: var(--rec-max);
	margin-inline: auto;
	padding: clamp(4rem, 7vw, 6rem) var(--rec-gutter) 3.375rem;
}

.rec-page-hero .rec-breadcrumbs {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rec-page-hero h1 {
	max-width: 16ch;
	margin-block: 1.0625rem 0;
	font-size: clamp(2.75rem, 4.1vw, 3.625rem);
	line-height: 1;
	letter-spacing: -0.055em;
}

.rec-page-hero__description {
	max-width: 43.75rem;
	margin-block: 1.25rem 0;
	color: var(--rec-muted);
	font-size: 1rem;
	line-height: 1.72;
}

.rec-eyebrow,
.rec-content-badge {
	color: var(--rec-accent);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-weight: 800;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rec-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	color: var(--rec-muted);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.6875rem;
	list-style: none;
}

.rec-breadcrumbs li + li::before {
	margin-inline-end: 0.5rem;
	color: var(--rec-muted);
	content: "/";
}

.rec-content-list {
	width: 100%;
	max-width: var(--rec-max);
	margin-inline: auto;
	padding: clamp(2.75rem, 6vw, 5rem) var(--rec-gutter);
}

.rec-content-grid {
	min-width: 0;
}

.rec-card-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.rec-content-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--rec-border);
	background: var(--rec-surface);
	transition: transform var(--rec-motion-fast), box-shadow var(--rec-motion-fast), border-color var(--rec-motion-fast);
}

.rec-content-card:hover,
.rec-content-card:focus-within {
	border-color: var(--rec-accent);
	transform: translateY(-0.1875rem);
	box-shadow: 0 0.875rem 1.5625rem rgb(16 34 59 / 14%);
}

.rec-content-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.rec-content-card__link:focus-visible {
	outline: 3px solid var(--rec-accent);
	outline-offset: -3px;
}

.rec-content-card__media {
	overflow: hidden;
	border-bottom: 1px solid var(--rec-border);
	background: var(--rec-ice-100);
}

.rec-content-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rec-content-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.25rem, 3vw, 1.75rem);
}

.rec-content-card h2,
.rec-content-card h3 {
	margin-block: 0.625rem 0;
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.rec-content-card p {
	margin-block: 0.75rem 0;
	color: var(--rec-muted);
	font-size: 0.875rem;
}

.rec-content-card__meta {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.6875rem;
}

.rec-content-card__footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--rec-border);
	font-size: 0.8125rem;
	font-weight: 800;
}

.rec-filter-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5625rem;
	width: 100%;
	max-width: var(--rec-frame);
	margin-inline: auto;
	padding: 1rem var(--rec-gutter);
	border-bottom: 1px solid var(--rec-border);
	background: var(--rec-surface);
}

.rec-filter-nav a,
.rec-related-routes a {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--rec-border);
	background: var(--rec-surface);
	font-size: 0.8125rem;
	font-weight: 750;
	text-decoration: none;
}

.rec-pagination {
	margin-top: 2.25rem;
}

.rec-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rec-pagination :where(a, span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--rec-border);
	background: var(--rec-surface);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.75rem;
	text-decoration: none;
}

.rec-pagination .current {
	border-color: var(--rec-accent);
	background: var(--rec-accent);
	color: var(--rec-white);
}

.rec-content-list__action {
	margin-block: 2.5rem 0;
}

.rec-empty-state {
	width: 100%;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--rec-border);
	border-inline-start: 0.25rem solid var(--rec-accent);
	background: var(--rec-ice-50);
}

.rec-empty-state h2,
.rec-empty-state p {
	margin-block-start: 0;
}

.rec-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: 1.5rem 0;
}

.rec-button--secondary {
	border-color: var(--rec-text);
	background: var(--rec-surface);
	color: var(--rec-text);
}

.rec-content-single,
.rec-contact {
	width: 100%;
}

.rec-content-single > :not(.rec-page-hero),
.rec-contact > :not(.rec-page-hero) {
	width: 100%;
	max-width: 48rem;
	margin-inline: auto;
	padding-inline: var(--rec-gutter);
}

.rec-content-single > .rec-page-hero + *,
.rec-contact > .rec-page-hero + * {
	margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.rec-content-single > :last-child,
.rec-contact > :last-child {
	margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.rec-entry-content {
	color: #40566d;
}

.rec-about-media {
	margin-block: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.rec-about-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.rec-about-media figcaption {
	margin-top: 0.625rem;
	color: var(--rec-muted);
	font-size: 0.875rem;
}

.rec-entry-content > :first-child {
	margin-top: 0;
}

.rec-entry-content :where(pre, .wp-block-table, .wp-block-embed__wrapper) {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.rec-entry-content :where(pre, .wp-block-table):focus-visible {
	outline: 3px solid var(--rec-accent);
	outline-offset: -3px;
}

.rec-entry-content pre {
	padding: 1rem;
	border: 1px solid var(--rec-border);
	background: var(--rec-ice-50);
	white-space: pre;
}

.rec-entry-content :where(.wp-block-table, .wp-block-embed) {
	margin-inline: 0;
}

.rec-entry-content table {
	min-width: 100%;
	border-collapse: collapse;
}

.rec-entry-content :where(iframe, embed, object, video) {
	display: block;
	max-width: 100%;
}

.rec-entry-content h2,
.rec-detail-section h2,
.rec-case-section h2,
.rec-related-content h2 {
	margin-block: 0 1rem;
	font-size: clamp(1.5rem, 3vw, 1.9rem);
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.rec-entry-content :where(p, li),
.rec-detail-section :where(p, li),
.rec-case-section :where(p, li) {
	color: #40566d;
}

.rec-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rec-border);
	color: var(--rec-muted);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.6875rem;
}

.rec-article-meta__item + .rec-article-meta__item::before {
	margin-inline: 0.75rem;
	color: var(--rec-border);
	content: "·";
}

.rec-article-toc,
.rec-video-chapters,
.rec-video-transcript {
	margin-block: 2rem;
	padding: 1.25rem;
	border: 1px solid var(--rec-border);
	background: var(--rec-ice-50);
}

.rec-article-toc h2,
.rec-video-chapters h2,
.rec-video-transcript h2 {
	margin-block-start: 0;
	font-size: 1.125rem;
}

.rec-video-frame {
	position: relative;
	width: 100%;
	padding-block-start: 56.25%;
	overflow: hidden;
	background: var(--rec-navy-950);
}

.rec-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.rec-video-detail video {
	display: block;
	width: 100%;
	max-height: 70vh;
	background: var(--rec-navy-950);
}

.rec-video-duration {
	margin-block: 0;
	padding: 0.75rem 1rem;
	background: var(--rec-navy-950);
	color: var(--rec-white);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.75rem;
}

.rec-video-chapters {
	margin: 0;
}

.rec-video-chapters ol {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rec-video-chapters button {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--rec-border);
	background: var(--rec-surface);
	color: inherit;
	text-align: start;
	cursor: pointer;
}

.rec-video-chapters button span {
	display: inline-block;
	min-width: 4.75rem;
	color: var(--rec-accent);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-variant-numeric: tabular-nums;
}

.rec-video-transcript {
	margin-bottom: 0;
}

.rec-related-content,
.rec-related-routes {
	margin-top: 3rem;
}

.rec-related-routes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.rec-detail-section,
.rec-case-section {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--rec-border);
}

.rec-stop-box {
	padding: 1.25rem;
	border-top: 0;
	border-inline-start: 0.25rem solid var(--rec-risk);
	background: #fff0ed;
}

.rec-fact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1px;
	margin-block: 2rem;
	padding-inline: 0;
	background: var(--rec-border);
}

.rec-fact {
	padding: 1rem;
	background: var(--rec-surface);
}

.rec-fact:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.rec-fact dt {
	color: var(--rec-accent);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.rec-fact dd {
	margin: 0.35rem 0 0;
	font-weight: 750;
}

.rec-case-gallery__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.rec-case-gallery__grid figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--rec-border);
}

.rec-case-gallery__grid img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rec-case-consultation {
	margin-top: 3rem;
	padding: clamp(1.5rem, 5vw, 3rem);
	border: 0;
	background: var(--rec-accent-dark);
	color: var(--rec-white);
}

.rec-case-consultation :where(h2, p) {
	color: var(--rec-white);
}

.rec-service-directory {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}

.rec-service-directory__card {
	min-width: 0;
	border: 1px solid var(--rec-border);
	background: var(--rec-surface);
}

.rec-service-directory__card--primary {
	border-color: var(--rec-accent);
	box-shadow: inset 0 0.25rem var(--rec-accent);
}

.rec-service-directory__card > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.25rem, 4vw, 2rem);
	color: inherit;
	text-decoration: none;
}

.rec-filter-nav a:hover,
.rec-related-routes a:hover,
.rec-service-directory__card > a:hover {
	border-color: var(--rec-accent);
	color: var(--rec-accent);
}

.rec-service-directory__card h2 {
	margin-block: 0.625rem 0;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	letter-spacing: -0.035em;
}

.rec-service-directory__card p {
	color: var(--rec-muted);
}

.rec-service-boundary,
.rec-service-detail figcaption {
	color: var(--rec-muted);
	font-size: 0.8125rem;
}

.rec-service-detail__media {
	margin-top: 3rem;
	padding-inline: 0;
}

.rec-service-detail__media img {
	display: block;
	width: 100%;
	max-height: 32rem;
	object-fit: cover;
}

.rec-service-detail__media figcaption {
	padding-top: 0.5rem;
}

.rec-detail-faq details {
	padding-block: 1rem;
	border-bottom: 1px solid var(--rec-border);
}

.rec-detail-faq summary {
	font-weight: 750;
	cursor: pointer;
}

.rec-section img,
.rec-content-single img,
.rec-contact img {
	max-width: 100%;
	height: auto;
}

@media (width >= 48rem) {
	.rec-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rec-fact-grid,
	.rec-case-gallery__grid,
	.rec-service-directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rec-content-single--video > .rec-video-detail {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.7fr);
		gap: 1rem;
		max-width: var(--rec-max);
	}

	.rec-video-detail__media,
	.rec-video-chapters {
		align-self: start;
	}

	.rec-video-transcript {
		grid-column: 1 / -1;
	}
}

@media (width >= 64rem) {
	.rec-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rec-related-content .rec-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width < 48rem) {
	.rec-page-hero__inner {
		padding-block: 2.75rem 3.25rem;
	}

	.rec-page-hero h1 {
		font-size: clamp(2.375rem, 11vw, 3rem);
	}

	.rec-content-list {
		padding-block: 2.5rem 3.5rem;
	}

	.rec-content-single > :not(.rec-page-hero),
	.rec-contact > :not(.rec-page-hero) {
		padding-inline: 1rem;
	}

	.rec-empty-state__actions .rec-button {
		width: 100%;
	}
}
