/* RateX Modern — built on the Blocksy palette so colour changes in the Customizer carry through. */
:root {
	--rx-green: var(--theme-palette-color-1, #1ea780);
	--rx-orange: var(--theme-palette-color-2, #d23e00);
	--rx-navy: var(--theme-palette-color-4, #192a3d);
	--rx-line: var(--theme-palette-color-5, #e1e8ed);
	--rx-soft: var(--theme-palette-color-6, #f2f5f7);
	--rx-bg: var(--theme-palette-color-7, #fafbfc);
	--rx-white: var(--theme-palette-color-8, #fff);
	--rx-green-deep: color-mix(in srgb, var(--rx-green) 78%, #000);
	--rx-green-bright: color-mix(in srgb, var(--rx-green) 70%, #fff);
	--rx-green-tint: color-mix(in srgb, var(--rx-green) 11%, transparent);
	--rx-muted: color-mix(in srgb, var(--rx-navy) 62%, transparent);
	--rx-radius: 18px;
	--rx-radius-sm: 12px;
	--rx-shadow: 0 1px 2px rgba(25, 42, 61, .04), 0 10px 28px -12px rgba(25, 42, 61, .16);
	--rx-shadow-lg: 0 2px 4px rgba(25, 42, 61, .04), 0 28px 50px -22px rgba(25, 42, 61, .3);
	--rx-ease: cubic-bezier(.2, .7, .2, 1);
	--rx-sticky-top: 100px;
}

/* ---------- Shared primitives ---------- */

.rx-home, .rxw { font-family: var(--theme-font-family); }

.rx-pill {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--rx-green-tint);
	color: var(--rx-green-deep);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .07em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s, color .25s;
}
.rx-pill:hover { background: var(--rx-green); color: #fff; }

.rx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: var(--rx-white);
	border: 1px solid color-mix(in srgb, var(--rx-green) 25%, transparent);
	color: var(--rx-green-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--rx-green) 45%, transparent);
}
.rx-kicker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rx-green);
	animation: rx-pulse 2.4s infinite;
}
.rx-kicker--light {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .16);
	color: var(--rx-green-bright);
	box-shadow: none;
	padding-left: 14px;
	margin-bottom: 14px;
}
@keyframes rx-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rx-green) 55%, transparent); }
	70% { box-shadow: 0 0 0 8px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}

.rx-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	color: var(--rx-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}
.rx-meta__author { display: inline-flex; align-items: center; gap: 8px; color: var(--rx-navy); font-weight: 600; }
.rx-meta__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.rx-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }

