:root {
	--rf-blue: #114a73;
	--rf-blue-deep: #16496b;
	--rf-yellow: #fddf5b;
	--rf-ink: #172b3a;
	--rf-copy: #405363;
	--rf-muted: #6e7f8d;
	--rf-line: #dbe7ee;
	--rf-wash: #f4f9fc;
	--rf-white: #ffffff;
	--rf-shadow: 0 20px 55px rgba(17, 74, 115, 0.12);
}

body.single-post {
	background: var(--rf-wash);
	color: var(--rf-copy);
	font-family: "Archivo", Arial, sans-serif;
}

body.single-post .site-header {
	align-items: center;
	background: var(--rf-white);
	border-bottom: 1px solid var(--rf-line);
	box-shadow: 0 4px 18px rgba(17, 74, 115, 0.04);
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 100%;
	padding: 18px max(24px, calc((100% - 1180px) / 2));
	position: relative;
}

body.single-post .site-header .site-title {
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

body.single-post .site-header .site-title a {
	color: var(--rf-blue);
}

body.single-post .site-header .site-title a:hover {
	color: var(--rf-blue-deep);
}

body.single-post .site-header .site-navigation ul.menu {
	gap: 4px;
	margin: 0;
}

body.single-post .site-header .site-navigation ul.menu li a {
	color: var(--rf-blue);
	font-family: "Archivo", Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 10px 12px;
	transition: color 180ms ease, background-color 180ms ease;
}

body.single-post .site-header .site-navigation ul.menu li a:hover,
body.single-post .site-header .site-navigation ul.menu li.current-menu-item a {
	background: var(--rf-wash);
	border-radius: 8px;
	color: var(--rf-blue-deep);
}

body.single-post .site-main.rf-post-page {
	margin: 0 auto;
	max-width: none;
	padding: 0 24px 84px;
	width: 100%;
}

.rf-post-shell {
	margin: 0 auto;
	max-width: 1180px;
}

.rf-breadcrumbs {
	align-items: center;
	color: var(--rf-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78rem;
	gap: 9px;
	letter-spacing: 0.015em;
	padding: 30px 0 0;
}

.rf-breadcrumbs a {
	color: var(--rf-blue);
	text-decoration: none;
}

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

.rf-post-hero {
	max-width: 920px;
	padding: 48px 0 38px;
}

.rf-post-kicker,
.rf-eyebrow {
	color: var(--rf-blue);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.rf-post-kicker {
	align-items: center;
	display: flex;
	gap: 10px;
}

.rf-post-kicker > span {
	background: var(--rf-yellow);
	display: block;
	height: 4px;
	width: 32px;
}

.rf-post-hero h1 {
	color: var(--rf-ink);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: clamp(2.25rem, 5vw, 4.45rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 1.02;
	margin: 20px 0 22px;
	max-width: 920px;
	text-wrap: balance;
}

.rf-post-excerpt {
	color: var(--rf-copy);
	font-size: clamp(1.08rem, 1.7vw, 1.3rem);
	line-height: 1.58;
	margin: 0 0 26px;
	max-width: 760px;
}

.rf-post-meta {
	align-items: center;
	border-bottom: 1px solid var(--rf-line);
	border-top: 1px solid var(--rf-line);
	color: var(--rf-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.83rem;
	gap: 10px;
	padding: 14px 0;
}

.rf-post-meta a {
	color: var(--rf-blue);
	font-weight: 600;
	text-decoration: none;
}

.rf-post-meta a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rf-post-cover {
	background: var(--rf-white);
	border-radius: 20px;
	box-shadow: var(--rf-shadow);
	margin: 0;
	overflow: hidden;
}

.rf-post-cover__image {
	aspect-ratio: 2.4 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.rf-post-grid {
	align-items: start;
	display: grid;
	gap: clamp(34px, 7vw, 84px);
	grid-template-columns: minmax(180px, 220px) minmax(0, 720px);
	justify-content: center;
	padding: 68px 0 0;
}

.rf-post-rail__sticky {
	position: sticky;
	top: 28px;
}

.rf-post-rail h2 {
	color: var(--rf-blue);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: 1.22rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.18;
	margin: 13px 0 12px;
}

.rf-post-rail p {
	color: var(--rf-muted);
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 0 0 18px;
}

.rf-button {
	align-items: center;
	display: inline-flex;
	font-family: "Archivo", Arial, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 12px;
	justify-content: center;
	padding: 13px 16px;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 100%;
}

.rf-button:hover {
	transform: translateY(-2px);
}

.rf-button--yellow {
	background: var(--rf-yellow);
	border-radius: 8px;
	color: var(--rf-ink);
}

.rf-button--yellow:hover {
	background: var(--rf-blue);
	color: var(--rf-white);
}

.rf-rail-link {
	color: var(--rf-blue);
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-top: 14px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rf-post-body {
	min-width: 0;
}

.rf-post-body .entry-content {
	color: var(--rf-copy);
	font-family: "Archivo", Arial, sans-serif;
	font-size: 1.1rem;
	line-height: 1.78;
}

.rf-post-body .entry-content > p:first-child {
	background: #e9f2f7;
	border-radius: 12px;
	color: var(--rf-blue-deep);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 30px;
	padding: 17px 19px;
}

.rf-post-body .entry-content p {
	margin: 0 0 1.25rem;
}

.rf-post-body .entry-content h2,
.rf-post-body .entry-content h3 {
	color: var(--rf-blue);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.rf-post-body .entry-content h2 {
	font-size: clamp(1.55rem, 2.7vw, 2.12rem);
	line-height: 1.18;
	margin: 2.65em 0 0.72em;
}

.rf-post-body .entry-content h3 {
	font-size: clamp(1.12rem, 1.8vw, 1.32rem);
	line-height: 1.3;
	margin: 2em 0 0.55em;
}

.rf-post-body .entry-content ul,
.rf-post-body .entry-content ol {
	margin: 0 0 1.45rem;
	padding-left: 1.25rem;
}

.rf-post-body .entry-content li {
	margin: 0.42rem 0;
	padding-left: 0.2rem;
}

.rf-post-body .entry-content a {
	color: var(--rf-blue);
	text-decoration-color: rgba(17, 74, 115, 0.35);
	text-underline-offset: 3px;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

.rf-post-body .entry-content a:hover {
	color: var(--rf-blue-deep);
	text-decoration-color: currentColor;
}

.rf-post-body .entry-content strong {
	color: var(--rf-ink);
	font-weight: 700;
}

.rf-post-body .entry-content em {
	color: inherit;
}

.rf-post-body .entry-content img {
	border-radius: 14px;
	display: block;
	height: auto;
	margin: 28px auto;
	max-width: 100%;
}

.rf-post-body .entry-content blockquote {
	border: 0;
	border-left: 3px solid var(--rf-yellow);
	color: var(--rf-blue);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 2rem 0;
	padding: 4px 0 4px 22px;
}

.rf-post-body .entry-content > h2:last-of-type {
	background: var(--rf-blue);
	border-radius: 18px 18px 0 0;
	color: var(--rf-white);
	margin-top: 3.25rem;
	padding: 28px 28px 0;
}

.rf-post-body .entry-content > h2:last-of-type + p {
	background: var(--rf-blue);
	color: rgba(255, 255, 255, 0.86);
	margin: 0;
	padding: 0 28px 28px;
}

.rf-post-body .entry-content > h2:last-of-type + p a {
	color: var(--rf-yellow);
	font-weight: 700;
}

.rf-post-body .entry-content > aside {
	background: var(--rf-white);
	border: 1px solid var(--rf-line);
	border-radius: 14px;
	margin: 18px 0 0;
	padding: 20px 22px;
}

.rf-post-body .entry-content > aside p {
	color: var(--rf-muted);
	font-size: 0.93rem;
	line-height: 1.6;
	margin: 0;
}

.rf-post-body .entry-content > aside strong {
	color: var(--rf-blue);
	display: block;
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.rf-page-links {
	border-top: 1px solid var(--rf-line);
	margin-top: 42px;
	padding-top: 20px;
}

.rf-page-links a {
	margin-left: 6px;
}

.rf-related {
	border-top: 1px solid var(--rf-line);
	margin-top: 78px;
	padding: 58px 0 0;
}

.rf-section-heading {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.rf-section-heading h2 {
	color: var(--rf-blue);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	letter-spacing: -0.045em;
	line-height: 1.08;
	margin: 10px 0 0;
	max-width: 570px;
	text-wrap: balance;
}

.rf-section-link {
	color: var(--rf-blue);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.rf-section-link:hover {
	color: var(--rf-blue-deep);
	text-decoration: underline;
	text-underline-offset: 4px;
}

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

.rf-related-card {
	background: var(--rf-white);
	border: 1px solid var(--rf-line);
	border-radius: 16px;
	color: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rf-related-card:hover {
	border-color: rgba(17, 74, 115, 0.35);
	box-shadow: 0 16px 34px rgba(17, 74, 115, 0.1);
	color: inherit;
	transform: translateY(-3px);
}

.rf-related-card__media {
	aspect-ratio: 1.8 / 1;
	background: #e9f2f7;
	overflow: hidden;
}

.rf-related-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.rf-related-card:hover .rf-related-card__media img {
	transform: scale(1.03);
}

.rf-related-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 20px 22px;
}

.rf-related-card__category {
	color: var(--rf-blue);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rf-related-card h3 {
	color: var(--rf-ink);
	font-family: "Lexend Deca", Arial, sans-serif;
	font-size: 1.05rem;
	letter-spacing: -0.025em;
	line-height: 1.26;
	margin: 10px 0 10px;
}

.rf-related-card p {
	color: var(--rf-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0 0 17px;
}

.rf-related-card__link {
	color: var(--rf-blue);
	font-size: 0.82rem;
	font-weight: 700;
	margin-top: auto;
}

body.single-post .site-footer {
	background: var(--rf-blue);
	color: var(--rf-white);
	margin-top: 0;
}

body.single-post .site-footer a {
	color: var(--rf-white);
}

@media (max-width: 900px) {
	body.single-post .site-header {
		padding-left: 20px;
		padding-right: 20px;
	}

	.rf-post-grid {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 48px;
	}

	.rf-post-rail {
		order: 2;
	}

	.rf-post-rail__sticky {
		position: static;
	}

	.rf-post-rail__sticky {
		background: var(--rf-blue);
		border-radius: 16px;
		padding: 24px;
	}

	.rf-post-rail .rf-eyebrow,
	.rf-post-rail h2,
	.rf-post-rail p {
		color: var(--rf-white);
	}

	.rf-post-rail .rf-eyebrow {
		opacity: 0.78;
	}
}

@media (max-width: 680px) {
	body.single-post .site-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
		padding-bottom: 16px;
		padding-top: 16px;
	}

	body.single-post .site-header .site-navigation {
		max-width: 100%;
		overflow-x: auto;
		width: 100%;
	}

	body.single-post .site-header .site-navigation ul.menu {
		flex-wrap: nowrap;
		justify-content: flex-start;
		min-width: max-content;
	}

	body.single-post .site-header .site-navigation ul.menu li a {
		font-size: 0.82rem;
		padding: 8px 9px;
	}

	body.single-post .site-main.rf-post-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rf-breadcrumbs {
		font-size: 0.72rem;
		padding-top: 22px;
	}

	.rf-post-hero {
		padding: 36px 0 28px;
	}

	.rf-post-hero h1 {
		font-size: clamp(2rem, 10vw, 3.1rem);
		margin-top: 16px;
	}

	.rf-post-excerpt {
		font-size: 1rem;
	}

	.rf-post-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.rf-post-meta span[aria-hidden="true"] {
		display: none;
	}

	.rf-post-cover {
		border-radius: 14px;
	}

	.rf-post-cover__image {
		aspect-ratio: 1.45 / 1;
	}

	.rf-post-grid {
		padding-top: 38px;
	}

	.rf-post-body .entry-content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.rf-post-body .entry-content > h2:last-of-type {
		padding-left: 22px;
		padding-right: 22px;
	}

	.rf-post-body .entry-content > h2:last-of-type + p {
		padding-left: 22px;
		padding-right: 22px;
	}

	.rf-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.rf-related {
		margin-top: 56px;
		padding-top: 42px;
	}

	.rf-related-grid {
		grid-template-columns: 1fr;
	}

	.rf-related-card__media {
		aspect-ratio: 2 / 1;
	}
}
