/* RecipeDiffusion page sections built from ordinary WordPress blocks. Each section is a Group block with the class
   rd-section (Advanced > Additional CSS class), so the words, links and lists inside stay editable in the editor. */

.rd-section {
	--rd-purple: #7622a9;
	--rd-magenta: #c02684;
	--rd-orange: #ed7a2c;
	--rd-ink: #1b1530;
	--rd-text: #48425c;
	--rd-muted: #6e6886;
	--rd-line: #ece4f0;
	--rd-soft: #fbf7fc;
	--rd-grad: linear-gradient(120deg, #7622a9 0%, #c02684 55%, #ed7a2c 100%);
	position: relative;
	box-sizing: border-box;
	padding: 96px 24px;
	background: #fff;
	color: var(--rd-text);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	overflow: hidden;
}

/* Twenty Twenty-Five sets text to a light weight; sections use the regular weight and a true bold. */
.rd-section strong,
.rd-section b,
.rd-section th {
	font-weight: 700;
}

.wp-block-post-content > .rd-section,
.rd-section.alignfull {
	max-width: none;
	margin: 0 !important;
}

.rd-section *,
.rd-section *::before,
.rd-section *::after {
	box-sizing: border-box;
}

.rd-section.rd-soft {
	background: var(--rd-soft);
}

.rd-section > .rd-wrap {
	max-width: 1132px;
	margin: 0 auto;
}

/* Text */
.rd-section h1,
.rd-section h2,
.rd-section h3,
.rd-section p,
.rd-section ul,
.rd-section ol,
.rd-section figure {
	margin: 0;
}

.rd-section h1,
.rd-section h2,
.rd-section h3 {
	color: var(--rd-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.rd-section h1 {
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.rd-section h2 {
	font-size: clamp(30px, 4vw, 44px);
}

.rd-section h3 {
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* Text colored with the editor's Highlight tool inside a big heading shows the brand gradient. */
.rd-section h1 mark.has-inline-color,
.rd-section h2 mark.has-inline-color {
	background-image: var(--rd-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.rd-section a {
	color: var(--rd-magenta);
	text-decoration: none;
}

.rd-section a:hover {
	color: var(--rd-purple);
}

.rd-section .rd-eyebrow {
	margin-bottom: 14px;
	color: var(--rd-magenta);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rd-section .rd-lead {
	max-width: 640px;
	color: var(--rd-text);
	font-size: clamp(17px, 1.5vw, 19px);
}

.rd-section .rd-meta {
	margin-top: 18px;
	color: var(--rd-muted);
	font-size: 14px;
}

.rd-section .rd-link a {
	font-weight: 700;
}

/* Centred section heading: eyebrow, title and lead */
.rd-section .rd-head {
	max-width: 740px;
	margin: 0 auto 56px;
	text-align: center;
}

.rd-section .rd-head .rd-lead {
	margin: 16px auto 0;
}

/* Buttons: pick Gradient, Outline or White in the button's Styles panel */
.rd-section .wp-block-buttons {
	gap: 12px;
}

.wp-block-button.is-style-rd-gradient .wp-block-button__link,
.wp-block-button.is-style-rd-outline .wp-block-button__link,
.wp-block-button.is-style-rd-white .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wp-block-button.is-style-rd-gradient .wp-block-button__link {
	background: linear-gradient(120deg, #7622a9 0%, #c02684 55%, #ed7a2c 100%);
	color: #fff;
	border: 0;
	box-shadow: 0 12px 26px -12px rgba(192, 38, 132, 0.75);
}

.wp-block-button.is-style-rd-outline .wp-block-button__link {
	background: #fff;
	color: #1b1530;
	border: 1.5px solid #ddd3e3;
}

.wp-block-button.is-style-rd-outline .wp-block-button__link:hover {
	color: #c02684;
	border-color: #c02684;
}

.wp-block-button.is-style-rd-white .wp-block-button__link {
	background: #fff;
	color: #c02684;
	border: 0;
	box-shadow: 0 14px 28px -14px rgba(27, 21, 48, 0.5);
}

.wp-block-button.is-style-rd-gradient .wp-block-button__link:hover,
.wp-block-button.is-style-rd-white .wp-block-button__link:hover {
	transform: translateY(-2px);
}

.wp-block-button.is-style-rd-gradient .wp-block-button__link:hover {
	color: #fff;
}

/* Hero: two columns, text and a gradient-edged card */
.rd-section.rd-hero {
	padding-bottom: 88px;
	background: radial-gradient(900px 420px at 90% -10%, rgba(237, 122, 44, 0.13), transparent 62%), radial-gradient(800px 440px at 0% 0%, rgba(118, 34, 169, 0.1), transparent 62%), #fff;
}

.rd-section .rd-hero-columns {
	gap: 64px;
	align-items: center;
	margin: 0;
}

.rd-section.rd-hero h1 {
	margin-bottom: 20px;
}

.rd-section.rd-hero .rd-lead {
	margin-bottom: 30px;
}

.rd-section .rd-card-grad {
	padding: 34px 32px;
	border-radius: 24px;
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, var(--rd-grad) border-box;
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
}

.rd-section .rd-card-grad h2 {
	margin-bottom: 16px;
	font-size: 22px;
}

.rd-section .rd-card-grad .rd-link {
	margin-top: 22px;
}

/* Check-mark list */
.rd-section ul.rd-checks {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-checks li {
	position: relative;
	margin: 0;
	padding-left: 30px;
	color: var(--rd-ink);
	font-size: 16px;
	line-height: 1.5;
}

.rd-section ul.rd-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	background: var(--rd-magenta);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tables: first column bold; "rd-table-rec" tints the last column */
.rd-section .rd-subhead {
	margin: 56px 0 8px;
	font-size: 22px;
}

.rd-section .rd-sub {
	margin-bottom: 18px;
	font-size: 16px;
}

.rd-section .wp-block-table.rd-table {
	margin: 0;
	border-radius: 20px;
	border: 1px solid var(--rd-line);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 60px -48px rgba(27, 21, 48, 0.5);
}

.rd-section .rd-table table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.rd-section .rd-table th,
.rd-section .rd-table td {
	padding: 16px 22px;
	border: 0;
	border-top: 1px solid var(--rd-line);
	color: var(--rd-text);
	text-align: left;
	vertical-align: top;
}

.rd-section .rd-table thead {
	border: 0;
}

.rd-section .rd-table thead th {
	border-top: 0;
	background: #f8f4fa;
	color: var(--rd-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rd-section .rd-table tbody td:first-child {
	width: 26%;
	color: var(--rd-ink);
	font-weight: 700;
}

.rd-section .rd-table.rd-table-rec tbody td:last-child {
	background: #fcf4fa;
	color: var(--rd-ink);
}

/* Colored labels in tables come from the editor's Highlight tool; this makes them pills. */
.rd-section .rd-table mark.has-inline-color {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

/* Three small note cards */
.rd-section ul.rd-notes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-notes li {
	margin: 0;
	padding: 20px 22px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--rd-line);
	font-size: 15px;
	line-height: 1.55;
}

.rd-section ul.rd-notes strong {
	display: block;
	margin-bottom: 4px;
	color: var(--rd-ink);
	font-size: 16px;
}

/* Numbered step cards: a numbered list, each item starting with its title in bold */
.rd-section ol.rd-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
	counter-reset: rdstep;
}

.rd-section ol.rd-steps li {
	position: relative;
	margin: 0;
	padding: 68px 24px 26px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 18px 40px -32px rgba(27, 21, 48, 0.35);
	font-size: 15px;
	line-height: 1.6;
	counter-increment: rdstep;
}

.rd-section ol.rd-steps li::before {
	content: counter(rdstep);
	position: absolute;
	left: 24px;
	top: 22px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--rd-grad);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

.rd-section ol.rd-steps strong,
.rd-section ul.rd-icon-cards strong {
	display: block;
	margin-bottom: 8px;
	color: var(--rd-ink);
	font-size: 18px;
	line-height: 1.3;
}

/* Cards with a gradient icon tile: a list, each item starting with its title in bold. Icons follow the item order. */
.rd-section ul.rd-icon-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-icon-cards li {
	position: relative;
	margin: 0;
	padding: 26px 24px 26px 90px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	font-size: 15px;
	line-height: 1.6;
	min-height: 100px;
}

.rd-section ul.rd-icon-cards li::before,
.rd-section ul.rd-icon-cards li::after {
	content: "";
	position: absolute;
	left: 24px;
	top: 26px;
	width: 48px;
	height: 48px;
}

.rd-section ul.rd-icon-cards li::before {
	border-radius: 14px;
	background: var(--rd-grad);
}

.rd-section ul.rd-icon-cards li::after {
	background: #fff;
	-webkit-mask: var(--rd-icon) center / 26px 26px no-repeat;
	mask: var(--rd-icon) center / 26px 26px no-repeat;
}

.rd-section ul.rd-icon-cards li:nth-child(4n + 1) {
	--rd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
}

.rd-section ul.rd-icon-cards li:nth-child(4n + 2) {
	--rd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5l8 4.5 8-4.5M12 12v9'/%3E%3C/svg%3E");
}

.rd-section ul.rd-icon-cards li:nth-child(4n + 3) {
	--rd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M9 13l6 6M15 13l-6 6'/%3E%3C/svg%3E");
}

.rd-section ul.rd-icon-cards li:nth-child(4n + 4) {
	--rd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* Two link cards side by side */
.rd-section .rd-link-cards {
	gap: 18px;
	max-width: 980px;
	margin: 0 auto 48px;
}

.rd-section .rd-link-card {
	flex: 1 1 0;
	padding: 26px 26px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.rd-section .rd-link-card:hover {
	border-color: var(--rd-magenta);
	transform: translateY(-2px);
}

.rd-section .rd-link-card h3 {
	margin-bottom: 6px;
}

.rd-section .rd-link-card h3 a {
	color: var(--rd-ink);
}

.rd-section .rd-link-card h3 a::after {
	content: " \2192";
	color: var(--rd-magenta);
}

.rd-section .rd-link-card p {
	font-size: 15px;
	line-height: 1.55;
}

/* Gradient call-to-action box */
.rd-section .rd-cta-box {
	position: relative;
	padding: 64px 48px;
	border-radius: 30px;
	background: var(--rd-grad);
	text-align: center;
	overflow: hidden;
}

.rd-section .rd-cta-box::before,
.rd-section .rd-cta-box::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	pointer-events: none;
}

.rd-section .rd-cta-box::before {
	width: 340px;
	height: 340px;
	right: -90px;
	top: -140px;
}

.rd-section .rd-cta-box::after {
	width: 240px;
	height: 240px;
	left: -80px;
	bottom: -120px;
}

.rd-section .rd-cta-box > * {
	position: relative;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

.rd-section .rd-cta-box h2 {
	color: #fff;
	margin-bottom: 14px;
}

.rd-section .rd-cta-box p {
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(17px, 1.5vw, 19px);
	margin-bottom: 30px;
}

.rd-section .rd-cta-box .wp-block-buttons {
	justify-content: center;
}

/* Narrower screens */
@media (max-width: 1000px) {
	.rd-section ol.rd-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.rd-section ul.rd-notes {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

@media (max-width: 781px) {
	.rd-section .rd-hero-columns {
		gap: 44px;
	}

	.rd-section ul.rd-icon-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.rd-section .rd-link-cards {
		gap: 12px;
		margin-bottom: 36px;
	}

	.rd-section .wp-block-table.rd-table {
		overflow-x: auto;
	}
}

@media (max-width: 600px) {
	.rd-section {
		padding: 64px 16px;
		font-size: 16px;
	}

	.rd-section.rd-hero {
		padding: 56px 16px 64px;
	}

	.rd-section .rd-head {
		margin-bottom: 36px;
	}

	.rd-section .rd-card-grad {
		padding: 28px 22px;
	}

	.rd-section ol.rd-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.rd-section ol.rd-steps li {
		padding: 22px 20px 22px 70px;
	}

	.rd-section ol.rd-steps li::before {
		left: 20px;
	}

	.rd-section ul.rd-icon-cards li {
		padding: 20px 18px 20px 76px;
	}

	.rd-section ul.rd-icon-cards li::before,
	.rd-section ul.rd-icon-cards li::after {
		left: 18px;
		top: 20px;
		width: 42px;
		height: 42px;
	}

	.rd-section .rd-cta-box {
		padding: 48px 22px;
		border-radius: 24px;
	}

	.rd-section .wp-block-buttons .wp-block-button {
		width: 100%;
	}

	.rd-section .wp-block-buttons .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}
}

/* ------------------------------------------------------------------------------------------------------------------
   Theme 1.1.3: the rest of the site's pages (see docs/website/<page>/editable-blocks.html).
   ------------------------------------------------------------------------------------------------------------------ */

.rd-section {
	--rd-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* WordPress forces columns to stretch, so choosing another alignment needs !important. */
.rd-section .rd-hero-columns {
	align-items: center !important;
}

/* Buttons in one row share a width and their labels never wrap. */
.rd-section .wp-block-buttons {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	width: fit-content;
	max-width: 100%;
}

.rd-section .wp-block-buttons .wp-block-button {
	margin: 0;
}

.rd-section .wp-block-buttons .wp-block-button__link {
	width: 100%;
	justify-content: center;
	white-space: nowrap;
}

/* A fourth button look, for the gradient box: Line */
.wp-block-button.is-style-rd-line .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wp-block-button.is-style-rd-line .wp-block-button__link:hover {
	color: #fff;
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* Spacing inside text columns */
.rd-section .rd-split > .wp-block-column > * + *,
.rd-section .rd-faq-grid > .wp-block-column > * + *,
.rd-section .rd-card > * + * {
	margin-top: 18px;
}

.rd-section .rd-split > .wp-block-column > .rd-eyebrow + *,
.rd-section .rd-faq-grid > .wp-block-column > .rd-eyebrow + * {
	margin-top: 0;
}

.rd-section .rd-more {
	margin-top: 40px;
	text-align: center;
}

.rd-section.rd-tight-top {
	padding-top: 24px;
}

.rd-section .rd-foot {
	margin-top: 22px;
	color: var(--rd-muted);
	font-size: 15px;
	text-align: center;
}

.rd-section .rd-cta-box .rd-small {
	margin: 20px auto 0;
	font-size: 15px;
}

.rd-section .rd-cta-box .rd-small a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Centered page hero */
.rd-section.rd-hero.rd-hero-center {
	padding-bottom: 72px;
}

.rd-section.rd-hero-center .rd-head {
	margin-bottom: 0;
}

.rd-section.rd-hero-center .rd-head h1 {
	margin-bottom: 18px;
}

.rd-section.rd-hero .rd-head .rd-lead {
	margin: 0 auto;
}

/* Small check marks in a row */
.rd-section ul.rd-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.rd-section .rd-head ul.rd-ticks,
.rd-section .rd-head ul.rd-pills {
	justify-content: center;
}

.rd-section ul.rd-ticks li {
	position: relative;
	margin: 0;
	padding-left: 24px;
	color: var(--rd-muted);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.rd-section ul.rd-ticks li::before,
.rd-section .rd-note::before,
.rd-section .rd-trial::before {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--rd-magenta);
	-webkit-mask: var(--rd-check) center / contain no-repeat;
	mask: var(--rd-check) center / contain no-repeat;
}

.rd-section ul.rd-ticks li::before {
	position: absolute;
	left: 0;
	top: 4px;
}

.rd-section .rd-note,
.rd-section .rd-trial {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 1px #f0d7e8;
	color: var(--rd-magenta);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.rd-section .rd-note {
	margin-top: 22px;
}

.rd-section .rd-note::before,
.rd-section .rd-trial::before {
	flex: none;
}

/* Pills and jump links */
.rd-section ul.rd-pills,
.rd-section ul.rd-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-pills {
	margin-top: 24px;
}

.rd-section ul.rd-pills li {
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f1e6fa;
	color: var(--rd-purple);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.rd-section ul.rd-jump {
	justify-content: center;
	max-width: 900px;
	margin: 36px auto 0;
}

.rd-section ul.rd-jump li {
	margin: 0;
}

.rd-section ul.rd-jump a {
	display: block;
	padding: 9px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid #ddd3e3;
	color: var(--rd-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.rd-section ul.rd-jump a:hover {
	border-color: var(--rd-magenta);
	color: var(--rd-magenta);
}

/* Cards: a list, each item starting with its title in bold. rd-cards-2, -3 or -4 sets how many fit in a row. */
.rd-section ul.rd-cards {
	display: grid;
	gap: 20px;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-cards-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rd-section ul.rd-cards-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-section ul.rd-cards-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rd-section ul.rd-cards li {
	margin: 0;
	padding: 28px 26px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 18px 40px -32px rgba(27, 21, 48, 0.35);
	font-size: 15px;
	line-height: 1.6;
}

.rd-section ul.rd-cards li::before {
	content: "";
	display: block;
	width: 36px;
	height: 4px;
	margin-bottom: 18px;
	border-radius: 2px;
	background: var(--rd-grad);
}

.rd-section ul.rd-cards strong {
	display: block;
	margin-bottom: 8px;
	color: var(--rd-ink);
	font-size: 18px;
	line-height: 1.3;
}

.rd-section ul.rd-cards em {
	display: block;
	margin-top: 10px;
	color: var(--rd-magenta);
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
}

/* Text beside a picture; rd-flip swaps the sides on wide screens, rd-split-top lines the tops up. */
.rd-section .rd-split {
	gap: 72px;
	align-items: center !important;
	margin: 0;
}

.rd-section .rd-split.rd-split-top {
	align-items: flex-start !important;
}

.rd-section ul.rd-checks-long li {
	color: var(--rd-text);
	font-size: 15px;
	line-height: 1.6;
}

.rd-section ul.rd-checks-long strong {
	color: var(--rd-ink);
}

/* A screenshot in a window frame */
.rd-section .rd-shot {
	position: relative;
	padding-top: 34px;
	border-radius: 16px;
	border: 1px solid var(--rd-line);
	background: #f8f4fa;
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
	overflow: hidden;
}

.rd-section .rd-shot::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 12px;
	width: 44px;
	height: 10px;
	background: radial-gradient(circle at 5px 5px, #d9cfe0 4px, transparent 4.5px) 0 0 / 16px 10px repeat-x;
}

.rd-section .rd-shot img,
.rd-section .rd-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.rd-section .rd-shot-wrap {
	position: relative;
}

.rd-section .rd-chip {
	position: absolute;
	left: -18px;
	bottom: -22px;
	max-width: 300px;
	padding: 14px 18px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 24px 44px -24px rgba(27, 21, 48, 0.45);
	color: var(--rd-muted);
	font-size: 13px;
	line-height: 1.45;
}

.rd-section .rd-chip strong {
	display: block;
	color: var(--rd-ink);
	font-size: 15px;
}

/* Numbered lists, one under the other */
.rd-section ol.rd-steps-v,
.rd-section ol.rd-num-list {
	display: grid;
	gap: 16px;
	padding: 0;
	list-style: none;
	counter-reset: rdnum;
}

.rd-section ol.rd-steps-v li,
.rd-section ol.rd-num-list li {
	position: relative;
	margin: 0;
	padding-left: 46px;
	font-size: 16px;
	line-height: 1.55;
	counter-increment: rdnum;
}

.rd-section ol.rd-steps-v li::before,
.rd-section ol.rd-num-list li::before {
	content: counter(rdnum);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--rd-grad);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.rd-section ol.rd-steps-v strong {
	display: block;
	color: var(--rd-ink);
	font-size: 18px;
}

.rd-section ol.rd-num-list strong {
	color: var(--rd-ink);
}

.rd-section .rd-also {
	padding: 22px 24px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--rd-line);
}

.rd-section .rd-also-title {
	margin-bottom: 12px;
	color: var(--rd-ink);
	font-weight: 700;
}

.rd-section .rd-also ul.rd-checks li {
	font-size: 15px;
}

/* A recipe shown as a card */
.rd-section .rd-recipe-card {
	padding: 28px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
}

.rd-section .rd-recipe-card > h3 {
	font-size: 22px;
}

.rd-section .rd-recipe-card > h3 + p {
	margin-top: 10px;
	font-size: 15px;
}

.rd-section .rd-recipe-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.rd-section .rd-recipe-top h3 {
	font-size: 22px;
}

.rd-section .rd-recipe-label {
	color: var(--rd-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.rd-section .rd-tag {
	flex: none;
	padding: 3px 12px;
	border-radius: 999px;
	background: #f1e6fa;
	color: var(--rd-purple);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.rd-section .wp-block-table.rd-table.rd-table-kv {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
}

.rd-section .rd-table-kv th,
.rd-section .rd-table-kv td {
	padding: 10px 0;
	font-size: 14px;
}

.rd-section .rd-table-kv tr:first-child td {
	border-top: 0;
}

.rd-section .rd-table-kv tbody td:first-child {
	width: 24%;
	padding-right: 12px;
	color: var(--rd-muted);
	font-weight: 600;
}

.rd-section .rd-table-kv mark.has-inline-color {
	margin: 0 2px 4px 0;
	padding: 1px 10px;
	font-size: 13px;
}

.rd-section code {
	padding: 1px 6px;
	border-radius: 6px;
	background: #f8f4fa;
	color: var(--rd-magenta);
	font-size: 0.92em;
}

.rd-section .rd-fake-btn {
	margin-top: 16px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--rd-grad);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

/* Picture grids */
.rd-section .rd-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rd-section .rd-four {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.rd-section .rd-masonry {
	columns: 3;
	column-gap: 20px;
}

.rd-section .rd-pairs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rd-section .rd-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rd-section .rd-tiles .wp-block-image,
.rd-section .rd-four .wp-block-image,
.rd-section .rd-masonry .wp-block-image {
	display: block;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--rd-line);
	overflow: hidden;
}

.rd-section .rd-masonry .wp-block-image {
	margin: 0 0 20px;
	break-inside: avoid;
}

.rd-section .rd-tiles img,
.rd-section .rd-four img,
.rd-section .rd-masonry img,
.rd-section .rd-two img {
	display: block;
	width: 100%;
	height: auto;
}

.rd-section .rd-tiles img,
.rd-section .rd-four img,
.rd-section .rd-two img {
	aspect-ratio: 1;
	object-fit: cover;
}

.rd-section .rd-tiles figcaption,
.rd-section .rd-four figcaption,
.rd-section .rd-masonry figcaption,
.rd-section .rd-two figcaption {
	margin: 0;
	padding: 12px 16px;
	color: var(--rd-text);
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
}

.rd-section .rd-tiles figcaption strong {
	display: block;
	color: var(--rd-magenta);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rd-section .rd-masonry figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 12px;
	color: var(--rd-muted);
	font-size: 14px;
}

.rd-section .rd-masonry figcaption strong {
	color: var(--rd-ink);
	font-size: 15px;
}

.rd-section .rd-two figcaption {
	padding: 8px 2px 0;
	color: var(--rd-muted);
	font-size: 13px;
	font-weight: 700;
}

.rd-section .rd-two .wp-block-image:last-child figcaption {
	color: var(--rd-magenta);
}

.rd-section .rd-two img {
	border-radius: 12px;
}

.rd-section .rd-pair {
	padding: 16px 16px 22px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
}

.rd-section .rd-pair h3 {
	margin-top: 14px;
	margin-bottom: 6px;
}

.rd-section .rd-pair p {
	font-size: 15px;
	line-height: 1.55;
}

/* Dark section */
.rd-section.rd-dark {
	background: radial-gradient(700px 420px at 100% 0%, rgba(192, 38, 132, 0.32), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(118, 34, 169, 0.35), transparent 65%), #17112a;
	color: #cfc8de;
}

.rd-section.rd-dark .rd-head h2,
.rd-section.rd-dark .wp-block-column > h2,
.rd-section.rd-dark .rd-subhead {
	color: #fff;
}

.rd-section.rd-dark .rd-eyebrow {
	color: #f49ac9;
}

.rd-section.rd-dark .rd-lead {
	color: #cfc8de;
}

.rd-section.rd-dark .rd-link a {
	color: #fff;
}

.rd-section.rd-dark ul.rd-cards li {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.rd-section.rd-dark ul.rd-cards li::before {
	background: linear-gradient(120deg, #f49ac9, #ed7a2c);
}

.rd-section.rd-dark ul.rd-cards strong {
	color: #fff;
}

/* Price card with a gradient edge */
.rd-section .rd-price-card {
	gap: 0;
	max-width: 960px;
	margin: 0 auto;
	padding: 2px;
	border-radius: 26px;
	background: var(--rd-grad);
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
}

.rd-section .rd-price-left,
.rd-section .rd-price-right {
	padding: 44px 42px;
}

.rd-section .rd-price-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	border-radius: 24px 0 0 24px;
	background: linear-gradient(160deg, #fcf4fa, #fff6ef);
}

.rd-section .rd-price-right {
	border-radius: 0 24px 24px 0;
	background: #fff;
}

.rd-section .rd-price-right ul.rd-checks {
	margin-bottom: 30px;
}

.rd-section .rd-price-right .wp-block-buttons,
.rd-section .rd-plan .wp-block-buttons {
	grid-auto-flow: row;
	width: 100%;
}

.rd-section .rd-plan-name {
	color: var(--rd-ink);
	font-size: 20px;
	font-weight: 800;
}

.rd-section .rd-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 14px 0 6px;
	color: var(--rd-muted);
	font-size: 16px;
}

.rd-section .rd-price strong {
	color: var(--rd-ink);
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.rd-section .rd-trial {
	margin-top: 18px;
}

/* Plan cards */
.rd-section .rd-plans {
	gap: 24px;
	max-width: 960px;
	margin: 0 auto;
}

.rd-section .rd-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 38px 36px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 24px 50px -40px rgba(27, 21, 48, 0.45);
}

.rd-section .rd-plan-main {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, var(--rd-grad) border-box;
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
}

.rd-section .rd-badge {
	position: absolute;
	top: -14px;
	left: 36px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--rd-grad);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.rd-section .rd-plan .rd-sub {
	margin-bottom: 26px;
	color: var(--rd-muted);
	font-size: 15px;
}

.rd-section .rd-plan ul.rd-checks {
	margin-bottom: 32px;
}

.rd-section .rd-plan .wp-block-buttons {
	margin-top: auto;
}

.rd-section .rd-callout {
	max-width: 860px;
	margin: 28px auto 0;
	padding: 20px 24px;
	border-radius: 16px;
	background: #fcf4fa;
	border: 1px solid #f0d7e8;
	font-size: 16px;
}

.rd-section .rd-callout strong {
	color: var(--rd-ink);
}

/* Groups of check lists */
.rd-section .rd-groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.rd-section .rd-group {
	padding: 26px 22px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
}

.rd-section .rd-group h3 {
	margin-bottom: 14px;
}

.rd-section .rd-group ul.rd-checks li {
	font-size: 15px;
}

/* Comparison table: the second column is tinted */
.rd-section .rd-table.rd-table-compare thead th:nth-child(2),
.rd-section .rd-table.rd-table-compare tbody td:nth-child(2) {
	background: #fcf4fa;
	color: var(--rd-ink);
}

/* Spec list */
.rd-section ul.rd-spec {
	padding: 8px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 30px 60px -48px rgba(27, 21, 48, 0.5);
	list-style: none;
}

.rd-section ul.rd-spec li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--rd-line);
	font-size: 15px;
	line-height: 1.5;
}

.rd-section ul.rd-spec li:first-child {
	border-top: 0;
}

.rd-section ul.rd-spec strong {
	display: block;
	color: var(--rd-ink);
	font-size: 16px;
}

/* Questions and answers: core Details blocks */
.rd-section .rd-faq-grid {
	gap: 64px;
	margin: 0;
}

.rd-section .wp-block-details {
	margin: 0;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rd-line);
}

.rd-section .rd-faq-grid > .wp-block-column > .wp-block-details + .wp-block-details {
	margin-top: 10px;
}

.rd-section .wp-block-details summary {
	position: relative;
	padding: 18px 52px 18px 20px;
	color: var(--rd-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.rd-section .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.rd-section .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	color: var(--rd-magenta);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.rd-section .wp-block-details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.rd-section .wp-block-details p {
	margin: 0;
	padding: 0 20px 18px;
	font-size: 16px;
	line-height: 1.65;
}

.rd-section .wp-block-details strong {
	color: var(--rd-ink);
}

/* The story and credits on the About page */
.rd-section .rd-photo {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 40px 80px -48px rgba(118, 34, 169, 0.6);
}

.rd-section .rd-sign {
	color: var(--rd-muted);
	font-size: 15px;
}

.rd-section .rd-sign strong {
	color: var(--rd-ink);
	font-size: 17px;
}

.rd-section ul.rd-credit-list {
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-credit-list li {
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--rd-line);
	font-size: 15px;
	line-height: 1.5;
}

.rd-section ul.rd-credit-list li:first-child {
	border-top: 0;
}

.rd-section ul.rd-credit-list strong {
	color: var(--rd-ink);
}

/* Cards built from columns */
.rd-section .rd-card-columns {
	gap: 24px;
	margin: 0;
}

.rd-section .rd-card {
	padding: 32px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 18px 40px -32px rgba(27, 21, 48, 0.35);
}

.rd-section .rd-card h2 {
	font-size: clamp(22px, 2.4vw, 26px);
	line-height: 1.25;
}

.rd-section .rd-card > p {
	font-size: 16px;
}

.rd-section ul.rd-link-list {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-link-list li {
	margin: 0;
}

.rd-section ul.rd-link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--rd-soft);
	border: 1px solid var(--rd-line);
	color: var(--rd-ink);
	font-size: 16px;
	font-weight: 700;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.rd-section ul.rd-link-list a::after {
	content: "\2192";
	color: var(--rd-magenta);
}

.rd-section ul.rd-link-list a:hover {
	border-color: var(--rd-magenta);
	color: var(--rd-magenta);
}

.rd-section .rd-note-box {
	max-width: 760px;
	margin: 0 auto;
	padding: 28px 30px;
	border-radius: 20px;
	background: var(--rd-soft);
	border: 1px solid var(--rd-line);
}

.rd-section .rd-note-box h2 {
	margin-bottom: 8px;
	font-size: 22px;
}

.rd-section .rd-note-box p {
	font-size: 16px;
}

/* Gradient box with text on the left and tips on the right */
.rd-section .rd-cta-box.rd-cta-split {
	padding: 56px 48px;
	text-align: left;
}

.rd-section .rd-cta-box.rd-cta-split > * {
	max-width: none;
}

.rd-section .rd-cta-split .wp-block-columns {
	gap: 48px;
	align-items: center !important;
	margin: 0;
}

.rd-section .rd-cta-split .wp-block-buttons {
	margin: 0;
}

.rd-section .rd-tips {
	padding: 24px 26px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.14);
}

.rd-section .rd-cta-box .rd-tips p {
	margin-bottom: 12px;
	font-size: 16px;
}

.rd-section .rd-tips strong {
	color: #fff;
}

.rd-section .rd-tips ul.rd-checks li {
	color: #fff;
	font-size: 15px;
}

.rd-section .rd-tips ul.rd-checks li::before {
	background: #fff;
}

/* Changelog: a timeline of releases */
.rd-section.rd-release {
	padding: 0 24px;
	overflow: visible;
}

.rd-section.rd-release > .rd-wrap {
	max-width: 1000px;
}

.rd-section .rd-rel {
	gap: 36px;
	margin: 0;
}

.rd-section .rd-when {
	padding-top: 22px;
	text-align: right;
}

.rd-section .rd-ver {
	background: var(--rd-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.rd-section .rd-date {
	margin-top: 4px;
	color: var(--rd-muted);
	font-size: 15px;
}

.rd-section .rd-latest {
	display: inline-block;
	margin-top: 10px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--rd-grad);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.rd-section .rd-rel-body {
	position: relative;
	padding: 0 0 48px 36px;
	border-left: 2px solid var(--rd-line);
}

.rd-section .rd-rel-body::before {
	content: "";
	position: absolute;
	left: -9px;
	top: 28px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--rd-grad);
	box-shadow: 0 0 0 5px #fff;
}

.rd-section .rd-rel-card {
	padding: 28px 30px 30px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--rd-line);
	box-shadow: 0 22px 46px -38px rgba(27, 21, 48, 0.45);
}

.rd-section .rd-rel-card h2 {
	margin-bottom: 6px;
	font-size: clamp(22px, 2.4vw, 26px);
	line-height: 1.25;
}

.rd-section .rd-sum {
	margin-bottom: 8px;
	font-size: 16px;
}

.rd-section .rd-rel-group {
	margin-top: 20px;
}

.rd-section .rd-rel-tag {
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.rd-section .rd-tag-new {
	background: #e3f6ea;
	color: #18794a;
}

.rd-section .rd-tag-imp {
	background: #f1e6fa;
	color: var(--rd-purple);
}

.rd-section .rd-tag-fix {
	background: #fff1dc;
	color: #a35a00;
}

.rd-section ul.rd-rel-list {
	padding: 0;
	list-style: none;
}

.rd-section ul.rd-rel-list li {
	position: relative;
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.6;
}

.rd-section ul.rd-rel-list li + li {
	margin-top: 7px;
}

.rd-section ul.rd-rel-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.68em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cdbbd8;
}

.rd-section ul.rd-rel-list strong {
	color: var(--rd-ink);
}

/* Legal pages */
.rd-section.rd-legal-hero.rd-hero-center {
	padding: 88px 24px 48px;
}

.rd-section.rd-legal-hero h1 {
	font-size: clamp(36px, 4.6vw, 52px);
}

.rd-section .rd-updated {
	margin-top: 18px;
	color: var(--rd-muted);
	font-size: 15px;
}

.rd-section .rd-draft {
	display: inline-block;
	max-width: 640px;
	margin-top: 24px;
	padding: 12px 18px;
	border-radius: 14px;
	background: #fff3b0;
	border: 1px solid #f1d766;
	color: #5c4400;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.rd-section.rd-doc {
	padding: 24px 24px 96px;
	overflow: visible;
}

.rd-section .rd-doc-grid {
	gap: 64px;
	max-width: 1080px;
	margin: 0 auto;
}

/* Parts to fill in: yellow, not the gradient big headings normally get. */
.rd-section.rd-doc mark.has-inline-color,
.rd-section.rd-doc h2 mark.has-inline-color,
.rd-section.rd-doc .rd-table mark.has-inline-color,
.rd-section .rd-updated mark.has-inline-color {
	display: inline;
	padding: 1px 5px;
	border-radius: 5px;
	background-image: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	color: #5c4400;
	-webkit-text-fill-color: #5c4400;
	font-size: inherit;
	font-weight: 600;
	line-height: inherit;
}

.rd-section .rd-toc-box {
	position: sticky;
	top: 24px;
	padding: 22px 22px 20px;
	border-radius: 18px;
	background: var(--rd-soft);
	border: 1px solid var(--rd-line);
}

.rd-section .rd-toc-title {
	margin-bottom: 10px;
	color: var(--rd-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rd-section ol.rd-toc {
	display: grid;
	gap: 6px;
	padding: 0;
	list-style: none;
	counter-reset: rdtoc;
}

.rd-section ol.rd-toc li {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	counter-increment: rdtoc;
}

.rd-section ol.rd-toc li::before {
	content: counter(rdtoc) ". ";
	color: var(--rd-magenta);
	font-weight: 700;
}

.rd-section ol.rd-toc a {
	color: var(--rd-text);
}

.rd-section ol.rd-toc a:hover {
	color: var(--rd-magenta);
}

.rd-section .rd-doc-body {
	max-width: 760px;
	counter-reset: rdsec;
}

.rd-section .rd-doc-body > h2 {
	margin: 44px 0 14px;
	padding-top: 28px;
	border-top: 1px solid var(--rd-line);
	font-size: clamp(22px, 2.4vw, 26px);
	line-height: 1.3;
	scroll-margin-top: 24px;
	counter-increment: rdsec;
}

.rd-section .rd-doc-body > h2::before {
	content: counter(rdsec) ". ";
	color: var(--rd-magenta);
}

.rd-section .rd-doc-body > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.rd-section .rd-doc-body > h3 {
	margin: 24px 0 8px;
}

.rd-section .rd-doc-body p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.7;
}

.rd-section .rd-doc-body ul {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding-left: 22px;
}

.rd-section .rd-doc-body li {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}

.rd-section .rd-doc-body li::marker {
	color: var(--rd-magenta);
}

.rd-section .rd-doc-body strong {
	color: var(--rd-ink);
}

.rd-section .rd-doc-body a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rd-section .rd-short {
	margin-bottom: 8px;
	padding: 22px 24px;
	border-radius: 16px;
	background: #fcf4fa;
	border: 1px solid #f0d7e8;
}

.rd-section .rd-doc-body .rd-short ul {
	margin: 0;
}

.rd-section .rd-doc-body .wp-block-table.rd-table {
	margin: 4px 0 20px;
	border-radius: 14px;
	box-shadow: none;
}

.rd-section .rd-doc-body .rd-table table {
	font-size: 15px;
}

.rd-section .rd-doc-body .rd-table th,
.rd-section .rd-doc-body .rd-table td {
	padding: 12px 16px;
}

/* Narrower screens */
@media (max-width: 1100px) {
	.rd-section .wp-block-column .wp-block-buttons {
		grid-auto-flow: row;
	}

	.rd-section ul.rd-cards-4,
	.rd-section .rd-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rd-section .rd-split {
		gap: 44px;
	}
}

@media (max-width: 1000px) {
	.rd-section ul.rd-cards-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rd-section .rd-pairs {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin: 0 auto;
	}

	.rd-section .rd-masonry {
		columns: 2;
	}
}

/* Swap sides on wide screens only, so the text stays first on a phone. */
@media (min-width: 782px) {
	.rd-section .rd-split.rd-flip {
		flex-direction: row-reverse;
	}
}

@media (max-width: 781px) {
	.rd-section .rd-split,
	.rd-section .rd-faq-grid,
	.rd-section .rd-doc-grid,
	.rd-section .rd-cta-split .wp-block-columns {
		gap: 36px;
	}

	.rd-section .rd-price-card {
		max-width: 560px;
	}

	.rd-section .rd-price-left {
		border-radius: 24px 24px 0 0;
	}

	.rd-section .rd-price-right {
		border-radius: 0 0 24px 24px;
	}

	.rd-section .rd-plans {
		gap: 32px;
		max-width: 540px;
	}

	.rd-section .rd-chip {
		position: static;
		max-width: none;
		margin-top: 12px;
	}

	.rd-section .rd-toc-box {
		position: static;
	}

	.rd-section .rd-rel {
		gap: 0;
	}

	.rd-section .rd-when {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 12px;
		padding: 0 0 14px 24px;
		border-left: 2px solid var(--rd-line);
		text-align: left;
	}

	.rd-section .rd-ver {
		font-size: 22px;
	}

	.rd-section .rd-date,
	.rd-section .rd-latest {
		margin-top: 0;
	}

	.rd-section .rd-rel-body {
		padding: 0 0 36px 24px;
	}

	.rd-section .rd-rel-body::before {
		display: none;
	}
}

@media (max-width: 600px) {
	.rd-section .wp-block-buttons {
		grid-auto-flow: row;
		width: 100%;
	}

	.rd-section ul.rd-cards-2,
	.rd-section ul.rd-cards-3,
	.rd-section ul.rd-cards-4,
	.rd-section .rd-groups {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.rd-section ul.rd-cards li {
		padding: 22px 20px;
	}

	.rd-section .rd-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.rd-section .rd-masonry {
		columns: 1;
	}

	.rd-section .rd-price-left,
	.rd-section .rd-price-right {
		padding: 30px 22px;
	}

	.rd-section .rd-price strong {
		font-size: 46px;
	}

	.rd-section .rd-plan {
		padding: 32px 22px 26px;
	}

	.rd-section .rd-badge {
		left: 22px;
	}

	.rd-section .rd-card {
		padding: 26px 20px;
	}

	.rd-section .rd-recipe-card {
		padding: 22px 18px;
	}

	.rd-section .rd-cta-box.rd-cta-split {
		padding: 40px 22px;
	}

	.rd-section .rd-rel-card {
		padding: 22px 18px 24px;
	}

	.rd-section.rd-release,
	.rd-section.rd-doc {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rd-section.rd-legal-hero.rd-hero-center {
		padding: 56px 16px 32px;
	}

	.rd-section.rd-tight-top {
		padding-top: 16px;
	}
}
