/*
 * Rich Affiliate Site — estilos del blog.
 * Mobile-first. Colores y ancho vienen del Personalizador como variables CSS.
 */

/* =========================================================
   1. Fuentes y variables
   ========================================================= */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins/poppins-normal-300.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins/poppins-normal-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/poppins/poppins-italic-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins/poppins-normal-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/poppins/poppins-italic-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins/poppins-normal-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins/poppins-normal-700.woff2) format('woff2'); }

:root {
	--rich-accent: #1177CC;
	--rich-accent-dark: #0058C4;
	--rich-link: #1177CC;
	--rich-header-bg: #1177CC;
	--rich-text: #3a3a3a;
	--rich-heading: #1f2d3d;
	--rich-container: 1200px;

	--muted: #8a8a8a;
	--border: #e3e9f0;
	--bg-soft: #f4f7fb;
	--bg-dark: #333333;
	--white: #ffffff;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 6px 24px rgba(51, 51, 51, .08);
	--shadow-hover: 0 12px 32px rgba(51, 51, 51, .14);
	--header-h: 72px;
	--font: 'Poppins', Helvetica, Arial, sans-serif;
}

/* =========================================================
   2. Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 20px;
}

body {
	--sticky-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--sticky-header-h, 0px) + 24px);
	margin: 0;
	background: var(--white);
	color: var(--rich-text);
	font-family: var(--font);
	font-size: var(--rich-font-size, 16px);
	font-weight: var(--rich-bw, 400);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
figure { margin: 0; }

a {
	color: var(--rich-link);
	text-decoration: none;
	transition: color .2s, background-color .2s, opacity .2s;
}
a:hover { color: var(--rich-accent-dark); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--rich-heading);
	font-weight: var(--rich-hw2, 600);
	line-height: 1.25;
}

p { margin: 0 0 1.2em; }

/* Fuente de títulos (Personalizar > Rich: Tipografía) */
h1, h2, h3, h4, h5, h6,
.site-title,
.card__title,
.featured__title,
.featured__item-title,
.section-title,
.entry-title,
.page-header__title,
.cta-buy__title,
.author-box__name,
.post-navigation .nav-title,
.widget-title,
.footer-title,
.promo-box__title,
.mini-post__title,
.error-404__code,
.rich-toc__title { font-family: var(--font-heading, var(--font)); }
strong, b { font-weight: 600; }

:focus-visible {
	outline: 2px solid var(--rich-link);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--rich-heading);
	box-shadow: var(--shadow);
}

.rich-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	vertical-align: -.125em;
}

.container {
	width: min(100% - 32px, var(--rich-container));
	margin-inline: auto;
}

/* Botones */
.btn,
.rich-button,
input[type="submit"],
button[type="submit"]:not(.search-form__submit) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 30px;
	background: var(--rich-accent);
	color: var(--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover,
.rich-button:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.search-form__submit):hover {
	background: var(--rich-accent-dark);
	color: var(--white);
	transform: translateY(-1px);
}
.btn--dark { background: var(--bg-dark); }
.btn--dark:hover { background: #1f1f1f; }
.btn--outline {
	border-color: var(--rich-accent);
	background: transparent;
	color: var(--rich-accent-dark);
}
.btn--outline:hover { background: var(--rich-accent); }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 22px;
	cursor: pointer;
	transition: background-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .15); }
.header-light .icon-btn:hover { background: var(--bg-soft); }

/* Formularios */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--rich-heading);
	font-family: inherit;
	font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
}
input:focus,
textarea:focus,
select:focus {
	border-color: var(--rich-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(17, 119, 204, .2);
}

.search-form {
	position: relative;
	display: flex;
}
.search-form__field { padding-right: 52px; border-radius: 30px; }
.search-form__submit {
	position: absolute;
	top: 50%;
	right: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--rich-accent);
	color: var(--white);
	font-size: 17px;
	cursor: pointer;
	transform: translateY(-50%);
}
.search-form__submit:hover { background: var(--rich-accent-dark); }

/* =========================================================
   3. Cabecera
   ========================================================= */
.site-header {
	position: relative;
	z-index: 100;
	background: linear-gradient(135deg, var(--rich-header-bg) 0%, var(--rich-accent-dark) 100%);
	color: var(--white);
	transition: box-shadow .3s;
}
.header-light .site-header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	color: var(--rich-heading);
}
.has-sticky-header { --sticky-header-h: var(--header-h); }
.has-sticky-header .site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}
.site-header.is-scrolled { box-shadow: 0 0 33px 0 rgba(0, 0, 0, .22); }
.header-light .site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }

.site-header__inner {
	width: min(100% - 32px, var(--rich-header-width, 1100px));
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.site-branding { flex-shrink: 0; }
.site-title { margin: 0; font-size: 22px; line-height: 1; }
.site-title a { display: inline-block; color: inherit; }
.custom-logo { width: auto; max-height: 48px; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

/* Botón destacado de la cabecera */
.btn--header {
	padding: 10px 24px;
	border-radius: 4px;
	background: #FFB200;
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.btn--header:hover { background: #e6a000; color: var(--white); }
.header-light .btn--header { background: var(--rich-accent); color: var(--white); }
.header-light .btn--header:hover { background: var(--rich-accent-dark); }

/* Menú principal */
.main-nav .menu,
.main-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-nav .menu-item { position: relative; }
.main-nav .menu a {
	display: block;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
}
.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

/* Buscador modal */
.header-search {
	width: calc(100% - 32px);
	max-width: 640px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: clamp(20px, 4vw, 32px);
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--white);
	color: var(--rich-text);
	font-family: var(--font);
	box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
	overflow-y: auto;
}
.header-search:not([open]) { display: none; }
.header-search::backdrop { background: rgba(20, 20, 20, .55); }
.header-search__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.header-search__title { margin: 0; font-size: 1.4rem; }
.header-search__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bg-soft);
	color: var(--rich-heading);
	cursor: pointer;
}
.header-search__close:hover { background: var(--rich-accent); color: var(--white); }
.header-search__close .rich-icon { width: 32px; height: 32px; }
.header-search .search-form { margin: 0; }
.header-search .search-form__field { min-width: 0; font-size: 16px; }
html.search-lock,
body.search-open { overflow: hidden; }

/* Escritorio */
@media (min-width: 981px) {
	.main-nav {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: center;
	}
	.main-nav .menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 6px;
	}
	.main-nav .menu > .menu-item {
		display: flex;
		align-items: center;
	}
	.main-nav .menu > .menu-item > a {
		padding: 10px 12px;
		border-radius: 20px;
		transition: opacity .3s, background-color .3s;
	}
	.main-nav .menu > .menu-item > a:hover,
	.main-nav .menu > .current-menu-item > a,
	.main-nav .menu > .current-menu-ancestor > a { background: rgba(255, 255, 255, .16); }
	.header-light .main-nav .menu > .menu-item > a:hover,
	.header-light .main-nav .menu > .current-menu-item > a,
	.header-light .main-nav .menu > .current-menu-ancestor > a { background: var(--bg-soft); color: var(--rich-link); }

	.main-nav .submenu-toggle {
		width: 18px;
		height: 18px;
		margin-left: -8px;
		font-size: 11px;
	}
	.main-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		min-width: 220px;
		padding: 8px;
		border-top: 3px solid var(--rich-accent);
		border-radius: 0 0 var(--radius-sm) var(--radius-sm);
		background: var(--white);
		box-shadow: var(--shadow-hover);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.main-nav .sub-menu .sub-menu { top: -11px; left: 100%; border-radius: var(--radius-sm); }
	.main-nav .menu-item:hover > .sub-menu,
	.main-nav .menu-item:focus-within > .sub-menu,
	.main-nav .menu-item.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.main-nav .sub-menu a {
		padding: 9px 12px;
		border-radius: 6px;
		color: var(--rich-heading);
	}
	.main-nav .sub-menu a:hover { background: var(--bg-soft); color: var(--rich-link); }
	.main-nav .sub-menu .submenu-toggle { position: absolute; top: 12px; right: 8px; color: var(--muted); transform: rotate(-90deg); }

	.main-nav__extra,
	.menu-toggle { display: none; }
}