.rx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .25s var(--rx-ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.rx-btn svg { transition: transform .25s var(--rx-ease); }
.rx-btn:hover { transform: translateY(-2px); }
.rx-btn:hover svg { transform: translateX(3px); }
.rx-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.rx-btn--primary, .rx-btn--primary:visited { background: var(--rx-green); color: #fff; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--rx-green) 80%, transparent); }
.rx-btn--primary:hover { background: var(--rx-green-deep); color: #fff; }
.rx-btn--ghost, .rx-btn--ghost:visited { background: var(--rx-white); color: var(--rx-navy); border-color: var(--rx-line); }
.rx-btn--ghost:hover { border-color: var(--rx-green); color: var(--rx-green-deep); box-shadow: var(--rx-shadow); }
.rx-btn--light, .rx-btn--light:visited { background: #fff; color: var(--rx-green-deep); }
.rx-btn--light:hover { background: var(--rx-navy); color: #fff; }
.rx-btn--outline, .rx-btn--outline:visited { color: #fff; border-color: rgba(255, 255, 255, .55); }
.rx-btn--outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); }

.rx-more, .rx-more:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	color: var(--rx-green-deep);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.rx-more svg { transition: transform .25s var(--rx-ease); }
.rx-more:hover { color: var(--rx-green); }
.rx-more:hover svg { transform: translateX(4px); }

.rx-search {
	position: relative;
	display: flex;
	align-items: center;
	padding: 6px;
	border: 1px solid var(--rx-line);
	border-radius: 999px;
	background: var(--rx-white);
	box-shadow: var(--rx-shadow);
	transition: border-color .25s, box-shadow .25s;
}
.rx-search:focus-within { border-color: var(--rx-green); box-shadow: 0 0 0 4px var(--rx-green-tint), var(--rx-shadow); }
.rx-search__icon { flex: none; margin-left: 12px; color: var(--rx-muted); }
.rx-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 12px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--rx-navy);
	font-size: 15px;
	outline: 0;
}
.rx-search button {
	flex: none;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--rx-green);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .25s;
}
.rx-search button:hover { background: var(--rx-green-deep); }

/* ---------- Cards ---------- */

.rx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--rx-radius);
	background: var(--rx-white);
	transition: transform .4s var(--rx-ease), box-shadow .4s var(--rx-ease), border-color .3s, background-color .3s;
}
.rx-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--rx-soft); }
.rx-card__media .rx-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--rx-ease); }
.rx-img--placeholder { background: linear-gradient(135deg, var(--rx-green-tint), var(--rx-soft)); }
.rx-card:hover .rx-card__media .rx-img { transform: scale(1.06); }
.rx-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rx-card .rx-card__title {
	margin: 0;
	color: var(--rx-navy);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.015em;
}
.rx-card__title a, .rx-card__title a:visited {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size .4s var(--rx-ease);
}
.rx-card:hover .rx-card__title a { background-size: 100% 2px; color: inherit; }
.rx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rx-card__title a:focus-visible { outline: none; }
.rx-card:focus-within { outline: 2px solid var(--rx-green); outline-offset: 3px; }
.rx-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--rx-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Feature (hero) */
.rx-card--feature { justify-content: flex-end; min-height: 500px; background: var(--rx-navy); box-shadow: var(--rx-shadow-lg); }
.rx-card--feature .rx-card__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
.rx-card--feature .rx-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 22, 33, 0) 20%, rgba(13, 22, 33, .55) 52%, rgba(13, 22, 33, .94) 100%);
}
.rx-card--feature .rx-card__body { flex: none; gap: 14px; padding: clamp(24px, 3.2vw, 40px); }
.rx-card--feature .rx-card__title { color: #fff; font-size: clamp(25px, 2.7vw, 38px); line-height: 1.14; letter-spacing: -.025em; }
.rx-card--feature .rx-card__excerpt { max-width: 60ch; color: rgba(255, 255, 255, .82); font-size: 16px; }
.rx-card--feature .rx-meta, .rx-card--feature .rx-meta__author { color: rgba(255, 255, 255, .88); }
.rx-card--feature .rx-pill { background: var(--rx-green); color: #fff; }
.rx-card--feature .rx-pill:hover { background: #fff; color: var(--rx-green-deep); }
.rx-card--feature:hover { transform: translateY(-4px); }

/* Stack (hero side) */
.rx-card--stack {
	flex: 1;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 14px;
	border: 1px solid var(--rx-line);
}
.rx-card--stack .rx-card__media { flex: none; width: 118px; aspect-ratio: 1; border-radius: var(--rx-radius-sm); }
.rx-card--stack .rx-card__body { gap: 8px; }
.rx-card--stack .rx-card__title { font-size: 16.5px; line-height: 1.32; }
.rx-card--stack .rx-meta { font-size: 12.5px; }
.rx-card--stack:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--rx-green) 45%, transparent); box-shadow: var(--rx-shadow); }

