:root {
	--tf-max-width: 1200px;
	--tf-text: #1f2937;
	--tf-heading: #111827;
	--tf-muted: #6b7280;
	--tf-border: #e5e7eb;
	--tf-bg-soft: #f9fafb;
	--tf-link: #1d4ed8;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--tf-text);
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--tf-link);
}

.tf-container {
	width: min(calc(100% - 2rem), var(--tf-max-width));
	margin-inline: auto;
}

.tf-section {
	padding-block: 3rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--tf-heading);
	line-height: 1.2;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}.tf-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 2rem;
}

.tf-category-card {
	display: block;
	padding: 1.25rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.75rem;
	text-decoration: none;
	font-weight: 600;
	background: #fff;
}

.tf-category-card:hover {
	border-color: var(--tf-link);
}

.tf-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.tf-post-card {
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.75rem;
	background: #fff;
}

.tf-post-card h3 {
	margin-top: 0;
}

@media (min-width: 640px) {
	.tf-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.tf-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tf-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.tf-post-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}.tf-category-header {
	max-width: 800px;
	margin-bottom: 2.5rem;
}

.tf-category-description {
	margin-top: 1rem;
	font-size: 1.05rem;
}

.tf-category-description p:last-child {
	margin-bottom: 0;
}

.tf-post-card-title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.tf-post-card-title a {
	color: var(--tf-heading);
	text-decoration: none;
}

.tf-post-card-title a:hover {
	color: var(--tf-link);
}

.tf-pagination {
	margin-top: 3rem;
}

.tf-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tf-pagination .page-numbers {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.4rem;
	text-decoration: none;
}

.tf-pagination .current {
	font-weight: 700;
}.tf-single-post {
	padding-block: 2rem 4rem;
}

.tf-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.9rem;
	color: var(--tf-muted);
}

.tf-breadcrumbs a {
	text-decoration: none;
}

.tf-single-header {
	max-width: 850px;
	margin-bottom: 2rem;
}

.tf-post-meta {
	color: var(--tf-muted);
	font-size: 0.95rem;
}

.tf-post-content {
	max-width: 800px;
	font-size: 1.05rem;
}

.tf-post-content h2 {
	margin-top: 2.5rem;
}

.tf-post-content h3 {
	margin-top: 2rem;
}

.tf-post-content p,
.tf-post-content ul,
.tf-post-content ol {
	margin-bottom: 1.25rem;
}

.tf-related-posts {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--tf-border);
}.tf-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--tf-border);
}

.tf-header-inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.tf-logo {
	display: inline-flex;
	align-items: center;
	color: var(--tf-heading);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.tf-logo:hover {
	color: var(--tf-heading);
}

.tf-logo-accent {
	color: var(--tf-link);
}


/* Navegación */

.tf-main-navigation {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--tf-border);
	padding: 1rem;
}

.tf-main-navigation.is-open {
	display: block;
}

.tf-main-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.tf-main-menu a {
	display: block;
	padding: 0.75rem;
	color: var(--tf-heading);
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.5rem;
}

.tf-main-menu a:hover,
.tf-main-menu .current-menu-item > a {
	background: var(--tf-bg-soft);
	color: var(--tf-link);
}


/* Botón móvil */

.tf-menu-toggle {
	width: 44px;
	height: 44px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.tf-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--tf-heading);
	border-radius: 2px;
}


/* Desktop */

@media (min-width: 900px) {

	.tf-menu-toggle {
		display: none;
	}

	.tf-main-navigation {
		display: block;
		position: static;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.tf-main-menu {
		flex-direction: row;
		align-items: center;
		gap: 0.25rem;
	}

	.tf-main-menu a {
		padding: 0.6rem 0.75rem;
		font-size: 0.95rem;
	}

}.tf-menu-dropdown {
	position: relative;
}

.tf-dropdown-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	padding: 0.75rem;
	background: transparent;
	border: 0;
	border-radius: 0.5rem;
	color: var(--tf-heading);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.tf-dropdown-toggle:hover {
	background: var(--tf-bg-soft);
	color: var(--tf-link);
}

.tf-dropdown-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0 0 1rem;
}

.tf-dropdown-menu.is-open {
	display: block;
}

.tf-dropdown-menu a {
	display: block;
	padding: 0.7rem 0.75rem;
}


/* Desktop */