/* Móvil y tablet: panel lateral */
.main-nav__head,
.main-nav__label { display: none; }

@keyframes rich-item-in {
	from { opacity: 0; transform: translateX(18px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
	.btn--header-desktop { display: none; }
	html.menu-lock { overflow: hidden; }

	.main-nav {
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0px);
		right: 0;
		bottom: 0;
		z-index: 200;
		display: flex;
		flex-direction: column;
		width: min(88vw, 390px);
		padding: 0 20px 28px;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--white);
		color: var(--rich-heading);
		border-radius: 22px 0 0 22px;
		box-shadow: -24px 0 60px rgba(0, 0, 0, .18);
		transform: translateX(104%);
		visibility: hidden;
		transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility .45s;
	}
	.menu-open .main-nav { transform: none; visibility: visible; }

	/* Cabecera del panel: logo + cerrar */
	.main-nav__head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -20px 6px;
		padding: 18px 20px 14px;
		background: rgba(255, 255, 255, .94);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
	.main-nav__logo img { width: auto; max-height: 40px; }
	.main-nav__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--bg-soft);
		color: var(--rich-heading);
		font-size: 16px;
		cursor: pointer;
		transition: background-color .2s, color .2s, transform .3s;
	}
	.main-nav__close:hover { background: var(--rich-accent); color: var(--white); transform: rotate(90deg); }

	.main-nav__label {
		display: block;
		margin: 0 0 6px 14px;
		color: var(--muted);
		font-size: 11px;
		font-weight: 600;
		letter-spacing: .14em;
		text-transform: uppercase;
	}

	/* Elementos del menú */
	.main-nav .menu { display: grid; gap: 2px; }
	.main-nav .menu-item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-radius: 12px;
		transition: background-color .2s;
	}
	.menu-open .main-nav .menu > .menu-item {
		animation: rich-item-in .45s cubic-bezier(.22, 1, .36, 1) both;
		animation-delay: calc(80ms + var(--i, 0) * 45ms);
	}
	.main-nav .menu > .menu-item:hover,
	.main-nav .menu > .menu-item.is-open { background: var(--bg-soft); }
	.main-nav .menu a {
		position: relative;
		flex: 1;
		padding: 13px 14px;
		color: var(--rich-heading);
		font-size: 16px;
		font-weight: 500;
		line-height: 1.35;
	}
	.main-nav .menu > .current-menu-item,
	.main-nav .menu > .current-menu-ancestor { background: rgba(17, 119, 204, .13); }
	.main-nav .menu > .current-menu-item > a,
	.main-nav .menu > .current-menu-ancestor > a { color: var(--rich-accent-dark); font-weight: 600; }
	.main-nav .menu > .current-menu-item > a::before,
	.main-nav .menu > .current-menu-ancestor > a::before {
		content: "";
		position: absolute;
		top: 12px;
		bottom: 12px;
		left: 0;
		width: 3px;
		border-radius: 3px;
		background: var(--rich-accent);
	}

	.main-nav .submenu-toggle {
		width: 36px;
		height: 36px;
		margin-right: 6px;
		border-radius: 50%;
		background: var(--white);
		color: var(--rich-accent-dark);
		font-size: 12px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
		transition: transform .3s, background-color .2s, color .2s;
	}
	.main-nav .is-open > .submenu-toggle { background: var(--rich-accent); color: var(--white); transform: rotate(180deg); }

	.main-nav .sub-menu {
		width: 100%;
		max-height: 0;
		margin: 0 14px;
		padding-left: 12px;
		overflow: hidden;
		border-left: 2px solid rgba(17, 119, 204, .35);
		opacity: 0;
		transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
	}
	.main-nav .is-open > .sub-menu { max-height: 800px; margin-bottom: 10px; opacity: 1; }
	.main-nav .sub-menu .menu-item { border-radius: 8px; }
	.main-nav .sub-menu a {
		padding: 9px 10px;
		color: var(--rich-text);
		font-size: 14.5px;
		font-weight: 400;
	}
	.main-nav .sub-menu a:hover,
	.main-nav .sub-menu .current-menu-item > a { color: var(--rich-accent-dark); }
	.main-nav .sub-menu .submenu-toggle { width: 30px; height: 30px; box-shadow: none; background: transparent; }

	/* Pie del panel: tarjeta de compra + redes */
	.main-nav__extra {
		display: flex;
		flex-direction: column;
		gap: 18px;
		margin-top: auto;
		padding-top: 26px;
	}
	.main-nav__cta {
		position: relative;
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px 12px;
		align-items: center;
		padding: 18px 18px 18px 20px;
		overflow: hidden;
		border-radius: 16px;
		background: linear-gradient(135deg, var(--rich-header-bg) 0%, var(--rich-accent-dark) 100%);
		color: var(--white) !important;
		box-shadow: 0 10px 24px rgba(0, 88, 196, .35);
		transition: transform .25s, box-shadow .25s;
	}
	.main-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 88, 196, .45); }
	.main-nav__cta img { grid-column: 1; width: 110px; height: auto; }
	.main-nav__cta-text { grid-column: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
	.main-nav__cta-arrow {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1 / span 2;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: var(--bg-dark);
		color: var(--white);
		font-size: 18px;
	}
	.social-links--nav { justify-content: center; }
	.social-links--nav a { background: var(--bg-soft); color: var(--rich-heading) !important; }
	.social-links--nav a:hover { background: var(--rich-accent); color: var(--white) !important; }
	.social-links--header { display: none; }

	/* Fondo oscurecido y desenfocado */
	.menu-overlay {
		position: fixed;
		inset: 0;
		z-index: 150; /* Dentro de la cabecera: por encima de su barra, por debajo del panel (200). */
		background: rgba(20, 20, 20, .45);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .35s, visibility .35s;
	}
	.menu-open .menu-overlay { opacity: 1; visibility: visible; }
	.menu-open .site-header { z-index: 300; }
}
@media (min-width: 981px) {
	.menu-overlay { display: none; }
}
@media (max-width: 420px) {
	.main-nav { width: 100%; border-radius: 0; }
}

