/* ============================================================
   COMPARATIVAS — comparativas.css
   Home rail · Archive · Single (cx-cs-*)
   ============================================================ */

:root {
	--cx-cmp-accent:      #006aff;
	--cx-cmp-accent-soft: rgba(0, 106, 255, 0.12);
	--cx-cmp-surface:     #ffffff;
	--cx-cmp-line:        #e8eef4;
	--cx-cmp-text:        #0f172a;
	--cx-cmp-muted:       #64748b;
}

[data-theme="dark"] {
	--cx-cmp-surface:     #111827;
	--cx-cmp-line:        rgba(148, 163, 184, 0.18);
	--cx-cmp-text:        #e2e8f0;
	--cx-cmp-muted:       #94a3b8;
	--cx-cmp-accent-soft: rgba(147, 197, 253, 0.14);
}

/* ----- Home layout ----- */

.cx-home-with-comparativas {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.cx-home-with-comparativas__main {
	min-width: 0;
	width: 100%;
}

@media (min-width: 1200px) {
	.cx-home-with-comparativas {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 22px;
		align-items: start;
	}

	#primary .cx-home-with-comparativas .cx-posts-masonry {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ----- Home comparativas sidebar (pro) ----- */

.cx-cmp-rail--pro {
	position: relative;
	padding: 0;
	border-radius: 14px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

[data-theme="dark"] .cx-cmp-rail--pro {
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cx-cmp-rail__glow {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 72px;
	background: rgba(0, 106, 255, 0.07);
	pointer-events: none;
}

@media (min-width: 1200px) {
	.cx-cmp-rail--pro {
		position: sticky;
		top: calc(var(--cx-top-h, 56px) + var(--cx-nav-h, 44px) + 18px);
		max-height: calc(100dvh - var(--cx-top-h, 56px) - var(--cx-nav-h, 44px) - 36px);
		overflow: auto;
	}
}

.cx-cmp-rail__head {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 18px 16px 14px;
	border-bottom: 1px solid var(--cx-cmp-line);
}

.cx-cmp-rail__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #006aff;
	color: #fff;
	flex-shrink: 0;
	box-shadow: 0 8px 18px rgba(0, 106, 255, 0.35);
}

.cx-cmp-rail__title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 800;
	color: #006aff;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

[data-theme="dark"] .cx-cmp-rail__title {
	color: #3b9cff;
}

.cx-cmp-rail__sub {
	margin: 4px 0 0;
	font-size: 0.74rem;
	color: var(--cx-cmp-muted);
	line-height: 1.35;
}

.cx-cmp-rail__list {
	list-style: none;
	margin: 0;
	padding: 12px 12px 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (max-width: 1199px) {
	.cx-cmp-rail__list {
		flex-direction: row;
		overflow-x: auto;
		padding: 12px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.cx-cmp-rail-card {
		flex: 0 0 min(300px, 86vw);
		scroll-snap-align: start;
	}

	.cx-cmp-rail-card--feat {
		flex: 0 0 min(320px, 88vw);
	}

	/* Home page 1: comparativas first — horizontal slider, compact cards */
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail--pro {
		order: -1;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-home-with-comparativas__main {
		order: 0;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__head {
		padding: 12px 14px 8px;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__sub {
		display: none;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__badge {
		width: 38px;
		height: 38px;
		border-radius: 8px;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
		padding: 4px 12px 10px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 12px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__list::-webkit-scrollbar {
		display: none;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card,
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat {
		flex: 0 0 min(248px, 78vw);
		width: min(248px, 78vw);
		scroll-snap-align: start;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__link,
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat .cx-cmp-rail-card__link {
		flex-direction: row;
		align-items: center;
		min-height: 72px;
		background: var(--cx-cmp-surface);
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat .cx-cmp-rail-card__link {
		background: var(--cx-cmp-surface);
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__media,
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat .cx-cmp-rail-card__media {
		display: block;
		flex: 0 0 52px;
		width: 52px;
		min-height: 52px;
		height: 52px;
		aspect-ratio: 1;
		align-self: center;
		border-radius: 8px;
		margin: 8px 0 8px 8px;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__index {
		display: none;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__body,
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat .cx-cmp-rail-card__body {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		padding: 6px 10px 6px 8px;
		min-height: 0;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__title,
	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card--feat .cx-cmp-rail-card__title {
		font-size: 0.78rem;
		-webkit-line-clamp: 2;
		line-height: 1.3;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__date {
		display: none;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__duel {
		font-size: 0.55rem;
		gap: 3px;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail-card__dev {
		max-width: 42%;
	}

	.cx-home-with-comparativas--cmp-first-mobile .cx-cmp-rail__all {
		margin: 0 12px 12px;
		padding: 10px 12px;
		font-size: 0.75rem;
	}
}

.cx-cmp-rail-card__link {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	border-radius: 10px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cx-cmp-rail-card__link:hover,
.cx-cmp-rail-card__link:focus-visible {
	border-color: rgba(0, 106, 255, 0.35);
	box-shadow: 0 10px 24px rgba(0, 106, 255, 0.12);
	transform: translateY(-2px);
}

.cx-cmp-rail-card--feat .cx-cmp-rail-card__link {
	border-color: rgba(0, 106, 255, 0.28);
	background: linear-gradient(180deg, rgba(0, 106, 255, 0.04) 0%, var(--cx-cmp-surface) 55%);
}

.cx-cmp-rail-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e2e8f0;
}

.cx-cmp-rail-card:not(.cx-cmp-rail-card--feat) .cx-cmp-rail-card__link {
	flex-direction: row;
	align-items: center;
}

.cx-cmp-rail-card:not(.cx-cmp-rail-card--feat) .cx-cmp-rail-card__media {
	flex: 0 0 76px;
	width: 76px;
	aspect-ratio: 1;
	align-self: stretch;
	min-height: 76px;
}

.cx-cmp-rail-card:not(.cx-cmp-rail-card--feat) .cx-cmp-rail-card__index {
	display: none;
}

.cx-cmp-rail-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-cmp-rail-card__index {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(4, 25, 42, 0.75);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.cx-cmp-rail-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 11px;
	min-width: 0;
}

.cx-cmp-rail-card:not(.cx-cmp-rail-card--feat) .cx-cmp-rail-card__body {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 10px 12px;
}

.cx-cmp-rail-card__duel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--cx-cmp-accent);
}

.cx-cmp-rail-card__dev {
	max-width: 46%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-cmp-rail-card__vs {
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--cx-cmp-accent);
	color: #fff;
	font-size: 0.58rem;
	line-height: 1.2;
}

.cx-cmp-rail-card__tag {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--cx-cmp-accent);
}

.cx-cmp-rail-card__title {
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cx-cmp-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.cx-cmp-rail-card--feat .cx-cmp-rail-card__title {
	-webkit-line-clamp: 3;
	font-size: 0.9rem;
}

.cx-cmp-rail-card__date {
	font-size: 0.7rem;
	color: var(--cx-cmp-muted);
	white-space: nowrap;
}

.cx-cmp-rail-card:not(.cx-cmp-rail-card--feat) .cx-cmp-rail-card__date {
	display: none;
}

.cx-cmp-rail__all {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 4px 12px 14px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--cx-cmp-accent);
	background: var(--cx-cmp-accent-soft);
	border: 1px solid rgba(0, 106, 255, 0.2);
	transition: background 0.2s ease, color 0.2s ease;
}

.cx-cmp-rail__all:hover,
.cx-cmp-rail__all:focus-visible {
	background: var(--cx-cmp-accent);
	color: #fff;
}

/* ----- Archive ----- */

.cx-cmp-archive-hero {
	position: relative;
	margin-bottom: 36px;
	padding: 40px 36px;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(135deg, #04192a 0%, #0a3d7a 55%, #006aff 100%);
	--cx-cmp-hero-fg: #ffffff;
	--cx-cmp-hero-fg-soft: rgba(255, 255, 255, 0.9);
	color: var(--cx-cmp-hero-fg);
}

/* Override theme h1/p { color: var(--text-primary) } on dark hero */
.cx-cmp-archive-hero h1,
.cx-cmp-archive-hero p,
.cx-cmp-archive-hero strong,
.cx-cmp-archive-hero .cx-cmp-archive-hero__title,
.cx-cmp-archive-hero .cx-cmp-archive-hero__desc,
.cx-cmp-archive-hero .cx-cmp-archive-hero__count,
.cx-cmp-archive-hero .cx-cmp-archive-hero__eyebrow {
	color: var(--cx-cmp-hero-fg);
}

.cx-cmp-archive-hero .cx-cmp-archive-hero__desc,
.cx-cmp-archive-hero .cx-cmp-archive-hero__count {
	color: var(--cx-cmp-hero-fg-soft);
}

.cx-cmp-archive-hero iconify-icon {
	color: var(--cx-cmp-hero-fg);
}

.cx-cmp-archive-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.cx-cmp-archive-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.9;
}

.cx-cmp-archive-hero__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.cx-cmp-archive-hero__desc {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.65;
	opacity: 0.92;
}

.cx-cmp-archive-hero__count {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.85;
}

.cx-cmp-archive-hero__count strong {
	font-weight: 800;
	color: var(--cx-cmp-hero-fg);
	opacity: 1;
}

.cx-cmp-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 40px;
}

@media (max-width: 900px) {
	.cx-cmp-archive-grid {
		grid-template-columns: 1fr;
	}
}

.cx-cmp-archive-card {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cx-cmp-archive-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.cx-cmp-archive-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.cx-cmp-archive-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cx-cmp-archive-card:hover .cx-cmp-archive-card__img {
	transform: scale(1.04);
}

.cx-cmp-archive-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(4, 25, 42, 0.85) 100%);
}

.cx-cmp-archive-card__devices {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	z-index: 2;
}

.cx-cmp-archive-card__device {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.cx-cmp-archive-card__badge {
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	color: #006aff;
	font-size: 0.7rem;
	font-weight: 900;
}

.cx-cmp-archive-card__body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
}

.cx-cmp-archive-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
}

.cx-cmp-archive-card__title a {
	color: var(--cx-cmp-text);
	text-decoration: none;
}

.cx-cmp-archive-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--cx-cmp-muted);
	flex: 1;
}

.cx-cmp-archive-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 0.8rem;
	color: var(--cx-cmp-muted);
}

.cx-cmp-archive-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--cx-cmp-accent);
	text-decoration: none;
}

/* ----- Single & archive: full-width chrome (like home) ----- */

body.cx-comparativa-single #primary,
body.cx-comparativa-archive #primary,
body.cx-comparativa-single.cx-wide-chrome #primary,
body.cx-comparativa-archive.cx-wide-chrome #primary {
	display: block !important;
	flex-flow: unset !important;
	max-width: min(1560px, 98vw) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 12px !important;
	margin-bottom: 50px !important;
	padding: 0 8px !important;
	box-sizing: border-box;
}

body.cx-comparativa-single #primary .entry-site-main,
body.cx-comparativa-archive #primary .entry-site-main,
body.cx-comparativa-single.cx-wide-chrome #primary .entry-site-main,
body.cx-comparativa-archive.cx-wide-chrome #primary .entry-site-main {
	align-self: stretch !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* TOC sticky: body grid must stretch so sticky has room to scroll */
body.cx-comparativa-single .cx-cmp-single-article {
	display: block;
	width: 100%;
}

body.cx-comparativa-single #primary,
body.cx-comparativa-single #main,
body.cx-comparativa-single .entry-site-main,
body.cx-comparativa-single .cx-cmp-single-article {
	overflow: visible !important;
}

body.cx-comparativa-single .cx-cs-body {
	align-items: stretch;
}

body.cx-comparativa-single .widget-area,
body.cx-comparativa-archive .widget-area {
	display: none !important;
}

body.cx-comparativa-single .cx-comparativa-article,
body.cx-comparativa-archive .cx-cmp-archive-hero {
	width: 100%;
	max-width: 100%;
}

.cx-cmp-hero {
	position: relative;
	margin: 0 0 28px;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
}

.cx-cmp-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 106, 255, 0.14), transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 100%, rgba(4, 25, 42, 0.08), transparent 50%);
	pointer-events: none;
}

.cx-cmp-hero__inner {
	position: relative;
	z-index: 1;
	padding: 32px 32px 24px;
}

.cx-cmp-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--cx-cmp-accent-soft);
	color: var(--cx-cmp-accent);
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.cx-cmp-hero__title {
	margin: 0 0 18px;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--cx-cmp-text);
}

.cx-cmp-hero__duel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin-bottom: 20px;
}

.cx-cmp-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 16px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--cx-cmp-text);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.cx-cmp-hero__pill--a {
	border-color: rgba(0, 106, 255, 0.35);
}

.cx-cmp-hero__pill--b {
	border-color: rgba(4, 25, 42, 0.2);
}

.cx-cmp-hero__vs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #006aff, #0052cc);
	color: #fff;
	font-weight: 900;
	font-size: 0.8rem;
	box-shadow: 0 8px 20px rgba(0, 106, 255, 0.35);
}