@media (min-width: 900px) {

	.tf-menu-dropdown {
		position: relative;
	}

	.tf-dropdown-toggle {
		padding: 0.6rem 0.75rem;
	}

	.tf-dropdown-menu {
		position: absolute;
		top: calc(100% + 0.5rem);
		right: 0;
		min-width: 290px;
		padding: 0.6rem;
		background: #fff;
		border: 1px solid var(--tf-border);
		border-radius: 0.75rem;
		box-shadow: 0 14px 35px rgba(17, 24, 39, 0.12);
		z-index: 1200;
	}

	.tf-dropdown-menu a {
		border-radius: 0.5rem;
	}

	.tf-dropdown-menu a:hover {
		background: var(--tf-bg-soft);
	}

}.tf-hero {
	padding-block: clamp(4rem, 9vw, 7rem);
	background:
		linear-gradient(
			135deg,
			#f8fbff 0%,
			#ffffff 55%,
			#f5f7ff 100%
		);
	border-bottom: 1px solid var(--tf-border);
}

.tf-hero-inner {
	display: flex;
	align-items: center;
}

.tf-hero-content {
	max-width: 900px;
}

.tf-eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: #eef4ff;
	color: var(--tf-link);
	font-size: 0.85rem;
	font-weight: 700;
}

.tf-hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	letter-spacing: -0.045em;
}

.tf-hero-text {
	max-width: 760px;
	margin: 1.25rem 0 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: var(--tf-muted);
}

.tf-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-top: 2rem;
	color: var(--tf-heading);
	font-size: 0.95rem;
	font-weight: 600;
}

.tf-trust-row span::before {
	content: "✓";
	margin-right: 0.45rem;
	color: var(--tf-link);
	font-weight: 800;
}


/* ==================================================
   TÍTULOS DE SECCIÓN
   ================================================== */

.tf-section-heading {
	max-width: 760px;
	margin-bottom: 2rem;
}

.tf-section-heading h2 {
	margin-bottom: 0.75rem;
}

.tf-section-heading p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 1.05rem;
}


/* ==================================================
   CARDS DE CATEGORÍAS
   ================================================== */

.tf-categories-section {
	background: #fff;
}

.tf-category-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 110px;
	padding: 1.35rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
	color: var(--tf-heading);
	text-decoration: none;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.tf-category-card:hover {
	transform: translateY(-3px);
	border-color: #cbd5e1;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
	color: var(--tf-heading);
}

.tf-category-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 0.8rem;
	background: var(--tf-bg-soft);
	font-size: 1.5rem;
}

.tf-category-content {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.tf-category-content strong {
	font-size: 1rem;
	line-height: 1.3;
}

.tf-category-content small {
	color: var(--tf-muted);
	font-size: 0.88rem;
	line-height: 1.4;
}


/* ==================================================
   ÚLTIMOS POSTS
   ================================================== */

.tf-latest-posts {
	background: var(--tf-bg-soft);
}

.tf-post-card {
	overflow: hidden;
	padding: 0;
	background: #fff;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease;
}

.tf-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.tf-post-card-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef2f7;
}

.tf-post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tf-post-card-body {
	padding: 1.5rem;
}

.tf-post-card-category {
	display: inline-block;
	margin-bottom: 0.75rem;
	color: var(--tf-link);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tf-post-card h3 {
	margin: 0 0 0.8rem;
	font-size: 1.25rem;
	line-height: 1.35;
}

.tf-post-card h3 a {
	color: var(--tf-heading);
	text-decoration: none;
}

.tf-post-card h3 a:hover {
	color: var(--tf-link);
}

.tf-post-card p {
	margin-bottom: 1.2rem;
	color: var(--tf-muted);
}

.tf-read-more {
	display: inline-flex;
	align-items: center;
	color: var(--tf-link);
	font-weight: 700;
	text-decoration: none;
}


/* ==================================================
   HOME RESPONSIVE
   ================================================== */

@media (max-width: 767px) {

	.tf-hero {
		padding-block: 3.5rem;
	}

	.tf-trust-row {
		flex-direction: column;
		gap: 0.5rem;
	}

	.tf-category-card {
		min-height: auto;
	}

}.tf-site-footer {
	padding-top: 4rem;
	background: #111827;
	color: #cbd5e1;
}

.tf-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.tf-footer-brand {
	max-width: 340px;
}

.tf-footer-logo {
	display: inline-block;
	margin-bottom: 1rem;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.tf-footer-logo strong {
	color: #60a5fa;
}

.tf-footer-brand p {
	margin: 0;
	color: #94a3b8;
	font-size: 0.95rem;
	line-height: 1.7;
}

.tf-footer-column h2 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.tf-footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tf-footer-column li + li {
	margin-top: 0.65rem;
}

.tf-footer-column a {
	color: #cbd5e1;
	font-size: 0.9rem;
	text-decoration: none;
}

.tf-footer-column a:hover {
	color: #fff;
}

.tf-footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	font-size: 0.85rem;
}

.tf-footer-bottom p {
	margin: 0;
}

.tf-footer-bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.tf-footer-bottom a {
	color: #94a3b8;
	text-decoration: none;
}

.tf-footer-bottom a:hover {
	color: #fff;
}


/* Tablet */

@media (min-width: 640px) {

	.tf-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

}


/* Desktop */

@media (min-width: 1000px) {

	.tf-footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
		gap: 3rem;
	}

	.tf-footer-bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

}.tf-category-hero {
	padding-block: clamp(3rem, 6vw, 5rem);
	background:
		linear-gradient(
			135deg,
			#f8fbff 0%,
			#ffffff 70%
		);
	border-bottom: 1px solid var(--tf-border);
}