/* Grid */
.rx-card--grid { border: 1px solid var(--rx-line); }
.rx-card--grid .rx-card__body { padding: 20px 22px 22px; }
.rx-card--grid .rx-card__body > .rx-pill, .rx-card--dark .rx-card__body > .rx-pill {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 4px 12px -4px rgba(13, 22, 33, .25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.rx-card--grid .rx-card__body > .rx-pill:hover, .rx-card--dark .rx-card__body > .rx-pill:hover { background: var(--rx-green); color: #fff; }
.rx-card--grid .rx-meta { margin-top: auto; padding-top: 6px; }
.rx-card--grid:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--rx-shadow-lg); }

/* Dark (band) */
.rx-card--dark { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.rx-card--dark .rx-card__media { aspect-ratio: 4 / 3; }
.rx-card--dark .rx-card__body { padding: 18px 20px 22px; }
.rx-card--dark .rx-card__title { color: #fff; font-size: 17px; }
.rx-card--dark .rx-meta { margin-top: auto; color: rgba(255, 255, 255, .6); }
.rx-card--dark:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .07); border-color: color-mix(in srgb, var(--rx-green) 55%, transparent); }

/* Compact (topic columns) */
.rx-card--compact { background: transparent; border-radius: 0; overflow: visible; }
.rx-card--compact .rx-card__media { border-radius: var(--rx-radius); }
.rx-card--compact .rx-card__body { padding-top: 16px; }
.rx-card--compact .rx-card__title { font-size: 19px; }

/* ---------- Homepage ---------- */

body.rx-home-page { background-color: var(--rx-bg); }

.rx-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(36px, 5vw, 68px) 0 clamp(36px, 4.5vw, 56px);
	border-bottom: 1px solid var(--rx-line);
	background:
		radial-gradient(900px 440px at 6% -12%, color-mix(in srgb, var(--rx-green) 17%, transparent), transparent 70%),
		radial-gradient(720px 400px at 104% 4%, color-mix(in srgb, var(--rx-orange) 9%, transparent), transparent 70%),
		var(--rx-white);
}
.rx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(color-mix(in srgb, var(--rx-navy) 13%, transparent) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 62%);
	mask-image: linear-gradient(180deg, #000, transparent 62%);
	pointer-events: none;
}
.rx-hero__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(28px, 4vw, 64px);
	margin-bottom: clamp(28px, 3.5vw, 44px);
}
.rx-home .rx-hero__title {
	margin: 20px 0 16px;
	color: var(--rx-navy);
	font-size: clamp(36px, 5.4vw, 68px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.04em;
}
.rx-grad {
	background: linear-gradient(95deg, var(--rx-green) 0%, var(--rx-green-deep) 60%, var(--rx-green) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rx-hero__lede { max-width: 54ch; margin: 0; color: var(--rx-muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.rx-hero__aside { padding-bottom: 6px; }
.rx-stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 24px 0 0; padding: 0 6px; }
.rx-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.rx-stats dd { margin: 0; color: var(--rx-navy); font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.rx-stats dt { color: var(--rx-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rx-stats div + div { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--rx-line); }

.rx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 22px; }
.rx-hero__stack { display: flex; flex-direction: column; gap: 14px; }

.rx-topics { position: relative; background: var(--rx-white); border-bottom: 1px solid var(--rx-line); }
.rx-topics__track {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
	mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.rx-topics__track::-webkit-scrollbar { display: none; }
.rx-topics__label { flex: none; margin-right: 6px; color: var(--rx-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rx-chip, .rx-chip:visited {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	padding: 7px 7px 7px 16px;
	border: 1px solid var(--rx-line);
	border-radius: 999px;
	background: var(--rx-white);
	color: var(--rx-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color .25s, background-color .25s, color .25s, transform .25s var(--rx-ease);
}
.rx-chip__count {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--rx-soft);
	color: var(--rx-muted);
	font-size: 12px;
	font-weight: 700;
	transition: background-color .25s, color .25s;
}
.rx-chip:hover { transform: translateY(-2px); border-color: var(--rx-green); background: var(--rx-green-tint); color: var(--rx-green-deep); }
.rx-chip:hover .rx-chip__count { background: var(--rx-green); color: #fff; }

.rx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(32px, 4vw, 56px);
}
.rx-section { margin-block: clamp(40px, 5vw, 64px); }
.rx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.rx-home .rx-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--rx-navy);
	font-size: clamp(25px, 2.5vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.03em;
}
.rx-home .rx-section-title::before { content: ""; flex: none; width: 6px; height: .95em; border-radius: 3px; background: var(--rx-green); }
.rx-section-sub { max-width: 52ch; margin: 10px 0 0; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.55; }

.rx-grid { display: grid; gap: 26px; }
.rx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.rx-loadmore { display: flex; justify-content: center; margin-top: 40px; }

.rx-sidebar { display: flex; flex-direction: column; gap: 26px; padding-block: clamp(40px, 5vw, 64px); }
.rx-sidebar > .ct-widget { margin: 0; }
.rx-sidebar > .ct-widget:last-child { position: sticky; top: var(--rx-sticky-top); }

.rx-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin-block: clamp(16px, 3vw, 32px);
	padding: clamp(52px, 6vw, 88px) 0;
	background: var(--rx-navy);
	color: #fff;
}
.rx-band::before, .rx-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.rx-band::before { width: 640px; height: 640px; top: -360px; left: -180px; background: radial-gradient(circle, color-mix(in srgb, var(--rx-green) 38%, transparent), transparent 65%); }
.rx-band::after { width: 520px; height: 520px; right: -200px; bottom: -300px; background: radial-gradient(circle, color-mix(in srgb, var(--rx-orange) 22%, transparent), transparent 65%); }
.rx-home .rx-section-head--light .rx-section-title { color: #fff; }
.rx-section-head--light .rx-more, .rx-section-head--light .rx-more:visited { color: var(--rx-green-bright); }
.rx-section-head--light .rx-more:hover { color: #fff; }

.rx-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px); }
.rx-col-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rx-line);
}
.rx-col-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 52px; height: 3px; border-radius: 2px; background: var(--rx-green); }
.rx-home .rx-col-head h2 { margin: 0; color: var(--rx-navy); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.rx-lines { margin: 18px 0 0; padding: 0; list-style: none; }
.rx-lines li { margin: 0; border-top: 1px dashed var(--rx-line); }
.rx-line, .rx-line:visited { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; color: var(--rx-navy); text-decoration: none; }
.rx-line__title { font-size: 15.5px; font-weight: 600; line-height: 1.38; transition: color .2s; }
.rx-line time { color: var(--rx-muted); font-size: 12.5px; }
.rx-line:hover .rx-line__title { color: var(--rx-green-deep); }

.rx-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 32px;
	margin-bottom: clamp(56px, 7vw, 96px);
	padding: clamp(32px, 5vw, 64px);
	overflow: hidden;
	isolation: isolate;
	border-radius: 28px;
	background: linear-gradient(125deg, var(--rx-green-deep) 0%, var(--rx-green) 55%, var(--rx-green-bright) 130%);
	box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--rx-green) 75%, transparent);
	color: #fff;
}
.rx-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -180px;
	right: -140px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, rgba(255, 255, 255, .14) 0 1px, transparent 1px 28px);
}
.rx-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -80px;
	bottom: -160px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 65%);
}
.rx-home .rx-cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.rx-cta p { max-width: 52ch; margin: 0; color: rgba(255, 255, 255, .88); font-size: 17px; line-height: 1.6; }
.rx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sidebar widgets (homepage + Blocksy sidebars) ---------- */