.cx-cmp-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	font-size: 0.88rem;
	color: var(--cx-cmp-muted);
	margin-bottom: 12px;
}

.cx-cmp-hero__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cx-cmp-hero__author img {
	border-radius: 50%;
}

.cx-cmp-hero__intro {
	margin: 0;
	max-width: 62ch;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--cx-cmp-muted);
}

.cx-cmp-hero__visual {
	border-top: 1px solid var(--cx-cmp-line);
	max-height: 420px;
	overflow: hidden;
}

.cx-cmp-hero__thumb {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.cx-cmp-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (max-width: 960px) {
	.cx-cmp-layout {
		grid-template-columns: 1fr;
	}
}

.cx-cmp-toc {
	position: sticky;
	top: calc(var(--cx-top-h, 56px) + var(--cx-nav-h, 44px) + 16px);
	padding: 16px;
	border-radius: 16px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
}

.cx-cmp-toc__label {
	margin: 0 0 10px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--cx-cmp-muted);
}

.cx-cmp-toc__list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.82rem;
	line-height: 1.45;
}

.cx-cmp-toc__list a {
	color: var(--cx-cmp-text);
	text-decoration: none;
}

.cx-cmp-toc__list a:hover,
.cx-cmp-toc__list a.is-active {
	color: var(--cx-cmp-accent);
}