.tf-category-header {
	max-width: 850px;
}

.tf-category-header h1 {
	margin: 0;
	font-size: clamp(2.3rem, 5vw, 3.75rem);
	letter-spacing: -0.04em;
}

.tf-category-description {
	max-width: 800px;
	margin-top: 1.5rem;
	color: var(--tf-muted);
	font-size: 1.08rem;
	line-height: 1.75;
}

.tf-category-description p:last-child {
	margin-bottom: 0;
}

.tf-category-posts {
	background: #fff;
}


/* Paginación */

.tf-pagination {
	margin-top: 3rem;
}

.tf-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tf-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.6rem;
	background: #fff;
	color: var(--tf-heading);
	font-weight: 600;
	text-decoration: none;
}

.tf-pagination .page-numbers:hover {
	border-color: #cbd5e1;
	background: var(--tf-bg-soft);
}

.tf-pagination .page-numbers.current {
	background: var(--tf-heading);
	border-color: var(--tf-heading);
	color: #fff;
}


/* Categoría vacía */

.tf-empty-state {
	padding: 2rem;
	border: 1px dashed var(--tf-border);
	border-radius: 1rem;
	background: var(--tf-bg-soft);
}

.tf-empty-state h2 {
	margin-top: 0;
}/* ==================================================
   SINGLE POST
   ================================================== */

.tf-single-post {
	padding-block: 2rem 4rem;
}

.tf-single-header {
	max-width: 900px;
	margin-bottom: 2rem;
}

.tf-single-category {
	display: inline-block;
	margin-bottom: 1rem;
	color: var(--tf-link);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tf-single-header h1 {
	margin: 0;
	max-width: 950px;
	font-size: clamp(2.4rem, 5vw, 4rem);
	letter-spacing: -0.04em;
}

.tf-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 1rem;
	color: var(--tf-muted);
	font-size: 0.9rem;
}

.tf-single-featured-image {
	max-width: 1000px;
	margin: 2rem 0 3rem;
}

.tf-single-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 1rem;
}

.tf-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 800px);
}

.tf-post-content {
	max-width: 800px;
	font-size: 1.05rem;
	line-height: 1.8;
}

.tf-post-content > *:first-child {
	margin-top: 0;
}

.tf-post-content h2 {
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.tf-post-content h3 {
	margin-top: 2rem;
	margin-bottom: 0.8rem;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.tf-post-content p,
.tf-post-content ul,
.tf-post-content ol {
	margin-bottom: 1.4rem;
}

.tf-post-content a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.tf-post-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--tf-link);
	background: var(--tf-bg-soft);
}

.tf-post-content table {
	width: 100%;
	margin-block: 2rem;
	border-collapse: collapse;
}

.tf-post-content th,
.tf-post-content td {
	padding: 0.8rem;
	border: 1px solid var(--tf-border);
	text-align: left;
	vertical-align: top;
}


/* ==================================================
   BOTONES
   ================================================== */

.tf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.8rem 1.2rem;
	border-radius: 0.7rem;
	font-weight: 700;
	text-decoration: none;
	transition:
		transform 0.18s ease,
		background 0.18s ease;
}

.tf-button:hover {
	transform: translateY(-1px);
}

.tf-button-primary {
	background: var(--tf-link);
	color: #fff;
}

.tf-button-primary:hover {
	background: #1e40af;
	color: #fff;
}


/* ==================================================
   CTA AFILIADO
   ================================================== */

.tf-affiliate-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	margin-top: 3rem;
	padding: 1.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 1rem;
	background:
		linear-gradient(
			135deg,
			#f8fbff 0%,
			#ffffff 100%
		);
}

.tf-affiliate-cta h2 {
	margin: 0.25rem 0 0.75rem;
	font-size: 1.4rem;
}

.tf-affiliate-cta p {
	margin-bottom: 0;
}

.tf-affiliate-kicker {
	color: var(--tf-link);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}


/* ==================================================
   RELACIONADOS
   ================================================== */

.tf-related-posts {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--tf-border);
}


@media (min-width: 700px) {

	.tf-affiliate-cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.tf-affiliate-cta-content {
		max-width: 560px;
	}

}/* ==================================================
   COMPONENTES EDITORIALES REUTILIZABLES
   ================================================== */