.rxw {
	padding: 22px;
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	background: var(--rx-white);
	box-shadow: 0 1px 2px rgba(25, 42, 61, .04);
}
.rxw--bare { padding: 0; border: 0; background: none; box-shadow: none; }
.rxw--bare .rx-search { box-shadow: 0 1px 2px rgba(25, 42, 61, .04); }
.rxw .rxw__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--rx-navy);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.rxw__title::before { content: ""; flex: none; width: 18px; height: 3px; border-radius: 2px; background: var(--rx-green); }
.rxw__title::after { content: ""; flex: 1; height: 1px; background: var(--rx-line); }
.rxw ul, .rxw ol { margin: 0; padding: 0; list-style: none; }
.rxw li { margin: 0; }

.rxw-about { padding: 0; overflow: hidden; }
.rxw-about__banner {
	position: relative;
	display: flex;
	align-items: center;
	height: 96px;
	padding: 0 22px;
	overflow: hidden;
	background: linear-gradient(125deg, var(--rx-green-deep), var(--rx-green) 60%, var(--rx-green-bright) 140%);
}
.rxw-about__banner::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, rgba(255, 255, 255, .16) 0 1px, transparent 1px 20px);
}
.rxw-about__logo { position: relative; z-index: 1; width: auto; height: 36px; }
.rxw-about__wordmark { position: relative; z-index: 1; color: #fff; font-size: 28px; font-weight: 800; }
.rxw-about__body { padding: 20px 22px 22px; }
.rxw .rxw-about__title { margin: 0 0 8px; color: var(--rx-navy); font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.rxw-about__body p { margin: 0 0 18px; color: var(--rx-muted); font-size: 15px; line-height: 1.6; }
.rxw-about__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.rxw-rank { counter-reset: none; }
.rxw-rank li + li { border-top: 1px solid var(--rx-soft); }
.rxw-rank a, .rxw-rank a:visited { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 12px; padding: 12px 0; text-decoration: none; }
.rxw-rank li:first-child a { padding-top: 4px; }
.rxw-rank li:last-child a { padding-bottom: 0; }
.rxw-rank__num {
	color: transparent;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	-webkit-text-stroke: 1.3px color-mix(in srgb, var(--rx-green) 75%, transparent);
	transition: color .25s;
}
.rxw-rank__title { display: block; color: var(--rx-navy); font-size: 15px; font-weight: 600; line-height: 1.38; transition: color .2s; }
.rxw-rank__meta { display: block; margin-top: 4px; color: var(--rx-muted); font-size: 12.5px; }
.rxw-rank a:hover .rxw-rank__num { color: var(--rx-green); }
.rxw-rank a:hover .rxw-rank__title { color: var(--rx-green-deep); }

.rxw-topics { display: flex; flex-direction: column; gap: 6px; }
.rxw-topics a, .rxw-topics a:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: var(--rx-radius-sm);
	background: var(--rx-bg);
	color: var(--rx-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .25s, color .25s, padding .25s var(--rx-ease);
}
.rxw-topics__count {
	display: inline-grid;
	place-items: center;
	min-width: 30px;
	height: 24px;
	padding: 0 8px;
	border: 1px solid var(--rx-line);
	border-radius: 999px;
	background: var(--rx-white);
	color: var(--rx-muted);
	font-size: 12px;
	font-weight: 700;
	transition: background-color .25s, color .25s, border-color .25s;
}
.rxw-topics a:hover { padding-left: 16px; background: var(--rx-green-tint); color: var(--rx-green-deep); }
.rxw-topics a:hover .rxw-topics__count { border-color: var(--rx-green); background: var(--rx-green); color: #fff; }

.rxw-list li + li { border-top: 1px solid var(--rx-soft); }
.rxw-list a, .rxw-list a:visited { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; }
.rxw-list li:first-child a { padding-top: 2px; }
.rxw-list li:last-child a { padding-bottom: 0; }
.rxw-list__thumb { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: var(--rx-radius-sm); background: var(--rx-soft); }
.rxw-list__thumb .rx-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--rx-ease); }
.rxw-list__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--rx-navy); font-size: 14.5px; font-weight: 600; line-height: 1.38; transition: color .2s; }
.rxw-list time { display: block; margin-top: 4px; color: var(--rx-muted); font-size: 12.5px; }
.rxw-list a:hover .rx-img { transform: scale(1.08); }
.rxw-list a:hover .rxw-list__title { color: var(--rx-green-deep); }

