/* ==========================================================================
   Blog Wherex — rediseño Figma «Blog de Wherex» (nov 2026)
   Todo va bajo .wx-blog para no afectar el resto del sitio.
   ========================================================================== */

.wx-blog {
	--wx-navy: #1f3663;
	--wx-ink: #191d38;
	--wx-muted: #5b6478;
	--wx-border: #e3e8ef;
	--wx-bg: #f5f8fa;
	--wx-surface: #ffffff;
	--wx-chip: #edf0f4;
	--wx-highlight: #ddecf3;
	--wx-green: #28b095;
	--wx-green-dark: #1f9a82;
	--wx-teal: #21a8ba;
	--wx-link: #137786;
	--wx-ebook-media: #f3f9fc;
	--wx-ebook-text: #c9d2e3;
	--wx-placeholder: linear-gradient(135deg, #e9eef5 0%, #d3e5ec 100%);

	--wx-font-head: "Montserrat", sans-serif;
	--wx-font-body: "Open Sans", sans-serif;
	--wx-font-quote: "Source Serif 4", Georgia, serif;

	--wx-r-sm: 6px;
	--wx-r-media: 14px;
	--wx-r-card: 20px;
	--wx-r-panel: 24px;
	--wx-header-offset: 80px;

	background: var(--wx-bg);
	color: var(--wx-ink);
	font-family: var(--wx-font-body);
	padding-top: var(--wx-header-offset);
}

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

.wx-blog :where(h1, h2, h3, h4, p, ol, ul, figure, blockquote) {
	margin: 0;
}

.wx-blog a {
	text-decoration: none;
}

.wx-blog :focus-visible {
	outline: 2px solid var(--wx-teal);
	outline-offset: 2px;
}

.wx-container {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Piezas comunes
   -------------------------------------------------------------------------- */

.wx-h2 {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1.22;
	color: var(--wx-navy);
}

.wx-eyebrow {
	font-family: var(--wx-font-head);
	font-size: 0.8125rem;
	color: var(--wx-navy);
}

.wx-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	font-family: var(--wx-font-head);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--wx-ink);
}

.wx-pill--filter {
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--wx-border);
	background: var(--wx-surface);
	color: var(--wx-navy);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.wx-pill--filter:hover {
	border-color: var(--wx-navy);
	color: var(--wx-navy);
}

.wx-pill--filter.is-active {
	background: var(--wx-navy);
	border-color: var(--wx-navy);
	color: #fff;
}

.wx-pill--soft {
	background: var(--wx-chip);
}

.wx-pill--overlay {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	background: var(--wx-surface);
}

a.wx-pill--overlay:hover {
	color: var(--wx-link);
}

.wx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--wx-r-sm);
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 0.875rem;
	white-space: nowrap;
	transition: background-color .15s ease;
}

.wx-btn--primary {
	background: var(--wx-green);
	color: #fff;
}

.wx-btn--primary:hover,
.wx-btn--primary:focus-visible {
	background: var(--wx-green-dark);
	color: #fff;
}

/* Imagen con relleno de respaldo */
.wx-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--wx-r-media);
	background: var(--wx-placeholder);
}

.wx-media__img,
.wx-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wx-media__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

/* Enlace que vuelve clickeable toda la tarjeta */
.wx-card__link {
	color: inherit;
}

.wx-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.wx-card__link:hover,
.wx-card__link:focus-visible {
	color: var(--wx-link);
}

/* --------------------------------------------------------------------------
   Portada del listado
   -------------------------------------------------------------------------- */

.wx-hero {
	padding: 95px 0 0;
	text-align: center;
}

.wx-hero__title {
	margin-top: 26px;
	font-family: var(--wx-font-head);
	font-weight: 400;
	font-size: clamp(1.875rem, 1.1rem + 3.2vw, 3.5rem);
	line-height: 1.15;
	color: var(--wx-navy);
	text-wrap: balance;
}

.wx-hero__title mark {
	padding: 0 .2em;
	border-radius: var(--wx-r-sm);
	background: var(--wx-highlight);
	color: inherit;
	font-weight: 700;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.wx-hero__desc {
	max-width: 640px;
	margin: 16px auto 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--wx-muted);
}