/* Caja resumen del curso */
.tf-course-summary {
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
}

.tf-course-summary h2,
.tf-course-summary h3 {
	margin-top: 0;
}

.tf-course-summary-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.25rem;
}

.tf-course-summary-item {
	padding: 1rem;
	border-radius: 0.75rem;
	background: var(--tf-bg-soft);
}

.tf-course-summary-item strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--tf-heading);
}

.tf-course-summary-item span {
	color: var(--tf-muted);
}


/* Pros y contras */
.tf-pros-cons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 2rem 0;
}

.tf-pros,
.tf-cons {
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
}

.tf-pros h3,
.tf-cons h3 {
	margin-top: 0;
}

.tf-pros ul,
.tf-cons ul {
	margin-bottom: 0;
	padding-left: 1.25rem;
}


/* CTA de afiliación */
.tf-affiliate-box {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 2.5rem 0;
	padding: 1.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 1rem;
	background: linear-gradient(
		135deg,
		#f8fbff 0%,
		#ffffff 100%
	);
}

.tf-affiliate-box h2,
.tf-affiliate-box h3 {
	margin: 0;
}

.tf-affiliate-box p {
	margin-bottom: 0;
}

.tf-affiliate-disclosure {
	color: var(--tf-muted);
	font-size: 0.82rem;
}


/* Veredicto editorial */
.tf-verdict {
	margin: 2.5rem 0;
	padding: 1.75rem;
	border-left: 4px solid var(--tf-link);
	border-radius: 0.75rem;
	background: var(--tf-bg-soft);
}

.tf-verdict h2,
.tf-verdict h3 {
	margin-top: 0;
}


/* Avisos */
.tf-note {
	margin: 1.75rem 0;
	padding: 1.25rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.75rem;
	background: #fff;
}

.tf-note strong {
	color: var(--tf-heading);
}


/* Tabla responsive */
.tf-table-wrapper {
	width: 100%;
	overflow-x: auto;
	margin: 2rem 0;
}

.tf-table-wrapper table {
	min-width: 600px;
}


/* Desktop */
@media (min-width: 700px) {

	.tf-course-summary-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tf-pros-cons {
		grid-template-columns: repeat(2, 1fr);
	}

	.tf-affiliate-box {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

}/* ==================================================
   PÁGINAS GENERALES
   ================================================== */

.tf-page {
	padding-block: 2rem 5rem;
}


/* Cabecera */

.tf-page-header {
	max-width: 850px;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.tf-page-header h1 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
}


/* Contenido */

.tf-page-content {
	max-width: 800px;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--tf-text);
}

.tf-page-content > *:first-child {
	margin-top: 0;
}

.tf-page-content p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}


/* H2 */

.tf-page-content h2 {
	margin-top: 3.5rem;
	margin-bottom: 1.25rem;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
}


/* H3 */

.tf-page-content h3 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	font-size: clamp(1.3rem, 2.5vw, 1.6rem);
	line-height: 1.3;
}


/* Listas */

.tf-page-content ul,
.tf-page-content ol {
	margin-top: 0;
	margin-bottom: 1.75rem;
	padding-left: 1.5rem;
}

.tf-page-content li {
	margin-bottom: 0.5rem;
}


/* Enlaces */

.tf-page-content a {
	color: var(--tf-link);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}


/* Imágenes */

.tf-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}


/* Responsive */

@media (max-width: 767px) {

	.tf-page {
		padding-block: 1.5rem 3.5rem;
	}

	.tf-page-header {
		margin-top: 1.5rem;
	}

	.tf-page-content {
		font-size: 1rem;
	}

}/* ==================================================
   404
   ================================================== */

.tf-404 {
	padding-block: clamp(3rem, 7vw, 6rem);
	background: #fff;
}

.tf-404-content {
	max-width: 760px;
}

.tf-404-code {
	margin: 0 0 0.75rem;
	color: var(--tf-link);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.tf-404 h1 {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.tf-404-intro {
	max-width: 650px;
	margin: 1.25rem 0 0;
	color: var(--tf-muted);
	font-size: 1.1rem;
	line-height: 1.7;
}

.tf-404-actions {
	margin-top: 2rem;
}


/* Categorías */

.tf-404-categories {
	margin-top: clamp(4rem, 8vw, 7rem);
	padding-top: 3rem;
	border-top: 1px solid var(--tf-border);
}

.tf-404-categories > h2 {
	margin: 0 0 0.75rem;
}

.tf-404-categories > p {
	margin: 0 0 2rem;
	color: var(--tf-muted);
}

.tf-404-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.tf-404-category-grid a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.9rem 1rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.75rem;
	background: #fff;
	color: var(--tf-heading);
	font-weight: 600;
	text-decoration: none;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.tf-404-category-grid a:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}


/* Tablet */

@media (min-width: 600px) {

	.tf-404-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

}


/* Desktop */

@media (min-width: 1000px) {

	.tf-404-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}

}/* ==================================================
   HOME V2
   ================================================== */