.rxw-cta { position: relative; overflow: hidden; isolation: isolate; padding: 26px; border: 0; background: var(--rx-navy); color: #fff; }
.rxw-cta::before { content: ""; position: absolute; z-index: -1; top: -110px; right: -110px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rx-green) 50%, transparent), transparent 68%); }
.rxw-cta__kicker { color: var(--rx-green-bright); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rxw .rxw-cta__title { margin: 8px 0 10px; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.rxw-cta p { margin: 0 0 20px; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.6; }

/* Blocksy sidebar spacing for these widgets */
.ct-sidebar .rxw-widget:not(:last-child) { margin-bottom: 26px; }
.ct-sidebar .ct-sticky-widgets .rxw-widget + .rxw-widget { margin-top: 26px; }

/* ---------- Single posts ---------- */

body.single-post { --rx-sticky-top: 96px; }
[data-prefix="single_blog_post"] [class*="ct-container"] > article[class*="post"] {
	--theme-boxed-content-border-radius: 22px;
	--theme-boxed-content-box-shadow: 0 1px 2px rgba(25, 42, 61, .04), 0 18px 44px -24px rgba(25, 42, 61, .22);
}
@media (min-width: 690px) {
	[data-prefix="single_blog_post"] [class*="ct-container"] > article[class*="post"] { border: 1px solid var(--rx-line); }
}
.single-post .entry-header .page-title { letter-spacing: -.025em; line-height: 1.18; }
.single-post .entry-header .entry-meta .meta-categories a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--rx-green-tint);
	color: var(--rx-green-deep);
	text-decoration: none;
}
.single-post .entry-header .entry-meta .meta-categories a:hover { background: var(--rx-green); color: #fff; }

.single-post .entry-content h2, .single-post .entry-content h3 { letter-spacing: -.02em; scroll-margin-top: 110px; }
.single-post .entry-content > h2.wp-block-heading { position: relative; padding-top: 14px; }
.single-post .entry-content > h2.wp-block-heading::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--rx-green); }
.single-post .entry-content li::marker { color: var(--rx-green); }
.single-post .entry-content figure.wp-block-image img, .single-post .entry-content > p img { border-radius: 14px; }
.single-post .entry-content blockquote:not(.twitter-tweet):not(.instagram-media) {
	margin-inline: 0;
	padding: 20px 24px;
	border-left: 4px solid var(--rx-green);
	border-radius: 0 14px 14px 0;
	background: var(--rx-green-tint);
	color: var(--rx-navy);
}
.single-post .entry-content .wp-block-table table {
	overflow: hidden;
	border: 1px solid var(--rx-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	font-size: .88em;
}
.single-post .entry-content .wp-block-table th,
.single-post .entry-content .wp-block-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--rx-line); }
.single-post .entry-content .wp-block-table tr:last-child td { border-bottom: 0; }
.single-post .entry-content .wp-block-table thead th, .single-post .entry-content .wp-block-table tr:first-child th { background: var(--rx-navy); color: #fff; text-align: left; }
.single-post .entry-content .wp-block-table tbody tr:nth-child(even) td { background: var(--rx-bg); }

.single-post .ct-share-box[data-type="type-2"] a { border-radius: 10px; transition: transform .25s var(--rx-ease), filter .25s; }
.single-post .ct-share-box[data-type="type-2"] a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.single-post .entry-tags-items a { border-radius: 999px !important; transition: background-color .25s, color .25s, border-color .25s; }
.single-post .entry-tags-items a:hover { border-color: var(--rx-green) !important; background: var(--rx-green-tint); color: var(--rx-green-deep); }
.single-post .author-box[data-type="type-1"] { border: 1px solid var(--rx-line); border-radius: 20px; }
.single-post .ct-related-posts .ct-media-container { overflow: hidden; border-radius: 14px; }
.single-post .ct-related-posts .ct-media-container img { transition: transform .6s var(--rx-ease); }
.single-post .ct-related-posts article:hover .ct-media-container img { transform: scale(1.06); }

.rx-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--rx-green), var(--rx-green-bright) 65%, var(--rx-orange));
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}
.admin-bar .rx-progress { top: 32px; }

