/* =========================================================
   SIN MAQUILLAJE — Hoja de estilos principal
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700;900&family=Barlow+Condensed:wght@700;900&display=swap');

/* ---------- Variables ---------- */
:root {
	--sm-surface-0: #ffffff;
	--sm-surface-1: #f6f4fb;
	--sm-text-primary: #1a0e3d;
	--sm-text-muted: #767085;
	--sm-border: #e9e6f2;
	--sm-navy: #1a0e3d;
	--sm-navy-2: #2d1b5e;
	--sm-red: #C8102E;
}

/* ---------- Reset básico ---------- */
* {
	box-sizing: border-box;
}

body.sinmaquillaje {
	font-family: 'Barlow', sans-serif;
	background: var(--sm-surface-0);
	color: var(--sm-text-primary);
	margin: 0;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

body.sm-no-scroll {
	overflow: hidden;
}

/* =========================================================
   NAV
   ========================================================= */
.sm-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #1a0e3d;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	height: 60px;
	border-bottom: 2px solid #C8102E;
	gap: 1rem;
	transition: transform 0.3s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sm-nav.is-hidden {
	transform: translateY(-100%);
}

.sm-nav.is-scrolled {
	box-shadow: 0 4px 20px rgba(8, 4, 24, 0.35);
	background: #fff;
}

.sm-nav-brand {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
}

.sm-logo-text {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 35px;
	color: #1a0e3d;
	letter-spacing: 1px;
	text-decoration: none;
	line-height: 1;
}

.sm-logo-text span {
	color: #C8102E;
}

.sm-logo-img {
	display: block;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.sm-logo-sub {
	font-size: 9px;
	color: #aaa;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 2px;
}

.sm-nav-menu {
	flex: 1;
	display: flex;
	justify-content: center;
}

.sm-nav-links {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.sm-nav-links > li {
	position: relative;
}

.sm-nav-links > li > a {color: #ccc;font-size: 13px;font-weight: 600;letter-spacing: 0px;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0;
	transition: color 0.2s ease;
}

.sm-nav-links > li > a:hover,
.sm-nav-links > li.current-menu-item > a {
	color: #C8102E;
}

/* ---------- CTA "Suscribirse" (ÚNICA regla, sin duplicados) ---------- */
.sm-nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	background: var(--sm-cta-bg, #C8102E);
	color: var(--sm-cta-color, #ffffff);
	border: none;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	white-space: nowrap;
	line-height: 1;
	transition: background 0.2s ease;
}

.sm-nav-cta:hover {
	background: var(--sm-cta-hover, #a50d25);
}

.sm-nav-cta svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	display: block;
}

.sm-nav-cta__text {
	display: inline-block;
}

/* ---------- Botón hamburguesa ---------- */
.sm-nav-toggle {
	display: none;
	background: transparent;
	border: none;
	color: #fff;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s ease;
}

.sm-nav-toggle:hover,
.sm-nav-toggle.is-active {
	color: #C8102E;
}

.sm-burger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	position: relative;
}

.sm-burger span {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

.sm-nav-toggle.is-active .sm-burger span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.sm-nav-toggle.is-active .sm-burger span:nth-child(2) {
	opacity: 0;
}

.sm-nav-toggle.is-active .sm-burger span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Backdrop del panel móvil ---------- */
.sm-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 4, 24, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 98;
}

.sm-nav-backdrop[hidden] {
	display: none;
}

/* =========================================================
   NAV — ESCRITORIO (>=901px)
   ========================================================= */
@media (min-width: 901px) {
	.sm-nav {
		padding-right: 11rem;
	}

	.sm-nav-menu {
		flex: 1;
		justify-content: center;
		position: static;
	}

	.sm-nav-cta {
		position: absolute;
		right: 2rem;
		top: 50%;
		transform: translateY(-50%);
		width: auto;
	}
}

/* =========================================================
   NAV — MÓVIL (<=900px)
   ========================================================= */
@media (max-width: 900px) {
	.sm-nav-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.sm-nav-menu {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: 75%;
		max-width: 340px;
		background: rgba(20, 11, 48, 0.55);
		backdrop-filter: blur(22px) saturate(180%);
		-webkit-backdrop-filter: blur(22px) saturate(180%);
		border-left: 1px solid rgba(255, 255, 255, 0.14);
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		padding: 5.5rem 1.5rem 1.5rem;
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
		z-index: 99;
		box-shadow: -20px 0 60px rgba(8, 4, 24, 0.45);
	}

	.sm-nav-menu.is-open {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.sm-nav-links {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
	}

	.sm-nav-links > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.sm-nav-links > li > a {
		padding: 0.9rem 0.25rem;
		font-size: 14px;
		justify-content: space-between;
		color: #ece9f7;
	}

	.sm-nav-cta {
		margin-top: 1.5rem;
		align-self: stretch;
		padding: 12px 24px;
		text-align: center;
	}
}

/* =========================================================
   ADMIN BAR: bajar el nav cuando estás logueado
   ========================================================= */
body.admin-bar .sm-nav {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .sm-nav {
		top: 46px;
	}
}

/* =========================================================
   HERO
   ========================================================= */
.sm-hero {
	background: #1a0e3d;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 320px;
	overflow: hidden;
	position: relative;
}

.sm-hero-left {
	padding: 3rem 2rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 2;
}

.sm-hero-tag {
	color: #C8102E;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.sm-hero-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 48px;
	color: #fff;
	line-height: 1.05;
	margin: 0 0 0.5rem;
}

.sm-hero-title span {
	color: #C8102E;
}

.sm-hero-title-img {
	max-width: 100%;
	height: auto;
	display: block;
	max-height: 90px;
	width: auto;
}

.sm-hero-by {
	font-size: 13px;
	color: #aaa;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.sm-hero-desc {
	font-size: 15px;
	color: #c5bfdf;
	line-height: 1.6;
	max-width: 420px;
	margin-bottom: 2rem;
}

.sm-hero-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.sm-btn-primary {
	background: #C8102E;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 2px;
	text-decoration: none;
	display: inline-block;
}

.sm-btn-outline {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 2px;
	text-decoration: none;
	display: inline-block;
}

.sm-hero-right {
	background: linear-gradient(135deg, #2d1b5e 0%, #1a0e3d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.sm-hero-right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sm-hero-img-placeholder {
	width: 180px;
	height: 240px;
	background: linear-gradient(180deg, #3d2870 0%, #2d1b5e 100%);
	border-radius: 4px 4px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.sm-hero-accent-line {
	position: absolute;
	right: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: #C8102E;
}

/* =========================================================
   TICKER
   ========================================================= */
.sm-ticker {
	background: #C8102E;
	padding: 8px 2rem;
	display: flex;
	gap: 2rem;
	overflow: hidden;
}

.sm-ticker-label {
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 2px;
	text-transform: uppercase;
	white-space: nowrap;
}

.sm-ticker-item {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
}

.sm-ticker-item a {
	transition: color 0.2s ease;
}

.sm-ticker-item a:hover {
	color: #fff;
}

/* =========================================================
   SECCIONES
   ========================================================= */
.sm-section {
	padding: 3rem 2rem;
	max-width: 1280px;
	margin: 0 auto;
}

.sm-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid #1a0e3d;
	padding-bottom: 0.75rem;
}

.sm-section-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 22px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sm-text-primary);
	margin: 0;
}

.sm-section-title span {
	color: #C8102E;
}

.sm-section-link {
	font-size: 12px;
	font-weight: 700;
	color: #C8102E;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
}

.sm-divider {
	height: 1px;
	background: var(--sm-border);
	margin: 0 2rem;
}

/* =========================================================
   CARDS
   ========================================================= */
.sm-card-main {
	background: var(--sm-surface-1);
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
}

.sm-card-main-img {
	background: #2d1b5e;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.sm-card-main-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.sm-play-btn {
	width: 52px;
	height: 52px;
	background: #C8102E;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	color: #fff;
	font-size: 20px;
}

.sm-card-main-body {
	padding: 1.25rem;
}

.sm-card-tag {
	font-size: 10px;
	font-weight: 700;
	color: #C8102E;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.sm-card-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	color: var(--sm-text-primary);
	margin: 0 0 0.5rem;
}

.sm-card-meta {
	font-size: 12px;
	color: var(--sm-text-muted);
}

.sm-featured {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 1.5rem;
}

.sm-card-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.sm-card-sm {
	background: var(--sm-surface-1);
	border-radius: 4px;
	display: grid;
	grid-template-columns: 80px 1fr;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.sm-card-sm-img {
	background: #2d1b5e;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.sm-card-sm-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.sm-card-sm-body {
	padding: 0.75rem;
}

.sm-card-sm-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sm-text-primary);
	margin: 0 0 4px;
}

/* =========================================================
   ARTÍCULOS
   ========================================================= */
.sm-articles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.sm-art-card {
	background: var(--sm-surface-1);
	border-radius: 4px;
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	display: block;
	border-left: 3px solid #2d1b5e;
	transition: border-color 0.2s ease;
}

.sm-art-card:hover {
	border-left-color: #C8102E;
}

.sm-art-tag {
	font-size: 10px;
	font-weight: 700;
	color: #C8102E;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.sm-art-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sm-text-primary);
	margin: 0 0 0.5rem;
}

.sm-art-meta {
	font-size: 11px;
	color: var(--sm-text-muted);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.sm-newsletter {
	background: #1a0e3d;
	padding: 3rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.sm-nl-left {
	flex: 1;
	min-width: 240px;
}

.sm-nl-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 26px;
	color: #fff;
	margin: 0 0 0.5rem;
}

.sm-nl-desc {
	font-size: 14px;
	color: #c5bfdf;
	margin: 0;
}

.sm-nl-form {
	display: flex;
	gap: 8px;
	flex: 1;
	max-width: 400px;
	min-width: 240px;
}

.sm-nl-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 10px 14px;
	font-size: 14px;
	border-radius: 2px;
	outline: none;
}

.sm-nl-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   FOOTER
   ========================================================= */
.sm-footer {
	background: #0f0826;
	padding: 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-footer-left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.sm-footer-brand {
	display: flex;
	align-items: center;
}

.sm-footer-logo {
	height: 32px;
	width: auto;
	object-fit: contain;
	display: block;
}

.sm-footer-logo-text {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 16px;
	color: #fff;
	letter-spacing: 1px;
	line-height: 1;
}

.sm-footer-logo-text span {
	color: #C8102E;
}

.sm-footer-copy {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
}

.sm-footer-links {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-footer-links a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
}

.sm-footer-links a:hover {
	color: #fff;
}

.sm-social {
	display: flex;
	gap: 12px;
}

.sm-social-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.sm-social-btn:hover {
	background: #C8102E;
	color: #fff;
}

.sm-social-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

/* =========================================================
   LAYOUT CON SIDEBAR
   ========================================================= */
.sm-single-layout {
	max-width: 1280px;
	margin: 30px auto;
	padding: 0 2rem;
}

.sm-single-layout:not(.sm-with-sidebar) .sm-single-wrap {
	margin: 0 auto;
	padding: 2.5rem 0;
	max-width: 900px;
}

.sm-single-layout.sm-with-sidebar {
	display: grid;
	gap: 2.5rem;
	align-items: start;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.sm-single-layout.sm-sidebar-right {
	grid-template-columns: 1fr 300px;
}

.sm-single-layout.sm-sidebar-left {
	grid-template-columns: 300px 1fr;
}

.sm-single-layout.sm-with-sidebar .sm-single-wrap {
	max-width: none;
	padding: 0;
}

.sm-single-layout.sm-with-sidebar .sm-archive-content,
.sm-single-layout.sm-with-sidebar .sm-section {
	padding: 0;
}

/* Ancho de contenido por entrada/página */
.sm-single-layout:not(.sm-with-sidebar) .sm-single-wrap.sm-width-narrow {
	max-width: 640px;
}

.sm-single-layout:not(.sm-with-sidebar) .sm-single-wrap.sm-width-medium {
	max-width: 800px;
}

.sm-single-layout:not(.sm-with-sidebar) .sm-single-wrap.sm-width-wide {
	max-width: 1100px;
}

.sm-single-layout:not(.sm-with-sidebar) .sm-single-wrap.sm-width-full {
	max-width: 100%;
	padding-left: 2rem;
	padding-right: 2rem;
}

/* =========================================================
   SIDEBAR / WIDGETS
   ========================================================= */
.sm-sidebar {
	font-size: 14px;
}

.sm-widget {
	background: var(--sm-surface-1);
	border-radius: 4px;
	padding: 1.25rem;
	margin-bottom: 1.5rem;
	border-left: 3px solid #2d1b5e;
}

.sm-widget-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sm-text-primary);
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--sm-border);
}

.sm-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--sm-border);
	font-size: 13px;
	line-height: 1.4;
}

