/*
Theme Name: JoyaNova
Theme URI: https://joyanova.online/
Author: EJDM Sebas
Author URI: https://joyanova.online/
Description: Tema editorial de lujo para JoyaNova: joyería en español con guía experta, diseño noir y oro champán, tipografías serif y lectura cuidada.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joyanova
Tags: blog, custom-logo, custom-menu, featured-images, rtl-language-support, editor-style, wide-blocks
*/

/* ==========================================================================
   1. Variables y base
   ========================================================================== */
:root {
	--jn-noir: #14100c;
	--jn-noir-2: #1d1710;
	--jn-noir-3: #241b12;
	--jn-gold: #c9a24b;
	--jn-gold-light: #e2c27e;
	--jn-gold-dark: #9c7c2e;
	--jn-ivory: #faf6ee;
	--jn-ivory-2: #f3ecdd;
	--jn-ink: #2b241b;
	--jn-muted: #7a6f5e;
	--jn-emerald: #123f31;
	--jn-emerald-soft: #e8efe9;
	--jn-line: #e7dcc4;
	--jn-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
	--jn-sans: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--jn-radius: 10px;
	--jn-shadow: 0 18px 44px rgba(20, 16, 12, 0.12);
	--jn-max: 1180px;
	--jn-article: 780px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--jn-sans);
	font-size: 17px;
	line-height: 1.75;
	color: var(--jn-ink);
	background: var(--jn-ivory);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--jn-gold-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--jn-gold);
}

/* Foco visible en todo el sitio */
:focus-visible {
	outline: 3px solid var(--jn-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Selección de texto */
::selection {
	background: var(--jn-gold);
	color: var(--jn-noir);
}

/* Texto solo para lectores de pantalla */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--jn-noir);
	color: var(--jn-ivory);
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	left: 12px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	top: 12px;
	width: auto;
	z-index: 100000;
}

/* Enlace "saltar al contenido" */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	position: fixed;
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	z-index: 100000;
	background: var(--jn-gold);
	color: var(--jn-noir);
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 6px;
}

/* Contenedor general */
.jn-wrap {
	max-width: var(--jn-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   2. Encabezado
   ========================================================================== */
.jn-site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(20, 16, 12, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(201, 162, 75, 0.25);
	transition: box-shadow 0.25s ease;
}

.jn-site-header.is-scrolled {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.jn-header-inner {
	max-width: var(--jn-max);
	margin: 0 auto;
	padding: 6px 24px;
	min-height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* Marca */
.jn-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.jn-brand .custom-logo {
	max-height: 70px;
	width: auto;
}

.jn-wordmark {
	font-family: var(--jn-serif);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: linear-gradient(105deg, var(--jn-gold-light) 0%, var(--jn-gold) 45%, var(--jn-gold-dark) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
}

.jn-brand-tagline {
	display: block;
	font-family: var(--jn-sans);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(250, 246, 238, 0.55);
	margin-top: 4px;
}

/* Navegación principal */
.jn-primary-nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jn-primary-nav a {
	display: block;
	padding: 10px 14px;
	color: rgba(250, 246, 238, 0.82);
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	position: relative;
}

.jn-primary-nav a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 1px;
	background: var(--jn-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.jn-primary-nav a:hover,
.jn-primary-nav .current-menu-item > a,
.jn-primary-nav .current-menu-ancestor > a {
	color: var(--jn-gold-light);
}

.jn-primary-nav a:hover::after,
.jn-primary-nav .current-menu-item > a::after {
	transform: scaleX(1);
}

/* Submenús */
.jn-primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--jn-noir-2);
	border: 1px solid rgba(201, 162, 75, 0.25);
	border-top: 2px solid var(--jn-gold);
	padding: 8px 0;
	display: none;
	flex-direction: column;
	align-items: stretch;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.jn-primary-nav li {
	position: relative;
}

.jn-primary-nav li:hover > .sub-menu,
.jn-primary-nav li:focus-within > .sub-menu {
	display: flex;
}

.jn-primary-nav .sub-menu a {
	font-size: 13px;
	padding: 9px 18px;
	white-space: nowrap;
}

/* Acciones del encabezado */
.jn-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jn-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(201, 162, 75, 0.4);
	background: transparent;
	color: var(--jn-gold-light);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.jn-icon-btn:hover {
	background: rgba(201, 162, 75, 0.14);
	transform: translateY(-1px);
}

.jn-icon-btn svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

/* Botón de menú móvil (oculto en escritorio) */
.jn-menu-toggle {
	display: none;
}

/* ==========================================================================
   3. Cajón móvil
   ========================================================================== */
.jn-drawer {
	position: fixed;
	inset: 0;
	z-index: 400;
	visibility: hidden;
	pointer-events: none;
}

.jn-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.jn-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 8, 5, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.jn-drawer.is-open .jn-drawer-backdrop {
	opacity: 1;
}

.jn-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(360px, 88vw);
	height: 100%;
	background: var(--jn-noir-2);
	border-left: 1px solid rgba(201, 162, 75, 0.3);
	padding: 24px;
	transform: translateX(100%);
	transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1);
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
}

.jn-drawer.is-open .jn-drawer-panel {
	transform: translateX(0);
}

.jn-drawer-close {
	align-self: flex-end;
}

.jn-drawer .jn-wordmark {
	font-size: 24px;
	margin: 8px 0 16px;
}

.jn-drawer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jn-drawer-nav a {
	display: block;
	padding: 12px 4px;
	color: var(--jn-ivory);
	text-decoration: none;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(201, 162, 75, 0.16);
}

.jn-drawer-nav a:hover {
	color: var(--jn-gold-light);
	padding-left: 10px;
}

.jn-drawer-nav .sub-menu a {
	font-size: 14px;
	padding-left: 20px;
	color: rgba(250, 246, 238, 0.75);
}

/* ==========================================================================
   4. Buscador en superposición
   ========================================================================== */
.jn-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 500;
	background: rgba(20, 16, 12, 0.97);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 16vh 24px 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.jn-search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.jn-search-inner {
	width: min(680px, 100%);
	position: relative;
}

.jn-search-form {
	display: flex;
	border-bottom: 2px solid var(--jn-gold);
}

.jn-search-form input[type="search"] {
	flex: 1;
	background: transparent;
	border: 0;
	color: var(--jn-ivory);
	font-family: var(--jn-serif);
	font-size: clamp(24px, 4vw, 38px);
	padding: 12px 8px;
}

.jn-search-form input[type="search"]::placeholder {
	color: rgba(250, 246, 238, 0.35);
}

.jn-search-form input[type="search"]:focus {
	outline: none;
}

.jn-search-submit {
	background: transparent;
	border: 0;
	color: var(--jn-gold);
	font-family: var(--jn-sans);
	font-size: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 0 12px;
}

.jn-search-submit:hover {
	color: var(--jn-gold-light);
}

.jn-search-close {
	position: absolute;
	top: -64px;
	right: 0;
}

.jn-search-hint {
	margin-top: 18px;
	color: rgba(250, 246, 238, 0.5);
	font-size: 14px;
	letter-spacing: 0.08em;
}

/* ==========================================================================
   5. Héroe de portada
   ========================================================================== */
.jn-hero {
	position: relative;
	overflow: hidden;
	background: var(--jn-noir);
	color: var(--jn-ivory);
	padding: clamp(88px, 12vw, 150px) 0;
}

/* Capas: viñeta, brillo dorado y textura fotográfica solo con CSS */
.jn-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 90% 60% at 78% 18%, rgba(201, 162, 75, 0.22), transparent 60%),
		radial-gradient(ellipse 60% 45% at 12% 85%, rgba(18, 63, 49, 0.5), transparent 65%),
		radial-gradient(ellipse 120% 90% at 50% 110%, rgba(0, 0, 0, 0.55), transparent 55%);
	pointer-events: none;
}

.jn-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(115deg, rgba(201, 162, 75, 0.05) 0 2px, transparent 2px 26px);
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 75%);
	pointer-events: none;
}

