/* Gutenberg compatibility only. Visual rules live in the unmodified WPGen stylesheets. */
.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > *,
.wp-block-template-part,
.wp-block-post-content > * {
	margin-block-start: 0;
}

.site-header,
.hero,
.content-area,
.trust-badges,
.site-footer {
	width: 100%;
}

.hero-grid.wp-block-group,
.card.wp-block-post-content {
	max-width: none;
}

.hero-grid > .wp-block-group {
	margin: 0;
}

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

.entry .wp-block-image img {
	display: block;
}

.entry .wp-block-table {
	margin: 0 0 22px;
	overflow-x: auto;
}

.entry .wp-block-table table {
	margin-bottom: 0;
}

.entry .wp-block-button__link,
.entry .wp-element-button {
	background: var(--accent);
	border-radius: 7px;
	color: #fff;
	font-weight: 700;
	padding: 10px 16px;
	text-decoration: none;
}

.entry .wp-block-button__link:hover,
.entry .wp-element-button:hover {
	background: var(--accent-hover);
}

.logo-mark .custom-logo-link,
.logo-mark .custom-logo {
	display: block;
	height: 100%;
	width: 100%;
}

.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > .sub-toggle {
	color: #fff;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.crumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
}

.hero-disclaimer {
	position: relative;
	z-index: 2;
}

.hero h1 {
	color: #fff;
}

.hero p.lead-secondary {
	color: #c8cee3;
	font-size: 15px;
	margin-top: -10px;
}

/* Homepage: retain the reference shell but give each saved editorial section a role. */
.home .hero-grid > .wp-block-group {
	max-width: 760px;
}

.home .hero .wrap::after {
	background:
		radial-gradient(circle at 24px 24px, #ff7b45 0 7px, transparent 8px),
		linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)) 48px 17px / 154px 7px no-repeat,
		linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) 48px 34px / 104px 6px no-repeat,
		rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 12px;
	box-shadow:
		0 58px 0 rgba(255, 255, 255, .055),
		0 58px 0 1px rgba(255, 255, 255, .08),
		0 116px 0 rgba(255, 255, 255, .04),
		0 116px 0 1px rgba(255, 255, 255, .07);
	content: "";
	height: 54px;
	op: 48px;
	position: absolute;
	right: 12px;
	transform: rotate(-2deg);
	width: 250px;
}

.home .entry {
	background: transparent;
	border: 0;
	display: grid;
	gap: 22px;
	padding: 0;
}

.cc-home-section {
	background: transparent;
	border: 0;
	padding: 6px 0;
}

.cc-home-section > h2:first-child {
	margin-top: 0;
}