/* ---------- Blog archive pages (/page/2+) ---------- */

.blog .entries .entry-card .ct-media-container { overflow: hidden; border-radius: 14px; }
.blog .entries .entry-card .ct-media-container img { transition: transform .6s var(--rx-ease); }
.blog .entries .entry-card:hover .ct-media-container img { transform: scale(1.05); }

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
	.rx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rx-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rx-columns > .rx-col:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 999px) {
	.rx-hero__intro { grid-template-columns: 1fr; align-items: start; }
	.rx-hero__grid { grid-template-columns: 1fr; }
	.rx-card--feature { min-height: 420px; }
	.rx-layout { grid-template-columns: 1fr; gap: 0; }
	.rx-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding-top: 0; }
	.rx-sidebar > .ct-widget:last-child { position: static; }
	.rx-cta { grid-template-columns: 1fr; }
}

@media (min-width: 1000px) {
	.rx-topics__track { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; }
}

@media (max-width: 689px) {
	.rx-grid--2, .rx-columns, .rx-sidebar { grid-template-columns: 1fr; }
	.rx-columns > .rx-col:nth-child(3) { grid-column: auto; }
	.rx-grid--4 {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		margin-inline: calc(var(--rx-bleed, 5vw) * -1);
		padding: 4px var(--rx-bleed, 5vw) 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--rx-bleed, 5vw);
		scrollbar-width: none;
	}
	.rx-grid--4::-webkit-scrollbar { display: none; }
	.rx-grid--4 > * { scroll-snap-align: start; }
	.rx-card--feature { min-height: 380px; }
	.rx-card--feature .rx-card__excerpt { display: none; }
	.rx-card--feature .rx-meta, .rx-card--grid .rx-meta { gap: 6px 8px; font-size: 12px; }
	.rx-card--feature .rx-meta__avatar, .rx-card--grid .rx-meta__avatar { width: 22px; height: 22px; }
	.rx-card--stack { padding: 10px; gap: 14px; }
	.rx-card--stack .rx-card__media { width: 92px; }
	.rx-card--stack .rx-card__title { font-size: 15.5px; }
	.rx-card--stack:hover { transform: none; }
	.rx-section-head { flex-wrap: wrap; align-items: flex-start; }
	.rx-stats { justify-content: space-between; }
	.rx-stats dd { font-size: 24px; }
	.rx-search button { padding: 0 16px; }
	.rx-cta { border-radius: 22px; }
	.rx-cta__actions .rx-btn { flex: 1; }
	.single-post .entry-content .wp-block-table { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.rx-home *, .rxw *, .rx-progress { transition: none !important; animation: none !important; }
}