.jn-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

.jn-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--jn-gold-light);
	margin: 0 0 22px;
}

.jn-kicker::before,
.jn-kicker::after {
	content: "";
	width: 44px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--jn-gold));
}

.jn-kicker::after {
	background: linear-gradient(90deg, var(--jn-gold), transparent);
}

.jn-hero-title {
	font-family: var(--jn-serif);
	font-weight: 600;
	font-size: clamp(44px, 7.4vw, 88px);
	line-height: 1.08;
	margin: 0 0 24px;
	color: var(--jn-ivory);
}

.jn-hero-title em {
	font-style: italic;
	color: var(--jn-gold-light);
}

.jn-hero-sub {
	max-width: 620px;
	margin: 0 auto 36px;
	font-size: 19px;
	line-height: 1.7;
	color: rgba(250, 246, 238, 0.78);
	font-weight: 400;
}

/* Botones */
.jn-btn {
	display: inline-block;
	padding: 15px 38px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--jn-gold);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
	cursor: pointer;
}

.jn-btn-gold {
	background: linear-gradient(105deg, var(--jn-gold-light), var(--jn-gold) 60%, var(--jn-gold-dark));
	color: var(--jn-noir);
	box-shadow: 0 12px 30px rgba(201, 162, 75, 0.28);
}

.jn-btn-gold:hover {
	color: var(--jn-noir);
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(201, 162, 75, 0.38);
}

.jn-btn-outline {
	background: transparent;
	color: var(--jn-gold-light);
}

.jn-btn-outline:hover {
	background: rgba(201, 162, 75, 0.12);
	color: var(--jn-gold-light);
	transform: translateY(-2px);
}

.jn-btn-dark {
	background: var(--jn-noir);
	color: var(--jn-gold-light);
	border-color: var(--jn-noir);
}

.jn-btn-dark:hover {
	background: var(--jn-noir-2);
	color: var(--jn-gold-light);
	transform: translateY(-2px);
}

/* ==========================================================================
   6. Títulos de sección
   ========================================================================== */
.jn-section {
	padding: clamp(64px, 8vw, 104px) 0;
}

.jn-section-dark {
	background: var(--jn-noir);
	color: var(--jn-ivory);
}

.jn-section-ivory {
	background: var(--jn-ivory);
}

.jn-section-ivory2 {
	background: var(--jn-ivory-2);
}

.jn-section-title {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 52px;
}

.jn-section-title .jn-kicker {
	margin-bottom: 14px;
}

.jn-section-dark .jn-section-title .jn-kicker {
	color: var(--jn-gold-light);
}

