/* REFERENCIAS INICIO */
.showHideReferencePost {
	display: none;
}

@media screen and (max-width: 768px) {
	.showHideReferencePost {
		display: block;
	}
}
/* REFERENCIAS FIN */

:root {
	--orbital-bg: #f5f7fb;
	--orbital-surface: #ffffff;
	--orbital-surface-soft: #eef4ff;
	--orbital-text: #102033;
	--orbital-muted: #5f6b7a;
	--orbital-border: #d9e2ef;
	--orbital-accent: #1f63ff;
	--orbital-accent-dark: #184fd0;
	--orbital-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
	--orbital-radius: 24px;
}

body {
	display: block !important;
	align-items: initial !important;
	justify-content: initial !important;
	width: 100%;
	background: var(--orbital-bg);
	color: var(--orbital-text);
	font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body > .barrapromociones,
body > .site-header,
body > .site-main,
body > .site-footer {
	width: 100%;
}

h1, h2, h3, h4, h5, h6,
.title,
.section-title {
	font-family: Montserrat, Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: -0.03em;
}

a {
	color: var(--orbital-accent);
}

a:hover,
a:focus {
	color: var(--orbital-accent-dark);
}

.container {
	width: min(74rem, calc(100% - 2rem));
}

.site-header .container,
.default-header .container,
.container.home-layout,
.container.editorial-layout,
.container.article-layout,
.container.archive-layout,
.container.listing-layout,
.container.author-layout {
	width: min(74rem, calc(100% - 2rem));
}

#content-wrapper {
	background: transparent;
	padding: 0 0 2rem;
}

.site-header,
.header-image,
.default-header,
.site-footer {
	background: var(--orbital-surface);
}

.site-header {
	display: block;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(16, 32, 51, 0.08);
	border-bottom: 1px solid rgba(16, 32, 51, 0.06);
}

.site-header__tabs {
	border-bottom: 1px solid rgba(16, 32, 51, 0.08);
	background: #fff;
}

.site-header .site-header__tabs-inner {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	padding-top: 0.9rem;
	padding-bottom: 0.75rem;
}

.site-header__tab {
	position: relative;
	padding-bottom: 0.55rem;
	color: #3b82c4;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.site-header__tab.is-active::after,
.site-header__tab:hover::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: #35a6df;
}

.site-header__main {
	background: #fff;
}

.site-header .site-header__main-inner {
	display: grid;
	grid-template-columns: minmax(8rem, 11rem) minmax(18rem, 1fr);
	gap: 1.25rem;
	align-items: center;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.site-logo {
	grid-column: 1;
	grid-row: 1;
	margin-right: 0;
}

.site-logo a,
.site-logo img {
	display: block;
}

.buscador {
	display: block !important;
	grid-column: 2;
	grid-row: 1;
	justify-self: stretch;
	width: 100%;
	max-width: 40rem;
	margin: 0 auto;
}

#search-navbar,
.search-form {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
}

.search-input {
	flex: 1 1 auto;
}

.search-field {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	background: #fff;
	color: var(--orbital-text);
	box-shadow: 0 4px 16px rgba(16, 32, 51, 0.04);
}

.search-field::placeholder {
	color: #789;
}

.btn-search-form {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 999px;
	background: var(--orbital-accent);
	border: none;
	box-shadow: 0 10px 20px rgba(31, 99, 255, 0.24);
}

.btn-search-form:hover,
.btn-search-form:focus {
	background: var(--orbital-accent-dark);
}

.site-navbar {
	grid-column: 1 / -1;
	grid-row: 2;
	justify-self: stretch;
	width: 100%;
	padding-top: 0.75rem;
	border-top: 1px solid var(--orbital-border);
}

.site-navbar ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navbar ul li a {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 0.75rem;
	font-size: 0.97rem;
	font-weight: 800;
	color: var(--orbital-text);
	border-radius: 999px;
	transition: background-color 150ms ease, color 150ms ease;
}

.site-navbar ul li a:hover {
	background: #f3f7fd;
	color: var(--orbital-accent);
}

.barrapromociones {
	background: linear-gradient(90deg, #eaf2ff, #f4f8ff);
	border-bottom: 1px solid var(--orbital-border);
}

.textopromociones {
	padding: 0.6rem 1rem;
	color: var(--orbital-muted);
	font-size: 0.92rem;
}

.linkpromociones {
	font-weight: 700;
}

.home-layout {
	padding-top: 1.7rem;
	padding-bottom: 2.5rem;
}

.home-intro {
	max-width: 52rem;
	margin: 0 auto 2rem;
	padding: 1.6rem 1rem 0.75rem;
	text-align: center;
}

.home-intro__eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #a0a8b4;
}

.home-intro__title {
	margin: 0;
	font-size: clamp(2.2rem, 4.2vw, 3.5rem);
	line-height: 1.02;
}

.home-intro__text {
	max-width: 43rem;
	margin: 1rem auto 0;
	color: var(--orbital-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.home-featured-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.6rem;
	margin-bottom: 2.6rem;
}

.home-feed-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.6rem;
}

.home-feed-section {
	padding-top: 0.5rem;
}

.home-section-heading {
	margin-bottom: 1.3rem;
	text-align: left;
}

.home-section-heading .section-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #2f78a8;
}