.cx-cmp-main {
	min-width: 0;
}

.cx-cmp-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--cx-cmp-text);
}

.cx-cmp-content .cx-cmp-h2,
.cx-cmp-content > h2 {
	margin: 2.5rem 0 1rem;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--cx-cmp-accent-soft);
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--cx-cmp-text);
}

.cx-cmp-content > h3 {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 800;
}

.cx-cmp-content > p:first-child {
	font-size: 1.12rem;
	color: var(--cx-cmp-muted);
}

/* Comparison tables */
.cx-cmp-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.5rem 0 2rem;
	font-size: 0.92rem;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--cx-cmp-line);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cx-cmp-content table thead th {
	background: linear-gradient(180deg, #04192a, #0a2540);
	color: #fff;
	font-weight: 700;
	padding: 14px 16px;
	text-align: left;
}

.cx-cmp-content table tbody th {
	background: #f1f5f9;
	font-weight: 700;
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--cx-cmp-line);
	width: 28%;
}

[data-theme="dark"] .cx-cmp-content table tbody th {
	background: rgba(148, 163, 184, 0.1);
}

.cx-cmp-content table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--cx-cmp-line);
	vertical-align: top;
}

.cx-cmp-content table tr:nth-child(even) td {
	background: rgba(0, 106, 255, 0.03);
}

