:root {
	--rt-navy: #07152f;
	--rt-navy-2: #0d2144;
	--rt-blue: #1652f0;
	--rt-cyan: #16c7d8;
	--rt-orange: #f59e0b;
	--rt-green: #14b887;
	--rt-ink: #101828;
	--rt-muted: #64748b;
	--rt-line: #e5eaf1;
	--rt-bg: #f6f8fb;
	--rt-white: #ffffff;
	--rt-card: #ffffff;
	--rt-shadow: 0 18px 45px rgba(7, 21, 47, 0.09);
	--rt-shadow-soft: 0 10px 28px rgba(7, 21, 47, 0.07);
	--rt-radius: 22px;
	--rt-radius-sm: 14px;
	--rt-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.rt-theme {
	margin: 0;
	font-family: var(--rt-font);
	color: var(--rt-ink);
	background: var(--rt-bg);
	font-size: 16px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--rt-blue);
	text-decoration: none;
}

a:hover,
a:focus {
	color: #0b3ecb;
	text-decoration: underline;
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text,
.skip-link {
	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;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	background: var(--rt-white);
	color: var(--rt-navy);
	display: block;
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 99999;
	border-radius: 10px;
	box-shadow: var(--rt-shadow);
}

.rt-container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.rt-narrow {
	width: min(860px, calc(100% - 32px));
}

.rt-site-header {
	background: rgba(7, 21, 47, 0.98);
	color: var(--rt-white);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 8px 30px rgba(7, 21, 47, 0.18);
}

.admin-bar .rt-site-header {
	top: 32px;
}

.rt-topbar {
	background: #030b1c;
	font-size: 13px;
	color: #b9c6dd;
}

.rt-topbar-inner,
.rt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.rt-topbar-inner {
	min-height: 34px;
}

.rt-header-inner {
	min-height: 76px;
}

.rt-brand,
.rt-brand a,
.rt-brand img {
	display: flex;
	align-items: center;
}

.rt-brand img {
	max-height: 48px;
	width: auto;
}

.rt-primary-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rt-primary-nav a {
	color: #d7e2f4;
	display: inline-flex;
	align-items: center;
	padding: 10px 13px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
}

.rt-primary-nav a:hover,
.rt-primary-nav a:focus,
.rt-primary-nav .current-menu-item > a,
.rt-primary-nav .current_page_item > a {
	background: rgba(255, 255, 255, 0.1);
	color: var(--rt-white);
	text-decoration: none;
}

.rt-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 9px 12px;
	cursor: pointer;
}

.rt-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	margin: 3px 0;
}

.rt-menu-toggle em {
	font-style: normal;
	font-size: 14px;
	font-weight: 700;
}

.rt-hero {
	background:
		radial-gradient(circle at top right, rgba(22, 199, 216, 0.2), transparent 32%),
		linear-gradient(135deg, var(--rt-navy) 0%, #102452 50%, #07152f 100%);
	color: var(--rt-white);
	padding: 68px 0 54px;
	overflow: hidden;
}

.rt-hero-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 40px;
	align-items: center;
}

.rt-eyebrow {
	margin: 0 0 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--rt-orange);
}

.rt-hero h1 {
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.02;
	margin: 0;
	letter-spacing: -0.055em;
	max-width: 760px;
}

.rt-hero-subtitle {
	font-size: clamp(17px, 2vw, 21px);
	color: #d4def0;
	margin: 22px 0 0;
	max-width: 650px;
}

.rt-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.rt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 19px;
	border-radius: 999px;
	font-weight: 800;
	border: 1px solid transparent;
}

.rt-button:hover,
.rt-button:focus {
	text-decoration: none;
}

.rt-button-primary {
	background: linear-gradient(135deg, var(--rt-orange), #ffb742);
	color: #111827;
	box-shadow: 0 10px 28px rgba(245, 158, 11, 0.24);
}

.rt-button-secondary {
	background: rgba(255, 255, 255, 0.08);
	color: var(--rt-white);
	border-color: rgba(255, 255, 255, 0.16);
}

.rt-trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.rt-trust-strip span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #e6edf7;
}