/* =========================================================
   4. Maquetación
   ========================================================= */
.site-content { min-height: 50vh; }

.layout {
	display: grid;
	gap: 48px;
	padding-block: 40px 64px;
}
.site-main { min-width: 0; }

@media (min-width: 1025px) {
	.layout--right { grid-template-columns: minmax(0, 1fr) 320px; }
	.layout--left { grid-template-columns: 320px minmax(0, 1fr); }
	.layout--left .sidebar { order: -1; }
}
.layout--none.layout--single .site-main,
.layout--none.layout--page .site-main,
.layout--narrow .site-main {
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
}

/* Cabecera de archivos */
.page-header {
	padding: 36px 0 32px;
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
}
.page-header__title {
	margin: 6px 0 0;
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: var(--rich-hw, 700);
}
.page-header__title span { color: var(--rich-link); }
.page-header__desc {
	max-width: 760px;
	margin-top: 10px;
	color: var(--muted);
}
.page-header__desc p:last-child { margin-bottom: 0; }
.page-header__author img { border-radius: 50%; margin-bottom: 10px; }
.page-header__search { max-width: 520px; margin-top: 18px; }
.subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.subcats a {
	display: inline-block;
	padding: 5px 14px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--white);
	color: var(--rich-heading);
	font-size: 13px;
}
.subcats a:hover { border-color: var(--rich-accent); color: var(--rich-link); }

/* Migas de pan */
.breadcrumbs {
	color: var(--muted);
	font-size: 13px;
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
.breadcrumbs li + li::before {
	content: "›";
	margin: 0 8px;
	color: #bbb;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rich-link); }
.breadcrumbs [aria-current] span {
	display: inline-block;
	max-width: 36ch;
	overflow: hidden;
	vertical-align: bottom;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* =========================================================
   5. Tarjetas y rejillas
   ========================================================= */
.post-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px) {
	.post-grid--2,
	.post-grid--3,
	.post-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.post-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.post-grid__ad { grid-column: 1 / -1; }
.post-grid__ad .rich-ad { margin: 0; }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform .25s, box-shadow .25s;
}
.card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-3px);
}
.card-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--bg-soft);
}
.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}
.card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 60px;
	background: linear-gradient(135deg, var(--bg-soft), #dfeaf6);
	color: var(--rich-accent);
	font-size: 34px;
}
.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}
.card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
}
.card__title a { color: var(--rich-heading); }
.card__title a:hover { color: var(--rich-link); }
.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.card .entry-meta { margin-top: auto; padding-top: 4px; }
.card .cat-badge { position: relative; z-index: 1; align-self: flex-start; }

.cat-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	background: rgba(17, 119, 204, .15);
	color: var(--rich-accent-dark);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.6;
	text-transform: uppercase;
}
a.cat-badge:hover { background: var(--rich-accent); color: var(--white); }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	color: var(--muted);
	font-size: 12.5px;
}
.entry-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.entry-meta .rich-icon { color: var(--rich-accent); }
.entry-meta a { color: inherit; }
.entry-meta a:hover { color: var(--rich-link); }
.meta-avatar { border-radius: 50%; }

/* Paginación */
.pagination { margin-top: 44px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--rich-heading);
	font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--rich-accent); color: var(--rich-link); }
.pagination .page-numbers.current {
	border-color: var(--rich-accent);
	background: var(--rich-accent);
	color: var(--white);
}
.pagination .dots { border: 0; }

/* =========================================================
   6. Portada tipo revista
   ========================================================= */
.home-mag { padding-block: 32px 64px; }
.home-mag__layout { gap: 32px; padding-block: 0; }
.home-mag__panel {
	--home-panel-padding: 0px;
	min-width: 0;
	padding: var(--home-panel-padding);
	overflow: hidden;
	border-radius: 14px;
}
body.is-boxed .home-mag__panel {
	--home-panel-padding: clamp(16px, 2vw, 24px);
	border: 1px solid rgba(17, 35, 60, .07);
	background: #fff;
	box-shadow: 0 12px 32px rgba(20, 38, 60, .07);
}
.home-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: calc(-1 * var(--home-panel-padding)) calc(-1 * var(--home-panel-padding)) 24px;
}
.home-featured__item { min-width: 0; background: var(--bg-dark); }
.home-featured__link {
	position: relative;
	display: grid;
	height: 100%;
	min-height: 260px;
	align-items: end;
	padding: 100px 20px 20px;
	color: #fff;
	isolation: isolate;
}
.home-featured__link::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .08) 80%);
	content: "";
}
.home-featured__media { position: absolute; inset: 0; z-index: -2; }
.home-featured__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.home-featured__placeholder,
.home-post__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--rich-accent);
	font-size: 34px;
}
.home-featured__title {
	margin: 0;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	overflow-wrap: anywhere;
}
.home-featured__link:hover .home-featured__title { text-decoration: underline; }
.home-featured__link:focus-visible { z-index: 1; outline-offset: -4px; }
.home-post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px 24px;
}
.home-post { min-width: 0; }
.home-post__link { display: block; border-radius: 12px; }
.home-post__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: var(--bg-soft);
}
.home-post__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-post__title {
	margin: 12px 0 0;
	color: var(--rich-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.home-post__link:hover .home-post__title { color: var(--rich-link); }
.home-mag__panel .pagination .nav-links { justify-content: flex-start; }
.home-mag__panel .home-section { margin-top: 36px; }
.home-mag .home-post-grid .post-grid__ad { grid-column: 1 / -1; }
.home-mag .cta-buy { margin-top: 40px; }
@media (min-width: 600px) {
	.home-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
	.home-featured { grid-template-columns: repeat(var(--home-featured-cols, 3), minmax(0, 1fr)); }
	.home-featured__link { min-height: 290px; }
}
@media (min-width: 900px) {
	.home-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1300px) {
	.has-share-side .home-mag { width: min(100% - 112px, var(--rich-container)); }
}
.home-section { margin-top: 56px; }
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.section-title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	font-size: 22px;
	font-weight: var(--rich-hw, 700);
}
.section-head .section-title { margin-bottom: 0; }
.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: var(--rich-accent);
}
.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.section-head__more .rich-icon { font-size: 12px; }

