/* ==========================================================================
   Neréa Blog — estilos
   Marca: crema #f6f2e7 · negro #141414 · azul #1c56ae · amarillo #ffbf00
   Tipografía: DM Sans + Fraunces (cursiva para acentos)
   ========================================================================== */

:root {
	--cream: #f6f2e7;
	--cream-2: #fdf3dc;
	--cream-3: #efe8d6;
	--black: #141414;
	--ink: #2e2d2d;
	--muted: #6b675e;
	--blue: #1c56ae;
	--blue-dark: #133f84;
	--blue-soft: #e3ebf8;
	--yellow: #ffbf00;
	--yellow-soft: #fff1c2;
	--white: #ffffff;
	--line: rgba(20, 20, 20, 0.1);
	--topic: var(--blue);

	--ff: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ff-accent: 'Fraunces', Georgia, serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 12px 32px -12px rgba(20, 20, 20, 0.14);
	--shadow-lg: 0 30px 60px -24px rgba(20, 20, 20, 0.28);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 70px;     /* altura del header fijo al hacer scroll */
	--header-top-h: 97px; /* altura del header arriba del todo (96px + borde) */
}

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

@media (max-width: 1199px) { :root { --header-h: 81px; --header-top-h: 81px; } }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font-family: var(--ff);
	font-size: 18px;
	line-height: 1.56;
	letter-spacing: -0.02em;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--black); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--black); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 999px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

/* Acento tipográfico (como "en ventas" en nereadigital.com) */
.accent {
	font-family: var(--ff-accent);
	font-style: normal;
	font-weight: inherit;
	letter-spacing: -0.01em;
	color: var(--blue);
}
.accent--yellow { color: var(--yellow); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.eyebrow--accent { color: var(--yellow); }

.link-underline {
	font-weight: 600;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
	padding-bottom: 2px;
	transition: background-size 0.4s var(--ease);
}
.link-underline:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Botón píldora + círculo (estilo Neréa) ---------- */
.btn {
	--btn-bg: var(--black);
	--btn-fg: var(--white);
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	white-space: nowrap;
}
.btn__text {
	background: var(--btn-bg);
	color: var(--btn-fg);
	padding: 12px 22px;
	border-radius: 999px;
	transition: transform 0.5s var(--ease);
}
.btn__circle {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-left: -4px;
	border-radius: 50%;
	background: var(--btn-bg);
	color: var(--btn-fg);
	transition: transform 0.6s var(--ease);
}
.btn { filter: url(#nerea-goo); }
.btn:hover .btn__circle { transform: translateX(10px) rotate(45deg); }
.btn:hover .btn__text { transform: translateX(-2px); }
.btn--blue { --btn-bg: var(--blue); }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--black); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--black); }

.icon-btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: background 0.3s;
}
.icon-btn:hover { background: rgba(20, 20, 20, 0.06); }

/* ---------- Chips de tema ---------- */
.chip {
	display: inline-flex;
	align-items: center;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--chip-bg, var(--blue));
	color: var(--chip-fg, var(--white));
	line-height: 1.2;
	transition: transform 0.3s var(--ease);
}
a.chip:hover { transform: translateY(-2px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   Header — réplica de nereadigital.com
   (96px arriba; al bajar 20px se fija en blanco translúcido y pasa a 70px)
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}
.site-header.is-sticky {
	background: rgba(255, 255, 255, 0.9);
	border-bottom-color: transparent;
	box-shadow: 0 2px 6px 0 rgba(19, 19, 22, 0.08);
	animation: headerSlideDown 0.95s ease forwards;
}
.site-header.is-sticky::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	backdrop-filter: blur(40px);
	-webkit-backdrop-filter: blur(40px);
}
@keyframes headerSlideDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* Espacio para el header fijo */
body { padding-top: var(--header-top-h); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header.is-sticky { top: 0; } }

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 0 18px;
}
.site-logo { justify-self: start; display: block; }
.site-logo .logo-img { width: 120px; max-width: 120px; height: auto; }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav__list li { margin: 0 20px; }
.site-nav__list a {
	display: inline-block;
	padding: 35px 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: -0.01em;
	color: var(--black);
	transition: padding 0.3s, opacity 0.3s;
}
.site-nav__list a:hover { opacity: 0.6; }
.site-header.is-sticky .site-nav__list a { padding: 22px 0; }
@media (min-width: 1200px) and (max-width: 1399px) { .site-nav__list li { margin: 0 15px; } }