.home-section-heading .section-title {
	margin: 0;
	font-size: clamp(1.7rem, 2vw, 2.4rem);
}

/* Tarjeta como contenedor real: fondo blanco, borde y sombra
   para que no se funda con el fondo claro de la página. */
.home-card {
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e7ecf3;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(16, 32, 51, 0.05);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.home-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(16, 32, 51, 0.10);
	border-color: #d5e2ef;
}

.home-card__link {
	display: block;
	color: var(--orbital-text);
	height: 100%;
}

/* Fondo neutro + contain: los packshots de medicamento (fotos de
   producto con proporciones distintas) quedan centrados y completos
   en vez de recortarse feo. */
.home-card__media {
	position: relative;
	overflow: hidden;
	background: #f4f7fb;
	border-bottom: 1px solid #eef2f7;
}

.home-card__media::before {
	content: "";
	display: block;
	padding-top: 66%;
}

.home-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.6rem;
	transition: transform 220ms ease;
}

.home-card:hover .home-card__image {
	transform: scale(1.03);
}

.home-card__body {
	padding: 1.1rem 1.2rem 1.35rem;
}

.home-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
}

.home-card__pill {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: #e7f2fb;
	color: #2f78a8;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.home-card__time {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--orbital-muted);
}

.home-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

.home-card__excerpt {
	margin: 0.7rem 0 0;
	color: var(--orbital-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

/* Los dos destacados de arriba: título más grande. */
.home-card--lead .home-card__media::before {
	padding-top: 58%;
}

.home-card--lead .home-card__title {
	font-size: clamp(1.5rem, 2.1vw, 2rem);
	line-height: 1.12;
}

.home-card--lead .home-card__excerpt {
	font-size: 1rem;
}

/* Responsive: feed baja a 2 y luego 1 columna. */
@media (max-width: 900px) {
	.home-feed-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.home-featured-grid,
	.home-feed-grid {
		grid-template-columns: 1fr;
	}
}

.home-card--compact .home-card__media::before {
	padding-top: 58%;
}

.home-card--compact .home-card__title {
	font-size: clamp(1.35rem, 1.55vw, 1.85rem);
}

.home-card:hover .home-card__image,
.home-card:focus-within .home-card__image {
	transform: scale(1.02);
	filter: saturate(1.02);
}

.editorial-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: 1.5rem;
	padding-top: 1.5rem;
}

.editorial-hero,
.editorial-feed,
.editorial-aside__card,
.widget-area .widget {
	background: var(--orbital-surface);
	border: 1px solid var(--orbital-border);
	border-radius: var(--orbital-radius);
	box-shadow: var(--orbital-shadow);
}

.editorial-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
	gap: 1.5rem;
	padding: 1.5rem;
}

.editorial-kicker,
.section-kicker,
.editorial-panel__label,
.featured-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	width: fit-content;
	margin-bottom: 0.65rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: var(--orbital-surface-soft);
	color: var(--orbital-accent-dark);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.editorial-title {
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 4rem);
	line-height: 1.02;
}