.cx-cmp-content table tr:last-child td,
.cx-cmp-content table tr:last-child th {
	border-bottom: none;
}

@media (max-width: 640px) {
	.cx-cmp-content .wp-block-table,
	.cx-cmp-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Pros / cons lists */
.cx-cmp-content ul {
	margin: 1rem 0 1.5rem;
	padding-left: 1.25rem;
}

.cx-cmp-content li {
	margin-bottom: 0.5rem;
}

.cx-cmp-verdict {
	display: flex;
	gap: 16px;
	margin-top: 2.5rem;
	padding: 22px 24px;
	border-radius: 18px;
	border: 1px solid rgba(0, 106, 255, 0.25);
	background: linear-gradient(135deg, var(--cx-cmp-accent-soft), transparent);
}

.cx-cmp-verdict__icon {
	color: var(--cx-cmp-accent);
	flex-shrink: 0;
}

.cx-cmp-verdict__title {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--cx-cmp-text);
}

.cx-cmp-verdict__text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--cx-cmp-muted);
}

.cx-cmp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.cx-cmp-tag {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--cx-cmp-accent-soft);
	color: var(--cx-cmp-accent);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 640px) {
	.cx-cmp-hero__inner {
		padding: 22px 18px 18px;
	}

	.cx-cmp-archive-hero {
		padding: 28px 22px;
	}
}

/* ============================================================
   SINGLE COMPARATIVA — redesigned  (cx-cs-*)
   ============================================================ */

/* ── Layout shell ──────────────────────────────────────────── */

.cx-cmp-single-article {
	--cs-toc-w: 270px;
	--cs-gap:   28px;
	display: block;
	width: 100%;
}

/* ── HERO ──────────────────────────────────────────────────── */