.sm-widget ul li:last-child {
	border-bottom: none;
}

.sm-widget a {
	color: var(--sm-text-primary);
	text-decoration: none;
}

.sm-widget a:hover {
	color: var(--sm-red);
}

/* =========================================================
   BUSCADOR DEL NAV
   ========================================================= */
.sm-search {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.sm-search-toggle {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.sm-search-toggle:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.3);
}

.sm-search-toggle svg {
	display: block;
}

.sm-search-panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 320px;
	max-width: calc(100vw - 2rem);
	background: rgba(30, 18, 66, 0.55);
	backdrop-filter: blur(22px) saturate(180%);
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(8, 4, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	padding: 0.85rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	z-index: 120;
}

.sm-search-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.sm-search-form {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	padding: 4px 4px 4px 12px;
}

.sm-search-input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	padding: 8px 0;
	min-width: 0;
}

.sm-search-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.sm-search-submit {
	background: #C8102E;
	color: #fff;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 0 0 auto;
	transition: background 0.2s ease;
}

.sm-search-submit:hover {
	background: #a50d25;
}

.sm-search-submit svg {
	display: block;
}

/* =========================================================
   BUSCADOR EN ESCRITORIO
   ========================================================= */
@media (min-width: 901px) {
	.sm-search {
		position: absolute;
		right: 13rem;
		top: 50%;
		transform: translateY(-50%);
	}
}