.featured {
	display: grid;
	gap: 24px;
}
@media (min-width: 900px) {
	.featured { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
}
.featured__main {
	position: relative;
	overflow: hidden;
	min-height: 320px;
	border-radius: var(--radius);
	background: var(--bg-dark);
}
.featured__media {
	position: absolute;
	inset: 0;
	display: block;
}
.featured__media img,
.featured__media .card-thumb__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s;
}
.featured__main:hover .featured__media img { transform: scale(1.03); }
.featured__overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 90px 28px 26px;
	background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
	color: var(--white);
	pointer-events: none;
}
.featured__overlay a { pointer-events: auto; }
.featured__overlay .cat-badge { align-self: flex-start; background: var(--rich-accent); color: var(--white); }
.featured__title {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: var(--rich-hw, 700);
	line-height: 1.2;
}
.featured__title a { color: var(--white); }
.featured__title a:hover { color: #FFB200; }
.featured__overlay .entry-meta { color: rgba(255, 255, 255, .8); }
.featured__overlay .entry-meta .rich-icon { color: #FFB200; }
@media (min-width: 900px) {
	.featured__main { min-height: 440px; }
}

.featured__side {
	display: grid;
	gap: 16px;
	align-content: start;
}
.featured__item {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}
.featured__item:last-child { padding-bottom: 0; border-bottom: 0; }
.featured__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
}
.featured__thumb img,
.featured__thumb .card-thumb__placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 22px; }
.featured__item-title {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.35;
}
.featured__item-title a { color: var(--rich-heading); }
.featured__item-title a:hover { color: var(--rich-link); }
.featured__item .cat-badge { font-size: 10.5px; }

.home-more { margin-top: 48px; text-align: center; }

/* Banner hacia la landing */
.cta-buy {
	position: relative;
	display: grid;
	gap: 24px;
	align-items: center;
	margin-top: 56px;
	padding: 36px 28px;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--rich-header-bg) 0%, var(--rich-accent-dark) 100%);
	color: var(--white);
}
.cta-buy__title {
	margin: 0 0 10px;
	color: var(--white);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: var(--rich-hw, 700);
	line-height: 1.2;
}
.cta-buy__text { max-width: 520px; margin-bottom: 22px; font-size: 16px; }
.cta-buy__media img { display: block; width: 100%; max-width: 480px; margin: 0 auto; }
@media (min-width: 768px) {
	.cta-buy { grid-template-columns: 1.1fr 1fr; padding: 44px 48px; }
}

/* =========================================================
   7. Entrada y página
   ========================================================= */
.single-article { min-width: 0; }
.entry-header { margin-bottom: 24px; }
.entry-header .breadcrumbs { margin-bottom: 18px; }
.entry-cats { margin-bottom: 12px; }
.entry-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: var(--rich-hw, 700);
	line-height: 1.2;
	letter-spacing: -.01em;
}
.entry-summary {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
}
.entry-header .entry-meta { font-size: 13.5px; }
.meta-author { font-weight: 500; }
.meta-author a { color: var(--rich-heading); }
.meta-updated { opacity: .85; }

.entry-thumb {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: var(--radius);
}
.entry-thumb img { width: 100%; }
.entry-thumb figcaption {
	padding: 8px 4px 0;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

@media (min-width: 1100px) {
	.entry-wrap--floating-share {
		display: grid;
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 24px;
	}
}
.entry-wrap__main { min-width: 0; }
.entry-wrap__share { display: none; }
@media (min-width: 1100px) {
	.entry-wrap__share { display: block; }
	.entry-wrap__share .share {
		position: sticky;
		top: var(--sticky-top);
	}
}

/* Tipografía del contenido */
.entry-content {
	color: var(--rich-text);
	font-size: calc(var(--rich-font-size, 16px) + 1px);
	line-height: var(--rich-content-lh, 1.8);
	overflow-wrap: break-word;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 .6em; font-size: 26px; font-weight: var(--rich-hw, 700); }
.entry-content h3 { margin: 1.6em 0 .5em; font-size: 21px; }
.entry-content h4 { margin: 1.5em 0 .5em; font-size: 18px; }
.entry-content h5,
.entry-content h6 { margin: 1.4em 0 .5em; font-size: 16px; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content a {
	text-decoration: underline;
	text-decoration-color: rgba(224, 153, 0, .35);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content a.rich-button,
.entry-content a.btn { text-decoration: none; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul li::marker { color: var(--rich-accent); }
.entry-content ol li::marker { color: var(--rich-accent-dark); font-weight: 600; }
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 20px 26px;
	border-left: 4px solid var(--rich-accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--bg-soft);
	color: var(--rich-heading);
	font-size: 18px;
	font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-style: normal; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content hr {
	height: 1px;
	margin: 2.4em 0;
	border: 0;
	background: var(--border);
}
.entry-content code,
.entry-content kbd {
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--bg-soft);
	color: #0058C4;
	font-size: .88em;
}
.entry-content pre {
	margin: 0 0 1.5em;
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: var(--radius-sm);
	background: #272727;
	color: #f1f1f1;
	font-size: 14px;
	line-height: 1.6;
}
.entry-content pre code { padding: 0; background: none; color: inherit; }
.entry-content table {
	width: 100%;
	margin: 0 0 1.6em;
	border-collapse: collapse;
	font-size: 15px;
}
.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--border);
	text-align: left;
}
.entry-content th { background: var(--bg-soft); color: var(--rich-heading); font-weight: 600; }
.entry-content iframe,
.entry-content embed,
.entry-content object { max-width: 100%; }
.entry-content .wp-video,
.entry-content .wp-embed-responsive { max-width: 100%; }

/* Alineaciones y pies de foto del editor clásico */
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { display: block; margin: 1.4em auto; }
.alignnone { margin: 1.4em 0; }
.wp-caption { max-width: 100%; margin-bottom: 1.4em; }
.wp-caption img { display: block; }
.wp-caption-text,
.gallery-caption {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 13.5px;
	text-align: center;
}
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
	.alignleft,
	.alignright { float: none; display: block; margin: 1.2em auto; }
}
.gallery {
	display: grid;
	gap: 12px;
	margin-bottom: 1.5em;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; }