.cc-home-section--comparison {
	background:
		radial-gradient(circle at 94% 16%, rgba(74, 65, 196, .1) 0 108px, transparent 109px),
		linear-gradient(135deg, #fff 0%, #faf9ff 100%);
	border: 1px solid var(--line);
	border-left: 7px solid #ff6a2b;
	border-radius: 16px;
	box-shadow: 0 12px 26px rgba(8, 11, 35, .08);
	padding: 28px 30px;
}

.cc-home-section--topics {
	background: transparent;
	border: 0;
	padding: 8px 0 0;
}

.home .child-index {
	border: 0;
	margin-top: 20px;
	padding-top: 0;
}

.home .child-index ul {
	gap: 14px;
}

.home .child-index--hubs ul {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .child-index--guides ul,
.cc-home-section--guides > ul {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.home .child-index li,
.cc-home-section--guides > ul > li {
	background: #fff;
	border: 1px solid #e0e3ef;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(8, 11, 35, .045);
	margin: 0;
	min-height: 100%;
	padding: 17px 18px 18px;
}

.home .child-index--hubs li {
	border-top: 4px solid #4a41c4;
}

.home .child-index--guides li,
.cc-home-section--guides > ul > li {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #dfe2ec;
	border-radius: 0;
	box-shadow: none;
	padding: 14px 0;
}

.home .child-index a,
.cc-home-section--guides > ul a {
	display: inline;
	font-weight: 800;
}

.home .child-index a:not([href]),
.cc-home-section--guides > ul a:not([href]) {
	color: #72798f;
}

.cc-home-section--guides {
	background: transparent;
}

.cc-home-section--method {
	background: #f4f3ff;
	border: 1px solid #dddaf5;
	border-radius: 14px;
	color: #303654;
	padding: 25px 28px;
	position: relative;
}

.cc-home-section--method::before {
	background: #ff6a2b;
	border-radius: 14px 0 0 14px;
	bottom: -1px;
	content: "";
	left: -1px;
	position: absolute;
	top: -1px;
	width: 7px;
}

.cc-home-section--method h2 {
	color: #111638;
}

.cc-home-section--method a {
	color: #3f38b0;
}

.cc-home-section--trust {
	border-top: 1px solid var(--line);
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-top: 28px;
}

.cc-home-section--trust h2 {
	grid-column: 1 / -1;
}

.cc-home-section--trust p {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0 18px 0 0;
}

/* The reference homepage is one editorial sheet; only functional inserts stand out. */
.home .hero-grid > .wp-block-group {
	max-width: none;
}

.home .hero .wrap::after {
	display: none;
}

.home .entry {
	background: var(--card);
	border: 1px solid var(--line);
	display: block;
	padding: 28px 30px;
}

.home .child-index {
	border-top: 1px solid var(--line);
	margin-top: 34px;
	padding-top: 26px;
}

.home .child-index ul,
.home .child-index--hubs ul,
.home .child-index--guides ul {
	gap: 12px 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home .child-index li,
.home .child-index--hubs li,
.home .child-index--guides li {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	min-height: 0;
	padding: 0;
}

.tb-ico {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	width: 22px;
}

/* Contextual editorial banners: real HTML copy and actions with decorative art. */
.cc-editorial-banner {
	background:
		radial-gradient(circle at 91% 18%, rgba(74, 65, 196, .13) 0 116px, transparent 117px),
		linear-gradient(135deg, #fff 0%, #faf9ff 100%);
	border: 1px solid #e2e3f1;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(8, 11, 35, .1);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
	isolation: isolate;
	margin: 34px 0;
	min-height: 264px;
	overflow: hidden;
	position: relative;
}

.cc-editorial-banner::after {
	background: rgba(255, 106, 43, .08);
	border-radius: 50%;
	bottom: -115px;
	content: "";
	height: 250px;
	position: absolute;
	right: 84px;
	width: 250px;
	z-index: -1;
}

.cc-editorial-banner__edge {
	background: #ff6a2b;
	bottom: 0;
	left: 0;
	position: absolute;
	top: 0;
	width: 7px;
}

.cc-editorial-banner__body {
	align-self: center;
	max-width: 670px;
	padding: 34px 20px 34px 42px;
	position: relative;
	z-index: 2;
}

.cc-editorial-banner__eyebrow {
	color: #4a41c4;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.cc-editorial-banner .cc-editorial-banner__title {
	color: #111638;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -.6px;
	line-height: 1.12;
	margin: 0 0 10px;
}

.cc-editorial-banner .cc-editorial-banner__copy {
	color: #525a72;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 18px;
	max-width: 56ch;
}

.cc-editorial-banner__button {
	align-items: center;
	background: #ff6a2b;
	border-radius: 7px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	text-decoration: none;
}

.cc-editorial-banner__button:hover {
	background: #e9561e;
	color: #fff;
}

.cc-editorial-banner__button:focus-visible,
.faq-q:focus-visible {
	outline: 3px solid #ffb18e;
	outline-offset: 3px;
}

.cc-editorial-banner__art {
	align-self: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-width: 0;
	padding: 16px 16px 10px 0;
	position: relative;
	z-index: 1;
}

.cc-editorial-banner__art img {
	align-self: center;
	display: block;
	height: auto;
	max-height: 238px;
	object-fit: contain;
	width: min(100%, 330px);
}

.cc-editorial-banner--dark {
	background:
		radial-gradient(circle at 91% 14%, rgba(122, 111, 255, .22) 0 126px, transparent 127px),
		linear-gradient(135deg, #10143c 0%, #171a4a 100%);
	border-color: #30366b;
	box-shadow: 0 14px 30px rgba(8, 11, 35, .2);
}

.cc-editorial-banner--dark::after {
	background: rgba(255, 106, 43, .12);
}

.cc-editorial-banner--dark .cc-editorial-banner__eyebrow {
	color: #ff9b70;
}

.cc-editorial-banner--dark .cc-editorial-banner__title {
	color: #fff;
}

.cc-editorial-banner--dark .cc-editorial-banner__copy {
	color: #c6cbe2;
}

/* Pros and cons retain the saved copy while exposing its two decision roles. */
.cc-proscons {
	margin: 18px 0 30px;
}

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

.cc-proscons__panel {
	border: 1px solid;
	border-radius: 12px;
	margin: 12px 0;
	padding: 18px 20px;
}

.cc-proscons__grid > .cc-proscons__panel {
	margin: 0;
}

.cc-proscons__panel--pro {
	background: #edf8f1;
	border-color: #bfe2ca;
}

.cc-proscons__panel--con {
	background: #fff2ee;
	border-color: #f0c5b8;
}

.cc-proscons__label {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 10px;
}

.cc-proscons__panel--pro .cc-proscons__label {
	color: #126c35;
}

.cc-proscons__panel--con .cc-proscons__label {
	color: #a53e27;
}

.cc-proscons__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cc-proscons__panel li {
	margin: 0 0 9px;
	padding-left: 28px;
	position: relative;
}

.cc-proscons__panel li:last-child {
	margin-bottom: 0;
}

.cc-proscons__panel li::before {
	align-items: center;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	height: 19px;
	justify-content: center;
	left: 0;
	line-height: 1;
	position: absolute;
	top: .3em;
	width: 19px;
}

.cc-proscons__panel--pro li::before {
	background: #238247;
	content: "+";
}

.cc-proscons__panel--con li::before {
	background: #c85537;
	content: "−";
}

.cc-proscons--text {
	background: linear-gradient(90deg, #edf8f1 0 7px, #fff 7px calc(100% - 7px), #fff2ee calc(100% - 7px));
	border: 1px solid #e0e4ec;
	border-radius: 12px;
	padding: 20px 24px;
}

.cc-proscons--text p:last-child {
	margin-bottom: 0;
}

/* FAQ stays readable without JavaScript and becomes an accordion when enhanced. */
.cc-faq {
	margin: 16px 0 30px;
}

.faq-q {
	min-height: 54px;
}

/* Repeated long-form blocks get distinct editorial geometries. */
.entry > ol {
	counter-reset: cc-step;
	display: grid;
	gap: 10px;
	list-style: none;
	padding-left: 0;
}

.entry > ol > li {
	background: #fafbff;
	border: 1px solid var(--line);
	border-radius: 10px;
	counter-increment: cc-step;
	margin: 0;
	min-height: 48px;
	padding: 10px 14px 10px 50px;
	position: relative;
}

.entry > ol > li::before {
	align-items: center;
	background: #4a41c4;
	border-radius: 50%;
	color: #fff;
	content: counter(cc-step);
	display: flex;
	font-size: 13px;
	font-weight: 800;
	height: 26px;
	justify-content: center;
	left: 13px;
	position: absolute;
	top: 10px;
	width: 26px;
}

.entry blockquote {
	background: #f5f4ff;
	border: 0;
	border-left: 5px solid #4a41c4;
	border-radius: 0 12px 12px 0;
	color: #303654;
	margin: 24px 0;
	padding: 18px 22px;
}

.entry blockquote p:last-child {
	margin-bottom: 0;
}

.entry .wp-block-table {
	border-radius: 12px;
}

.entry .wp-block-table th {
	background: #eef0fb;
	border-top: 3px solid #4a41c4;
}

@media (max-width: 760px) {
	.home .hero .wrap::after {
		display: none;
	}

	.home .entry {
		gap: 16px;
		padding: 20px 16px;
	}

	.cc-home-section {
		padding: 4px 0;
	}

	.cc-home-section--comparison,
	.cc-home-section--method {
		padding: 22px 20px;
	}

	.home .child-index--hubs ul,
	.home .child-index--guides ul,
	.cc-home-section--guides > ul,
	.cc-home-section--trust {
		grid-template-columns: 1fr;
	}

	.cc-editorial-banner {
		grid-template-columns: 1fr;
		min-height: 304px;
	}

	.home .child-index ul,
	.home .child-index--hubs ul,
	.home .child-index--guides ul {
		grid-template-columns: 1fr;
	}

	.cc-editorial-banner__body {
		padding: 28px 26px 122px 28px;
	}

	.cc-editorial-banner__art {
		bottom: -70px;
		height: 210px;
		opacity: .52;
		padding: 0;
		pointer-events: none;
		position: absolute;
		right: -34px;
		width: 235px;
	}

	.cc-editorial-banner__art img {
		max-height: 210px;
		width: 235px;
	}

	.cc-proscons__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.cc-editorial-banner {
		border-radius: 14px;
		margin: 26px 0;
	}

	.cc-editorial-banner .cc-editorial-banner__title {
		font-size: 24px;
	}

	.cc-editorial-banner__body {
		padding-left: 24px;
	}

	.cc-proscons__panel,
	.cc-proscons--text {
		padding: 16px;
	}
}

@media (max-width: 640px) {
	.content-area > .wrap {
		padding-left: 8px;
		padding-right: 8px;
	}

	.content-area .card {
		padding: 18px 12px;
	}
}
