/**
 * Guide / comparison article layout (SEO landings).
 * Loaded only on pages listed in px_guide_page_keys().
 */
.px-page.px-guide {
	max-width: 45rem;
	margin-inline: auto;
	color: var(--px-text, #1a1a2e);
}

.px-guide__crumbs {
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	color: var(--px-muted, #5a6578);
}

.px-guide__crumbs ol {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 0.35rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.px-guide__crumbs li {
	flex: 0 0 auto;
	white-space: nowrap;
}

.px-guide__crumbs li[aria-current="page"] {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.px-guide__crumbs li + li::before {
	content: "/";
	margin-right: 0.35rem;
	color: #9aa6bf;
}

.px-guide__crumbs a {
	color: var(--px-accent-mid, #4f63b8);
	text-decoration: none;
}

.px-guide__crumbs a:hover {
	text-decoration: underline;
}

.px-guide__header {
	margin-bottom: 2rem;
}

.px-guide__pill {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0.9rem;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: rgba(61, 42, 122, 0.08);
	color: var(--px-accent, #3d2a7a);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.px-page.px-guide .px-guide__title {
	margin: 0 0 1.1rem;
	font-size: clamp(1.85rem, 4.2vw, 2.4rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--px-text, #1a1a2e);
}

.px-guide__lead {
	margin: 0 0 1.5rem;
	font-size: 1.18rem;
	line-height: 1.65;
	color: #3a4356;
}

.px-guide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1.35rem;
	padding: 0.85rem 1.15rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 12px;
	background: var(--px-surface, #eef1f8);
	font-size: 0.875rem;
	color: var(--px-muted, #5a6578);
}

.px-guide__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.px-guide__meta-item::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--px-steel, #6b8ec4);
}

.px-guide__meta-item--author {
	color: var(--px-text, #1a1a2e);
	font-weight: 600;
}

.px-guide__meta-item--trust {
	color: var(--px-success, #0f7a4a);
	font-weight: 600;
}

.px-guide__meta-item--trust::before {
	background: var(--px-success, #0f7a4a);
}

.px-guide__toc {
	margin: 0 0 2.25rem;
	padding: 1.3rem 1.6rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(61, 42, 122, 0.04);
}

.px-guide__toc-title {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--px-text, #1a1a2e);
}

.px-guide__toc ol {
	margin: 0;
	padding-left: 1.3rem;
	columns: 2;
	column-gap: 2rem;
	line-height: 1.5;
}

.px-guide__toc li {
	margin-bottom: 0.45rem;
	break-inside: avoid;
}

.px-guide__toc a {
	color: var(--px-accent-mid, #4f63b8);
	font-size: 0.94rem;
	font-weight: 600;
	text-decoration: none;
}

.px-guide__toc a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.px-guide__body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #2c3446;
}

.px-guide__body p {
	margin: 0 0 1.2rem;
}

.px-page.px-guide .px-guide__body h2,
.px-page.px-guide .px-guide__faq h2,
.px-page.px-guide .px-guide__related h2 {
	margin: 2.75rem 0 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--px-rule, rgba(61, 42, 122, 0.12));
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--px-text, #1a1a2e);
	scroll-margin-top: 5.5rem;
}

.px-page.px-guide .px-guide__body h3 {
	margin: 1.9rem 0 0.6rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--px-text, #1a1a2e);
	scroll-margin-top: 5.5rem;
}

.px-guide__body ul,
.px-guide__body ol {
	margin: 0 0 1.3rem;
	padding-left: 1.4rem;
}

.px-guide__body li {
	margin-bottom: 0.45rem;
	line-height: 1.65;
}

.px-guide__body a,
.px-guide__faq a,
.px-guide__sources a {
	color: var(--px-accent-mid, #4f63b8);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.px-guide__body a:hover,
.px-guide__faq a:hover,
.px-guide__sources a:hover {
	color: var(--px-accent, #3d2a7a);
}

.px-guide a:focus-visible {
	outline: 2px solid var(--px-accent-mid, #4f63b8);
	outline-offset: 2px;
	border-radius: 2px;
}

.px-guide__takeaways {
	margin: 0 0 2rem;
	padding: 1.4rem 1.6rem;
	border: 1px solid rgba(79, 99, 184, 0.28);
	border-radius: 16px;
	background: linear-gradient(145deg, #f4f2fd 0%, #e9eefb 100%);
	box-shadow: 0 4px 16px rgba(61, 42, 122, 0.06);
}

.px-guide__takeaways-title {
	margin: 0 0 0.6rem !important;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--px-accent, #3d2a7a);
}

.px-guide__takeaways ul {
	margin: 0;
	padding-left: 1.3rem;
}

.px-guide__takeaways li {
	margin-bottom: 0.5rem;
}

.px-guide__callout {
	margin: 1.75rem 0;
	padding: 1.15rem 1.4rem;
	border-left: 4px solid var(--px-accent-mid, #4f63b8);
	border-radius: 12px;
	background: #f1f4fc;
	color: #26304a;
}

.px-guide__callout--tip {
	border-color: var(--px-success, #0f7a4a);
	background: #eef8f3;
	color: #14382a;
}

.px-guide__callout--info {
	border-color: var(--px-accent-mid, #4f63b8);
	background: #f1f4fc;
	color: #26304a;
}

.px-guide__callout--note {
	border-color: #b7791f;
	background: #fdf8ec;
	color: #4a3410;
}

.px-guide__callout-title {
	margin: 0 0 0.4rem !important;
	font-weight: 700;
}

.px-guide__callout p:last-child {
	margin-bottom: 0;
}

.px-guide .px-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.75rem 0;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(61, 42, 122, 0.03);
}

.px-guide .px-table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.5;
	text-align: left;
}

.px-guide .px-table thead th {
	padding: 0.8rem 1rem;
	border-bottom: 2px solid var(--px-border, #d4dceb);
	background: var(--px-surface, #eef1f8);
	font-weight: 700;
	color: var(--px-text, #1a1a2e);
	white-space: normal;
	vertical-align: bottom;
}

.px-guide .px-table tbody th,
.px-guide .px-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e7ebf4;
	vertical-align: top;
}

.px-guide .px-table tbody th {
	font-weight: 600;
	color: var(--px-text, #1a1a2e);
}

.px-guide .px-table tbody tr:nth-child(even) th,
.px-guide .px-table tbody tr:nth-child(even) td {
	background: #f7f8fc;
}

.px-guide .px-table tbody tr:last-child th,
.px-guide .px-table tbody tr:last-child td {
	border-bottom: 0;
}

.px-guide__tool {
	margin: 1.5rem 0;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 14px;
	background: #fff;
}

.px-page.px-guide .px-guide__tool h3 {
	margin-top: 0;
}

.px-guide__best {
	display: inline-block;
	margin: 0 0 0.75rem !important;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: rgba(15, 122, 74, 0.09);
	color: var(--px-success, #0f7a4a);
	font-size: 0.85rem;
	font-weight: 600;
}

.px-guide__proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.px-guide__proscons p {
	margin: 0 0 0.25rem !important;
	font-weight: 700;
	font-size: 0.92rem;
}

.px-guide__proscons ul {
	margin: 0 !important;
	font-size: 0.97rem;
}

.px-guide__faq {
	margin-top: 3rem;
}

.px-guide__faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.px-guide__faq-item {
	padding: 1.15rem 1.4rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 12px;
	background: var(--px-surface, #eef1f8);
}

.px-page.px-guide .px-guide__faq-q {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--px-text, #1a1a2e);
}

.px-guide__faq-a p {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.65;
	color: #3a4356;
}

.px-guide__sources {
	margin-top: 2.75rem;
	padding: 1.4rem 1.6rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-left: 4px solid var(--px-accent, #3d2a7a);
	border-radius: 12px;
	background: #f8f9fd;
	font-size: 0.92rem;
}

.px-page.px-guide .px-guide__sources-title {
	margin: 0 0 0.3rem;
	padding: 0;
	border: 0;
	font-size: 1.15rem;
	font-weight: 700;
}

.px-guide__sources-sub {
	margin: 0 0 0.9rem;
	color: var(--px-muted, #5a6578);
}

.px-guide__sources ol {
	margin: 0;
	padding-left: 1.3rem;
	line-height: 1.6;
}

.px-guide__sources li {
	margin-bottom: 0.3rem;
	overflow-wrap: anywhere;
}

.px-guide__related {
	margin-top: 1rem;
}

.px-guide__related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
	gap: 1rem;
}

.px-guide__related-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--px-border, #d4dceb);
	border-radius: 14px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.px-guide__related-card:hover {
	border-color: var(--px-accent-mid, #4f63b8);
	box-shadow: 0 8px 22px -12px rgba(61, 42, 122, 0.35);
	transform: translateY(-1px);
}

.px-guide__related-title {
	font-weight: 700;
	color: var(--px-accent, #3d2a7a);
	line-height: 1.35;
}

.px-guide__related-sum {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--px-muted, #5a6578);
}

.px-guide__cta {
	margin: 3rem 0 1rem;
	padding: 1.75rem 1.75rem 1.6rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #f3f0fe 0%, #e7ecfb 100%);
	border: 1px solid rgba(79, 99, 184, 0.25);
	text-align: center;
}

.px-guide__cta-title {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--px-text, #1a1a2e);
}

.px-guide__cta-text {
	margin: 0 auto 1.1rem;
	max-width: 32rem;
	color: #3a4356;
}

.px-guide__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0;
}

.px-guide__cta-link {
	color: var(--px-accent-mid, #4f63b8);
	font-weight: 600;
}

@media (max-width: 640px) {
	.px-guide__toc ol {
		columns: 1;
	}

	.px-guide__proscons {
		grid-template-columns: 1fr;
	}

	.px-guide__lead {
		font-size: 1.08rem;
	}

	.px-guide__body {
		font-size: 1rem;
	}

	.px-guide__takeaways,
	.px-guide__toc,
	.px-guide__sources,
	.px-guide__cta {
		padding: 1.1rem 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.px-guide__related-card {
		transition: none;
	}

	.px-guide__related-card:hover {
		transform: none;
	}
}