.jn-section-title h2 {
	font-family: var(--jn-serif);
	font-weight: 600;
	font-size: clamp(30px, 4.4vw, 46px);
	line-height: 1.15;
	margin: 0 0 16px;
	color: var(--jn-ink);
}

.jn-section-dark .jn-section-title h2 {
	color: var(--jn-ivory);
}

.jn-section-title p {
	margin: 0;
	color: var(--jn-muted);
	font-size: 17px;
}

.jn-section-dark .jn-section-title p {
	color: rgba(250, 246, 238, 0.66);
}

/* Regla dorada decorativa bajo el título */
.jn-gold-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.jn-gold-rule::before,
.jn-gold-rule::after {
	content: "";
	width: 72px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--jn-gold));
}

.jn-gold-rule::after {
	background: linear-gradient(90deg, var(--jn-gold), transparent);
}

.jn-gold-rule span {
	width: 8px;
	height: 8px;
	background: var(--jn-gold);
	transform: rotate(45deg);
}

/* ==========================================================================
   7. Tarjetas de universos (categorías)
   ========================================================================== */
.jn-universes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.jn-universe-card {
	position: relative;
	display: block;
	border-radius: var(--jn-radius);
	overflow: hidden;
	text-decoration: none;
	min-height: 300px;
	background: var(--jn-noir-2);
	border: 1px solid rgba(201, 162, 75, 0.18);
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.jn-universe-card:hover {
	border-color: var(--jn-gold);
	transform: translateY(-5px);
	box-shadow: var(--jn-shadow);
}

.jn-universe-media {
	position: absolute;
	inset: 0;
}

.jn-universe-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.jn-universe-card:hover .jn-universe-media img {
	transform: scale(1.06);
}

.jn-universe-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 16, 12, 0.05) 30%, rgba(20, 16, 12, 0.82) 100%);
}

.jn-universe-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 24px;
	z-index: 2;
}

.jn-universe-count {
	display: block;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--jn-gold-light);
	margin-bottom: 8px;
}

.jn-universe-name {
	font-family: var(--jn-serif);
	font-size: 28px;
	font-weight: 600;
	color: var(--jn-ivory);
	margin: 0;
	line-height: 1.2;
}

.jn-universe-desc {
	margin: 8px 0 0;
	font-size: 14px;
	color: rgba(250, 246, 238, 0.7);
}

/* ==========================================================================
   8. Guía destacada (split)
   ========================================================================== */
.jn-feature {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.jn-feature-media {
	border-radius: var(--jn-radius);
	overflow: hidden;
	box-shadow: var(--jn-shadow);
	position: relative;
}

.jn-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.jn-feature-media::after {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(201, 162, 75, 0.55);
	border-radius: 6px;
	pointer-events: none;
}

.jn-feature-body .jn-cat-label {
	margin-bottom: 14px;
}

.jn-feature-body h2 {
	font-family: var(--jn-serif);
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 600;
	line-height: 1.16;
	margin: 0 0 18px;
}

.jn-feature-body h2 a {
	color: var(--jn-ink);
	text-decoration: none;
}

.jn-feature-body h2 a:hover {
	color: var(--jn-gold-dark);
}

.jn-feature-body p {
	color: var(--jn-muted);
	margin: 0 0 28px;
}

.jn-cat-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	text-decoration: none;
}

.jn-section-dark .jn-cat-label {
	color: var(--jn-gold-light);
}

.jn-cat-label:hover {
	color: var(--jn-gold);
}

/* ==========================================================================
   9. Banda de confianza (el experto)
   ========================================================================== */
.jn-trust {
	background:
		radial-gradient(ellipse 70% 80% at 85% 20%, rgba(201, 162, 75, 0.12), transparent 60%),
		var(--jn-noir);
	color: var(--jn-ivory);
	border-top: 1px solid rgba(201, 162, 75, 0.3);
	border-bottom: 1px solid rgba(201, 162, 75, 0.3);
}

.jn-trust-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
}

.jn-trust-portrait {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--jn-gold);
	box-shadow: 0 0 0 10px rgba(201, 162, 75, 0.12), 0 18px 40px rgba(0, 0, 0, 0.4);
}

.jn-trust-logo {
	width: 210px;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.jn-trust-placeholder {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 35% 30%, var(--jn-noir-3), var(--jn-noir));
	border: 3px solid var(--jn-gold);
	box-shadow: 0 0 0 10px rgba(201, 162, 75, 0.12);
	font-family: var(--jn-serif);
	font-size: 56px;
	color: var(--jn-gold-light);
}

.jn-trust-body h2 {
	font-family: var(--jn-serif);
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--jn-ivory);
}

.jn-trust-role {
	color: var(--jn-gold-light);
	font-size: 14px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin: 0 0 18px;
}

.jn-trust-body > p {
	color: rgba(250, 246, 238, 0.72);
	max-width: 640px;
	margin: 0 0 26px;
}

.jn-trust-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	gap: 14px;
	max-width: 640px;
}

.jn-trust-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.jn-trust-list svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 4px;
	stroke: var(--jn-gold);
	fill: none;
	stroke-width: 2;
}

.jn-trust-list strong {
	display: block;
	color: var(--jn-ivory);
	font-weight: 600;
}

.jn-trust-list span {
	color: rgba(250, 246, 238, 0.66);
	font-size: 15px;
}

/* ==========================================================================
   10. Rejilla de artículos y tarjetas
   ========================================================================== */