.cx-cs-hero {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	min-height: 420px;
	border-radius: 28px;
	overflow: hidden;
	margin-bottom: 32px;
	background:
		var(--cx-cs-bg, none)
		center / cover no-repeat;
	background-color: #04192a;
}

.cx-cs-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(4, 25, 42, 0.94) 0%,
		rgba(4, 25, 42, 0.80) 45%,
		rgba(0, 60, 160, 0.55) 100%
	);
	z-index: 0;
}

.cx-cs-hero__overlay {
	display: none;
}

.cx-cs-hero__content {
	position: relative;
	z-index: 1;
	flex: 1 1 320px;
	padding: 40px 36px 36px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Kicker pill */
.cx-cs-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 16px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s;
}

.cx-cs-hero__kicker:hover {
	background: rgba(255, 255, 255, 0.25);
}

/* Title */
.cx-cs-hero__title {
	margin: 0 0 14px;
	font-size: clamp(1.65rem, 3.2vw, 2.6rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
}

/* Excerpt intro */
.cx-cs-hero__intro {
	margin: 0 0 18px;
	max-width: 52ch;
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

/* Meta row */
.cx-cs-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
}

.cx-cs-hero__meta time,
.cx-cs-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.cx-cs-hero__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cx-cs-hero__author img {
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.35);
}

.cx-cs-hero__author a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 600;
}

/* ── VS duel panel ──────────────────────────────────────────── */

.cx-cs-duel {
	position: relative;
	z-index: 1;
	flex: 0 0 min(340px, 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 36px 28px;
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(12px);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.cx-cs-duel__device {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 18px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	transition: background 0.25s;
}

.cx-cs-duel__device--a {
	border-color: rgba(100, 160, 255, 0.4);
}

.cx-cs-duel__device--b {
	border-color: rgba(255, 255, 255, 0.25);
}

.cx-cs-duel__icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.cx-cs-duel__name {
	font-size: 0.95rem;
	font-weight: 800;
	color: #fff;
	text-align: center;
	line-height: 1.25;
}

.cx-cs-duel__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #006aff, #003db5);
	box-shadow: 0 8px 24px rgba(0, 106, 255, 0.5);
	flex-shrink: 0;
}

.cx-cs-duel__badge span {
	font-size: 0.82rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: 0.04em;
}

/* ── BODY (TOC + content) ───────────────────────────────────── */

.cx-cs-body {
	display: grid;
	grid-template-columns: var(--cs-toc-w) minmax(0, 1fr);
	gap: var(--cs-gap);
	align-items: stretch;
}

@media (max-width: 980px) {
	.cx-cs-body {
		grid-template-columns: 1fr;
		align-items: start;
	}
}

/* Wrapper spans full row height so sticky TOC can scroll with the article */
.cx-cs-toc-wrap {
	display: block;
	min-height: 100%;
	align-self: stretch;
}

@media (max-width: 980px) {
	.cx-cs-toc-wrap {
		min-height: 0;
	}
}

/* ── Table of contents ──────────────────────────────────────── */

.cx-cs-toc {
	position: relative;
	z-index: 10;
	max-height: calc(100dvh - var(--cx-top-h, 56px) - var(--cx-nav-h, 44px) - 40px);
	overflow: auto;
	padding: 18px 16px 14px;
	border-radius: 20px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

@media (min-width: 981px) {
	.cx-cs-toc.is-pinned {
		position: fixed !important;
		z-index: 3500;
	}
}

.cx-cs-toc__label {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 14px;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--cx-cmp-accent);
}

.cx-cs-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	counter-reset: toc-counter;
}

.cx-cs-toc__item {
	counter-increment: none;
}

.cx-cs-toc__link {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 8px;
	border-radius: 10px;
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--cx-cmp-muted);
	text-decoration: none;
	transition: background 0.18s, color 0.18s;
}

.cx-cs-toc__link:hover,
.cx-cs-toc__link.is-active {
	background: var(--cx-cmp-accent-soft);
	color: var(--cx-cmp-accent);
}

.cx-cs-toc__num {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--cx-cmp-line);
	color: var(--cx-cmp-muted);
	font-size: 0.68rem;
	font-weight: 800;
	flex-shrink: 0;
	transition: background 0.18s, color 0.18s;
}

.cx-cs-toc__link.is-active .cx-cs-toc__num {
	background: var(--cx-cmp-accent);
	color: #fff;
}

/* Share mini-buttons inside TOC */
.cx-cs-toc__share {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--cx-cmp-line);
}