.site-header__right { justify-self: end; display: flex; align-items: center; }

/* Botón del teléfono: mismas medidas que en nereadigital.com */
.site-header__cta .btn { font-size: 16px; font-weight: 500; }
.site-header__cta .btn__text { padding: 7px 22px; line-height: 26px; }
.site-header__cta .btn__circle { width: 36px; height: 36px; }

/* Botón de menú (3 líneas) */
.nav-toggle { display: none; width: 30px; margin-left: 20px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle i { display: block; height: 2px; width: 14px; margin-left: 0; background: var(--black); }
.nav-toggle i:nth-child(2) { width: 24px; }
.nav-toggle i:not(:last-of-type) { margin: 6px auto; }
.nav-toggle:hover i { animation: barAnim 0.8s cubic-bezier(0.44, 1.1, 0.53, 0.99) 1 forwards; }
@keyframes barAnim { 0% { transform: scaleX(1); } 50% { transform: scaleX(0.6); } 100% { transform: scaleX(1); } }

/* Barra de progreso de lectura */
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* Tablet y móvil: como en nereadigital.com (menú en panel lateral) */
@media (max-width: 1199px) {
	.site-header__inner { grid-template-columns: 1fr auto; padding: 10px 18px; }
	.site-nav { display: none; }
	.site-logo { padding: 10px 0; }
	.nav-toggle { display: block; }
}
@media (max-width: 767px) {
	.site-header__cta { display: none; }
	.nav-toggle { margin-left: 0; }
}

/* ---------- Panel lateral ---------- */
.offcanvas__wrapper {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999;
	width: 450px;
	max-width: 100%;
	height: 100vh;
	height: 100dvh;
	padding: 50px;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	background: #fff;
	transform: translateX(calc(100% + 80px));
	transition: transform 0.3s;
	visibility: hidden;
}
@media (max-width: 575px) { .offcanvas__wrapper { width: 100%; padding: 40px 30px; } }
.offcanvas-open .offcanvas__wrapper { transform: translateX(0); visibility: visible; }
.body-overlay {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(24, 24, 24, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: 0.45s ease-in-out;
}
.offcanvas-open .body-overlay { opacity: 1; visibility: visible; }
body.offcanvas-open { overflow: hidden; }

.offcanvas__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 90px; }
.offcanvas__logo .logo-img { width: 120px; }
.offcanvas__close { color: var(--black); background: none; border: 0; padding: 0; cursor: pointer; transition: transform 0.3s; }
.offcanvas__close:hover { transform: rotate(90deg); }

.offcanvas__menu { margin-bottom: 80px; }
.offcanvas__list { list-style: none; margin: 0; padding: 0; }
.offcanvas__list a { display: block; padding: 10px 0; font-size: 20px; font-weight: 500; color: var(--black); }
.offcanvas__list a:hover { opacity: 0.6; }

.offcanvas__title { font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 15px; }
.offcanvas__contact { margin-bottom: 55px; }
.offcanvas__contact ul, .offcanvas__social ul { list-style: none; margin: 0; padding: 0; }
.offcanvas__contact li:not(:last-child) { margin-bottom: 2px; }
.offcanvas__contact a { position: relative; display: inline-block; font-size: 16px; color: #414144; }
.offcanvas__contact a::after { content: ''; position: absolute; bottom: 2px; right: 0; width: 0; height: 1px; background: #1e1e1e; transition: 0.4s; }
.offcanvas__contact a:hover { color: var(--black); }
.offcanvas__contact a:hover::after { width: 100%; right: auto; left: 0; }
.offcanvas__social ul { display: flex; gap: 8px; }
.offcanvas__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(20, 20, 20, 0.12); color: var(--black); transition: 0.3s; }
.offcanvas__social a:hover { background: var(--black); border-color: var(--black); color: var(--white); }

/* ---------- Buscador ---------- */
.search-form {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--white);
	border-radius: 999px;
	padding: 6px;
	box-shadow: var(--shadow);
	max-width: 560px;
	width: 100%;
}
.search-form__icon { position: absolute; left: 22px; color: var(--muted); pointer-events: none; }
.search-form__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	padding: 12px 12px 12px 48px;
	color: var(--black);
}
.search-form__input:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 3px var(--blue), var(--shadow); }
.search-form__btn {
	background: var(--black);
	color: var(--white);
	font-weight: 600;
	padding: 12px 22px;
	border-radius: 999px;
	transition: background 0.3s;
}
.search-form__btn:hover { background: var(--blue); }