.jn-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.jn-post-card {
	background: #fff;
	border: 1px solid var(--jn-line);
	border-radius: var(--jn-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.jn-post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--jn-shadow);
	border-color: var(--jn-gold);
}

.jn-post-card-media {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--jn-ivory-2);
}

.jn-post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.jn-post-card:hover .jn-post-card-media img {
	transform: scale(1.05);
}

.jn-post-card-body {
	padding: 24px 24px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.jn-post-card-body .jn-cat-label {
	margin-bottom: 10px;
}

.jn-post-card-title {
	font-family: var(--jn-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 10px;
}

.jn-post-card-title a {
	color: var(--jn-ink);
	text-decoration: none;
}

.jn-post-card-title a:hover {
	color: var(--jn-gold-dark);
}

.jn-post-card-excerpt {
	color: var(--jn-muted);
	font-size: 15.5px;
	margin: 0 0 16px;
	flex: 1;
}

.jn-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 13px;
	color: var(--jn-muted);
	letter-spacing: 0.04em;
}

.jn-post-meta .jn-meta-dot::before {
	content: "·";
	margin-right: 12px;
	color: var(--jn-gold);
}

.jn-post-meta a {
	color: var(--jn-muted);
	text-decoration: none;
}

.jn-post-meta a:hover {
	color: var(--jn-gold-dark);
}

/* ==========================================================================
   11. Banda CTA
   ========================================================================== */
.jn-cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 90% at 50% 0%, rgba(201, 162, 75, 0.2), transparent 60%),
		linear-gradient(160deg, var(--jn-emerald) 0%, #0c2c22 100%);
	color: var(--jn-ivory);
	text-align: center;
	padding: clamp(70px, 9vw, 110px) 0;
}

.jn-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(45deg, rgba(201, 162, 75, 0.06) 0 1px, transparent 1px 18px);
	pointer-events: none;
}

.jn-cta-inner {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 24px;
}

.jn-cta-band h2 {
	font-family: var(--jn-serif);
	font-size: clamp(32px, 4.6vw, 50px);
	font-weight: 600;
	margin: 0 0 16px;
	color: var(--jn-ivory);
}

.jn-cta-band p {
	color: rgba(250, 246, 238, 0.75);
	margin: 0 0 34px;
	font-size: 18px;
}

/* ==========================================================================
   12. Migas de pan
   ========================================================================== */
.jn-breadcrumbs {
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--jn-muted);
	margin: 0 0 18px;
}

.jn-breadcrumbs a {
	color: var(--jn-gold-dark);
	text-decoration: none;
}

.jn-breadcrumbs a:hover {
	text-decoration: underline;
}

.jn-breadcrumbs .sep {
	margin: 0 8px;
	color: var(--jn-gold);
}

.jn-breadcrumbs .current {
	color: var(--jn-muted);
}

/* ==========================================================================
   13. Artículo individual
   ========================================================================== */
.jn-article-hero {
	background: var(--jn-noir);
	color: var(--jn-ivory);
	padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
	position: relative;
	overflow: hidden;
}

.jn-article-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 70% at 50% 0%, rgba(201, 162, 75, 0.14), transparent 60%);
	pointer-events: none;
}

.jn-article-hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--jn-article);
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

.jn-article-hero .jn-breadcrumbs {
	color: rgba(250, 246, 238, 0.55);
}

.jn-article-hero .jn-breadcrumbs a {
	color: var(--jn-gold-light);
}

.jn-article-hero .jn-breadcrumbs .current {
	color: rgba(250, 246, 238, 0.55);
}

.jn-article-title {
	font-family: var(--jn-serif);
	font-size: clamp(34px, 5.2vw, 56px);
	font-weight: 600;
	line-height: 1.14;
	margin: 0 0 20px;
	color: var(--jn-ivory);
}

.jn-article-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 16px;
	font-size: 14px;
	color: rgba(250, 246, 238, 0.62);
}

.jn-article-meta a {
	color: var(--jn-gold-light);
	text-decoration: none;
}

.jn-article-meta a:hover {
	text-decoration: underline;
}

.jn-article-featured {
	max-width: 980px;
	margin: -8px auto 0;
	padding: 0 24px;
}

.jn-article-featured img {
	width: 100%;
	border-radius: var(--jn-radius);
	box-shadow: var(--jn-shadow);
}

.jn-article-body {
	max-width: var(--jn-article);
	margin: 0 auto;
	padding: clamp(36px, 5vw, 60px) 24px clamp(48px, 6vw, 80px);
}

.jn-article-featured + .jn-article-body {
	padding-top: clamp(30px, 4vw, 48px);
}

/* Tipografía del contenido */
.jn-content {
	font-size: 18px;
	line-height: 1.85;
	color: var(--jn-ink);
}

.jn-content > p:first-of-type::first-letter {
	font-family: var(--jn-serif);
	font-size: 4.4em;
	line-height: 0.82;
	float: left;
	margin: 0.06em 0.14em 0 0;
	color: var(--jn-gold-dark);
	font-weight: 700;
}

.jn-content h2 {
	font-family: var(--jn-serif);
	font-size: clamp(27px, 3.4vw, 36px);
	font-weight: 600;
	line-height: 1.25;
	margin: 2.2em 0 0.8em;
	padding-left: 18px;
	border-left: 3px solid var(--jn-gold);
	color: var(--jn-ink);
}