/* HERO */

.tf-home-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5rem, 10vw, 8.5rem) 4rem;
	background:
		linear-gradient(
			135deg,
			#f7faff 0%,
			#ffffff 48%,
			#f4f7ff 100%
		);
	border-bottom: 1px solid var(--tf-border);
}

.tf-home-hero-container {
	position: relative;
	z-index: 2;
}

.tf-home-hero-content {
	max-width: 1000px;
}

.tf-home-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid #dbe7ff;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--tf-link);
	font-size: 0.85rem;
	font-weight: 750;
}

.tf-home-eyebrow span {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--tf-link);
	color: #fff;
	font-size: 0.65rem;
}

.tf-home-hero h1 {
	max-width: 980px;
	margin: 0;
	font-size: clamp(3rem, 7vw, 5.6rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
}

.tf-home-hero h1 span {
	display: block;
	color: var(--tf-link);
}

.tf-home-hero-description {
	max-width: 720px;
	margin: 1.75rem 0 0;
	color: var(--tf-muted);
	font-size: clamp(1.08rem, 2vw, 1.28rem);
	line-height: 1.7;
}

.tf-home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: 2rem;
}

.tf-home-main-button {
	gap: 0.7rem;
	padding-inline: 1.4rem;
}

.tf-home-method-link {
	color: var(--tf-heading);
	font-weight: 700;
	text-decoration: none;
}

.tf-home-method-link:hover {
	color: var(--tf-link);
}


/* Decoración puramente visual */

.tf-home-hero-decoration {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.tf-home-hero-decoration-one {
	width: 450px;
	height: 450px;
	top: -220px;
	right: -120px;
	background: rgba(37, 99, 235, 0.055);
}

.tf-home-hero-decoration-two {
	width: 260px;
	height: 260px;
	right: 16%;
	bottom: -190px;
	border: 55px solid rgba(37, 99, 235, 0.035);
}


/* Confianza */

.tf-home-trust {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	max-width: 900px;
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--tf-border);
}

.tf-home-trust-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.tf-home-trust-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 0.65rem;
	background: #eef4ff;
	color: var(--tf-link);
	font-weight: 800;
}

.tf-home-trust-item > span:last-child {
	display: flex;
	flex-direction: column;
}

.tf-home-trust-item strong {
	color: var(--tf-heading);
	font-size: 0.9rem;
}

.tf-home-trust-item small {
	margin-top: 0.1rem;
	color: var(--tf-muted);
	font-size: 0.78rem;
}


/* ==================================================
   CABECERAS DE SECCIÓN
   ================================================== */

.tf-home-section-header {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.tf-section-kicker {
	margin: 0 0 0.5rem;
	color: var(--tf-link);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-home-section-header h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.04em;
}

.tf-home-section-header > p {
	max-width: 560px;
	margin: 0;
	color: var(--tf-muted);
	line-height: 1.7;
}


/* ==================================================
   CATEGORÍAS HOME
   ================================================== */

.tf-home-categories {
	background: #fff;
}

.tf-home-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

.tf-home-category-card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	min-height: 105px;
	padding: 1.15rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
	color: var(--tf-heading);
	text-decoration: none;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.tf-home-category-card:hover {
	transform: translateY(-3px);
	border-color: #c7d5ec;
	box-shadow: 0 14px 35px rgba(15, 23, 42, 0.075);
	color: var(--tf-heading);
}

.tf-home-category-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 0.8rem;
	background: #f1f5ff;
	color: var(--tf-link);
	font-size: 1rem;
	font-weight: 800;
}

.tf-home-category-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tf-home-category-info strong {
	font-size: 0.98rem;
	line-height: 1.3;
}

.tf-home-category-info small {
	margin-top: 0.3rem;
	color: var(--tf-muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.tf-home-category-arrow {
	color: #94a3b8;
	font-size: 1.15rem;
	transition:
		transform 0.2s ease,
		color 0.2s ease;
}

.tf-home-category-card:hover .tf-home-category-arrow {
	transform: translateX(4px);
	color: var(--tf-link);
}


/* ==================================================
   POR QUÉ TODOFORMACIONES
   ================================================== */

.tf-home-why {
	background: #f8fafc;
}

.tf-home-why-panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--tf-border);
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.045);
}

.tf-home-why-intro {
	max-width: 550px;
}