/* =========================================================
   BUSCADOR EN MÓVIL
   ========================================================= */
@media (max-width: 900px) {
	.sm-search {
		width: 100%;
		display: block;
		margin-top: 1.5rem;
	}

	.sm-search-toggle {
		width: 100%;
		height: auto;
		border-radius: 10px;
		padding: 12px 16px;
		justify-content: flex-start;
		gap: 10px;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 1px;
		text-transform: uppercase;
	}

	.sm-search-toggle::after {
		content: 'Buscar';
		margin-left: 4px;
	}

	.sm-search-panel {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		width: 100%;
		background: transparent;
		border: none;
		box-shadow: none;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, margin-top 0.3s ease;
	}

	.sm-search-panel.is-open {
		max-height: 120px;
		margin-top: 0.5rem;
	}
}

/* =========================================================
   ARCHIVO (categoría / etiqueta / fecha / autor)
   ========================================================= */
.sm-archive-header {
	margin-bottom: 1.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #1a0e3d;
}

.sm-archive-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: 24px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
	color: #1a0e3d;
}

.sm-archive-label {
	color: #1a0e3d;
}

.sm-archive-name {
	color: #C8102E;
}

.sm-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.sm-archive-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm-archive-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(26, 14, 61, 0.12);
}

.sm-archive-card__img {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #2d1b5e 0%, #1a0e3d 100%);
	overflow: hidden;
	position: relative;
}