.wx-search {
	position: relative;
	display: flex;
	align-items: center;
	width: min(560px, 100%);
	height: 53px;
	margin: 48px auto 0;
	padding: 0 7px 0 50px;
	border: 1px solid var(--wx-border);
	border-radius: 999px;
	background: var(--wx-surface);
	text-align: left;
}

.wx-search:focus-within {
	border-color: var(--wx-muted);
}

.wx-search__icon {
	position: absolute;
	left: 20px;
	font-size: 1.15rem;
	color: var(--wx-muted);
}

.wx-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	font-size: 0.9375rem;
	color: var(--wx-ink);
	outline: none;
}

.wx-search__input:focus,
.wx-search__input:focus-visible {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

.wx-search__input::placeholder {
	color: var(--wx-muted);
	opacity: 1;
}

.wx-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.wx-search__btn {
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--wx-navy);
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 0.875rem;
	color: #fff;
	transition: background-color .15s ease;
}

.wx-search__btn:hover {
	background: var(--wx-ink);
}

.wx-filters {
	margin-top: 64px;
}

.wx-filters__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0;
	list-style: none;
}

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */

.wx-section--featured {
	padding-top: 103px;
}

.wx-section--recent {
	padding-top: 104px;
}

.wx-section--featured + .wx-section--recent {
	padding-top: 79px;
}

.wx-section--extras {
	padding: 88px 0 0;
}

.wx-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 34px;
}

.wx-section__title {
	margin-bottom: 40px;
}

.wx-blog > .wx-section:last-of-type,
.wx-blog > .wx-section--recent:last-child {
	padding-bottom: 96px;
}

/* Ordenar por */
.wx-sort {
	position: relative;
	flex-shrink: 0;
	font-size: 0.875rem;
}

.wx-sort__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	color: var(--wx-navy);
	cursor: pointer;
	list-style: none;
}

.wx-sort__toggle::-webkit-details-marker {
	display: none;
}

.wx-sort__label {
	color: var(--wx-muted);
}

.wx-sort__toggle .ph {
	font-size: .75rem;
	transition: transform .15s ease;
}

.wx-sort[open] .wx-sort__toggle .ph {
	transform: rotate(180deg);
}

.wx-sort__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 10;
	min-width: 170px;
	margin: 0;
	padding: 6px;
	border: 1px solid var(--wx-border);
	border-radius: 12px;
	background: var(--wx-surface);
	box-shadow: 0 12px 30px rgba(25, 29, 56, .1);
	list-style: none;
}

.wx-sort__menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--wx-ink);
}

.wx-sort__menu a:hover,
.wx-sort__menu a[aria-current] {
	background: var(--wx-bg);
	color: var(--wx-navy);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Artículo destacado
   -------------------------------------------------------------------------- */

.wx-featured {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 560fr) minmax(0, 633fr);
	align-items: stretch;
	padding: 6px;
	border: 1px solid var(--wx-border);
	border-radius: var(--wx-r-panel);
	background: var(--wx-surface);
	transition: box-shadow .2s ease;
}

.wx-featured:hover,
.wx-card:hover {
	box-shadow: 0 14px 34px rgba(31, 54, 99, .08);
}

.wx-featured__media {
	min-height: 420px;
	border-radius: 18px;
}

.wx-featured__body {
	align-self: center;
	padding: 30px 50px 30px 48px;
}

.wx-featured__title {
	margin-top: 17px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: clamp(1.375rem, 1rem + 1.3vw, 2.25rem);
	line-height: 1.22;
	color: var(--wx-ink);
}

.wx-featured__excerpt {
	margin-top: 22px;
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--wx-muted);
}

.wx-featured__meta {
	margin-top: 40px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--wx-ink);
}

/* --------------------------------------------------------------------------
   Grilla y tarjetas
   -------------------------------------------------------------------------- */

.wx-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 33px;
	align-items: start;
}

.wx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 6px;
	border: 1px solid var(--wx-border);
	border-radius: var(--wx-r-card);
	background: var(--wx-surface);
	transition: box-shadow .2s ease;
}

.wx-card__media {
	aspect-ratio: 365 / 230;
}

.wx-card .wx-pill--overlay {
	top: 18px;
	right: 18px;
}