/* ==========================================================================
   Portada del blog
   ========================================================================== */
.blog-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.blog-hero__shape {
	position: absolute;
	right: -12%;
	top: 6%;
	width: min(1100px, 95vw);
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
}
.blog-hero__inner { position: relative; z-index: 1; }
.blog-hero__title { font-size: clamp(44px, 8vw, 104px); line-height: 0.98; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 24px; max-width: 14ch; }
.blog-hero__text { font-size: clamp(18px, 2vw, 21px); max-width: 560px; color: var(--black); font-weight: 600; }
.blog-hero__search { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.blog-hero__count { font-size: 15px; color: var(--muted); }
.blog-hero__count strong { color: var(--black); font-size: 18px; }

/* Barra de temas */
.topics-bar { margin: 0 0 32px; }
.topics-bar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.topic-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.3;
	white-space: nowrap;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.topic-pill:hover { border-color: var(--black); }
.topic-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--topic); }
.topic-pill__count { font-size: 11px; font-weight: 700; line-height: 1; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 3px 6px; }
.topic-pill.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.topic-pill.is-active .topic-pill__count { background: rgba(255, 255, 255, 0.14); color: var(--white); }
@media (max-width: 640px) {
	.topics-bar { margin-bottom: 24px; }
	.topic-pill { font-size: 12.5px; padding: 5px 10px; }
}

/* Encabezado de sección */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-title { font-size: clamp(30px, 4vw, 44px); }

.featured { margin-bottom: clamp(56px, 8vw, 96px); }
.listing { margin-bottom: clamp(56px, 8vw, 96px); }

/* ---------- Tarjetas ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-2); margin: 10px 10px 0; border-radius: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--topic) 14%, var(--cream)); }
.card__placeholder img { position: absolute; width: 160%; max-width: none; left: -30%; top: 10%; height: auto; opacity: 0.9; }
.card__placeholder-title { position: relative; font-family: var(--ff-accent); font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: var(--topic); padding: 0 20px; text-align: center; line-height: 1.1; }
.card__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 26px; flex: 1; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.card__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card__title { font-size: 22px; font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__excerpt { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding-top: 6px; }
.card__more-circle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--white); transition: transform 0.5s var(--ease), background 0.3s; }
.card:hover .card__more-circle { transform: rotate(45deg); background: var(--blue); }
.card .chip { position: relative; z-index: 2; }

/* Tarjeta destacada */
.card--featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; border-radius: var(--radius-lg); }
.card--featured:hover { transform: translateY(-4px); }
.card--featured .card__media { aspect-ratio: auto; min-height: 420px; margin: 12px; border-radius: 24px; }
.card--featured .card__body { padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(12px, 2vw, 24px); justify-content: center; gap: 18px; }
.card--featured .eyebrow { color: var(--blue); }
.card--featured .card__title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.card--featured .card__excerpt { font-size: 17.5px; }
.card--featured .card__more { margin-top: 10px; }
@media (max-width: 860px) {
	.card--featured { grid-template-columns: 1fr; }
	.card--featured .card__media { min-height: 0; aspect-ratio: 16 / 10; margin: 10px 10px 0; }
	.card--featured .card__body { padding: 24px; }
}

