/* ==========================================================================
   ARTÍCULOS — Detalle (single.php). Diseño propio acorde al sistema Juvera.
   Prefijo "art-single-" (clases únicas). Incluye tipografía del contenido
   generado por el editor (.art-single-content).
   ========================================================================== */

#art-single {
	background: var(--navy);
	padding-top: clamp(3rem, 10vw, 5rem);
}

.art-single-inner {
	max-width: 1200px;
	padding: 40px;
}

/* ── Volver ── */
.art-single-back {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.25s;
}

.art-single-back svg {
	width: 18px;
	height: 18px;
}

.art-single-back:hover {
	color: var(--gold);
}

/* ── Cabecera ── */
.art-single-head {
	margin: 2rem 0 2.4rem;
}

.art-single-eyebrow {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.1rem;
}

.art-single-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.15;
	margin-bottom: 1.4rem;
}

.art-single-meta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.78rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
}

.art-single-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.art-single-meta-item svg {
	width: 15px;
	height: 15px;
	color: var(--gold);
	flex-shrink: 0;
}

.art-single-meta-sep {
	width: 1px;
	height: 13px;
	background: rgba(198, 170, 71, 0.3);
}

/* ── Portada ── */
.art-single-cover {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(198, 170, 71, 0.2);
	margin-bottom: 2.6rem;
	aspect-ratio: 16 / 9;
}

.art-single-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Contenido del editor ── */
.art-single-content {
	font-size: 1rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.9;
}

.art-single-content > * + * {
	margin-top: 1.4rem;
}

.art-single-content h2,
.art-single-content h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	color: var(--white);
	line-height: 1.25;
	margin-top: 2.4rem;
}

.art-single-content h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--gold);
}

.art-single-content h3 {
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.art-single-content a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.25s;
}

.art-single-content a:hover {
	color: var(--gold2);
}

.art-single-content strong {
	color: var(--white);
	font-weight: 600;
}

.art-single-content ul,
.art-single-content ol {
	padding-left: 1.4rem;
}

.art-single-content li {
	margin-top: 0.6rem;
}

.art-single-content li::marker {
	color: var(--gold);
}

.art-single-content blockquote {
	border-left: 2px solid var(--gold);
	padding: 0.4rem 0 0.4rem 1.5rem;
	font-style: italic;
	color: var(--gold);
}

.art-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

/* ── Pie ── */
.art-single-foot {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(198, 170, 71, 0.15);
}

@media (max-width: 600px) {
	#art-single {
		padding-top: 7rem;
	}
}