.wx-card__body {
	padding: 17px 16px 20px;
}

.wx-card__title {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.4;
	color: var(--wx-ink);
}

.wx-card__excerpt {
	margin-top: 10px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wx-muted);
}

.wx-card__meta {
	margin-top: 15px;
	font-size: 0.875rem;
	color: var(--wx-muted);
}

/* --------------------------------------------------------------------------
   Paginación
   -------------------------------------------------------------------------- */

.wx-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	margin-top: 53px;
	font-size: 0.875rem;
}

.wx-pagination__status {
	color: var(--wx-muted);
}

.wx-pagination__list {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wx-pagination__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	border: 1px solid var(--wx-border);
	border-radius: 999px;
	background: var(--wx-surface);
	font-family: var(--wx-font-head);
	color: var(--wx-navy);
	transition: border-color .15s ease;
}

a.wx-pagination__page:hover {
	border-color: var(--wx-navy);
	color: var(--wx-navy);
}

.wx-pagination__page.is-current {
	border-color: var(--wx-navy);
	background: var(--wx-navy);
	color: #fff;
}

.wx-pagination__gap {
	color: var(--wx-muted);
}

.wx-pagination__step {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	color: var(--wx-green);
}

.wx-pagination__step .ph {
	color: var(--wx-navy);
	font-size: 1rem;
}

.wx-pagination__step:hover {
	color: var(--wx-green-dark);
}

/* --------------------------------------------------------------------------
   Más leídos + ebook
   -------------------------------------------------------------------------- */

.wx-extras {
	display: grid;
	grid-template-columns: minmax(0, 767fr) minmax(0, 400fr);
	gap: 33px;
	align-items: start;
}

.wx-extras--single {
	grid-template-columns: minmax(0, 400px);
	justify-content: center;
}

.wx-ranking {
	padding: 31px 36px 35px;
	border: 1px solid var(--wx-border);
	border-radius: var(--wx-r-panel);
	background: var(--wx-surface);
}

.wx-ranking__list {
	margin-top: 33px;
	padding: 0;
	list-style: none;
}

.wx-ranking__item {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) 16px;
	align-items: center;
	padding: 19px 0;
	border-top: 1px solid var(--wx-border);
}

.wx-ranking__item:first-child {
	padding-top: 0;
	border-top: 0;
}

.wx-ranking__item:last-child {
	padding-bottom: 0;
}

.wx-ranking__num {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-style: italic;
	font-size: 2.125rem;
	line-height: 1;
	color: var(--wx-teal);
}

.wx-ranking__title {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.3;
}

.wx-ranking__meta {
	margin-top: 9px;
	font-size: 0.875rem;
	color: var(--wx-muted);
}

.wx-ranking__arrow {
	color: var(--wx-navy);
	transition: transform .15s ease;
}

.wx-ranking__item:hover .wx-ranking__arrow {
	transform: translateX(3px);
}

.wx-ebook {
	padding: 6px;
	border-radius: var(--wx-r-panel);
	background: var(--wx-navy);
	color: #fff;
}

.wx-ebook__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	padding: 20px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--wx-ebook-media);
}

.wx-ebook__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wx-ebook .wx-pill--overlay {
	top: 12px;
	right: 12px;
}

.wx-ebook__body {
	padding: 23px 22px 24px;
}

.wx-ebook__title {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.4;
	color: #fff;
}

.wx-ebook__desc {
	margin: 16px 0 20px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wx-ebook-text);
}

/* --------------------------------------------------------------------------
   Sin resultados
   -------------------------------------------------------------------------- */

.wx-empty {
	padding: 56px 24px;
	border: 1px dashed var(--wx-border);
	border-radius: var(--wx-r-card);
	background: var(--wx-surface);
	text-align: center;
	color: var(--wx-muted);
}

.wx-empty .ph {
	font-size: 2rem;
	color: var(--wx-teal);
}

.wx-empty__title {
	margin: 12px 0 6px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--wx-ink);
}

.wx-empty .wx-btn {
	margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.wx-newsletter {
	margin-top: 96px;
	padding: 91px 0;
	border-top: 1px solid var(--wx-border);
	background: var(--wx-surface);
}

.wx-section--related + .wx-newsletter {
	margin-top: 117px;
}

.wx-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	align-items: end;
	gap: 32px 64px;
}