.tf-home-why-intro h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.tf-home-why-intro > p:not(.tf-section-kicker) {
	margin: 1.25rem 0;
	color: var(--tf-muted);
	line-height: 1.75;
}

.tf-home-why-intro > a {
	color: var(--tf-link);
	font-weight: 750;
	text-decoration: none;
}

.tf-home-why-points {
	display: flex;
	flex-direction: column;
}

.tf-home-why-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--tf-border);
}

.tf-home-why-item:first-child {
	padding-top: 0;
}

.tf-home-why-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.tf-home-why-item > span {
	color: var(--tf-link);
	font-size: 0.78rem;
	font-weight: 800;
}

.tf-home-why-item h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.tf-home-why-item p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}


/* ==================================================
   ÚLTIMOS CONTENIDOS
   ================================================== */

.tf-home-latest {
	background: #fff;
}

.tf-home-post-card {
	box-shadow: 0 8px 25px rgba(15, 23, 42, 0.035);
}

.tf-home-post-placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(
			135deg,
			#eef4ff 0%,
			#f8fafc 100%
		);
	color: var(--tf-link);
	font-weight: 800;
	text-decoration: none;
}

.tf-home-post-placeholder span {
	padding: 0.5rem 0.8rem;
	border: 1px solid #dbe7ff;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	font-size: 0.8rem;
}

.tf-home-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--tf-border);
}

.tf-home-post-footer span {
	color: var(--tf-muted);
	font-size: 0.78rem;
}

.tf-home-post-footer a {
	color: var(--tf-link);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}


/* Sin posts */

.tf-home-empty {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 2rem;
	border: 1px dashed #cbd5e1;
	border-radius: 1rem;
	background: #f8fafc;
}

.tf-home-empty > span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #eef4ff;
	color: var(--tf-link);
}

.tf-home-empty h3 {
	margin: 0 0 0.35rem;
}

.tf-home-empty p {
	margin: 0;
	color: var(--tf-muted);
}


/* ==================================================
   RESPONSIVE HOME V2
   ================================================== */

@media (min-width: 600px) {

	.tf-home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-home-trust {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


@media (min-width: 900px) {

	.tf-home-section-header {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
		align-items: end;
		justify-content: space-between;
	}

	.tf-home-section-header > p {
		justify-self: end;
	}

	.tf-home-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tf-home-why-panel {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
		gap: clamp(3rem, 7vw, 6rem);
	}

}


@media (max-width: 599px) {

	.tf-home-hero {
		padding-top: 4rem;
	}

	.tf-home-hero h1 {
		font-size: clamp(2.7rem, 13vw, 4rem);
	}

	.tf-home-hero-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.tf-home-main-button {
		width: 100%;
	}

	.tf-home-category-card {
		min-height: 95px;
	}

	.tf-home-why-panel {
		border-radius: 1rem;
	}

}/* ==================================================
   CATEGORY V2
   ================================================== */

.tf-category-premium-hero {
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background:
		linear-gradient(
			135deg,
			#f7faff 0%,
			#ffffff 60%,
			#f5f8ff 100%
		);
	border-bottom: 1px solid var(--tf-border);
}

.tf-category-premium-header {
	max-width: 950px;
	margin-top: 2rem;
}

.tf-category-premium-header h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(2.8rem, 6vw, 4.8rem);
	line-height: 1.02;
	letter-spacing: -0.055em;
}

.tf-category-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.8rem;
	margin-top: 1.5rem;
	color: var(--tf-muted);
	font-size: 0.9rem;
}


/* ==================================================
   CONTENIDO EDITORIAL DE LA CATEGORÍA
   ================================================== */

.tf-category-editorial {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: #fff;
}

.tf-category-editorial-inner {
	max-width: 820px;
	font-size: 1.06rem;
	line-height: 1.85;
	color: var(--tf-text);
}

.tf-category-editorial-inner > *:first-child {
	margin-top: 0;
}

.tf-category-editorial-inner > *:last-child {
	margin-bottom: 0;
}

.tf-category-editorial-inner p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.tf-category-editorial-inner h2 {
	margin-top: 3.5rem;
	margin-bottom: 1.15rem;
	font-size: clamp(1.8rem, 3.5vw, 2.4rem);
	line-height: 1.18;
	letter-spacing: -0.03em;
}

.tf-category-editorial-inner h3 {
	margin-top: 2.5rem;
	margin-bottom: 0.9rem;
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	line-height: 1.25;
}

.tf-category-editorial-inner ul,
.tf-category-editorial-inner ol {
	margin: 0 0 1.75rem;
	padding-left: 1.5rem;
}

.tf-category-editorial-inner li {
	margin-bottom: 0.55rem;
}