.editorial-summary,
.editorial-panel__text,
.editorial-aside__text,
.article-hero__note,
.entry-summary {
	color: var(--orbital-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.editorial-search {
	margin: 1.25rem 0;
}

.editorial-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.editorial-proof span,
.article-hero__badge,
.meta-item,
.topic-pill {
	border: 1px solid var(--orbital-border);
	border-radius: 999px;
	background: #fff;
}

.editorial-proof span,
.article-hero__badge {
	padding: 0.45rem 0.75rem;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--orbital-text);
}

.editorial-hero__panel {
	display: flex;
}

.editorial-panel-card {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	width: 100%;
	padding: 1.25rem;
	border-radius: calc(var(--orbital-radius) - 4px);
	background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.editorial-panel__title,
.section-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.15;
}

.topic-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.topic-pill {
	padding: 0.65rem 0.85rem;
	color: var(--orbital-text);
	font-size: 0.92rem;
	font-weight: 700;
	transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.topic-pill:hover {
	border-color: rgba(31, 99, 255, 0.3);
	box-shadow: 0 8px 18px rgba(31, 99, 255, 0.12);
	transform: translateY(-1px);
}

.editorial-feed {
	margin-top: 1.5rem;
	padding: 1.25rem;
}

.section-heading {
	margin-bottom: 1rem;
}

.post-stream {
	margin-right: -0.75rem;
	margin-left: -0.75rem;
}

.content-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
	margin-right: 0;
	margin-left: 0;
}

.content-card-grid > .entry-item,
.content-card-grid > .entry-item.column-half,
.content-card-grid > .entry-item.column-third,
.content-card-grid > .entry-item.column-quarter {
	width: 100%;
	min-width: 0;
	max-width: none;
	padding: 0;
	flex: none;
}

.content-card-grid .entry-card {
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
}

.content-card-grid .entry-card__body {
	min-width: 0;
}

.content-card-grid .entry-title {
	overflow-wrap: anywhere;
}

.entry-card__media {
	display: block;
}

.entry-card__title-link {
	display: block;
	color: inherit;
}

.entry-card__title-link:hover,
.entry-card__title-link:focus {
	color: var(--orbital-accent-dark);
}

.featured-item,
.entry-item {
	padding: 0.75rem;
}

.featured-item {
	flex-basis: 100%;
	max-width: 100%;
}

.featured-wrapper,
.entry-card {
	display: block;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--orbital-border);
	box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
	color: var(--orbital-text);
}

.featured-wrapper a {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
}

.featured-media,
.entry-card__media {
	position: relative;
	background: #dfe8f7;
	overflow: hidden;
}

.featured-media img,
.entry-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}

.featured-content,
.entry-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1rem 1rem 1.1rem;
}

.featured-item .entry-title,
.entry-item .entry-title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.2;
}

.featured-item .entry-summary,
.entry-item .entry-summary {
	margin: 0;
	font-size: 0.96rem;
}

.featured-meta,
.entry-card__meta,
.entry-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.featured-meta time,
.entry-card__meta time,
.entry-author {
	font-size: 0.83rem;
	color: var(--orbital-muted);
	font-weight: 700;
}

.entry-card__meta {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.entry-category a {
	color: var(--orbital-accent-dark);
	font-weight: 700;
}

.entry-read-more {
	margin-left: auto;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--orbital-accent);
}

.entry-item {
	flex-basis: 100%;
	max-width: 100%;
}

.entry-related {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--orbital-border);
}

.entry-related h3 {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	line-height: 1.25;
}

.entry-card:hover,
.featured-wrapper:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(16, 32, 51, 0.1);
}

.editorial-aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.editorial-aside__card,
.widget-area .widget {
	padding: 1rem;
}

.widget-area {
	padding: 0;
	background: transparent;
}

.widget-area .widget {
	margin-bottom: 1rem;
}

.widget-area .widget-title,
.editorial-aside .section-title {
	margin-top: 0;
	font-size: 1rem;
}

.article-shell {
	padding-top: 0;
}