.wx-newsletter__text p {
	margin-top: 12px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wx-muted);
}

/* Formulario actual del sitio (Contact Form 7) adaptado al diseño:
   campo de email + botón «Suscribirme», sin adornos. */
.wx-newsletter .wpcf7-form br,
.wx-newsletter .gscf7-frontend-gdpr-notice,
.wx-newsletter .wpcf7-form-control-wrap + input[type="hidden"] ~ br {
	display: none;
}

.wx-newsletter .form-newsletter,
.wx-newsletter .form-newsletter .input-group {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.wx-newsletter .form-newsletter .input-group > p {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.wx-newsletter .form-newsletter .wpcf7-form-control-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.wx-newsletter .form-newsletter input[type="email"] {
	width: 100%;
	height: 49px;
	padding: 0 18px;
	border: 1px solid var(--wx-border) !important;
	border-radius: var(--wx-r-sm) !important;
	background: var(--wx-surface);
	box-shadow: none;
	font-family: var(--wx-font-body);
	font-size: 0.875rem;
	color: var(--wx-ink);
}

.wx-newsletter .form-newsletter input[type="email"]::placeholder {
	color: var(--wx-muted) !important;
	opacity: 1;
}

.wx-newsletter .form-newsletter input[type="email"]::-webkit-input-placeholder {
	color: var(--wx-muted) !important;
}

.wx-newsletter .form-newsletter input[type="email"]:focus {
	border-color: var(--wx-teal) !important;
	box-shadow: 0 0 0 3px rgba(33, 168, 186, .15);
	outline: none;
}

.wx-newsletter .form-newsletter .wpcf7-submit {
	position: relative;
	flex: 0 0 auto;
	width: auto;
	height: 42px;
	margin-left: 0 !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: var(--wx-r-sm) !important;
	background: var(--wx-green) !important;
	font-size: 0;
	color: #fff;
	transition: background-color .15s ease;
}

.wx-newsletter .form-newsletter .wpcf7-submit i {
	display: none;
}

.wx-newsletter .form-newsletter .wpcf7-submit::before {
	content: "Suscribirme";
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 0.875rem;
}

.wx-newsletter .form-newsletter .wpcf7-submit:hover,
.wx-newsletter .form-newsletter .wpcf7-submit:focus-visible {
	background: var(--wx-green-dark) !important;
}

.wx-newsletter .form-newsletter .wpcf7-spinner {
	right: 8px;
	top: 50%;
	margin: -12px 0 0;
}

.wx-newsletter .wpcf7-not-valid-tip {
	font-size: 0.8125rem;
}

.wx-newsletter .wpcf7-response-output {
	margin: 12px 0 0 !important;
	padding: 8px 12px !important;
	border-radius: var(--wx-r-sm);
	font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Entrada
   -------------------------------------------------------------------------- */

.wx-breadcrumb {
	padding-top: 50px;
	font-size: 0.875rem;
}

.wx-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--wx-muted);
}

.wx-breadcrumb li + li::before {
	content: "›";
	margin-right: 8px;
	color: var(--wx-muted);
}

.wx-breadcrumb a {
	color: var(--wx-link);
}

.wx-breadcrumb a:hover {
	text-decoration: underline;
}

.wx-post-header {
	display: grid;
	grid-template-columns: minmax(0, 550fr) minmax(0, 438fr);
	gap: 52px;
	align-items: center;
	max-width: 1040px;
	margin: 99px auto 0;
}

.wx-post-header__media {
	aspect-ratio: 550 / 371;
}

.wx-post-header__title {
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: clamp(1.625rem, 1.1rem + 1.5vw, 2.25rem);
	line-height: 1.22;
	color: var(--wx-navy);
}

.wx-post-header__meta {
	margin-top: 30px;
	font-size: 0.875rem;
	color: var(--wx-ink);
}

.wx-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
}

.wx-share__label {
	margin-right: 2px;
	font-size: 0.875rem;
	color: var(--wx-navy);
}

.wx-share .wx-pill--filter {
	min-height: 31px;
	padding: 0 14px;
}