.jn-content h3 {
	font-family: var(--jn-serif);
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 600;
	margin: 1.9em 0 0.7em;
	color: var(--jn-ink);
}

.jn-content h4 {
	font-family: var(--jn-sans);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 1.8em 0 0.6em;
	color: var(--jn-gold-dark);
}

.jn-content p {
	margin: 0 0 1.4em;
}

.jn-content a {
	color: var(--jn-gold-dark);
	font-weight: 500;
}

.jn-content a:hover {
	color: var(--jn-gold);
}

.jn-content ul:not([class]),
.jn-content ol:not([class]) {
	margin: 0 0 1.6em;
	padding-left: 1.6em;
}

.jn-content ul:not([class]) li,
.jn-content ol:not([class]) li {
	margin-bottom: 0.55em;
}

.jn-content ul:not([class]) li::marker {
	color: var(--jn-gold-dark);
}

.jn-content ol:not([class]) li::marker {
	color: var(--jn-gold-dark);
	font-weight: 600;
}

/* Pasos numerados con grandes numerales dorados */
.jn-content ol.jn-steps {
	list-style: none;
	counter-reset: jn-step;
	margin: 2em 0;
	padding: 0;
}

.jn-content ol.jn-steps > li {
	counter-increment: jn-step;
	position: relative;
	padding: 0 0 1.8em 84px;
	margin: 0;
}

.jn-content ol.jn-steps > li:last-child {
	padding-bottom: 0.4em;
}

.jn-content ol.jn-steps > li::before {
	content: counter(jn-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -6px;
	font-family: var(--jn-serif);
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--jn-gold);
	background: linear-gradient(160deg, var(--jn-gold-light), var(--jn-gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
}

@supports not (-webkit-text-stroke: 1px black) {
	.jn-content ol.jn-steps > li::before {
		color: var(--jn-gold);
	}
}

.jn-content ol.jn-steps > li strong:first-child {
	font-family: var(--jn-serif);
	font-size: 21px;
}

/* Cita destacada */
.jn-content blockquote {
	margin: 2.4em 0;
	padding: 8px 0 8px 34px;
	border-left: 3px solid var(--jn-gold);
	font-family: var(--jn-serif);
	font-size: 24px;
	font-style: italic;
	line-height: 1.55;
	color: var(--jn-noir);
	position: relative;
}

.jn-content blockquote::before {
	content: "\201C";
	position: absolute;
	left: -6px;
	top: -28px;
	font-size: 72px;
	color: var(--jn-gold);
	opacity: 0.35;
	font-style: normal;
}

.jn-content blockquote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--jn-sans);
	font-size: 14px;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jn-muted);
}

/* Consejo del experto */
.jn-content aside.jn-tip,
aside.jn-tip {
	margin: 2.2em 0;
	padding: 26px 28px 26px 76px;
	background: linear-gradient(150deg, #fffdf7, var(--jn-ivory-2));
	border: 1px solid var(--jn-line);
	border-left: 4px solid var(--jn-gold);
	border-radius: 0 var(--jn-radius) var(--jn-radius) 0;
	position: relative;
	box-shadow: 0 10px 28px rgba(201, 162, 75, 0.1);
}

aside.jn-tip::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 26px;
	width: 30px;
	height: 30px;
	background: var(--jn-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 4.9 5.4.8-3.9 3.8.9 5.4-4.8-2.5-4.8 2.5.9-5.4L4.2 7.7l5.4-.8z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 4.9 5.4.8-3.9 3.8.9 5.4-4.8-2.5-4.8 2.5.9-5.4L4.2 7.7l5.4-.8z'/%3E%3C/svg%3E") no-repeat center / contain;
}

aside.jn-tip .jn-tip-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	margin-bottom: 8px;
}

aside.jn-tip p {
	margin: 0 0 0.8em;
	font-size: 16.5px;
}

aside.jn-tip p:last-child {
	margin-bottom: 0;
}

/* Ficha de la joya */
.jn-ficha {
	margin: 2.4em 0;
	border: 1px solid rgba(201, 162, 75, 0.45);
	border-radius: var(--jn-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--jn-shadow);
}

.jn-ficha-head {
	background: linear-gradient(120deg, var(--jn-noir), var(--jn-noir-3));
	padding: 18px 28px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.jn-ficha-head svg {
	width: 24px;
	height: 24px;
	stroke: var(--jn-gold);
	fill: none;
	stroke-width: 1.6;
	flex: 0 0 24px;
}

.jn-ficha-head h3 {
	margin: 0;
	font-family: var(--jn-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--jn-gold-light);
	letter-spacing: 0.02em;
}

.jn-ficha dl {
	margin: 0;
	padding: 6px 28px 10px;
}

.jn-ficha-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 18px;
	padding: 14px 0;
	border-bottom: 1px solid var(--jn-ivory-2);
}

.jn-ficha-row:last-child {
	border-bottom: 0;
}

.jn-ficha-row dt {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	padding-top: 3px;
}

.jn-ficha-row dd {
	margin: 0;
	font-size: 16.5px;
	color: var(--jn-ink);
}

/* Tablas comparativas */
.jn-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	font-size: 16px;
	background: #fff;
	border-radius: var(--jn-radius);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(20, 16, 12, 0.07);
}