/* Formatos del editor ("Formatos" en TinyMCE) */
.rich-box {
	margin: 1.8em 0;
	padding: 20px 24px;
	border: 1px solid #cfe1f3;
	border-left: 4px solid var(--rich-accent);
	border-radius: var(--radius-sm);
	background: #eef5fc;
}
.rich-box--warning { border-color: #f3c9c0; border-left-color: #e0543a; background: #fdf1ee; }
.rich-box--success { border-color: #c7e6cf; border-left-color: #2f9e55; background: #f0f9f2; }
.rich-box > *:last-child { margin-bottom: 0; }
.rich-table { box-shadow: var(--shadow); border-radius: var(--radius-sm); overflow: hidden; }
.rich-table th { background: var(--rich-accent) !important; color: var(--white) !important; }
.rich-table tr:nth-child(even) td { background: #f9fbfd; }
.rich-highlight { padding: 0 4px; border-radius: 3px; background: #fff0c2; color: inherit; }
.rich-lead { color: var(--rich-heading); font-size: 1.15em; line-height: 1.7; }

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 2em 0;
	font-weight: 600;
}
.page-links a,
.page-links > .post-page-numbers {
	display: inline-flex;
	justify-content: center;
	min-width: 36px;
	padding: 4px 10px;
	border: 1px solid var(--border);
	border-radius: 6px;
	text-decoration: none;
}
.page-links .current { background: var(--rich-accent); border-color: var(--rich-accent); color: var(--white); }

/* Índice de contenidos (diseño de Orbital) */
.rich-toc {
	--rich-toc-indent: clamp(.5rem, 2.5vw, 1.25rem);
	margin: 2rem 0;
	padding: 1.1rem clamp(.75rem, 3vw, 1.4rem);
	border: 1px solid rgba(0, 0, 0, .07);
	border-left: 4px solid var(--rich-accent);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
.rich-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.rich-toc__title { color: #111; font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.rich-toc__toggle {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rich-accent) 9%, transparent);
	color: var(--rich-accent);
	cursor: pointer;
	transition: background-color .15s;
}
.rich-toc__toggle:hover { background: color-mix(in srgb, var(--rich-accent) 16%, transparent); }
.rich-toc__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.rich-toc__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.rich-toc__toggle:focus-visible { outline: 2px solid var(--rich-accent); outline-offset: 2px; }
.entry-content .rich-toc__list {
	margin: .9rem 0 0;
	padding: .5rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, .06);
	list-style: none;
}
.rich-toc__list[hidden] { display: none; }
.entry-content .rich-toc__item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.entry-content .rich-toc__item > a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	column-gap: .5rem;
	padding: .4rem .6rem;
	border-radius: 8px;
	color: #333;
	font-size: 1rem;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.entry-content .rich-toc__item > a:hover {
	background: color-mix(in srgb, var(--rich-accent) 7%, transparent);
	color: var(--rich-accent);
}
.entry-content .rich-toc__item--h3 { margin-inline-start: var(--rich-toc-indent); }
.entry-content .rich-toc__item--h4 { margin-inline-start: calc(2 * var(--rich-toc-indent)); }
.entry-content .rich-toc__item--h5 { margin-inline-start: calc(3 * var(--rich-toc-indent)); }
.entry-content .rich-toc__item--h6 { margin-inline-start: calc(4 * var(--rich-toc-indent)); }
.entry-content .rich-toc__item--h3 > a,
.entry-content .rich-toc__item--h4 > a,
.entry-content .rich-toc__item--h5 > a,
.entry-content .rich-toc__item--h6 > a { color: #555; font-size: .93rem; }
.rich-toc__num { color: var(--rich-accent); font-weight: 700; white-space: nowrap; }
.rich-toc__text { min-width: 0; overflow-wrap: anywhere; }
.entry-content .rich-toc__list--none .rich-toc__item > a { grid-template-columns: minmax(0, 1fr); }
.entry-content :is(h2, h3, h4, h5, h6)[id] { scroll-margin-top: calc(var(--sticky-top, 100px) - 10px); }

/* Etiquetas */
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0;
}
.entry-tags__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 4px;
	color: var(--rich-heading);
	font-size: 14px;
	font-weight: 600;
}
.entry-tags__label .rich-icon { color: var(--rich-accent); }
.entry-tags a {
	padding: 4px 12px;
	border-radius: 20px;
	background: var(--bg-soft);
	color: var(--rich-text);
	font-size: 13px;
}
.entry-tags a:hover { background: var(--rich-accent); color: var(--white); }

/* Botones de compartir */
.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 24px 0;
}
.share__label {
	color: var(--rich-heading);
	font-size: 14px;
	font-weight: 600;
}
.share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bg-dark);
	color: var(--white) !important;
	font-size: 17px;
	cursor: pointer;
	transition: transform .2s, opacity .2s;
}
.share__btn:hover { opacity: .88; transform: translateY(-2px); }
.share__btn--x { background: #000; }
.share__btn--facebook { background: #1877f2; }
.share__btn--whatsapp { background: #25d366; }
.share__btn--telegram { background: #229ed9; }
.share__btn--linkedin { background: #0a66c2; }
.share__btn--pinterest { background: #e60023; }
.share__btn--email { background: #6b7280; }
.share__btn--copy { background: var(--rich-accent); }
.share__btn.is-copied { background: #2f9e55; }
.share--floating { margin: 0; }
.share--floating .share__list { flex-direction: column; }
@media (min-width: 1100px) {
	.share--mobile-only { display: none; }
}

/* Caja de autor */
.author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin: 40px 0;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--bg-soft);
}
.author-box__avatar img { border-radius: 50%; }
.author-box__label {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.author-box__name { margin: 2px 0 8px; font-size: 20px; }
.author-box__name a { color: var(--rich-heading); }
.author-box__desc { margin: 0 0 8px; font-size: 15px; }
.author-box__web { font-size: 14px; font-weight: 500; }
@media (max-width: 560px) {
	.author-box { flex-direction: column; align-items: center; text-align: center; }
}

/* Anterior / siguiente */
.post-navigation { margin: 40px 0; }
.post-navigation .nav-links {
	display: grid;
	gap: 16px;
}
@media (min-width: 600px) {
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
	.post-navigation .nav-next { grid-column: 2; text-align: right; }
}
.post-navigation a {
	display: block;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s;
}
.post-navigation a:hover { border-color: var(--rich-accent); box-shadow: var(--shadow); }
.post-navigation .nav-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.post-navigation .nav-title {
	display: block;
	margin-top: 4px;
	color: var(--rich-heading);
	font-weight: var(--rich-hw2, 600);
	line-height: 1.4;
}

.related-posts { margin-top: 48px; }
.related-posts__heading {
	margin: 0 0 28px;
	padding-inline-start: 12px;
	border-inline-start: 4px solid var(--rich-accent);
	color: var(--rich-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-align: start;
}
.related-posts__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px 32px;
}
.related-post { min-width: 0; }
.related-post__link { display: block; border-radius: 12px; }
.related-post__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: var(--bg-soft);
}
.related-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.related-post__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--rich-accent);
	font-size: 34px;
}
.related-post__title {
	margin: 18px 0 0;
	color: var(--rich-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: start;
	overflow-wrap: anywhere;
}
.related-post__link:hover .related-post__title { color: var(--rich-link); }
@media (min-width: 600px) {
	.related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.related-posts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Comentarios */
.comments-area {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
}
.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}
.comment-list .children { margin-left: 28px; }
.comment-body {
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; font-size: 13px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { color: var(--rich-heading); font-style: normal; font-weight: 600; font-size: 15px; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--muted); }
.comment-content { font-size: 15px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply a {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
}
.bypostauthor > .comment-body { border-color: var(--rich-accent); }
.comment-respond { margin-top: 32px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--rich-heading); font-size: 14px; font-weight: 500; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-notes,
.logged-in-as { color: var(--muted); font-size: 14px; }
.no-comments { color: var(--muted); }

/* =========================================================
   8. Barra lateral y widgets
   ========================================================= */
.sidebar { min-width: 0; }
.widget { margin-bottom: 36px; font-size: 15px; }
.widget:last-child { margin-bottom: 0; }
@media (min-width: 1025px) {
	.has-sticky-sidebar .sidebar__inner {
		position: sticky;
		top: var(--rich-sidebar-top, var(--sticky-top));
	}
}
.widget-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	color: var(--rich-heading);
	font-size: 15px;
	font-weight: var(--rich-hw, 700);
	letter-spacing: .05em;
	text-transform: uppercase;
}
.widget-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 3px;
	border-radius: 3px;
	background: var(--rich-accent);
}
.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.widget:not(.widget_rich_posts):not(.widget_rich_social) ul li {
	padding: 9px 0;
	border-bottom: 1px solid var(--border);
}
.widget ul li:last-child { border-bottom: 0; }
.widget ul ul { margin-top: 8px; padding-left: 14px; }
.widget a { color: var(--rich-text); }
.widget a:hover { color: var(--rich-link); }
.widget select { max-width: 100%; }

.mini-posts { display: grid; gap: 16px; }
.mini-post {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}
.mini-post__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
}
.mini-post__thumb img,
.mini-post__thumb .card-thumb__placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 20px; }
.mini-post__title {
	display: block;
	color: var(--rich-heading) !important;
	font-size: 14px;
	font-weight: var(--rich-hw2, 600);
	line-height: 1.4;
}
.mini-post__title:hover { color: var(--rich-link) !important; }
.mini-post__date { color: var(--muted); font-size: 12px; }

.promo-box {
	padding: 28px 24px;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--rich-header-bg) 0%, var(--rich-accent-dark) 100%);
	color: var(--white);
	text-align: center;
}
.promo-box img { margin-bottom: 14px; }
.promo-box__title { margin: 0 0 8px; font-size: 19px; font-weight: var(--rich-hw, 700); line-height: 1.3; }
.promo-box__text { margin: 0 0 18px; font-size: 14px; opacity: .95; }
.widget .promo-box a.btn { color: var(--white); }