.wx-share__feedback {
	font-size: 0.8125rem;
	color: var(--wx-green-dark);
}

/* Contenido del artículo (editor clásico) */
.wx-prose {
	max-width: 680px;
	margin: 89px auto 0;
	font-size: 1.125rem;
	line-height: 1.667;
	color: var(--wx-ink);
	overflow-wrap: break-word;
}

.wx-prose > * + * {
	margin-top: 22px;
}

.wx-prose h2 {
	margin-top: 54px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1.27;
	color: var(--wx-navy);
}

.wx-prose h3 {
	margin-top: 46px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.3125rem;
	line-height: 1.25;
	color: var(--wx-navy);
}

.wx-prose h4 {
	margin-top: 36px;
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--wx-navy);
}

.wx-prose h2 + *,
.wx-prose h3 + *,
.wx-prose h4 + * {
	margin-top: 27px;
}

.wx-prose a {
	color: var(--wx-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wx-prose a:hover {
	color: var(--wx-navy);
}

.wx-prose strong,
.wx-prose b {
	font-weight: 700;
}

.wx-prose ul,
.wx-prose ol {
	padding-left: 1.4em;
}

.wx-prose li + li {
	margin-top: 8px;
}

.wx-prose li::marker {
	color: var(--wx-teal);
	font-weight: 700;
}

.wx-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--wx-r-media);
}

.wx-prose figure,
.wx-prose .wp-caption {
	max-width: 100% !important;
	margin-block: 46px;
}

.wx-prose figure img,
.wx-prose .wp-caption img {
	display: block;
	width: 100%;
}

.wx-prose figcaption,
.wx-prose .wp-caption-text {
	margin-top: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--wx-muted);
}

.wx-prose .aligncenter {
	display: block;
	margin-inline: auto;
}

.wx-prose iframe {
	max-width: 100%;
	border-radius: var(--wx-r-media);
}

.wx-prose table {
	width: 100%;
	margin-block: 32px;
	border: 1px solid var(--wx-border);
	border-collapse: collapse;
	background: var(--wx-surface);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.wx-prose th,
.wx-prose thead td {
	padding: 14px 20px;
	background: var(--wx-navy);
	font-family: var(--wx-font-head);
	font-weight: 700;
	font-size: 0.75rem;
	text-align: left;
	text-transform: uppercase;
	color: #fff;
}

.wx-prose td {
	padding: 15px 20px;
	vertical-align: top;
}

.wx-prose tbody tr:nth-child(even) {
	background: var(--wx-bg);
}

.wx-prose tbody td:first-child {
	font-size: 0.875rem;
	font-weight: 700;
}

.wx-prose blockquote {
	max-width: 560px;
	margin: 44px auto 78px;
	padding: 0;
	border: 0;
	font-family: var(--wx-font-quote);
	font-style: italic;
	font-size: 1.75rem;
	line-height: 1.37;
	text-align: center;
	color: var(--wx-navy);
}

.wx-prose blockquote::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	margin: 14px auto 0;
	background: var(--wx-green);
}

.wx-prose blockquote p {
	margin: 0;
}

.wx-prose hr {
	margin-block: 48px;
	border: 0;
	border-top: 1px solid var(--wx-border);
	opacity: 1;
}

/* CTA al final de la entrada */
.wx-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	margin-top: 142px;
	padding: 40px 48px;
	border: 1px solid var(--wx-border);
	border-radius: var(--wx-r-panel);
	background: var(--wx-surface);
}

.wx-cta p {
	margin-top: 12px;
	font-size: 0.9375rem;
	color: var(--wx-muted);
}

.wx-section--related {
	padding-top: 92px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
	.wx-featured__body {
		padding: 24px 32px;
	}

	.wx-featured__excerpt {
		font-size: 1.0625rem;
	}

	.wx-grid {
		gap: 24px;
	}
}