.default-header {
	padding: 1.45rem 0 0.2rem;
}

.article-hero {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr);
	gap: 1.6rem;
	max-width: none;
	padding: 0 0 1.75rem;
}

.article-hero--home {
	padding-bottom: 1.5rem;
}

.article-share {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding-top: 0.5rem;
	align-self: start;
	position: sticky;
	top: 7rem;
}

.article-share__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	border: none;
	color: #fff;
	background: #4064ac;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(16, 32, 51, 0.12);
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.article-hero__avatar--home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eef4fb;
	color: #4b6fa8;
	font-size: 1.15rem;
}

.article-share__item:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(16, 32, 51, 0.15);
	color: #fff;
}

.article-share__item--facebook {
	background: #4064ac;
}

.article-share__item--whatsapp {
	background: #25d366;
}

.article-share__item--pinterest {
	background: #e60023;
}

.article-share__item--native {
	background: #3ea7de;
}

.article-share__item--copy {
	background: #1d9a6c;
}

.article-hero__main {
	min-width: 0;
}

.article-hero__breadcrumb {
	margin: 0 0 1.1rem;
	color: #8d96a2;
	font-size: 1.02rem;
	font-weight: 700;
}

.article-hero__breadcrumb span {
	padding: 0 0.35rem;
}

.default-header .title {
	margin: 0;
	font-size: clamp(2.4rem, 4.25vw, 4rem);
	line-height: 1.04;
	max-width: 13.75ch;
	letter-spacing: -0.045em;
}

.article-hero--home .title {
	max-width: 12.75ch;
}

.article-hero__update {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1.05rem 0 0;
	color: #a0a7b2;
	font-size: 0.98rem;
	font-weight: 700;
}

.article-hero__clock {
	color: #b3bbc6;
}

.article-hero__proof {
	margin-top: 0.75rem;
}

.article-hero__evidence {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #2e6da8;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.article-hero__author {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	margin-top: 1.15rem;
}

.article-hero__avatar,
.article-summary__avatar {
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 6px 16px rgba(16, 32, 51, 0.12);
}

.article-hero__author-copy {
	min-width: 0;
}

.article-hero__author-line {
	margin: 0 0 0.25rem;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--orbital-text);
}

.article-hero__author-line a {
	font-weight: 700;
}

.article-hero__author-line--muted {
	color: var(--orbital-muted);
}

.article-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	margin-top: 1.35rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #d6dde6;
	overflow-x: auto;
}

.article-tabs__item {
	position: relative;
	padding: 0 0 0.9rem;
	color: #9b9fa7;
	font-size: 1.03rem;
	font-weight: 700;
	white-space: nowrap;
	transition: color 150ms ease;
}

.article-tabs__item:hover {
	color: var(--orbital-accent);
}

.article-tabs__item::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: transparent;
	transition: background-color 150ms ease;
}

.article-tabs__item:hover::after {
	background: #3ea7de;
}

.article-summary {
	margin: 1.85rem 0 2.15rem;
	padding: 1.8rem 1.9rem;
	border-radius: 24px;
	background: #eef4f8;
	border: 1px solid #e2e8ef;
}

.article-summary__head {
	margin-bottom: 1rem;
}

.article-summary__kicker {
	display: inline-flex;
	padding: 0.42rem 0.72rem;
	border-radius: 999px;
	background: #e1f1fb;
	color: #3b9bd5;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.article-summary__lead {
	display: flex;
	gap: 0.9rem;
	align-items: center;
	margin-bottom: 1rem;
}

.article-summary__name {
	margin: 0;
	font-size: 1.06rem;
	font-weight: 700;
}

.article-summary__meta {
	margin: 0.15rem 0 0;
	color: var(--orbital-muted);
	font-size: 0.95rem;
}

.article-summary__list {
	margin: 0;
	padding-left: 1.15rem;
}

.article-summary__list li {
	margin: 0 0 0.7rem;
	font-size: 1.12rem;
	line-height: 1.8;
}

.article-share-toast {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	padding: 0.8rem 1rem;
	border-radius: 999px;
	background: rgba(16, 32, 51, 0.94);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(16, 32, 51, 0.2);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
	pointer-events: none;
}