.widget--ad .rich-ad { margin: 0; }

/* Iconos sociales */
.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bg-dark);
	color: var(--white) !important;
	font-size: 16px;
	transition: background-color .2s, transform .2s;
}
.social-links a:hover { background: var(--rich-accent); transform: translateY(-2px); }
.social-links--header a { width: 34px; height: 34px; background: rgba(255, 255, 255, .18); font-size: 15px; }
.header-light .social-links--header a { background: var(--bg-soft); color: var(--rich-heading) !important; }
.social-links--footer a { background: #000; color: #bbb !important; }

/* =========================================================
   9. Anuncios
   ========================================================= */
.rich-ad {
	clear: both;
	margin: 32px auto;
	text-align: center;
	overflow: hidden;
}
.rich-ad__label {
	display: block;
	margin-bottom: 6px;
	color: #aaa;
	font-size: 10.5px;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
}
.rich-ad__inner { min-height: 90px; }
.rich-ad--below_header,
.rich-ad--before_footer {
	width: min(100% - 32px, var(--rich-container));
	margin: 16px auto;
}
.rich-ad ins { display: block; margin: 0 auto; }
.rich-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 767px) {
	.rich-ad--desktop { display: none !important; }
	.rich-ad--after_paragraph .rich-ad__inner,
	.rich-ad--middle .rich-ad__inner,
	.rich-ad--before_content .rich-ad__inner,
	.rich-ad--after_content .rich-ad__inner { min-height: 250px; }
}
@media (min-width: 768px) {
	.rich-ad--mobile { display: none !important; }
}

/* =========================================================
   10. 404 y sin resultados
   ========================================================= */
.error-404 {
	padding-block: 56px 72px;
	text-align: center;
}
.error-404__code {
	margin: 0;
	background: linear-gradient(135deg, var(--rich-accent), var(--rich-link));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(96px, 18vw, 160px);
	font-weight: 700;
	line-height: 1;
}
.error-404__title { margin: 10px 0 12px; font-size: clamp(24px, 3vw, 32px); }
.error-404__text { max-width: 520px; margin: 0 auto 22px; color: var(--muted); }
.error-404__search { max-width: 480px; margin: 0 auto 24px; }
.error-404__recent { text-align: left; }

.no-results {
	padding: 40px 24px;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	text-align: center;
}
.no-results .search-form { max-width: 440px; margin: 0 auto; }

/* =========================================================
   11. Pie de página
   ========================================================= */