@media (max-width: 991.98px) {
	.wx-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wx-featured,
	.wx-post-header,
	.wx-extras {
		grid-template-columns: minmax(0, 1fr);
	}

	.wx-featured {
		align-items: stretch;
	}

	.wx-featured__media {
		min-height: 0;
		aspect-ratio: 344 / 220;
	}

	.wx-featured__body {
		padding: 20px 16px 24px;
	}

	.wx-featured__meta {
		margin-top: 22px;
	}

	.wx-post-header {
		gap: 24px;
		margin-top: 24px;
	}

	.wx-post-header__media {
		aspect-ratio: 350 / 230;
	}

	.wx-post-header__meta {
		margin-top: 20px;
	}

	.wx-prose {
		margin-top: 40px;
	}

	.wx-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.wx-cta {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 80px;
	}
}

@media (max-width: 767.98px) {
	.wx-hero {
		padding-top: 40px;
	}

	.wx-hero__title {
		margin-top: 18px;
	}

	.wx-search {
		height: 50px;
		margin-top: 24px;
		padding-left: 44px;
	}

	.wx-search__icon {
		left: 17px;
	}

	.wx-filters {
		margin-top: 24px;
		margin-inline: -20px;
	}

	.wx-filters__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding: 0 20px 4px;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 20px;
		scrollbar-width: none;
	}

	.wx-filters__list::-webkit-scrollbar {
		display: none;
	}

	.wx-filters__list li {
		scroll-snap-align: start;
	}

	.wx-section--featured {
		padding-top: 40px;
	}

	.wx-section--recent,
	.wx-section--featured + .wx-section--recent {
		padding-top: 56px;
	}

	.wx-section--extras {
		padding-top: 56px;
	}

	.wx-h2 {
		font-size: 1.375rem;
	}

	.wx-section__head {
		align-items: center;
		margin-bottom: 20px;
	}

	.wx-sort__label {
		display: none;
	}

	.wx-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.wx-featured__excerpt {
		margin-top: 14px;
		font-size: 1rem;
	}

	.wx-pagination {
		margin-top: 36px;
	}

	.wx-pagination__status {
		flex-basis: 100%;
		text-align: center;
	}

	.wx-ranking {
		padding: 24px 20px;
	}

	.wx-ranking__list {
		margin-top: 20px;
	}

	.wx-ranking__item {
		grid-template-columns: 52px minmax(0, 1fr) 16px;
	}

	.wx-ranking__num {
		font-size: 1.75rem;
	}

	.wx-newsletter {
		margin-top: 64px;
		padding: 56px 0;
	}

	.wx-section--related + .wx-newsletter {
		margin-top: 64px;
	}

	/* Móvil: campo y botón apilados, ambos a todo el ancho */
	.wx-newsletter .form-newsletter .input-group > p {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.wx-newsletter .form-newsletter .wpcf7-form-control-wrap {
		width: 100%;
	}

	.wx-newsletter .form-newsletter input[type="email"] {
		padding: 0 16px;
	}

	.wx-newsletter .form-newsletter .wpcf7-submit {
		width: 100%;
	}

	.wx-newsletter .form-newsletter .wpcf7-spinner {
		top: auto;
		bottom: 9px;
		right: 12px;
		margin: 0;
	}

	.wx-breadcrumb {
		padding-top: 24px;
	}

	.wx-breadcrumb ol {
		justify-content: flex-start;
	}

	/* En móvil la ruta queda en «Blog › Categoría»; el título corto es solo para escritorio */
	.wx-breadcrumb li[aria-current] {
		display: none;
	}

	.wx-prose {
		font-size: 1.0625rem;
		line-height: 1.65;
	}

	.wx-prose h2 {
		margin-top: 44px;
		font-size: 1.375rem;
	}

	.wx-prose h3 {
		font-size: 1.1875rem;
	}

	.wx-prose blockquote {
		margin: 36px auto 48px;
		font-size: 1.375rem;
	}

	.wx-prose table {
		display: block;
		overflow-x: auto;
	}

	.wx-prose th,
	.wx-prose td {
		padding: 12px 14px;
	}

	.wx-cta {
		align-items: stretch;
		gap: 24px;
		padding: 28px 22px;
	}

	.wx-cta .wx-btn {
		width: 100%;
	}

	.wx-section--related {
		padding-top: 64px;
	}

	.wx-section__title {
		margin-bottom: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wx-blog *,
	.wx-blog *::before,
	.wx-blog *::after {
		transition: none !important;
	}
}