.rt-trust-strip span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rt-green);
}

.rt-hero-panel {
	position: relative;
	padding: 22px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 30px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.rt-hero-panel::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%);
	pointer-events: none;
}

.rt-mini-card {
	position: relative;
	padding: 18px;
	border-radius: 18px;
	background: rgba(3, 11, 28, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.09);
	margin-bottom: 14px;
}

.rt-mini-card:last-child {
	margin-bottom: 0;
}

.rt-mini-card-active {
	background: linear-gradient(135deg, rgba(22, 199, 216, 0.2), rgba(255, 255, 255, 0.08));
}

.rt-mini-card span {
	color: var(--rt-cyan);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.rt-mini-card strong {
	display: block;
	font-size: 20px;
	margin-top: 5px;
}

.rt-mini-card p {
	margin: 5px 0 0;
	color: #c8d4e7;
}

.rt-search-band {
	margin-top: -30px;
	position: relative;
	z-index: 3;
}

.rt-search-form {
	display: flex;
	gap: 10px;
	background: var(--rt-white);
	padding: 12px;
	border-radius: 20px;
	box-shadow: var(--rt-shadow);
	border: 1px solid var(--rt-line);
}

.rt-search-form input[type="search"] {
	flex: 1;
	border: 0;
	background: #f2f5fa;
	border-radius: 14px;
	padding: 13px 14px;
	min-width: 0;
	outline: none;
}

.rt-search-form input[type="search"]:focus {
	box-shadow: 0 0 0 3px rgba(22, 82, 240, 0.13);
}

.rt-search-form button {
	border: 0;
	background: var(--rt-navy);
	color: #fff;
	border-radius: 14px;
	padding: 0 18px;
	font-weight: 800;
	cursor: pointer;
}

.rt-section {
	padding: 70px 0;
}

.rt-section-muted {
	background: #eef3f8;
}

.rt-section-heading {
	margin-bottom: 28px;
}

.rt-section-heading h2,
.rt-page-header h1,
.rt-glossary-preview h2,
.rt-editorial-card h2,
.rt-related h2 {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin: 0;
	color: var(--rt-navy);
}

.rt-section-heading p:not(.rt-eyebrow) {
	margin: 10px auto 0;
	color: var(--rt-muted);
	max-width: 680px;
}

.rt-section-heading-centered {
	text-align: center;
}

.rt-path-grid,
.rt-card-grid {
	display: grid;
	gap: 22px;
}

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

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

.rt-path-card,
.rt-post-card,
.rt-editorial-card,
.rt-glossary-preview,
.rt-sidebar-card,
.rt-empty-state,
.rt-page-article,
.rt-single-article {
	background: var(--rt-card);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	box-shadow: var(--rt-shadow-soft);
}

.rt-path-card {
	padding: 26px;
	color: var(--rt-ink);
	min-height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rt-path-card:hover,
.rt-path-card:focus {
	transform: translateY(-4px);
	box-shadow: var(--rt-shadow);
	text-decoration: none;
	color: var(--rt-ink);
}

.rt-path-card span {
	width: 48px;
	height: 48px;
	border-radius: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	background: #e8f0ff;
	color: var(--rt-blue);
}

.rt-path-card h3 {
	font-size: 25px;
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 25px 0 10px;
	color: var(--rt-navy);
}

.rt-path-card p {
	margin: 0;
	color: var(--rt-muted);
}

.rt-post-card {
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rt-post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rt-shadow);
}

.rt-card-image,
.rt-card-image img,
.rt-card-image-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 1.68 / 1;
	object-fit: cover;
	background: linear-gradient(135deg, var(--rt-navy), var(--rt-blue));
}

.rt-card-image:hover,
.rt-card-image:focus {
	text-decoration: none;
}

.rt-card-image-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.rt-card-image-fallback span {
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 8px 12px;
	border-radius: 999px;
}

.rt-card-body {
	padding: 20px;
}

.rt-card-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 800;
	color: var(--rt-muted);
}

.rt-card-meta a {
	color: var(--rt-blue);
}