.cx-cs-toc__share-label {
	margin: 0 0 8px;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--cx-cmp-muted);
}

.cx-cs-toc__share-btns {
	display: flex;
	gap: 8px;
}

.cx-cs-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	text-decoration: none;
	transition: filter 0.2s, transform 0.2s;
}

.cx-cs-share-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
}

.cx-cs-share-btn--wa { background: #25d366; color: #fff; }
.cx-cs-share-btn--x  { background: #000; color: #fff; }
.cx-cs-share-btn--fb { background: #1877f2; color: #fff; }

/* ── Main content column ────────────────────────────────────── */

.cx-cs-main {
	min-width: 0;
}

/* ── In-article AdSense (after first paragraph) ─────────────── */

.cx-cs-incontent-ad {
	margin: 1.5rem 0 2rem;
	padding: 0;
	border: none;
}

.cx-cs-incontent-ad__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 90px;
	padding: 12px 0;
	border-radius: 12px;
	background: var(--cx-cmp-accent-soft);
	border: 1px dashed rgba(0, 106, 255, 0.22);
	overflow: hidden;
}

.cx-cs-incontent-ad__slot {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

/* ── Article content typography ─────────────────────────────── */

.cx-cs-content {
	font-size: 1.06rem;
	line-height: 1.78;
	color: var(--cx-cmp-text);
}

.cx-cs-content h2,
.cx-cs-content .cx-cmp-h2 {
	display: block;
	margin: 2.75rem 0 1rem;
	padding: 0 0 14px;
	border: none;
	border-radius: 0;
	background: none;
	border-bottom: 1px solid var(--cx-cmp-line);
	font-size: 1.42rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--cx-cmp-text);
	position: relative;
}

.cx-cs-content h2::after,
.cx-cs-content .cx-cmp-h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 2px;
	background: var(--cx-cmp-accent);
	border-radius: 0;
}

[data-theme="dark"] .cx-cs-content h2,
[data-theme="dark"] .cx-cs-content .cx-cmp-h2 {
	border-bottom-color: var(--cx-cmp-line);
}

.cx-cs-content h3 {
	margin: 2rem 0 0.75rem;
	padding-left: 12px;
	border-left: 3px solid var(--cx-cmp-accent);
	border-radius: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cx-cmp-text);
}

.cx-cs-content h4 {
	margin: 1.5rem 0 0.6rem;
	padding: 0;
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--cx-cmp-muted);
}

.cx-cs-content > p {
	margin: 0 0 1.4rem;
}

.cx-cs-content > p:first-of-type {
	font-size: 1.12rem;
	color: var(--cx-cmp-muted);
	line-height: 1.75;
}

.cx-cs-content a {
	color: var(--cx-cmp-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.cx-cs-content a:hover {
	text-decoration-color: transparent;
}

.cx-cs-content blockquote {
	margin: 1.8rem 0;
	padding: 16px 20px;
	border-left: 3px solid var(--cx-cmp-accent);
	border-radius: 0;
	background: var(--cx-cmp-accent-soft);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--cx-cmp-text);
}

.cx-cs-content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	border: 1px solid var(--cx-cmp-line);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

/* Lists */
.cx-cs-content ul,
.cx-cs-content ol {
	margin: 0 0 1.4rem 0;
	padding-left: 1.5rem;
}

.cx-cs-content li {
	margin-bottom: 0.55rem;
	line-height: 1.65;
}

/* ── Spec comparison table (Característica) ─────────────────── */

.cx-spec-table-wrap,
.cx-cs-content .wp-block-table.cx-spec-table-wrap {
	margin: 1.5rem 0 2rem;
	border: 1px solid var(--cx-cmp-line);
	border-radius: 6px;
	background: var(--cx-cmp-surface);
	overflow: hidden;
}

@media (min-width: 768px) {
	.cx-spec-table-wrap,
	.cx-cs-content .wp-block-table.cx-spec-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.cx-cs-content table.cx-spec-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.9rem;
}

.cx-cs-content table.cx-spec-table thead th {
	padding: 11px 14px;
	background: #f1f5f9;
	color: var(--cx-cmp-text);
	font-weight: 700;
	font-size: 0.78rem;
	text-align: center;
	border-bottom: 2px solid var(--cx-cmp-accent);
	white-space: nowrap;
}

.cx-cs-content table.cx-spec-table thead th:first-child {
	text-align: left;
	color: var(--cx-cmp-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.72rem;
	min-width: 150px;
}

[data-theme="dark"] .cx-cs-content table.cx-spec-table thead th {
	background: #1e293b;
}

.cx-cs-content table.cx-spec-table tbody th,
.cx-cs-content table.cx-spec-table tbody td.cx-spec-table__name {
	padding: 10px 14px;
	font-weight: 600;
	font-size: 0.86rem;
	color: var(--cx-cmp-text);
	text-align: left;
	vertical-align: middle;
	background: #f8fafc;
	border-bottom: 1px solid var(--cx-cmp-line);
	min-width: 140px;
}

[data-theme="dark"] .cx-cs-content table.cx-spec-table tbody th,
[data-theme="dark"] .cx-cs-content table.cx-spec-table tbody td.cx-spec-table__name {
	background: #151c28;
}

.cx-cs-content table.cx-spec-table tbody td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--cx-cmp-line);
	text-align: center;
	vertical-align: middle;
	color: var(--cx-cmp-text);
	line-height: 1.45;
	font-size: 0.88rem;
}