.jn-content thead th {
	background: linear-gradient(120deg, var(--jn-noir), var(--jn-noir-3));
	color: var(--jn-gold-light);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
	padding: 15px 18px;
	text-align: left;
	border-bottom: 2px solid var(--jn-gold);
}

.jn-content tbody td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--jn-ivory-2);
	vertical-align: top;
}

.jn-content tbody tr:last-child td {
	border-bottom: 0;
}

.jn-content tbody tr:nth-child(even) {
	background: var(--jn-ivory);
}

.jn-content tbody tr:hover {
	background: #fdf9ef;
}

/* Código */
.jn-content code {
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 0.88em;
	background: var(--jn-ivory-2);
	border: 1px solid var(--jn-line);
	border-radius: 4px;
	padding: 2px 7px;
	color: var(--jn-emerald);
}

.jn-content pre {
	background: var(--jn-noir);
	color: var(--jn-ivory);
	padding: 22px 26px;
	border-radius: var(--jn-radius);
	overflow-x: auto;
	font-size: 14.5px;
	line-height: 1.7;
	border-left: 3px solid var(--jn-gold);
}

.jn-content pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

/* Imágenes y figuras */
.jn-content img {
	border-radius: var(--jn-radius);
}

.jn-content figure {
	margin: 2em 0;
}

.jn-content figcaption {
	font-size: 14px;
	color: var(--jn-muted);
	text-align: center;
	margin-top: 10px;
	font-style: italic;
}

.jn-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.jn-content .alignwide {
	max-width: 980px;
	margin-left: calc((980px - var(--jn-article)) / -2);
	margin-right: calc((980px - var(--jn-article)) / -2);
}

/* Galería */
.jn-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}

/* Etiquetas */
.jn-tags {
	margin: 34px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--jn-line);
	font-size: 14px;
}

.jn-tags a {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 7px 16px;
	border: 1px solid var(--jn-line);
	border-radius: 999px;
	color: var(--jn-muted);
	text-decoration: none;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.jn-tags a:hover {
	border-color: var(--jn-gold);
	color: var(--jn-gold-dark);
}

/* Compartir */
.jn-share {
	margin: 34px 0 0;
	padding: 26px 28px;
	background: var(--jn-noir);
	border-radius: var(--jn-radius);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.jn-share-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--jn-gold-light);
	margin-right: 6px;
}

.jn-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 20px;
	border: 1px solid rgba(201, 162, 75, 0.5);
	border-radius: 999px;
	color: var(--jn-ivory);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	background: transparent;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
	font-family: var(--jn-sans);
}

.jn-share-btn:hover {
	background: rgba(201, 162, 75, 0.16);
	color: var(--jn-gold-light);
	transform: translateY(-1px);
}

.jn-share-btn svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

/* Caja de autor */
.jn-author-box {
	margin: 40px 0 0;
	padding: 30px;
	border: 1px solid var(--jn-line);
	border-top: 3px solid var(--jn-gold);
	border-radius: 0 0 var(--jn-radius) var(--jn-radius);
	background: #fff;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 22px;
	align-items: start;
}

.jn-author-avatar img {
	border-radius: 50%;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border: 2px solid var(--jn-gold);
}

.jn-author-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	margin: 0 0 6px;
}

.jn-author-name {
	font-family: var(--jn-serif);
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 8px;
}

.jn-author-name a {
	color: var(--jn-ink);
	text-decoration: none;
}

.jn-author-name a:hover {
	color: var(--jn-gold-dark);
}

.jn-author-bio {
	margin: 0;
	color: var(--jn-muted);
	font-size: 16px;
}

/* Anterior / siguiente */
.jn-prevnext {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin: 44px 0 0;
}

.jn-prevnext-card {
	display: block;
	text-decoration: none;
	border: 1px solid var(--jn-line);
	border-radius: var(--jn-radius);
	overflow: hidden;
	background: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.jn-prevnext-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--jn-shadow);
	border-color: var(--jn-gold);
}

.jn-prevnext-media {
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: var(--jn-ivory-2);
}

.jn-prevnext-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jn-prevnext-body {
	padding: 18px 22px 22px;
}

.jn-prevnext-dir {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	display: block;
	margin-bottom: 8px;
}

.jn-prevnext-title {
	font-family: var(--jn-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--jn-ink);
	margin: 0;
}

.jn-prevnext-next {
	text-align: right;
}

/* ==========================================================================
   14. Páginas, archivos y búsqueda
   ========================================================================== */
.jn-page-hero,
.jn-archive-hero {
	background: var(--jn-noir);
	color: var(--jn-ivory);
	padding: clamp(60px, 8vw, 100px) 0;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.jn-page-hero::before,
.jn-archive-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 70% at 50% 0%, rgba(201, 162, 75, 0.14), transparent 60%);
	pointer-events: none;
}

.jn-page-hero-inner,
.jn-archive-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
	margin: 0 auto;
	padding: 0 24px;
}

.jn-page-title,
.jn-archive-title {
	font-family: var(--jn-serif);
	font-size: clamp(36px, 5.4vw, 58px);
	font-weight: 600;
	line-height: 1.12;
	margin: 0 0 16px;
	color: var(--jn-ivory);
}

.jn-archive-desc {
	color: rgba(250, 246, 238, 0.7);
	max-width: 640px;
	margin: 0 auto;
	font-size: 17px;
}

.jn-archive-count {
	display: inline-block;
	margin-top: 18px;
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--jn-gold-light);
	border: 1px solid rgba(201, 162, 75, 0.4);
	border-radius: 999px;
	padding: 8px 22px;
}