.site-footer {
	background: var(--bg-dark);
	color: #aaa;
	font-size: 14px;
}
.site-footer a { color: #ccc; }
.site-footer a:hover { color: var(--rich-accent); }
.footer-widgets,
.footer-default {
	display: grid;
	gap: 36px;
	padding-block: 56px 44px;
}
@media (min-width: 700px) {
	.footer-widgets--2,
	.footer-widgets--3,
	.footer-widgets--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-default { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1025px) {
	.footer-widgets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-widgets--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.site-footer .widget-title,
.footer-title {
	margin: 0 0 14px;
	padding: 0;
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
.site-footer .widget-title::after { display: none; }
.site-footer .widget a { color: #ccc; }
.site-footer .widget:not(.widget_rich_posts):not(.widget_rich_social) ul li { border-color: rgba(255, 255, 255, .08); }
.site-footer .mini-post__title { color: #eee !important; }
.footer-logo img { width: auto; max-height: 48px; }
.footer-default__desc { max-width: 420px; margin: 16px 0 0; }
.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-menu li { margin-bottom: 6px; }
.footer-bottom {
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 13px;
}
.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}
.footer-bottom__copy { margin: 0; }
.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.legal-menu a { color: #aaa; }

/* Volver arriba */
.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--rich-accent);
	color: var(--white) !important;
	font-size: 26px;
	box-shadow: var(--shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--rich-accent-dark); }

/* Aviso "copiado" */
.rich-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 300;
	padding: 10px 18px;
	border-radius: 30px;
	background: var(--bg-dark);
	color: var(--white);
	font-size: 14px;
	box-shadow: var(--shadow-hover);
	transform: translateX(-50%);
}

/* =========================================================
   12. Movimiento reducido e impresión
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.share,
	.rich-ad,
	.related-posts,
	.comments-area,
	.back-to-top,
	.post-navigation { display: none !important; }
	.layout { display: block; padding: 0; }
	body { color: #000; font-size: 12pt; }
}

/* =========================================================
   13. Diseño de artículo estilo Orbital (caja blanca sobre gris)
   ========================================================= */
body.is-boxed { background: #f3f5f8; }
body.is-boxed .page-header { background: #fff; }

.single-article--boxed {
	padding: clamp(20px, 3.2vw, 40px);
	border: 1px solid rgba(17, 35, 60, .07);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(20, 38, 60, .07);
}

.entry-header { text-align: start; }
.entry-header--center .entry-title { text-align: center; }
.entry-header .entry-cats { text-align: start; }
.entry-header .entry-meta { justify-content: flex-start; text-align: start; }
.entry-header .entry-meta > span { min-width: 0; max-width: 100%; flex-wrap: wrap; justify-content: flex-start; }
.entry-header .entry-meta > span > * { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.entry-header .entry-meta--byline .meta-author { font-weight: 400; }
.entry-header .entry-meta--byline .meta-author a { color: var(--rich-accent-dark); font-weight: 600; }
.entry-header .entry-meta--byline .meta-author a:hover { color: var(--rich-accent); text-decoration: underline; }
.entry-header .entry-meta--byline + .entry-meta--details { margin-top: 8px; }
.entry-header--center .entry-summary { max-width: 680px; margin-inline: auto; text-align: center; }
.entry-cats .cat-badge {
	padding: 5px 14px;
	border: 1px solid rgba(17, 119, 204, .25);
	border-radius: 999px;
	font-size: 11.5px;
	letter-spacing: .06em;
}
.single-article .entry-title { font-size: clamp(26px, 4vw, var(--rich-h1, 40px)); }

/* Títulos del contenido */
.entry-content h2 {
	position: relative;
	padding-bottom: 14px;
	font-size: clamp(21px, 2.6vw, var(--rich-h2, 28px));
}
.entry-content h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 56px;
	height: 4px;
	border-radius: 4px;
	background: var(--rich-accent);
}
body.h2-center .entry-content h2 { text-align: center; }
body.h2-center .entry-content h2::after { left: 50%; transform: translateX(-50%); }
.entry-content h3 {
	padding-left: 14px;
	border-left: 4px solid var(--rich-accent);
	font-size: clamp(18px, 2.2vw, var(--rich-h3, 22px));
}
.entry-content .rich-cluster h3 { padding: 0; border: 0; }

/* Relacionadas y comentarios en cajas */
body.is-boxed .related-posts,
body.is-boxed .comments-area {
	margin-top: 28px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid rgba(17, 35, 60, .07);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(20, 38, 60, .05);
}
body.is-boxed .author-box { background: var(--bg-soft); }

/* Barra lateral: widgets como tarjetas */
body.is-boxed .sidebar .widget {
	margin-bottom: 24px;
	padding: 22px;
	border: 1px solid rgba(17, 35, 60, .06);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(20, 38, 60, .05);
}
body.is-boxed .sidebar .widget--promo { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.is-boxed .sidebar .widget--ad { padding: 14px; }

/* =========================================================
   14. Barra lateral editorial
   ========================================================= */
.editorial-author { text-align: center; }
.editorial-author__hello {
	margin: 0 0 14px;
	color: var(--rich-heading);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.editorial-author__photo {
	display: block;
	width: 148px;
	height: 148px;
	margin: 0 auto 14px;
	object-fit: cover;
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 6px 20px rgba(20, 38, 60, .15);
}
.editorial-author__bio { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.widget ul.editorial-author__exp {
	display: grid;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
	list-style: none;
	text-align: start;
}
.widget.editorial-author ul.editorial-author__exp > li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: start;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
.editorial-author__exp > li > .rich-icon {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: #218739;
}
.editorial-author__exp-text { min-width: 0; overflow-wrap: anywhere; }
.editorial-author__link {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: rgba(17, 119, 204, .1);
	color: var(--rich-accent-dark) !important;
	font-size: 13.5px;
	font-weight: 700;
}
.editorial-author__link:hover { background: var(--rich-accent); color: #fff !important; }

.sidebar .editorial-cats ul li { padding: 0; }
.editorial-cats a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 4px;
	color: var(--rich-text) !important;
	font-size: 14px;
}
.editorial-cats a:hover { color: var(--rich-link) !important; }
.editorial-cats .rich-icon { flex-shrink: 0; color: var(--rich-accent); font-size: 14px; }
.editorial-cats__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editorial-cats__count { color: var(--muted); font-size: 12.5px; }

.editorial-recent ul { display: grid; gap: 12px; }
.sidebar .widget.editorial-recent ul li { padding: 0; border: 0; }
.editorial-recent a { display: flex; align-items: center; gap: 12px; }
.editorial-recent__thumb {
	display: inline-flex;
	flex: 0 0 58px;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--bg-soft);
	color: var(--rich-accent);
	font-size: 20px;
}
.editorial-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.editorial-recent__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--rich-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.editorial-recent a:hover .editorial-recent__title { color: var(--rich-link); }
.social-links--follow { gap: 10px; }
.social-links--follow a { width: 44px; height: 44px; font-size: 18px; }

/* =========================================================
   15. Botones de compartir (posiciones estilo Orbital)
   ========================================================= */
.share--thumb,
.share--before { justify-content: center; margin: 18px 0 26px; }
.share--thumb .share__list,
.share--before .share__list { justify-content: center; gap: 6px; }
.share--thumb .share__btn,
.share--before .share__btn { width: 56px; height: 38px; border-radius: 6px; font-size: 16px; }
.share__btn--reddit { background: #ff4500; }
.share__btn--bluesky { background: #0085ff; }
.share__btn--threads { background: #000; }

/* Barra fija lateral (izquierda) */
.share--side {
	position: fixed;
	top: 50%;
	left: 0;
	z-index: 90;
	margin: 0;
	transform: translateY(-50%);
}
.share--side .share__list { flex-direction: column; gap: 0; }
.share--side .share__btn { width: 46px; height: 44px; border-radius: 0; font-size: 17px; transition: width .2s; }
.share--side .share__btn:hover { width: 54px; opacity: 1; transform: none; }
.share--side li:first-child .share__btn { border-top-right-radius: 8px; }
.share--side li:last-child .share__btn { border-bottom-right-radius: 8px; }

/* Barra fija inferior */
.share--bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 95;
	margin: 0;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
}
.share--bar .share__list { width: 100%; flex-wrap: nowrap; gap: 0; }
.share--bar li { flex: 1; }
.share--bar .share__btn { width: 100%; height: 48px; border-radius: 0; font-size: 18px; }
.share--bar .share__btn:hover { transform: none; }

/* Visibilidad por dispositivo */
@media (max-width: 1024px) {
	.share--desktop { display: none !important; }
	body.has-share-bar { padding-bottom: 48px; }
	body.has-share-bar .back-to-top { bottom: 64px; }
}
@media (min-width: 1025px) {
	.share--mobile { display: none !important; }
}
/* La barra lateral fija solo cabe sin tapar el contenido a partir de 1300px. */
@media (max-width: 1299px) {
	.share--side { display: none !important; }
}

/* 16. Clusters: assets/css/clusters.css (solo se carga en las páginas que tienen alguno). */

/* =========================================================
   17. Valoración con estrellas
   ========================================================= */
.post-rating {
	margin: 32px 0 8px;
	padding: 20px 22px;
	border: 1px solid rgba(17, 119, 204, .15);
	border-radius: 14px;
	background: rgba(17, 119, 204, .05);
	text-align: center;
}
.post-rating__title { margin: 0 0 8px; color: var(--rich-heading); font-weight: 700; }
.post-rating__stars { display: inline-flex; gap: 4px; }
.post-rating__star {
	padding: 2px;
	border: 0;
	background: none;
	color: #d0d6de;
	font-size: 30px;
	line-height: 0;
	cursor: pointer;
	transition: transform .15s, color .15s;
}
.post-rating__star.is-on,
.post-rating__star.is-hover { color: #f5a623; }
.post-rating__star:not(:disabled):hover { transform: scale(1.12); }
.post-rating__star:disabled { cursor: default; }
.post-rating__summary { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.post-rating__summary strong { color: var(--rich-heading); }
.post-rating__thanks { color: #1e7a3d; font-weight: 600; }

/* =========================================================
   18. Cabecera: más espacio para el menú (una o dos filas)
   ========================================================= */
@media (min-width: 981px) {
	.main-nav { min-width: 0; }
	.main-nav .menu { gap: 2px 8px; }
	.main-nav .menu > .menu-item > a { padding: 9px 10px; }
	.btn--header { padding: 9px 16px; white-space: nowrap; }
	/* Los submenús de los últimos elementos se abren hacia la izquierda. */
	.main-nav .menu > .menu-item:nth-last-child(-n+2) > .sub-menu { right: 0; left: auto; }
	.main-nav .menu > .menu-item:nth-last-child(-n+2) .sub-menu .sub-menu { right: 100%; left: auto; }

	/* Dos filas: logo y acciones arriba, el menú abajo a todo el ancho. */
	.site-header--two .site-header__inner { flex-wrap: wrap; row-gap: 0; }
	.site-header--two .site-branding { order: 1; padding: 12px 0; }
	.site-header--two .site-header__actions { order: 2; }
	.site-header--two .main-nav {
		order: 3;
		flex: 0 0 100%;
		justify-content: flex-start;
		min-height: 50px;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}
	.header-light .site-header--two .main-nav { border-top-color: var(--border); }
	.site-header--two .main-nav .menu { justify-content: flex-start; margin-left: -10px; }
}

/* =========================================================
   19. Gutenberg (si se activa en Ajustes): estilos de bloque y alineaciones
   ========================================================= */
.entry-content .is-style-rich-box,
.entry-content .is-style-rich-warning,
.entry-content .is-style-rich-success {
	margin: 1.6em 0;
	padding: 18px 22px;
	border: 1px solid #cfe1f3;
	border-left: 4px solid var(--rich-accent);
	border-radius: var(--radius-sm);
	background: #eef5fc;
}
.entry-content .is-style-rich-warning { border-color: #f3c9c0; border-left-color: #e0543a; background: #fdf1ee; }
.entry-content .is-style-rich-success { border-color: #c7e6cf; border-left-color: #2f9e55; background: #f0f9f2; }
.entry-content .is-style-rich-box > *:last-child,
.entry-content .is-style-rich-warning > *:last-child,
.entry-content .is-style-rich-success > *:last-child { margin-bottom: 0; }
.entry-content .is-style-rich-lead { color: var(--rich-heading); font-size: 1.15em; line-height: 1.7; }
.entry-content .wp-block-table.is-style-rich-table table { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.entry-content .wp-block-table.is-style-rich-table th { background: var(--rich-accent); color: var(--white); }
.entry-content .wp-block-table.is-style-rich-table tr:nth-child(even) td { background: #f9fbfd; }
.entry-content .wp-block-button.is-style-rich-button .wp-block-button__link {
	padding: 12px 28px;
	border-radius: 30px;
	background: var(--rich-accent);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .25s, transform .25s;
}
.entry-content .wp-block-button.is-style-rich-button .wp-block-button__link:hover { background: var(--rich-accent-dark); transform: translateY(-1px); }
.entry-content .wp-block-button__link { text-decoration: none; }
.entry-content .alignwide,
.entry-content .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content .wp-block-image figcaption,
.entry-content .wp-element-caption { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.entry-content .wp-block-embed iframe { max-width: 100%; }
.entry-content .wp-block-separator { margin: 2em auto; border: 0; border-top: 1px solid var(--border); }