.article-share-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.archive-hero {
	padding: 1.6rem 1rem 2rem;
	text-align: center;
}

.archive-hero__breadcrumb {
	margin: 0 0 0.95rem;
	color: #98a2b3;
	font-size: 0.95rem;
	font-weight: 700;
}

.archive-hero .title {
	margin: 0;
	font-size: clamp(2.3rem, 4.6vw, 4rem);
	line-height: 1.02;
}

.archive-hero__description {
	max-width: 66rem;
	margin: 1rem auto 0;
	color: var(--orbital-muted);
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
}

.archive-hero__description p {
	margin: 0;
}

.article-hero__editorial {
	display: grid;
	gap: 0.75rem;
}

.article-hero__medical-disclaimer {
	margin: 0;
	padding: 0.85rem 1rem;
	border-left: 4px solid var(--orbital-accent);
	border-radius: 16px;
	background: #f7faff;
	color: var(--orbital-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) 23rem;
	gap: 2.35rem;
	padding-top: 0;
}

/* Override legacy Customizer flex percentages inside the article grid. */
.container.article-layout > .entry-content.article-content,
.container.article-layout > .entry-aside.single-aside {
	width: 100%;
	min-width: 0;
	max-width: none;
	flex: none;
	flex-basis: auto;
}

.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: 1.5rem;
	padding-top: 1.5rem;
}

.archive-main {
	min-width: 0;
}

.archive-stream {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
	margin: 0;
}

.listing-layout,
.author-posts {
	padding-top: 1.5rem;
}

.archive-site .entry-item {
	padding: 0;
}

.archive-site .entry-item .entry-header {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.archive-site .entry-item a {
	display: block;
	color: inherit;
}

.archive-site .entry-item img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

.archive-site .entry-item h3 {
	margin: 0.95rem 0 0;
	font-size: clamp(1.35rem, 1.8vw, 1.8rem);
	line-height: 1.12;
}

.archive-site .archive-content {
	margin-top: 0.8rem;
	color: var(--orbital-muted);
	font-size: 0.98rem;
	line-height: 1.65;
}

.archive-description-card {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--orbital-border);
	border-radius: 20px;
	background: var(--orbital-surface);
	box-shadow: 0 8px 22px rgba(16, 32, 51, 0.05);
}

.archive-description-card p:last-child {
	margin-bottom: 0;
}

.article-content {
	max-width: 54rem;
	min-width: 0;
	width: 100%;
	padding: 0 0 1.5rem;
}

.article-content > * {
	max-width: 100%;
}

.article-content p,
.article-content li {
	font-size: 1.12rem;
	line-height: 1.92;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	margin-top: 2.65rem;
	margin-bottom: 1rem;
}

.article-content figure,
.article-content img {
	border-radius: 18px;
}

.article-body {
	min-width: 0;
	width: 100%;
	overflow-wrap: anywhere;
}

.article-body > *,
.article-body iframe,
.article-body video,
.article-body table,
.article-body figure,
.article-body .wp-caption {
	max-width: 100%;
}

.article-body img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.article-body .aligncenter,
.article-body .wp-caption img,
.article-body .post-thumbnail img {
	margin-right: auto;
	margin-left: auto;
}

/* Legacy store product embeds: contained replacement for their global Bootstrap. */
.article-body .container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 1.75rem 0;
	padding: 0;
}