/* Tarjeta CTA dentro de la rejilla */
.card--cta {
	background: var(--black);
	color: var(--white);
	padding: 32px 28px;
	justify-content: flex-end;
	gap: 16px;
	min-height: 380px;
}
.card--cta:hover { transform: none; box-shadow: none; }
.card--cta__shape { position: absolute; width: 240%; max-width: none; left: -40%; top: -10%; opacity: 0.12; pointer-events: none; }
.card--cta > *:not(.card--cta__shape) { position: relative; }
.card--cta__title { font-size: 32px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--white); }
.card--cta__text { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.card--cta .btn { margin-top: 6px; align-self: flex-start; }

/* Paginación */
.pagination { margin-top: 56px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span {
	display: grid;
	place-items: center;
	min-width: 48px;
	height: 48px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--white);
	font-weight: 600;
	transition: background 0.3s, color 0.3s;
}
.pagination a:hover { background: var(--black); color: var(--white); }
.pagination .current { background: var(--blue); color: var(--white); }
.pagination .dots { background: transparent; }

/* Estado vacío */
.empty { text-align: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px) 24px; display: grid; justify-items: center; gap: 18px; }
.empty__title { font-size: clamp(26px, 3vw, 36px); font-weight: 500; color: var(--black); letter-spacing: -0.02em; }

/* ==========================================================================
   Página de tema (categoría) / búsqueda
   ========================================================================== */
.topic-hero {
	position: relative;
	background: var(--topic);
	color: var(--white);
	padding: clamp(28px, 5vw, 72px) 0 clamp(52px, 7vw, 100px);
	margin-bottom: 28px;
	overflow: hidden;
}
.topic-hero::before {
	content: '';
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, 0.08);
}
.topic-hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.topic-hero__inner.has-image { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .topic-hero__inner.has-image { grid-template-columns: 1fr; } }
.topic-hero__title { color: inherit; font-size: clamp(34px, 6vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.01em; margin: 14px 0; }
.topic-hero__title .accent { display: block; color: var(--yellow); }
.topic-hero__text { font-size: 19px; max-width: 620px; opacity: 0.88; }
.topic-hero__text p { margin: 0; }
.topic-hero__count { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.topic-hero__search { margin-top: 28px; }
.topic-hero__media img { width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18)); }
.topic-hero__wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(32px, 5vw, 60px); color: var(--cream); }
@media (max-width: 640px) { .topic-hero__text { font-size: 16px; } .topic-hero::before { width: 260px; height: 260px; border-width: 44px; right: -90px; top: -90px; } }
.topic-hero .breadcrumb { color: inherit; }
.topic-hero .breadcrumb a { opacity: 0.8; }
.topic-hero--light { color: var(--black); }
.topic-hero--light .topic-hero__title .accent { color: var(--blue); }
.topic-hero--light .topic-hero__count { background: rgba(20, 20, 20, 0.08); }
.topic-hero--light::before { border-color: rgba(255, 255, 255, 0.25); }

/* Migas de pan */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   Artículo individual
   ========================================================================== */
.post-hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); overflow: hidden; }
.post-hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.post-hero--lateral .post-hero__inner { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 960px) { .post-hero--lateral .post-hero__inner { grid-template-columns: 1fr; } }
.post-hero__content { display: grid; gap: 18px; justify-items: start; }
.post-hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.post-hero__time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.post-hero__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.post-hero__lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--ink); max-width: 640px; }

.post-hero__media { position: relative; margin: 0; }
.post-hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.post-hero__blob { position: absolute; z-index: 0; width: 70%; aspect-ratio: 1; right: -8%; bottom: -10%; border-radius: 50%; background: var(--yellow); }
.post-hero__media::before { content: ''; position: absolute; z-index: 2; left: -18px; top: 28px; width: 64px; height: 64px; border-radius: 50%; background: var(--topic); box-shadow: 0 0 0 8px var(--cream); }

.post-hero--completa .post-hero__inner,
.post-hero--sin_imagen .post-hero__inner { max-width: 980px; text-align: center; }
.post-hero--completa .post-hero__content,
.post-hero--sin_imagen .post-hero__content { justify-items: center; }
.post-hero--completa .post-hero__lead,
.post-hero--sin_imagen .post-hero__lead { margin-inline: auto; }
.post-hero__wide { margin: clamp(36px, 5vw, 56px) auto 0; }
.post-hero__wide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); }
.post-hero__shape { position: absolute; width: min(1400px, 140vw); max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.85; pointer-events: none; }
.post-hero--sin_imagen { padding-bottom: clamp(56px, 8vw, 100px); }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); text-align: left; }
.byline .avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.byline__name { font-weight: 600; color: var(--black); }
.byline__name:hover { color: var(--blue); }