.cx-cs-content table.cx-spec-table tbody tr:nth-child(even) td:not(.cx-spec-table__name) {
	background: rgba(0, 106, 255, 0.02);
}

.cx-cs-content table.cx-spec-table tbody tr:last-child th,
.cx-cs-content table.cx-spec-table tbody tr:last-child td {
	border-bottom: none;
}

/* Header row in tbody (WordPress without thead) — desktop only */
@media (min-width: 768px) {
	.cx-cs-content table.cx-spec-table--row-header tbody tr:first-child td {
		padding: 11px 14px;
		background: #f1f5f9;
		font-weight: 700;
		font-size: 0.78rem;
		text-align: center;
		border-bottom: 2px solid var(--cx-cmp-accent);
		color: var(--cx-cmp-text);
	}

	.cx-cs-content table.cx-spec-table--row-header tbody tr:first-child td:first-child {
		text-align: left;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: var(--cx-cmp-muted);
		font-size: 0.72rem;
	}
}

/* ── Mobile: card per characteristic ────────────────────────── */

@media (max-width: 767px) {
	.cx-spec-table-wrap,
	.cx-cs-content .wp-block-table.cx-spec-table-wrap {
		border: none;
		background: transparent;
		overflow: visible;
		margin: 1.25rem 0 1.75rem;
	}

	.cx-cs-content table.cx-spec-table {
		min-width: 0;
		display: block;
	}

	.cx-cs-content table.cx-spec-table thead {
		display: none;
	}

	.cx-cs-content table.cx-spec-table.cx-spec-table--row-header tbody tr:first-child {
		display: none;
	}

	.cx-cs-content table.cx-spec-table tbody {
		display: block;
	}

	.cx-cs-content table.cx-spec-table tbody tr {
		display: block;
		margin-bottom: 10px;
		border: 1px solid var(--cx-cmp-line);
		border-radius: 6px;
		background: var(--cx-cmp-surface);
		overflow: hidden;
	}

	.cx-cs-content table.cx-spec-table tbody th,
	.cx-cs-content table.cx-spec-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		width: 100%;
		box-sizing: border-box;
		padding: 10px 14px;
		border-bottom: 1px solid var(--cx-cmp-line);
		text-align: right;
		min-width: 0;
		max-width: none;
		position: static;
		box-shadow: none;
	}

	.cx-cs-content table.cx-spec-table tbody td.cx-spec-table__name,
	.cx-cs-content table.cx-spec-table tbody th {
		display: block;
		text-align: left;
		font-weight: 800;
		font-size: 0.82rem;
		color: var(--cx-cmp-accent);
		background: rgba(0, 106, 255, 0.06);
		border-bottom: 1px solid var(--cx-cmp-line);
	}

	.cx-cs-content table.cx-spec-table tbody td:not(.cx-spec-table__name)::before {
		content: attr(data-label);
		flex: 1 1 42%;
		text-align: left;
		font-weight: 600;
		font-size: 0.78rem;
		color: var(--cx-cmp-muted);
		padding-right: 8px;
	}

	.cx-cs-content table.cx-spec-table tbody tr td:last-child {
		border-bottom: none;
	}
}

/* ── Verdict box ────────────────────────────────────────────── */