.tf-category-editorial-inner a {
	color: var(--tf-link);
	font-weight: 600;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.tf-category-editorial-inner blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--tf-link);
	border-radius: 0 0.75rem 0.75rem 0;
	background: var(--tf-bg-soft);
}


/* ==================================================
   POSTS DE CATEGORÍA
   ================================================== */

.tf-category-results {
	background: #f8fafc;
	border-top: 1px solid var(--tf-border);
}

.tf-category-post-card {
	background: #fff;
	box-shadow: 0 8px 25px rgba(15, 23, 42, 0.035);
}

.tf-category-post-placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: 1rem;
	background:
		linear-gradient(
			135deg,
			#eef4ff 0%,
			#f8fafc 100%
		);
	color: var(--tf-link);
	text-decoration: none;
}

.tf-category-post-placeholder span {
	padding: 0.45rem 0.75rem;
	border: 1px solid #dbe7ff;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	font-size: 0.78rem;
	font-weight: 800;
}

.tf-post-card-label {
	margin: 0 0 0.75rem !important;
	color: var(--tf-link) !important;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.tf-category-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--tf-border);
}

.tf-category-post-footer span {
	color: var(--tf-muted);
	font-size: 0.78rem;
}

.tf-category-post-footer a {
	color: var(--tf-link);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}


/* ==================================================
   RESPONSIVE CATEGORY V2
   ================================================== */

@media (max-width: 599px) {

	.tf-category-premium-header h1 {
		font-size: clamp(2.6rem, 13vw, 3.8rem);
	}

	.tf-category-meta {
		flex-direction: column;
		gap: 0.35rem;
	}

	.tf-category-meta > span[aria-hidden="true"] {
		display: none;
	}

}/* ==================================================
   FICHA DE CURSO / REVIEW SYSTEM
   ================================================== */

/* ---------- Introducción ---------- */

.tf-review-intro {
	margin-bottom: 2rem;
	font-size: 1.12rem;
	line-height: 1.8;
	color: var(--tf-text);
}


/* ---------- Ficha rápida ---------- */

.tf-course-box {
	margin: 2rem 0 2.5rem;
	overflow: hidden;
	border: 1px solid var(--tf-border);
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.055);
}

.tf-course-box-header {
	padding: 1.5rem;
	background:
		linear-gradient(
			135deg,
			#f3f7ff 0%,
			#ffffff 100%
		);
	border-bottom: 1px solid var(--tf-border);
}

.tf-course-box-label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--tf-link);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-course-box-header h2 {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.tf-course-data {
	display: grid;
	grid-template-columns: 1fr;
}

.tf-course-data-item {
	padding: 1.15rem 1.5rem;
	border-bottom: 1px solid var(--tf-border);
}

.tf-course-data-item:last-child {
	border-bottom: 0;
}

.tf-course-data-item span {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--tf-muted);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tf-course-data-item strong {
	display: block;
	color: var(--tf-heading);
	font-size: 0.95rem;
}


/* ---------- Valoración ---------- */

.tf-rating-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1.25rem;
	margin: 2.5rem 0;
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
}

.tf-rating-score {
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: var(--tf-link);
	color: #fff;
}

.tf-rating-score strong {
	font-size: 1.65rem;
	line-height: 1;
}

.tf-rating-score span {
	margin-top: 0.15rem;
	font-size: 0.68rem;
	opacity: 0.8;
}

.tf-rating-content h2,
.tf-rating-content h3 {
	margin: 0 0 0.4rem;
}

.tf-rating-content p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 0.92rem;
}


/* ---------- Para quién / para quién no ---------- */

.tf-audience-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

.tf-audience-box {
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
}

.tf-audience-box h3 {
	margin: 0 0 1rem;
	font-size: 1.05rem;
}

.tf-audience-box ul {
	margin: 0;
	padding-left: 1.25rem;
}

.tf-audience-box li {
	margin-bottom: 0.65rem;
}

.tf-audience-box li:last-child {
	margin-bottom: 0;
}


/* ---------- Pros / Contras V2 ---------- */

.tf-pros-cons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

.tf-pros,
.tf-cons {
	padding: 1.5rem;
	border: 1px solid var(--tf-border);
	border-radius: 1rem;
	background: #fff;
}

.tf-pros {
	border-top: 4px solid #16a34a;
}

.tf-cons {
	border-top: 4px solid #dc2626;
}

.tf-pros h3,
.tf-cons h3 {
	margin: 0 0 1rem;
}

.tf-pros ul,
.tf-cons ul {
	margin: 0;
	padding-left: 1.25rem;
}

.tf-pros li,
.tf-cons li {
	margin-bottom: 0.65rem;
}


/* ---------- CTA afiliado V2 ---------- */