/* Layout: contenido | sidebar (índice + CTA + compartir) */
.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 300px;
	justify-content: space-between;
	gap: 56px;
	padding-top: clamp(8px, 1.5vw, 20px);
	padding-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 1180px) { .post-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; } }
@media (max-width: 960px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
	.post-sidebar { display: none; }
}

.post-sidebar__sticky { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 12px; }
.admin-bar .post-sidebar__sticky { top: calc(var(--header-h) + 32px + 32px); }

/* Compartir (horizontal) */
.post-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.post-share__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.post-share__links { display: flex; gap: 6px; }
.post-share a, .post-share button {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--cream);
	transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.post-share a:hover, .post-share button:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.post-share--side { background: var(--white); border-radius: var(--radius-sm); padding: 8px 10px 8px 16px; flex-wrap: nowrap; gap: 8px; }
.post-share--side .post-share__label { font-size: 11px; }
.post-share--side .post-share__links { gap: 4px; }
.post-share--side a, .post-share--side button { width: 32px; height: 32px; }
.post-share--side .icon { width: 15px; height: 15px; }
@media (max-width: 1180px) { .post-share--side { justify-content: center; } .post-share--side .post-share__label { display: none; } }
.post-share--inline { margin-top: 40px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); justify-content: flex-start; gap: 16px; }
.post-share--inline a, .post-share--inline button { background: var(--white); }
@media (min-width: 961px) { .post-share--inline { display: none; } }
.copy-link__ok { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; background: var(--black); color: var(--white); padding: 4px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.copy-link.is-copied .copy-link__ok { opacity: 1; }

/* Índice (compacto) */
.toc--side { background: var(--white); border-radius: var(--radius-sm); padding: 16px 14px 14px; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 6px 8px; }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: toc; max-height: 38vh; overflow-y: auto; scrollbar-width: thin; }
.toc__list a { display: block; font-size: 14px; line-height: 1.35; padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.toc__list a:hover { background: var(--cream); }
.toc__list a.is-active { color: var(--blue); background: var(--blue-soft); border-left-color: var(--blue); font-weight: 600; }
.toc__list .toc__sub a { padding-left: 22px; font-size: 13px; }
.toc--mobile { background: var(--white); border-radius: var(--radius); margin-bottom: 32px; }
.toc--mobile summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--black); list-style: none; display: flex; justify-content: space-between; }
.toc--mobile summary::after { content: '+'; font-size: 22px; line-height: 1; }
.toc--mobile[open] summary::after { content: '–'; }
.toc--mobile .toc__list { padding: 0 12px 16px; max-height: none; }
@media (min-width: 961px) { .toc--mobile { display: none; } }

/* CTA lateral (discreto) */
.side-cta { position: relative; overflow: hidden; background: var(--blue-soft); color: var(--black); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 6px; justify-items: start; }
.side-cta__shape { display: none; }
.side-cta__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.side-cta__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.side-cta .btn { margin-top: 6px; font-size: 14px; }
.side-cta .btn__text { padding: 9px 16px; }
.side-cta .btn__circle { width: 34px; height: 34px; }
/* Resumen "Lo que vas a aprender" */
.summary {
	display: grid;
	gap: 0;
	background: var(--white);
	border-radius: var(--radius);
	margin-bottom: 40px;
	overflow: hidden;
	border: 1px solid var(--line);
}
.summary.has-stat { grid-template-columns: 1fr 220px; }
@media (max-width: 640px) { .summary.has-stat { grid-template-columns: 1fr; } }
.summary__points { padding: 28px 30px; }
.summary__title { font-size: 24px; margin-bottom: 16px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.summary__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--black); margin-top: 1px; }
.summary__stat { background: var(--black); color: var(--white); padding: 28px; display: grid; align-content: center; gap: 8px; }
.summary__stat-num { font-family: var(--ff-accent); font-weight: 700; font-size: clamp(48px, 6vw, 64px); line-height: 1; color: var(--yellow); letter-spacing: -0.03em; }
.summary__stat-text { font-size: 15px; line-height: 1.45; opacity: 0.85; }