.jn-page-body {
	max-width: var(--jn-article);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) 24px;
}

.jn-listing {
	padding: clamp(48px, 6vw, 80px) 0;
}

.jn-no-results {
	text-align: center;
	padding: 40px 0 20px;
	max-width: 560px;
	margin: 0 auto;
}

.jn-no-results h2 {
	font-family: var(--jn-serif);
	font-size: 32px;
	margin: 0 0 12px;
}

.jn-no-results p {
	color: var(--jn-muted);
}

/* Paginación */
.jn-pagination {
	margin: 56px 0 0;
	text-align: center;
}

.jn-pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.jn-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--jn-line);
	border-radius: 50%;
	color: var(--jn-ink);
	text-decoration: none;
	font-weight: 500;
	background: #fff;
	transition: all 0.25s ease;
}

.jn-pagination .page-numbers:hover {
	border-color: var(--jn-gold);
	color: var(--jn-gold-dark);
}

.jn-pagination .page-numbers.current {
	background: var(--jn-noir);
	border-color: var(--jn-noir);
	color: var(--jn-gold-light);
}

.jn-pagination .page-numbers.dots {
	border: 0;
	background: none;
}

/* 404 */
.jn-404 {
	min-height: 70vh;
	display: flex;
	align-items: center;
	background: var(--jn-noir);
	color: var(--jn-ivory);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.jn-404::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 55% at 50% 35%, rgba(201, 162, 75, 0.16), transparent 65%);
	pointer-events: none;
}

.jn-404-inner {
	position: relative;
	z-index: 2;
	max-width: 620px;
	margin: 0 auto;
	padding: 80px 24px;
}

.jn-404-code {
	font-family: var(--jn-serif);
	font-size: clamp(90px, 18vw, 170px);
	font-weight: 700;
	line-height: 1;
	margin: 0;
	background: linear-gradient(160deg, var(--jn-gold-light), var(--jn-gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.jn-404 h1 {
	font-family: var(--jn-serif);
	font-size: clamp(28px, 4.4vw, 42px);
	font-weight: 600;
	margin: 10px 0 14px;
	color: var(--jn-ivory);
}

.jn-404 p {
	color: rgba(250, 246, 238, 0.7);
	margin: 0 0 32px;
}

.jn-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* Formularios */
.jn-content input[type="text"],
.jn-content input[type="email"],
.jn-content input[type="url"],
.jn-content input[type="search"],
.jn-content textarea,
.jn-content select,
.jn-search-page-form input[type="search"] {
	width: 100%;
	max-width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--jn-line);
	border-radius: 8px;
	background: #fff;
	font-family: var(--jn-sans);
	font-size: 16px;
	color: var(--jn-ink);
}

.jn-content input:focus,
.jn-content textarea:focus,
.jn-content select:focus,
.jn-search-page-form input[type="search"]:focus {
	border-color: var(--jn-gold);
	outline: 2px solid rgba(201, 162, 75, 0.35);
	outline-offset: 1px;
}

.jn-content label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.jn-content button:not(.jn-share-btn):not(.jn-icon-btn),
.jn-content input[type="submit"],
.jn-search-page-form button {
	background: linear-gradient(105deg, var(--jn-gold-light), var(--jn-gold) 60%, var(--jn-gold-dark));
	color: var(--jn-noir);
	border: 0;
	border-radius: 999px;
	padding: 13px 32px;
	font-family: var(--jn-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jn-content button:not(.jn-share-btn):not(.jn-icon-btn):hover,
.jn-content input[type="submit"]:hover,
.jn-search-page-form button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(201, 162, 75, 0.3);
}

.jn-search-page-form {
	display: flex;
	gap: 12px;
	max-width: 560px;
	margin: 30px auto 0;
}

/* ==========================================================================
   15. Pie de página
   ========================================================================== */
.jn-site-footer {
	background: var(--jn-noir);
	color: rgba(250, 246, 238, 0.68);
	border-top: 1px solid rgba(201, 162, 75, 0.3);
}

.jn-footer-top {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 48px;
	padding: 64px 0 48px;
	max-width: var(--jn-max);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.jn-footer-brand .jn-wordmark {
	font-size: 26px;
}

.jn-footer-brand p {
	font-size: 15px;
	margin: 16px 0 0;
	max-width: 340px;
}

.jn-footer-heading {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--jn-gold-light);
	margin: 0 0 18px;
}

.jn-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.jn-footer-nav a {
	color: rgba(250, 246, 238, 0.68);
	text-decoration: none;
	font-size: 15px;
}

.jn-footer-nav a:hover {
	color: var(--jn-gold-light);
}

.jn-footer-bottom {
	border-top: 1px solid rgba(201, 162, 75, 0.16);
	padding: 22px 0;
	font-size: 13.5px;
	color: rgba(250, 246, 238, 0.45);
}

.jn-footer-bottom-inner {
	max-width: var(--jn-max);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 20px;
}

.jn-footer-bottom a {
	color: rgba(250, 246, 238, 0.55);
	text-decoration: none;
}

.jn-footer-bottom a:hover {
	color: var(--jn-gold-light);
}

.jn-to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 1px solid rgba(201, 162, 75, 0.4);
	color: var(--jn-gold-light);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: var(--jn-sans);
}

.jn-to-top:hover {
	background: rgba(201, 162, 75, 0.12);
}

/* ==========================================================================
   16. Comentarios
   ========================================================================== */
.jn-comments {
	max-width: var(--jn-article);
	margin: 0 auto;
	padding: 0 24px 70px;
}

.jn-comments-title {
	font-family: var(--jn-serif);
	font-size: 30px;
	font-weight: 600;
	margin: 0 0 26px;
	padding-top: 34px;
	border-top: 1px solid var(--jn-line);
}

.comment-list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: grid;
	gap: 22px;
}

.comment-list .children {
	list-style: none;
	margin: 22px 0 0 34px;
	padding: 0;
	display: grid;
	gap: 22px;
}

.comment-body {
	background: #fff;
	border: 1px solid var(--jn-line);
	border-radius: var(--jn-radius);
	padding: 22px 24px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-author .fn {
	font-family: var(--jn-serif);
	font-size: 19px;
	font-weight: 600;
}

.comment-metadata {
	font-size: 13px;
	color: var(--jn-muted);
	margin-bottom: 10px;
}

.comment-metadata a {
	color: var(--jn-muted);
	text-decoration: none;
}

.comment-content p {
	margin: 0 0 0.9em;
	font-size: 16px;
}

.reply a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jn-gold-dark);
	text-decoration: none;
}