.rt-card-title {
	font-size: 21px;
	line-height: 1.22;
	margin: 10px 0;
	letter-spacing: -0.02em;
}

.rt-card-title a {
	color: var(--rt-navy);
}

.rt-card-title a:hover,
.rt-card-title a:focus {
	color: var(--rt-blue);
}

.rt-card-body p {
	color: var(--rt-muted);
	margin: 0 0 14px;
}

.rt-read-more {
	font-weight: 900;
}

.rt-two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.rt-editorial-card,
.rt-glossary-preview {
	padding: 28px;
}

.rt-check-list,
.rt-sidebar-card ul {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.rt-check-list li,
.rt-sidebar-card li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	color: var(--rt-muted);
}

.rt-check-list li::before,
.rt-sidebar-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--rt-green);
	font-weight: 900;
}

.rt-term-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.rt-term-list span {
	display: inline-flex;
	padding: 10px 13px;
	border-radius: 999px;
	background: #eef5ff;
	color: var(--rt-navy);
	font-weight: 800;
	font-size: 14px;
}

.rt-main {
	min-height: 60vh;
}

.rt-archive-main,
.rt-page-main,
.rt-single-main {
	padding: 46px 0 72px;
}

.rt-page-header {
	margin-bottom: 28px;
}

.rt-page-header p,
.rt-archive-description {
	color: var(--rt-muted);
	max-width: 760px;
}

.rt-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--rt-muted);
	margin-bottom: 24px;
}

.rt-breadcrumb a {
	color: var(--rt-muted);
}

.rt-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	align-items: start;
}

.rt-single-article,
.rt-page-article {
	padding: clamp(22px, 4vw, 44px);
}

.rt-single-header h1 {
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.06;
	letter-spacing: -0.05em;
	color: var(--rt-navy);
	margin: 12px 0 14px;
}

.rt-category-pill {
	display: inline-flex;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eef5ff;
	font-size: 13px;
	font-weight: 900;
}

.rt-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--rt-muted);
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 18px;
}

.rt-post-meta span {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f2f5fa;
}

.rt-short-answer,
.rt-disclaimer {
	border: 1px solid #d9e8ff;
	background: #f3f8ff;
	border-radius: 18px;
	padding: 18px;
	margin: 20px 0;
}

.rt-short-answer strong,
.rt-disclaimer strong {
	display: block;
	color: var(--rt-navy);
	margin-bottom: 5px;
}

.rt-short-answer p,
.rt-disclaimer p {
	margin: 0;
	color: #42526b;
}

.rt-featured-image {
	margin: 26px 0;
	border-radius: 22px;
	overflow: hidden;
}

.rt-featured-image img {
	display: block;
	width: 100%;
}

.rt-entry-content {
	font-size: 18px;
	color: #263247;
}

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

.rt-entry-content h2,
.rt-entry-content h3,
.rt-entry-content h4 {
	color: var(--rt-navy);
	letter-spacing: -0.025em;
	line-height: 1.18;
}

.rt-entry-content h2 {
	font-size: clamp(27px, 4vw, 36px);
	margin-top: 40px;
}

.rt-entry-content h3 {
	font-size: 25px;
	margin-top: 30px;
}

.rt-entry-content p,
.rt-entry-content ul,
.rt-entry-content ol {
	margin-bottom: 20px;
}

.rt-entry-content a {
	font-weight: 800;
}

.rt-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 26px 0;
	font-size: 16px;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--rt-line);
}

.rt-entry-content th,
.rt-entry-content td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--rt-line);
	text-align: left;
}

.rt-entry-content th {
	background: #eef5ff;
	color: var(--rt-navy);
}

.rt-entry-content blockquote {
	margin: 28px 0;
	padding: 20px;
	border-left: 4px solid var(--rt-orange);
	background: #fff8eb;
	border-radius: 0 16px 16px 0;
	color: #4b3a16;
}

.rt-entry-content .rt-glossary-box,
.rt-entry-content .glossary-box,
.rt-entry-content .quick-answer,
.rt-entry-content .common-mistakes {
	border-radius: 18px;
	padding: 18px;
	background: #f8fafc;
	border: 1px solid var(--rt-line);
}