.tf-course-cta {
	position: relative;
	overflow: hidden;
	margin: 2.75rem 0;
	padding: clamp(1.5rem, 4vw, 2rem);
	border-radius: 1.25rem;
	background:
		linear-gradient(
			135deg,
			#172554 0%,
			#1e3a8a 100%
		);
	color: #fff;
}

.tf-course-cta-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.tf-course-cta-label {
	margin: 0 0 0.4rem !important;
	color: #bfdbfe !important;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.tf-course-cta h2,
.tf-course-cta h3 {
	margin: 0 0 0.6rem;
	color: #fff;
}

.tf-course-cta-text {
	margin: 0 !important;
	color: #dbeafe !important;
	font-size: 0.94rem;
}

.tf-course-cta-action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.tf-course-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.8rem 1.25rem;
	border-radius: 0.7rem;
	background: #fff;
	color: #1e3a8a !important;
	font-weight: 800;
	text-decoration: none !important;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease;
}

.tf-course-cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tf-course-cta-note {
	color: #bfdbfe;
	font-size: 0.7rem;
}


/* ---------- Veredicto ---------- */

.tf-review-verdict {
	margin: 2.5rem 0;
	padding: clamp(1.5rem, 4vw, 2rem);
	border: 1px solid #c7d7f8;
	border-radius: 1.25rem;
	background:
		linear-gradient(
			135deg,
			#f4f8ff 0%,
			#ffffff 100%
		);
}

.tf-review-verdict-label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--tf-link);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.tf-review-verdict h2,
.tf-review-verdict h3 {
	margin-top: 0;
}


/* ---------- Alternativas ---------- */

.tf-alternatives {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

.tf-alternative-card {
	padding: 1.25rem;
	border: 1px solid var(--tf-border);
	border-radius: 0.9rem;
	background: #fff;
}

.tf-alternative-card strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--tf-heading);
}

.tf-alternative-card p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 0.9rem;
}


/* ---------- FAQ ---------- */

.tf-faq {
	margin: 2rem 0;
	border-top: 1px solid var(--tf-border);
}

.tf-faq-item {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--tf-border);
}

.tf-faq-item h3 {
	margin: 0 0 0.6rem;
	font-size: 1.05rem;
}

.tf-faq-item p {
	margin: 0;
}


/* ==================================================
   RESPONSIVE REVIEW
   ================================================== */

@media (min-width: 650px) {

	.tf-course-data {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-course-data-item {
		border-right: 1px solid var(--tf-border);
	}

	.tf-course-data-item:nth-child(2n) {
		border-right: 0;
	}

	.tf-audience-grid,
	.tf-pros-cons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-alternatives {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


@media (min-width: 800px) {

	.tf-course-cta-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}

	.tf-course-cta-action {
		align-items: flex-end;
	}

}


@media (max-width: 480px) {

	.tf-rating-box {
		grid-template-columns: 1fr;
	}

	.tf-rating-score {
		width: 72px;
		height: 72px;
	}

	.tf-course-cta-button {
		width: 100%;
	}

}/* ==================================================
   GALERÍA DE CURSOS
   ================================================== */

.tf-course-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 0.65rem;
	margin: 2rem 0 2.5rem;
}

.tf-course-gallery figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 0.85rem;
	background: #f1f5f9;
}

.tf-course-gallery-main {
	min-height: 430px;
}

.tf-course-gallery-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, 1fr);
	gap: 0.65rem;
}

.tf-course-gallery-side figure:first-child {
	grid-column: 1 / -1;
}

.tf-course-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tf-course-gallery figure:hover img {
	transform: scale(1.025);
}


/* Tablet y móvil */

@media (max-width: 750px) {

	.tf-course-gallery {
		grid-template-columns: 1fr;
	}

	.tf-course-gallery-main {
		min-height: auto;
		aspect-ratio: 16 / 10;
	}

	.tf-course-gallery-side {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: none;
	}

	.tf-course-gallery-side figure:first-child {
		grid-column: auto;
	}

	.tf-course-gallery-side figure {
		aspect-ratio: 1 / 1;
	}

}


@media (max-width: 480px) {

	.tf-course-gallery {
		gap: 0.4rem;
	}

	.tf-course-gallery-side {
		gap: 0.4rem;
	}

	.tf-course-gallery figure {
		border-radius: 0.6rem;
	}

}/* ==================================================
   FIX DROPDOWN HEADER
   ================================================== */

.tf-dropdown-menu {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.tf-dropdown-menu.is-open {
	display: block;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 900px) {

	.tf-dropdown-menu {
		display: block;
		transform: translateY(-6px);
		transition:
			opacity 0.18s ease,
			transform 0.18s ease,
			visibility 0.18s ease;
	}

	.tf-dropdown-menu.is-open {
		transform: translateY(0);
	}

}