/* ---------- Contenido (tipografía del artículo) ---------- */
.prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 2em; line-height: 1.15; }
.prose h3 { font-size: clamp(22px, 2.2vw, 26px); margin-top: 1.7em; letter-spacing: -0.02em; }
.prose h4 { font-size: 20px; margin-top: 1.5em; letter-spacing: -0.01em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose em { font-style: italic; }
.prose h2 em, .prose h3 em { font-family: var(--ff-accent); font-style: normal; font-weight: inherit; color: var(--blue); }
.prose strong { color: var(--black); font-weight: 700; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); transition: text-decoration-color 0.3s; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose mark { background: linear-gradient(transparent 55%, var(--yellow-soft) 55%); color: inherit; padding: 0 2px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 34px; }
.prose li + li { margin-top: 0.55em; }
.prose ul li::before { content: ''; position: absolute; left: 8px; top: 0.7em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0.2em; width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--yellow); font-size: 1.1em; color: var(--black); }
.prose blockquote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; color: var(--muted); }
.prose img, .prose figure img { border-radius: var(--radius); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.prose hr { border: 0; height: 24px; margin: 2.5em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M2 12c10-12 20-12 29 0s19 12 29 0 19-12 29 0 19 12 29 0' fill='none' stroke='%23ffbf00' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 120px 24px no-repeat; }
.prose code { font-size: 0.88em; background: var(--cream-3); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--black); color: #f3f3f3; padding: 22px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--black); color: var(--white); font-weight: 600; }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-button__link { background: var(--black); color: var(--white); border-radius: 999px; padding: 14px 26px; font-weight: 600; text-decoration: none; }
.prose .wp-block-button__link:hover { background: var(--blue); }
.prose .wp-block-embed iframe, .prose iframe { border-radius: var(--radius); width: 100%; }
.prose .alignwide { margin-inline: clamp(-80px, -6vw, 0px); }
.prose .wp-block-pullquote { border: 0; padding: 0; }
.prose > p:first-of-type::first-letter, .article-intro > p:first-of-type::first-letter { font-family: var(--ff-accent); font-weight: 700; float: left; font-size: 4.2em; line-height: 0.85; margin: 0.06em 0.12em 0 0; color: var(--blue); }

/* Cita destacada (ACF) */
.pull-quote { position: relative; margin: 2.4em 0 !important; padding: clamp(28px, 4vw, 44px); background: var(--yellow); border-radius: var(--radius-lg); color: var(--black); }
.pull-quote__mark { color: var(--black); opacity: 0.9; margin-bottom: 14px; width: 40px; }
.pull-quote blockquote { margin: 0; padding: 0; border: 0; }
.pull-quote blockquote p { font-family: var(--ff-accent); font-weight: 500; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.25; letter-spacing: -0.02em; }
.pull-quote figcaption { margin-top: 18px; font-size: 15px; color: rgba(20, 20, 20, 0.75); }

/* Recurso descargable */
.resource {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 22px;
	align-items: center;
	margin-top: 48px;
	padding: 26px 28px;
	background: var(--blue-soft);
	border: 2px dashed color-mix(in srgb, var(--blue) 40%, transparent);
	border-radius: var(--radius);
}
.resource__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--blue); color: var(--white); }
.resource__title { font-size: 21px; margin: 4px 0; letter-spacing: -0.02em; }
.resource p { font-size: 15px; color: var(--muted); }
@media (max-width: 680px) { .resource { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 56px; }
.faq__title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 20px; }
.faq__item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; transition: box-shadow 0.3s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17.5px; color: var(--black); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq__answer { padding: 0 22px 22px; color: var(--ink); font-size: 16.5px; }
.faq__answer p + p { margin-top: 0.8em; }

/* Etiquetas */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.post-tags a { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: background 0.3s, color 0.3s; }
.post-tags a:hover { background: var(--black); color: var(--white); }

/* Caja de autor */
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; margin-top: 40px; padding: 28px; background: var(--white); border-radius: var(--radius); }
.author-box .avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-box__name { font-size: 24px; margin: 4px 0 2px; }
.author-box__role { color: var(--blue); font-weight: 600; font-size: 15px; }
.author-box__bio { margin-top: 10px; font-size: 16px; color: var(--muted); }
.author-box__links { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.author-box__links a:not(.link-underline):hover { color: var(--blue); }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }

/* Anterior / siguiente */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.post-nav__link { display: grid; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.post-nav__link:hover { background: var(--white); border-color: transparent; }
.post-nav__link--next { text-align: right; grid-column: 2; justify-items: end; }
.post-nav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.post-nav__title { font-weight: 700; color: var(--black); line-height: 1.3; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }

/* Relacionados */
.related { padding-bottom: clamp(56px, 8vw, 96px); }

/* Comentarios */
.comments { margin-top: 56px; }
.comments__title { font-size: 26px; margin-bottom: 20px; }
.comments__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.comments__list .children { list-style: none; padding-left: 24px; margin-top: 14px; display: grid; gap: 14px; }
.comments__list .comment-body { background: var(--white); border-radius: var(--radius-sm); padding: 20px; }
.comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: inherit; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
.comment-form textarea { min-height: 140px; }
.comment-form .form-submit { margin: 0; }

/* ---------- Banda CTA ---------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--black);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px);
	margin-bottom: clamp(56px, 8vw, 96px);
}
.cta-band__shape { position: absolute; width: 120%; max-width: none; right: -30%; top: 50%; transform: translateY(-50%); opacity: 0.1; pointer-events: none; }
.cta-band__inner { position: relative; max-width: 760px; display: grid; gap: 20px; justify-items: start; }
.cta-band__title { color: var(--white); font-size: clamp(38px, 6vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.cta-band__text { font-size: 19px; opacity: 0.78; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.cta-band__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; opacity: 0.8; }
.cta-band__badge .icon { color: var(--yellow); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.72); padding: clamp(56px, 8vw, 96px) 0 32px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.site-footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer__title { color: var(--white); font-size: clamp(38px, 6vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(40px, 6vw, 64px) 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo .logo-img { width: 150px; margin-bottom: 18px; }
.site-footer__brand p { font-size: 15.5px; max-width: 340px; }
.site-footer__heading { color: var(--white); font-size: 15px; letter-spacing: 0.04em; margin-bottom: 16px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.site-footer__list a { transition: color 0.3s; }
.site-footer__list a:hover { color: var(--yellow); }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.social a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.site-footer__bottom p { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__bottom .icon { color: var(--yellow); }

/* ==========================================================================
   404
   ========================================================================== */
.not-found { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.not-found__shape { position: absolute; width: 140vw; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.not-found .container { position: relative; display: grid; justify-items: center; gap: 20px; }
.not-found__code { font-family: var(--ff-accent); font-weight: 700; font-size: clamp(96px, 18vw, 200px); line-height: 0.9; color: var(--blue); }
.not-found__title { font-size: clamp(34px, 5vw, 56px); }

/* ==========================================================================
   Animación de entrada
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Alineaciones del editor */
.alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ==========================================================================
   Artículo construido con el formulario (secciones)
   ========================================================================== */
.article-intro > * + *,
.article-section > * + * { margin-top: 1.25em; }
.prose > .article-section { margin-top: 2.6em; }
.article-section > h2:first-child { margin-top: 0; }
.article-section ul, .article-section ol { padding-left: 0; }

.article-figure { margin: 1.8em 0 0; }
.article-section > .article-figure:first-of-type:nth-child(2) { margin-top: 1em; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.article-figure figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }

.tip {
	position: relative;
	margin-top: 1.6em !important;
	padding: 22px 24px 22px 26px;
	background: var(--white);
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--blue);
	box-shadow: var(--shadow);
}
.tip__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.tip p { font-size: 16.5px; line-height: 1.6; color: var(--black); }

.nerea-table { margin: 2.2em 0 0; }
.nerea-table__title { font-size: 22px; font-weight: 600; color: var(--black); letter-spacing: -0.02em; margin-bottom: 14px; text-align: left !important; }
.nerea-table__scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.nerea-table table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); font-size: 16px; }
.nerea-table th, .nerea-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.nerea-table thead th { background: var(--black); color: var(--white); font-weight: 600; }
.nerea-table thead th:nth-child(2) { background: var(--blue); }
.nerea-table tbody th { font-weight: 600; color: var(--black); background: var(--cream); }
.nerea-table tbody tr:last-child > * { border-bottom: 0; }
.post-hero--completa .byline,
.post-hero--sin_imagen .byline { justify-content: center; }