.article-body .container > .row {
	display: grid !important;
	grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 1.5rem !important;
	margin: 0;
	padding: 1.35rem;
	border: 1px solid var(--orbital-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.article-body .container > .row > [class*="col-"] {
	width: 100% !important;
	min-width: 0;
	max-width: none !important;
	padding: 0 !important;
	flex: none !important;
}

.article-body .container > .row > [class*="col-"] img {
	width: auto !important;
	max-width: min(100%, 17.5rem) !important;
	max-height: 15.625rem;
	margin: 0 auto !important;
	object-fit: contain;
}

.article-body .container > .row a[style*="background"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.prixz-image-button-buy-group {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(13rem, 0.8fr);
	align-items: center;
	gap: 1.5rem;
	margin: 1.75rem 0;
	padding: 1.35rem;
	border: 1px solid var(--orbital-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.prixz-image-button-buy-group .post-thumbnail {
	min-width: 0;
	margin: 0;
}

.prixz-image-button-buy-group .post-thumbnail img {
	max-height: 28rem;
	object-fit: contain;
}

.article-body h2,
.article-body h3,
.article-body h4 {
	scroll-margin-top: 7rem;
}

.article-editorial {
	margin: 0 0 1.5rem;
	padding: 1rem 0 0;
	border-top: 1px solid var(--orbital-border);
}

.article-editorial__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.article-editorial__card {
	padding: 1rem;
	border: 1px solid var(--orbital-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.article-editorial__kicker {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--orbital-accent-dark);
}

.article-editorial__person {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}

.article-editorial__avatar {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 18px;
	background: #eef4ff;
}

.article-editorial__person-copy {
	min-width: 0;
}

.article-editorial__name {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--orbital-text);
}

.article-editorial__line,
.article-editorial__desc,
.article-editorial__list {
	margin: 0 0 0.45rem;
	font-size: 0.93rem;
	line-height: 1.6;
	color: var(--orbital-muted);
}

.article-editorial__link {
	margin: 0.65rem 0 0;
	font-size: 0.92rem;
	font-weight: 700;
}

.article-editorial__link a {
	color: var(--orbital-accent);
}

.article-editorial__list {
	padding-left: 1.1rem;
}

.article-editorial__list li {
	margin-bottom: 0.4rem;
}

.single-aside {
	align-self: start;
	min-width: 0;
	width: 100%;
	padding-top: 0.1rem;
}

.single-related-video {
	margin-bottom: 1.2rem;
}

.single-related-video__title {
	margin: 0 0 0.8rem;
	font-size: 1.08rem;
	line-height: 1.25;
	font-weight: 700;
	color: #7f8997;
	letter-spacing: 0.01em;
}

.single-related-video__card {
	display: block;
	overflow: hidden;
	border-radius: 18px;
	background: #edf6ff;
	box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
	color: var(--orbital-text);
}

.single-related-video__media {
	position: relative;
}

.single-related-video__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.single-related-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.2rem;
	height: 4.2rem;
	border-radius: 999px;
	background: #3ea7de;
	color: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 16px 26px rgba(62, 167, 222, 0.3);
}

.single-related-video__body {
	padding: 1rem 1rem 1.15rem;
	background: #eaf6fd;
}

.single-related-video__headline {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
}

.single-related-video__meta {
	margin: 0.65rem 0 0;
	color: var(--orbital-muted);
	font-size: 0.92rem;
}

.single-side-ad {
	margin-top: 2rem;
}

.single-side-ad__label {
	margin: 0 0 0.5rem;
	text-align: center;
	font-size: 0.95rem;
	color: #444;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.single-side-ad__slot {
	min-height: 21rem;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.single-side-ad__placeholder {
	width: 100%;
	min-height: 21rem;
	border-radius: 0;
	background: linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
	box-shadow: 0 12px 28px rgba(16, 32, 51, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.prixz-publicidad-card {
	overflow: hidden;
	border-radius: 18px;
	background: #edf6ff;
	box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.prixz-publicidad-card__link {
	display: block;
	color: inherit;
}

.prixz-publicidad-card__media {
	position: relative;
	background: #f3f7fb;
}

.prixz-publicidad-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.prixz-publicidad-card__body {
	padding: 1rem 1rem 1.1rem;
	background: #eaf6fd;
}

.prixz-publicidad-card__label {
	display: inline-flex;
	margin-bottom: 0.75rem;
	padding: 0.34rem 0.65rem;
	border-radius: 999px;
	background: #d7ecfb;
	color: #2f84b8;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.prixz-publicidad-card__title {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.3;
	font-weight: 800;
	color: var(--orbital-text);
}

.prixz-publicidad-card__excerpt {
	margin: 0.65rem 0 0;
	color: var(--orbital-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.prixz-publicidad-card__cta {
	display: inline-flex;
	margin-top: 0.95rem;
	font-size: 0.92rem;
	font-weight: 800;
	color: #2e6da8;
}

.site-footer {
	margin-top: 2rem;
	border-top: 1px solid var(--orbital-border);
}

.footer-app {
	display: none;
}

.site-footer .container {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

@media (max-width: 1040px) {
	.editorial-layout,
	.article-layout,
	.editorial-hero,
	.archive-layout,
	.home-featured-grid,
	.home-feed-grid {
		grid-template-columns: 1fr;
	}

	.content-card-grid,
	.archive-stream {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-hero {
		grid-template-columns: 1fr;
	}

	.article-share {
		flex-direction: row;
		order: 2;
		padding-top: 0;
	}

	.article-share__item {
		width: 2.8rem;
		height: 2.8rem;
	}

	.article-hero__main {
		order: 1;
	}

	.single-related-video__title {
		font-size: 1rem;
	}

	.article-content p,
	.article-content li {
		font-size: 1.06rem;
		line-height: 1.85;
	}
}

@media (max-width: 1039px) {
	html.active,
	body.active {
		overflow: hidden;
	}

	.site-header .site-header__main-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.85rem 1rem;
	}

	.site-logo {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.site-logo img {
		max-width: 132px;
		max-height: 42px;
		object-fit: contain;
	}

	.site-trigger {
		display: block;
		grid-column: 2;
		grid-row: 1;
		margin-left: 0 !important;
	}

	.site-nav-trigger {
		width: 44px;
		height: 44px;
		padding: 10px;
		border: 1px solid var(--orbital-border);
		border-radius: 12px;
		background: #fff;
		color: var(--orbital-text);
		cursor: pointer;
	}

	.site-nav-trigger:focus-visible {
		outline: 3px solid rgba(31, 99, 255, 0.28);
		outline-offset: 2px;
	}

	.site-nav-trigger span:not(.screen-reader-text),
	.site-nav-trigger span:not(.screen-reader-text)::before,
	.site-nav-trigger span:not(.screen-reader-text)::after {
		width: 22px;
		height: 2px;
		background: currentColor;
	}

	.site-trigger.active .site-nav-trigger span:not(.screen-reader-text) {
		background: transparent;
	}

	.site-trigger.active .site-nav-trigger span:not(.screen-reader-text)::before {
		top: 0;
		transform: rotate(45deg);
	}

	.site-trigger.active .site-nav-trigger span:not(.screen-reader-text)::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.buscador {
		grid-column: 1 / -1;
		grid-row: 2;
		max-width: none;
		justify-self: stretch;
	}

	.site-header .site-navbar {
		position: absolute;
		top: 100%;
		right: 0;
		bottom: auto;
		left: 0;
		display: block;
		width: 100%;
		max-height: calc(100vh - 9rem);
		padding: 0.5rem max(1rem, calc((100% - 74rem) / 2 + 1rem)) 1rem;
		overflow-y: auto;
		border: 0;
		border-top: 1px solid var(--orbital-border);
		border-radius: 0 0 18px 18px;
		background: #fff;
		box-shadow: 0 18px 34px rgba(16, 32, 51, 0.16);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
		pointer-events: none;
	}

	.site-header .site-navbar.active {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.site-navbar > ul {
		display: block;
		width: 100%;
		background: transparent;
	}

	.site-navbar ul li {
		display: block;
		width: 100%;
		border-bottom: 1px solid #edf1f6;
	}

	.site-navbar ul li:last-child {
		border-bottom: 0;
	}

	.site-navbar > ul > li > a {
		width: 100%;
		min-height: 48px;
		padding: 0.85rem 2.5rem 0.85rem 0.75rem;
		cursor: pointer;
	}

	.site-navbar ul.sub-menu {
		position: static;
		display: none;
		padding: 0 0 0.5rem 1rem;
		background: #f7f9fc;
	}

	.site-navbar .menu-item-has-children::after {
		top: 24px;
	}

	.site-overlay.active {
		z-index: 40;
	}
}

@media (max-width: 768px) {
	.container {
		width: min(100%, calc(100% - 1rem));
	}

	.editorial-feed,
	.editorial-hero,
	.editorial-aside__card,
	.widget-area .widget {
		border-radius: 20px;
	}

	.site-header__tabs-inner {
		gap: 1rem;
		overflow-x: auto;
		white-space: nowrap;
		padding-top: 0.75rem;
		padding-bottom: 0.6rem;
	}

	.site-header__main-inner {
		gap: 0.9rem;
		padding-top: 0.9rem;
		padding-bottom: 0.9rem;
	}

	.featured-item,
	.entry-item {
		padding-left: 0;
		padding-right: 0;
	}

	.post-stream {
		margin-left: 0;
		margin-right: 0;
	}

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

	.article-content {
		max-width: 100%;
	}

	.article-body .container > .row,
	.prixz-image-button-buy-group {
		grid-template-columns: 1fr;
		gap: 1.1rem !important;
		padding: 1rem;
	}

	.article-body .container > .row > [class*="col-"] img {
		max-width: min(100%, 13.75rem) !important;
		max-height: 13.75rem;
	}

	.article-editorial__grid {
		grid-template-columns: 1fr;
	}

	.article-summary__lead {
		align-items: flex-start;
	}

	.single-related-video__title {
		font-size: 0.98rem;
	}

	.entry-related {
		margin-top: 2rem;
	}

	.entry-related h3 {
		margin: 0 0 1rem;
		font-size: 1rem;
		line-height: 1.25;
		font-weight: 700;
		color: #7f8997;
		letter-spacing: 0.01em;
	}

	.home-intro {
		padding-left: 0;
		padding-right: 0;
	}

	.home-featured-grid,
	.home-feed-grid {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}

	.home-card__title {
		font-size: clamp(1.45rem, 6vw, 1.9rem);
	}

	.content-card-grid,
	.archive-stream {
		grid-template-columns: 1fr;
	}
}

.author-layout {
	display: block;
}

.author-bio {
	width: 100%;
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid #d7dde6;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.author-bio h2 {
	margin-top: 0;
}

.author-bio__image {
	float: left;
	width: min(160px, 32%);
	margin: 0 1.25rem 1rem 0;
}

.author-bio__image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.author-bio__content dl {
	margin-bottom: 0;
}

.author-bio__content dt {
	text-decoration: none;
	color: #6b7480;
}

.author-posts-title {
	margin: 2rem 0 1rem;
}

@media (max-width: 640px) {
	.author-bio__image {
		float: none;
		width: 120px;
		margin-right: 0;
	}
}

/* Bloques de categoría en la home */
.home-cat-section {
	margin-top: 2.6rem;
}

.home-cat-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid #e7ecf3;
	padding-top: 1.4rem;
}

.home-cat-more {
	flex: 0 0 auto;
	font-size: 0.9rem;
	font-weight: 800;
	color: #2f78a8;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.home-cat-more:hover {
	text-decoration: underline;
}

/* Banner de oferta / cupón Prixz (insertado en posts y categorías) */
.prixz-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	flex-wrap: wrap;
	margin: 1.8rem 0;
	padding: 1.4rem 1.6rem;
	background: #004B6C;
	background: linear-gradient(120deg, #004B6C 0%, #006287 100%);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(0, 75, 108, 0.20);
}

.prixz-cta__content {
	flex: 1 1 260px;
	min-width: 0;
}

.prixz-cta__eyebrow {
	margin: 0 0 0.3rem;
	color: #C2ECAA;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.prixz-cta__text {
	margin: 0;
	color: #ffffff;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.4;
}

.prixz-cta__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	background: #C2ECAA;
	color: #004B6C;
	font-size: 1rem;
	font-weight: 800;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease;
	white-space: nowrap;
}

.prixz-cta__btn:hover {
	background: #d6f4c6;
	transform: translateY(-2px);
	color: #004B6C;
}

.prixz-cta-wrap {
	grid-column: 1 / -1;
}

@media (max-width: 560px) {
	.prixz-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		padding: 1.3rem;
	}
	.prixz-cta__btn {
		width: 100%;
	}
}