.sm-archive-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sm-archive-card__img--ph span {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #2d1b5e 0%, #1a0e3d 100%);
}

.sm-archive-card__body {
	padding: 1rem 1.25rem 1.25rem;
}

.sm-archive-card__cat {
	font-size: 10px;
	font-weight: 700;
	color: #C8102E;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 0.4rem;
}

.sm-archive-card__title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.2;
	color: #1a0e3d;
	margin: 0 0 0.5rem;
}

.sm-archive-card:hover .sm-archive-card__title {
	color: #C8102E;
}

.sm-archive-card__excerpt {
	font-size: 13px;
	line-height: 1.5;
	color: #767085;
	margin: 0 0 0.75rem;
}

.sm-archive-card__meta {
	font-size: 11px;
	color: #767085;
	text-transform: capitalize;
}

.sm-archive-empty {
	padding: 2rem;
	background: #f6f4fb;
	border-radius: 4px;
	font-size: 35px;
	color: #767085;
	text-align: center;
}

/* =========================================================
   RESPONSIVE — TABLET (<=900px)
   ========================================================= */
@media (max-width: 900px) {
	.sm-hero {
		grid-template-columns: 1fr;
	}

	.sm-hero-right {
		min-height: 220px;
	}

	.sm-featured {
		grid-template-columns: 1fr;
	}

	.sm-articles {
		grid-template-columns: 1fr;
	}

	.sm-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sm-single-layout.sm-with-sidebar {
		grid-template-columns: 1fr;
	}

	.sm-sidebar {
		margin-top: 2rem;
	}
}

