:root {
	--rt-ink: #17172d;
	--rt-muted: #5f6070;
	--rt-paper: #ffffff;
	--rt-soft: #f7f5fa;
	--rt-pink: #ef168c;
	--rt-cyan: #42d3cf;
	--rt-line: #e7e3ec;
	--rt-radius: 18px;
	--rt-shadow: 0 18px 50px rgba(23, 23, 45, 0.09);
}

/*
 * The parent theme forces .content_wrap to 280px on narrow screens. Managed
 * articles use a safe fluid gutter so text stays centered on every viewport.
 */
body.rt-editorial-managed .content_wrap,
body.rt-editorial-managed .content,
body.rt-editorial-managed .post_content,
body.rt-editorial-managed .post_content_entry {
	box-sizing: border-box;
}

body.rt-editorial-managed .post_content {
	color: var(--rt-ink);
	font-size: clamp(18px, 1.4vw, 21px);
	line-height: 1.78;
	overflow-wrap: anywhere;
}

body.rt-editorial-managed .post_content > *:not(.vc_row):not(.wpb-content-wrapper),
body.rt-editorial-managed .post_content .wpb_wrapper > * {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

body.rt-editorial-managed .post_content h2,
body.rt-editorial-managed .post_content h3 {
	color: var(--rt-ink);
	letter-spacing: -0.025em;
	scroll-margin-top: 110px;
}

body.rt-editorial-managed .post_content h2 {
	margin-top: clamp(52px, 7vw, 88px);
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.08;
}

body.rt-editorial-managed .post_content h3 {
	margin-top: 38px;
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.2;
}

body.rt-editorial-managed .post_content p,
body.rt-editorial-managed .post_content li {
	color: inherit;
}

body.rt-editorial-managed .post_content a:not(.rt-cta) {
	color: #ba006a;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

body.rt-editorial-managed .post_content a:focus-visible,
.rt-policy a:focus-visible,
.rt-authors-grid a:focus-visible,
.rt-cta:focus-visible,
.rt-faq summary:focus-visible {
	outline: 3px solid var(--rt-cyan);
	outline-offset: 4px;
}

.rt-article-intro,
.rt-panel,
.rt-toc,
.rt-glossary,
.rt-faq,
.rt-sources,
.rt-evidence,
.rt-byline-card,
.rt-policy,
.rt-authors-grid {
	box-sizing: border-box;
	max-width: 780px;
	margin: 36px auto;
}

.rt-article-intro {
	padding-top: 8px;
}

.rt-eyebrow,
.rt-person-role {
	margin: 0 0 10px;
	color: #b10066;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.rt-article-dek {
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.45;
}

.rt-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 18px;
	color: var(--rt-muted) !important;
	font-size: 15px;
}

.rt-panel {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 16px;
	padding: clamp(24px, 5vw, 38px);
	border: 1px solid var(--rt-line);
	border-left: 5px solid var(--rt-pink);
	border-radius: 0 var(--rt-radius) var(--rt-radius) 0;
	background: var(--rt-soft);
	box-shadow: var(--rt-shadow);
}

.rt-panel h2,
.rt-toc h2,
.rt-glossary > h2,
.rt-faq > h2,
.rt-sources > h2,
.rt-evidence > h2,
.rt-byline-card h2 {
	margin: 0 0 14px !important;
	font-size: clamp(22px, 3vw, 30px) !important;
	line-height: 1.2 !important;
}

.rt-panel p:last-child,
.rt-panel ul:last-child {
	margin-bottom: 0;
}

.rt-panel-icon {
	font-size: 28px;
	line-height: 1;
}

.rt-key-takeaways {
	border-left-color: var(--rt-cyan);
}

.rt-key-takeaways ul {
	margin: 0;
	padding-left: 1.2em;
}

.rt-toc {
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	background: var(--rt-paper);
}

.rt-toc ol {
	display: grid;
	gap: 9px;
	margin: 0;
	padding-left: 1.25em;
	font-size: 17px;
	line-height: 1.45;
}

.rt-toc .rt-toc-level-3 {
	margin-left: 18px;
	font-size: 0.94em;
}

.rt-glossary dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
}