.rt-entry-content .quick-answer {
	background: #eefbf7;
	border-color: #d4f4ea;
}

.rt-entry-content .common-mistakes {
	background: #fff7ed;
	border-color: #fed7aa;
}

.rt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 28px;
}

.rt-tags span {
	font-weight: 900;
	color: var(--rt-navy);
}

.rt-tags a {
	padding: 6px 10px;
	border-radius: 999px;
	background: #f2f5fa;
	font-size: 13px;
	font-weight: 800;
}

.rt-sidebar {
	position: sticky;
	top: 128px;
}

.rt-sidebar-card {
	padding: 20px;
	margin-bottom: 18px;
}

.rt-sidebar-card h2 {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 8px;
	color: var(--rt-navy);
}

.rt-sidebar-card p {
	color: var(--rt-muted);
	margin: 0;
}

.rt-sidebar-disclaimer {
	background: #fff8eb;
	border-color: #fde5b4;
}

.rt-related {
	padding-top: 44px;
}

.rt-empty-state {
	padding: 34px;
	text-align: center;
}

.rt-empty-state h2,
.rt-empty-state h3,
.rt-empty-state h1 {
	color: var(--rt-navy);
	margin-top: 0;
}

.rt-empty-state p {
	color: var(--rt-muted);
}

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

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

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--rt-line);
	font-weight: 900;
}

.page-numbers.current {
	background: var(--rt-navy);
	color: #fff;
}

.rt-site-footer {
	background: #030b1c;
	color: #d8e2f2;
	padding: 54px 0 24px;
}

.rt-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 34px;
}

.rt-footer-brand img {
	max-height: 48px;
}

.rt-site-footer h2 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
	margin: 0 0 14px;
}

.rt-site-footer p {
	color: #aebcd3;
	max-width: 430px;
}

.rt-site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rt-site-footer li {
	margin-bottom: 8px;
}

.rt-site-footer a {
	color: #d8e2f2;
	font-weight: 700;
}

.rt-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 36px;
	padding-top: 20px;
}

.rt-footer-bottom p {
	margin: 0;
	font-size: 14px;
}

@media (max-width: 980px) {
	.rt-menu-toggle {
		display: inline-flex;
	}

	.rt-primary-nav {
		position: absolute;
		left: 16px;
		right: 16px;
		top: 110px;
		display: none;
		background: #07152f;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 18px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
		padding: 12px;
	}

	.admin-bar .rt-primary-nav {
		top: 142px;
	}

	.rt-primary-nav.is-open {
		display: block;
	}

	.rt-primary-nav ul {
		display: block;
	}

	.rt-primary-nav a {
		display: flex;
		padding: 12px;
	}

	.rt-hero-grid,
	.rt-single-layout,
	.rt-two-column,
	.rt-footer-grid {
		grid-template-columns: 1fr;
	}

	.rt-sidebar {
		position: static;
	}

	.rt-card-grid-3,
	.rt-path-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.admin-bar .rt-site-header {
		top: 0;
	}

	.rt-container,
	.rt-narrow {
		width: min(100% - 24px, 1180px);
	}

	.rt-topbar-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
		padding: 8px 0;
	}

	.rt-header-inner {
		min-height: 70px;
	}

	.rt-brand img {
		max-height: 42px;
	}

	.rt-primary-nav {
		top: 112px;
	}

	.rt-hero {
		padding: 46px 0 48px;
	}

	.rt-hero-panel {
		padding: 14px;
	}

	.rt-search-form {
		flex-direction: column;
	}

	.rt-search-form button {
		min-height: 46px;
	}

	.rt-section {
		padding: 48px 0;
	}

	.rt-card-grid-3,
	.rt-path-grid {
		grid-template-columns: 1fr;
	}

	.rt-single-article,
	.rt-page-article {
		padding: 20px;
	}

	.rt-entry-content {
		font-size: 16.5px;
	}

	.rt-entry-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.rt-archive-main,
	.rt-page-main,
	.rt-single-main {
		padding: 30px 0 52px;
	}
}