/* =========================================================
   RESPONSIVE — MÓVIL (<=680px)
   ========================================================= */
@media (max-width: 680px) {
	.sm-nav {
		padding: 0 1rem;
	}

	.sm-hero-title {
		font-size: 36px;
	}

	.sm-hero-left {
		padding: 2rem 1.25rem;
	}

	.sm-section {
		padding: 2rem 1.25rem;
	}

	.sm-ticker {
		padding: 8px 1rem;
	}

	.sm-newsletter {
		padding: 2rem 1.25rem;
	}

	.sm-footer {
		padding: 1.5rem 1rem;
	}

	.sm-footer-left {
		gap: 0.75rem;
	}

	.sm-archive-grid {
		grid-template-columns: 1fr;
	}

	.sm-archive-title {
		font-size: 20px;
	}
}

/* =========================================================
   FOOTER PEGADO AL FONDO (evita espacio vacío)
   ========================================================= */
html,
body {
	min-height: 100%;
}

body.sinmaquillaje {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* El header va arriba sin crecer */
body.sinmaquillaje > header,
body.sinmaquillaje > nav.sm-nav {
	flex: 0 0 auto;
}

/* El contenido principal ocupa todo el espacio disponible */
body.sinmaquillaje > .sm-single-layout,
body.sinmaquillaje > .sm-section,
body.sinmaquillaje > .sm-hero,
body.sinmaquillaje > .sm-archive-content,
body.sinmaquillaje > main,
body.sinmaquillaje > article {
	flex: 1 0 auto;
}

/* El footer se queda abajo */
body.sinmaquillaje > footer,
body.sinmaquillaje > .sm-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

/* Contener el contenido dentro de su columna del grid */
.sm-single-layout.sm-with-sidebar > * { min-width: 0; }
.sm-single-layout.sm-with-sidebar .sm-single-wrap { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.sm-single-layout.sm-with-sidebar .sm-archive-content { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.sm-single-layout.sm-with-sidebar .sm-content > * { max-width: 100%; }
.sm-single-layout.sm-with-sidebar .sm-content img { max-width: 100%; height: auto; }
.sm-single-layout.sm-with-sidebar .sm-content iframe { max-width: 100%; }
.sm-single-layout.sm-with-sidebar .sm-content video { max-width: 100%; height: auto; }
.sm-single-layout.sm-with-sidebar .sm-content table { width: 100%; display: block; overflow-x: auto; }
.sm-single-layout.sm-with-sidebar .sm-content pre { overflow-x: auto; }
.sm-single-layout.sm-with-sidebar .sm-content figure { max-width: 100%; }
.sm-single-layout.sm-with-sidebar .sm-content .wp-block-image { max-width: 100%; }
.sm-single-layout.sm-with-sidebar .sm-content .wp-block-embed { max-width: 100%; }
.sm-single-layout.sm-with-sidebar .alignwide,
.sm-single-layout.sm-with-sidebar .alignfull { max-width: 100%; margin-left: 0; margin-right: 0; }

/* =========================================================
   PUBLICIDAD
   ========================================================= */
.sm-ad { width: 100%; background: var(--sm-surface-0); padding: 10px 2rem; display: flex; justify-content: center; align-items: center; }
.sm-ad__inner { max-width: 970px; width: 100%; display: flex; justify-content: center; }
.sm-ad__inner a { display: block; max-width: 100%; }
.sm-ad__inner img { max-width: 100%; height: auto; display: block; }
.sm-ad-1, .sm-ad-2, .sm-ad-3 { border-bottom: 1px solid var(--sm-border); }
@media (max-width: 680px) { .sm-ad { padding: 8px 1rem; } }

/* =========================================================
   FRONT PAGE — layout full-ancho con sidebar
   ========================================================= */
.sm-front-layout { width: 100%; /*padding: 2.5rem 2rem;*/ }
.sm-front-layout.sm-with-sidebar { display: grid; gap: 2.5rem; align-items: start; }
.sm-front-layout.sm-sidebar-right { grid-template-columns: minmax(0, 1fr) 300px; }
.sm-front-layout.sm-sidebar-left { grid-template-columns: 300px minmax(0, 1fr); }
.sm-front-layout > * { min-width: 0; }
.sm-front-layout .sm-front-content { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.sm-front-layout .sm-front-content > * { max-width: 100%; }
.sm-front-layout .sm-front-content img { max-width: 100%; /*height: auto;*/ }
.sm-front-layout .sm-front-content iframe { max-width: 100%; }
.sm-front-layout .sm-front-content video { max-width: 100%; height: auto; }

/* Full-bleed: elementos con .alignfull o el hero pueden salirse del grid */
.sm-front-layout .alignfull { max-width: 100%; margin-left: 0; margin-right: 0; }

/* Responsive: sidebar abajo en móvil */
@media (max-width: 900px) {
	.sm-front-layout.sm-with-sidebar { grid-template-columns: 1fr; }
	.sm-front-layout .sm-sidebar { margin-top: 2rem; }
}

/* =========================================================
   SUBMENÚS DEL NAV
   ========================================================= */

/* Flecha indicadora en el ítem padre */
.sm-nav-links > li.menu-item-has-children > a { position: relative; padding-right: 1rem; }
.sm-nav-links > li.menu-item-has-children > a::after { content: ''; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.sm-nav-links > li.menu-item-has-children:hover > a::after { transform: translateY(-30%) rotate(-135deg); }

/* Submenú base (oculto, dropdown en escritorio) */
.sm-nav-links .sub-menu { list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #1a0e3d; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 20px 50px rgba(8, 4, 24, 0.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 200; }
.sm-nav-links .sub-menu li { position: relative; }
.sm-nav-links .sub-menu a { display: block; padding: 0.6rem 0.85rem; color: #ccc; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background 0.15s ease, color 0.15s ease; }
.sm-nav-links .sub-menu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* Mostrar submenú al hover (escritorio) */
@media (hover: hover) and (pointer: fine) {
	.sm-nav-links > li.menu-item-has-children:hover > .sub-menu,
	.sm-nav-links > li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* Submenú en móvil: acordeón */
@media (max-width: 900px) {
	.sm-nav-links .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 1rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
	.sm-nav-links > li.menu-item-has-children.is-open > .sub-menu { max-height: 600px; }
	.sm-nav-links > li.menu-item-has-children > a::after { transition: transform 0.3s ease; }
	.sm-nav-links > li.menu-item-has-children.is-open > a::after { transform: translateY(-30%) rotate(-135deg); }
	.sm-nav-links .sub-menu a { color: #ece9f7; font-size: 13px; padding: 0.7rem 0.5rem; }
}

/* =========================================================
   NAV con logo CENTRADO arriba + menú abajo (sticky solo el menú)
   ========================================================= */
.sm-nav--centered { flex-wrap: wrap; height: auto; padding: 0.75rem 2rem; gap: 0.75rem; }
.sm-nav--centered .sm-nav-brand { order: 1; flex: 1 0 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sm-nav--centered .sm-nav-toggle { order: 2; position: absolute; right: 1rem; top: 0.75rem; }
.sm-nav--centered .sm-nav-menu { order: 3; flex: 1 0 100%; display: flex; justify-content: center; align-items: center; position: relative; }

/* Menú sticky: solo la fila del menú se queda pegada arriba */
@media (min-width: 901px) {
	.sm-nav--centered .sm-nav-menu { position: sticky; top: 0; z-index: 99; background: #1a0e3d; margin: 0 -2rem -0.75rem; padding: 0.5rem 2rem; border-top: 1px solid rgba(255,255,255,.08); padding-right: 11rem; }
	.sm-nav--centered .sm-search { position: absolute; right: 13rem; top: 50%; transform: translateY(-50%); }
	.sm-nav--centered .sm-nav-cta { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); }
}

/* Cuando está centrado, en móvil la lógica es igual que la versión normal */
@media (max-width: 900px) {
	.sm-nav--centered { padding: 0.75rem 1rem; }
	.sm-nav--centered .sm-nav-menu { padding: 0; margin: 0; border-top: 0; }
	.sm-nav--centered .sm-nav-toggle { position: relative; right: auto; top: auto; }
}

/* =========================================================
   LOGO CENTRADO ARRIBA DEL NAV (modo "center")
   ========================================================= */
.sm-logo-top { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.75rem 2rem 1.75rem; background: #fff; }
.sm-logo-top .sm-logo-text { display: inline-block; }
.sm-logo-top .sm-logo-sub { margin-top: 0.35rem; }

/* El nav cuando está en modo centrado: solo el menú */
.sm-nav--centered { padding: 0 2rem; margin-bottom: 20px; /*height: 60px;*/ }
.sm-nav--centered .sm-nav-menu { flex: 1; justify-content: center; }
.sm-nav--centered .sm-nav-toggle { margin-left: auto; }

/* Menú sticky */
@media (min-width: 901px) {
	.sm-nav--centered { position: sticky; top: 0; z-index: 100; }
	.sm-nav--centered .sm-search { position: absolute; right: 13rem; top: 50%; transform: translateY(-50%); }
	.sm-nav--centered .sm-nav-cta { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); }
}

/* Admin bar: bajar el sticky */
body.admin-bar .sm-nav--centered { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .sm-nav--centered { top: 46px; }
}

/* Responsive */
@media (max-width: 900px) {
	.sm-logo-top { padding: 1rem 1.25rem 0.5rem; }
	.sm-nav--centered { padding: 0 1rem; }
	.sm-nav--centered .sm-nav-menu { position: fixed; }
}