.comment-respond {
	background: #fff;
	border: 1px solid var(--jn-line);
	border-radius: var(--jn-radius);
	padding: 30px;
}

.comment-reply-title {
	font-family: var(--jn-serif);
	font-size: 26px;
	margin: 0 0 18px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--jn-line);
	border-radius: 8px;
	font-family: var(--jn-sans);
	font-size: 16px;
	margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--jn-gold);
	outline: 2px solid rgba(201, 162, 75, 0.35);
}

.comment-form .form-submit input[type="submit"] {
	background: linear-gradient(105deg, var(--jn-gold-light), var(--jn-gold) 60%, var(--jn-gold-dark));
	color: var(--jn-noir);
	border: 0;
	border-radius: 999px;
	padding: 13px 34px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ==========================================================================
   17. Bloques del editor
   ========================================================================== */
.jn-content .wp-block-image img {
	border-radius: var(--jn-radius);
}

.jn-content .wp-block-quote {
	border-left: 3px solid var(--jn-gold);
	padding-left: 34px;
}

.jn-content .wp-block-pullquote {
	border-top: 2px solid var(--jn-gold);
	border-bottom: 2px solid var(--jn-gold);
	padding: 28px 0;
	text-align: center;
}

.jn-content .wp-block-pullquote p {
	font-family: var(--jn-serif);
	font-size: 26px;
	font-style: italic;
}

.jn-content .wp-block-table table {
	margin: 0;
}

.jn-content .wp-block-separator {
	border: 0;
	margin: 2.6em auto;
	max-width: 220px;
	border-top: 1px solid var(--jn-gold);
}

.jn-content .wp-block-buttons .wp-block-button__link {
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 14px 34px;
	background: linear-gradient(105deg, var(--jn-gold-light), var(--jn-gold) 60%, var(--jn-gold-dark));
	color: var(--jn-noir);
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.jn-universes {
		grid-template-columns: repeat(2, 1fr);
	}

	.jn-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jn-feature {
		grid-template-columns: 1fr;
	}

	.jn-feature-media img {
		aspect-ratio: 16 / 9;
	}

	.jn-footer-top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.jn-primary-nav {
		display: none;
	}

	.jn-menu-toggle {
		display: inline-flex;
	}

	.jn-header-inner {
		min-height: 64px;
	}

	.jn-wordmark {
		font-size: 24px;
	}

	.jn-universes {
		grid-template-columns: 1fr;
	}

	.jn-universe-card {
		min-height: 240px;
	}

	.jn-posts-grid {
		grid-template-columns: 1fr;
	}

	.jn-trust-inner {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.jn-trust-portrait,
	.jn-trust-placeholder,
	.jn-trust-logo {
		width: 150px;
		height: 150px;
	}

	.jn-trust-list {
		text-align: left;
	}

	.jn-prevnext {
		grid-template-columns: 1fr;
	}

	.jn-prevnext-next {
		text-align: left;
	}

	.jn-author-box {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.jn-ficha-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.jn-footer-top {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.jn-content .alignwide {
		margin-left: 0;
		margin-right: 0;
	}

	.jn-content > p:first-of-type::first-letter {
		font-size: 3.6em;
	}

	.jn-share {
		padding: 22px;
	}

	.comment-list .children {
		margin-left: 16px;
	}
}

@media (max-width: 520px) {
	.jn-wrap {
		padding: 0 18px;
	}

	.jn-hero {
		padding: 72px 0;
	}

	.jn-btn {
		padding: 13px 28px;
		font-size: 13px;
	}

	.jn-search-page-form {
		flex-direction: column;
	}

	.jn-ficha dl {
		padding: 6px 20px 10px;
	}

	.jn-ficha-head {
		padding: 16px 20px;
	}

	.jn-content table {
		font-size: 14px;
	}

	.jn-content tbody td,
	.jn-content thead th {
		padding: 10px 12px;
	}

	.jn-content ol.jn-steps > li {
		padding-left: 66px;
	}

	.jn-content ol.jn-steps > li::before {
		font-size: 40px;
	}
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