.rt-glossary-item {
	padding: 20px;
	border: 1px solid var(--rt-line);
	border-radius: 14px;
	background: var(--rt-soft);
}

.rt-glossary dt {
	margin-bottom: 7px;
	font-weight: 800;
}

.rt-glossary dd {
	margin: 0;
	color: var(--rt-muted);
	font-size: 16px;
	line-height: 1.55;
}

.rt-faq-item {
	border-top: 1px solid var(--rt-line);
}

.rt-faq-item:last-child {
	border-bottom: 1px solid var(--rt-line);
}

.rt-faq summary {
	cursor: pointer;
	padding: 20px 42px 20px 0;
	font-weight: 800;
	line-height: 1.4;
}

.rt-faq-answer {
	padding: 0 0 22px;
	color: var(--rt-muted);
}

.rt-sources ol {
	padding-left: 1.35em;
}

.rt-sources li {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.5;
}

.rt-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--rt-line);
	border-radius: 14px;
}

.rt-evidence table {
	width: 100%;
	min-width: 720px;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
}

.rt-evidence th,
.rt-evidence td {
	padding: 13px 15px;
	border-bottom: 1px solid var(--rt-line);
	text-align: left;
	vertical-align: top;
}

.rt-evidence th {
	background: var(--rt-ink);
	color: #fff;
}

.rt-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 22px;
	border: 2px solid var(--rt-ink);
	border-radius: 999px;
	background: var(--rt-ink);
	color: #fff !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 160ms ease, background 160ms ease;
}

.rt-cta:hover {
	background: #2a2a4b;
	transform: translateY(-2px);
}

.rt-cta-spotify {
	border-color: #1ed760;
	background: #157b39;
}

.rt-cta-youtube {
	border-color: #ff0033;
	background: #c50028;
}

.rt-byline-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding: clamp(24px, 5vw, 38px);
	border-radius: var(--rt-radius);
	background: var(--rt-ink);
	color: #fff;
}

.rt-byline-card p,
.rt-byline-card a,
.rt-byline-card h2 {
	color: inherit !important;
}

.rt-byline-card .rt-person {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.rt-person {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	background: var(--rt-paper);
}

.rt-person h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.rt-person p {
	margin: 4px 0;
	font-size: 15px;
	line-height: 1.5;
}

.rt-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.rt-policy,
.rt-authors-grid {
	font-size: 18px;
	line-height: 1.75;
}

.rt-policy section {
	margin-top: 48px;
}

.rt-authors-grid {
	display: grid;
	gap: 20px;
}

@media (max-width: 767px) {
	body.rt-editorial-managed .content_wrap {
		width: calc(100% - 40px) !important;
		max-width: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	body.rt-editorial-managed .post_content {
		font-size: 18px;
		line-height: 1.72;
	}

	.rt-glossary dl,
	.rt-byline-card {
		grid-template-columns: 1fr;
	}

	.rt-panel {
		grid-template-columns: 32px minmax(0, 1fr);
		padding: 24px 20px;
	}

	.rt-person {
		grid-template-columns: 72px minmax(0, 1fr);
		padding: 20px;
	}

	.rt-avatar {
		width: 72px;
		height: 72px;
	}
}

@media (max-width: 479px) {
	body.rt-editorial-managed .content_wrap {
		width: calc(100% - 32px) !important;
	}

	body.rt-editorial-managed .post_content h2 {
		font-size: clamp(30px, 10vw, 42px);
	}

	.rt-article-intro,
	.rt-panel,
	.rt-toc,
	.rt-glossary,
	.rt-faq,
	.rt-sources,
	.rt-evidence,
	.rt-byline-card,
	.rt-policy,
	.rt-authors-grid {
		width: 100%;
	}

	.rt-person {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rt-cta {
		transition: none;
	}
}