.cx-cs-verdict {
	margin: 2.5rem 0 2rem;
	padding: 28px 28px 24px;
	border-radius: 22px;
	border: 1px solid rgba(0, 106, 255, 0.22);
	background: linear-gradient(135deg,
		rgba(0, 106, 255, 0.09) 0%,
		rgba(0, 106, 255, 0.03) 100%
	);
	box-shadow: 0 12px 36px rgba(0, 106, 255, 0.1);
}

[data-theme="dark"] .cx-cs-verdict {
	background: linear-gradient(135deg,
		rgba(0, 106, 255, 0.14) 0%,
		rgba(0, 106, 255, 0.04) 100%
	);
	border-color: rgba(100, 160, 255, 0.28);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.cx-cs-verdict__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.cx-cs-verdict__trophy {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--cx-cmp-accent);
	color: #fff;
	flex-shrink: 0;
	box-shadow: 0 8px 20px rgba(0, 106, 255, 0.38);
}

.cx-cs-verdict__eyebrow {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--cx-cmp-accent);
	opacity: 0.85;
}

.cx-cs-verdict__title {
	margin: 4px 0 0;
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--cx-cmp-text);
	border: none !important;
	background: none !important;
	padding: 0 !important;
}

.cx-cs-verdict__devices {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(0, 106, 255, 0.15);
}

[data-theme="dark"] .cx-cs-verdict__devices {
	background: rgba(0, 0, 0, 0.25);
}

.cx-cs-verdict__dev {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--cx-cmp-text);
}

.cx-cs-verdict__dev--a { background: rgba(0, 106, 255, 0.12); }
.cx-cs-verdict__dev--b { background: rgba(15, 23, 42, 0.07); }

[data-theme="dark"] .cx-cs-verdict__dev--b {
	background: rgba(255, 255, 255, 0.08);
}

.cx-cs-verdict__vs {
	font-size: 0.7rem;
	font-weight: 900;
	color: var(--cx-cmp-muted);
	letter-spacing: 0.06em;
}

.cx-cs-verdict__text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--cx-cmp-text);
}

/* ── Tags ───────────────────────────────────────────────────── */

.cx-cs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1.5rem 0 2rem;
}

.cx-cs-tag {
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid var(--cx-cmp-line);
	color: var(--cx-cmp-muted);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cx-cs-tag:hover {
	border-color: var(--cx-cmp-accent);
	color: var(--cx-cmp-accent);
	background: var(--cx-cmp-accent-soft);
}

/* ── Related comparativas ───────────────────────────────────── */

.cx-cs-related {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--cx-cmp-line);
}

.cx-cs-related__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1.2rem;
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--cx-cmp-text);
	letter-spacing: -0.02em;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}

.cx-cs-related__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

@media (max-width: 600px) {
	.cx-cs-related__grid {
		grid-template-columns: 1fr;
	}
}

.cx-cs-related-card {
	display: flex;
	gap: 10px;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid var(--cx-cmp-line);
	background: var(--cx-cmp-surface);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-cs-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
	border-color: rgba(0, 106, 255, 0.22);
}

.cx-cs-related-card__media {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
}

.cx-cs-related-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-cs-related-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cx-cs-related-card__vs {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.66rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--cx-cmp-accent);
	letter-spacing: 0.04em;
}

.cx-cs-related-card__vs em {
	font-style: normal;
	padding: 1px 5px;
	border-radius: 4px;
	background: var(--cx-cmp-accent);
	color: #fff;
	font-size: 0.58rem;
}

.cx-cs-related-card__title {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cx-cmp-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Responsive adjustments ─────────────────────────────────── */

@media (max-width: 780px) {
	.cx-cs-hero {
		flex-direction: column;
		min-height: auto;
		border-radius: 20px;
	}

	.cx-cs-hero__content {
		padding: 32px 22px 24px;
		justify-content: flex-start;
	}

	.cx-cs-duel {
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		flex-direction: row;
		justify-content: center;
		gap: 10px;
		padding: 22px 18px;
	}

	.cx-cs-duel__device {
		flex: 1;
	}

	.cx-cs-duel__icon {
		width: 48px;
		height: 48px;
	}

	.cx-cs-duel__badge {
		width: 40px;
		height: 40px;
		flex-shrink: 0;
	}
}

@media (max-width: 480px) {
	.cx-cs-hero {
		border-radius: 14px;
	}

	.cx-cs-hero__content {
		padding: 24px 16px 18px;
	}

	.cx-cs-hero__title {
		font-size: 1.5rem;
	}

	.cx-cs-verdict {
		padding: 20px 18px;
	}
}

