/* =============================================================
   SINGLE POST — diseño Pencil (Blog Article). Prefijo .art
   ============================================================= */
.art {
	--art-blue:    var(--son-primary-blue, #232B1E);
	--art-green:   var(--son-secondary-green, #AA7E42);
	--art-burg:    var(--son-deep-burgundy, #8A6632);
	--art-rose:    var(--son-rose-red, #AA7E42);
	--art-bg:      var(--son-background, #F4F1E4);
	--art-surface: var(--son-surface, #FFFFFF);
	--art-text:    var(--son-text, #2A3726);
	--art-text-2:  var(--son-text-secondary, #6B6B52);
	--art-border:  var(--son-border-subtle, #D8D2BC);
	--art-head:    var(--son-font-heading, 'Cormorant Garamond', serif);
	--art-body:    'Inter', sans-serif;
	background: var(--art-bg); color: var(--art-text); font-family: var(--art-body);
}
.art-eyebrow { font-size: 1.3rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--art-green); margin-bottom: 1.2rem; }
.art-h2 { font-family: var(--art-head); font-size: clamp(3.2rem, 4vw, 4.6rem); font-weight: 500; line-height: 1.05; }

/* ═══ HERO ═══ */
.art-hero { position: relative; min-height: 58rem; display: flex; align-items: flex-end; background-size: cover; background-position: center; background-color: var(--art-blue); color: #fff; overflow: hidden; }
.art-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,33,23,.25) 0%, rgba(27,33,23,.4) 45%, rgba(27,33,23,.95) 100%); }
.art-hero__content { position: relative; z-index: 1; max-width: 120rem; width: 100%; margin-inline: auto; padding: 0 4rem 7rem; }
/* Kicker: pill DESTINATIONS + fecha en línea (Pencil) */
.art-hero__kicker { display: flex; align-items: center; gap: 1.8rem; margin-bottom: 2.4rem; }
.art-hero__tag { display: inline-block; background: var(--cv-gold, #AA7E42); color: #fff; font-size: 1.15rem; font-weight: 600; letter-spacing: .16em; padding: .7rem 1.8rem; border-radius: 100px; }
.art-hero__date { font-size: 1.4rem; color: rgba(255,255,255,.78); letter-spacing: .02em; }
.art-hero__title { font-family: var(--art-head); font-size: clamp(4rem, 6vw, 7rem); font-weight: 500; line-height: 1.02; max-width: 16ch; margin-bottom: 2.4rem; color: var(--cv-cream, #F7F4C1); }
.art-hero__sub { font-size: 1.85rem; line-height: 1.5; color: rgba(255,255,255,.82); max-width: 52ch; }

/* ═══ BODY ═══ */
.art-body { padding: 8rem 4rem; }
.art-layout { max-width: 120rem; margin-inline: auto; display: grid; grid-template-columns: 30rem 1fr; gap: 7.2rem; align-items: start; }

/* Sidebar */
.art-side { position: sticky; top: 9rem; display: flex; flex-direction: column; gap: 2.4rem; }
/* ── TOC (Pencil "On This Page") — solo títulos, sin números/líneas ── */
.art-toc { background: var(--art-surface); border: 1px solid var(--art-border); border-radius: 2rem; padding: 2.6rem 2.4rem; box-shadow: 0 1.2rem 3rem rgba(27,33,23,.06); }
.art-toc__title { display: flex; align-items: center; gap: 1.2rem; font-size: 1.25rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-gold-dark, #8A6632); margin-bottom: 1rem; }
.art-toc__dash { width: 2.8rem; height: 2px; background: var(--cv-gold, #AA7E42); flex-shrink: 0; }
.art-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.art-toc li { font-size: 1.5rem; line-height: 1.4; border-bottom: 1px solid var(--art-border); }
.art-toc li:last-child { border-bottom: none; }
.art-toc li.art-toc__lvl-3 a { padding-left: 1.6rem; }
.art-toc a { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.3rem .2rem; color: var(--art-text); text-decoration: none; transition: color .2s ease; }
.art-toc__num { font-size: 1.3rem; font-weight: 600; color: var(--cv-gold, #AA7E42); flex-shrink: 0; min-width: 2.2rem; }
.art-toc__txt { font-size: 1.5rem; }
.art-toc a:hover, .art-toc a:hover .art-toc__txt { color: var(--cv-gold-dark, #8A6632); }
.art-toc a.is-active .art-toc__txt { color: var(--cv-gold-dark, #8A6632); font-weight: 600; }

/* ── Byline (autor + acciones) sobre el contenido (Pencil) ── */
.art-byline { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.4rem; margin-bottom: 3.2rem; border-bottom: 1px solid var(--art-border); }
.art-byline__author { display: flex; align-items: center; gap: 1.4rem; }
.art-byline__avatar { width: 4.8rem; height: 4.8rem; border-radius: 999px; object-fit: cover; }
.art-byline__info { display: flex; flex-direction: column; gap: .3rem; }
.art-byline__name { font-family: var(--art-body); font-size: 1.6rem; font-weight: 600; color: var(--art-text); }
.art-byline__meta { font-size: 1.35rem; color: var(--art-text-2); }
.art-byline__actions { display: flex; gap: 1rem; }
.art-byline__btn { width: 4.2rem; height: 4.2rem; border-radius: 999px; display: grid; place-items: center; background: rgba(170,126,66,.1); color: var(--cv-gold-dark, #8A6632); transition: background .2s ease, color .2s ease; }
.art-byline__btn:hover { background: var(--cv-gold, #AA7E42); color: #fff; }
.art-byline__btn .cusvib-ic { width: 1.9rem; height: 1.9rem; }

/* ── CTA card mejorada (línea gráfica de la web) ── */
.art-cta-card {
	position: relative; overflow: hidden;
	background: linear-gradient(160deg, var(--art-surface) 0%, var(--art-bg) 100%);
	border: 1px solid var(--art-border);
	border-radius: 2rem;
	padding: 3rem 2.6rem 2.8rem;
	text-align: center;
	box-shadow: 0 1.6rem 4rem rgba(27,33,23,.08);
}
.art-cta-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: .5rem; background: linear-gradient(90deg, var(--art-burg), var(--art-rose)); }
.art-cta-card__badge { display: inline-grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 999px; background: rgba(62,119,94,.12); margin-bottom: 1.4rem; }
.art-cta-card__badge .cusvib-ic { width: 2.4rem; height: 2.4rem; color: var(--art-green); }
.art-cta-card h4 { font-family: var(--art-head); font-size: 2.4rem; font-weight: 600; margin-bottom: .8rem; color: var(--art-text); }
.art-cta-card p { font-size: 1.45rem; line-height: 1.55; color: var(--art-text-2); margin-bottom: 2rem; }
.art-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: 1.45rem; font-weight: 700; padding: 1.5rem 2rem; border-radius: 100px; text-decoration: none; margin-bottom: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.art-btn:last-child { margin-bottom: 0; }
.art-btn:hover { transform: translateY(-2px); }
.art-btn--dark { background: var(--art-blue); color: #fff; box-shadow: 0 .8rem 2rem rgba(31,71,104,.25); }
.art-btn--dark .cusvib-ic { width: 1.6rem; height: 1.6rem; }
.art-btn--wa { background: var(--color-whatsapp, #25d366); color: #fff; box-shadow: 0 .8rem 2rem rgba(37,211,102,.28); }
.art-btn i { font-size: 1.6rem; }

/* Contenido (prose) */
.art-content { min-width: 0; font-size: 1.7rem; line-height: 1.8; color: var(--art-text-2); }
.art-content > p:first-of-type { font-size: 2rem; line-height: 1.7; color: var(--art-text); }
.art-content h2 { font-family: var(--art-head); font-size: clamp(2.8rem, 3.2vw, 3.6rem); font-weight: 600; line-height: 1.1; color: var(--art-text); margin: 4.2rem 0 1.8rem; scroll-margin-top: 9rem; }
.art-content h3 { font-family: var(--art-head); font-size: 2.6rem; font-weight: 600; color: var(--art-text); margin: 3rem 0 1.2rem; scroll-margin-top: 9rem; }
.art-content p { margin-bottom: 1.8rem; }
.art-content a { color: var(--art-burg); text-decoration: underline; }
.art-content ul, .art-content ol { margin: 0 0 2rem 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.art-content ul li, .art-content ol li { position: relative; padding-left: 2.8rem; font-size: 1.6rem; line-height: 1.6; }
.art-content ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--art-green); font-weight: 700; }
.art-content ol { counter-reset: ol; }
.art-content ol li::before { counter-increment: ol; content: counter(ol); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; background: rgba(31,71,104,.1); color: var(--art-blue); border-radius: 999px; font-size: 1.2rem; font-weight: 700; display: grid; place-items: center; }
.art-content img { max-width: 100%; height: auto; border-radius: 1.6rem; margin: 2.4rem 0; }
.art-content blockquote { border-left: 3px solid var(--art-burg); padding: .4rem 0 .4rem 2.8rem; margin: 3rem 0; font-family: var(--art-head); font-size: 2.6rem; font-style: italic; line-height: 1.3; color: var(--art-text); }
.art-content strong { color: var(--art-text); }

/* ═══ RELATED ═══ */
.art-related { background: var(--cv-cream-soft, #EDE8CF); padding: 8rem 4rem; }
.art-related__head { max-width: 120rem; margin: 0 auto 4.8rem; text-align: center; }
.art-related__grid { max-width: 120rem; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.6rem; }
.art-rel-card__img { display: block; position: relative; height: 24rem; border-radius: 2rem; overflow: hidden; background-size: cover; background-position: center; background-color: var(--art-border); }
.art-rel-card__tag { position: absolute; top: 1.6rem; left: 1.6rem; background: rgba(255,255,255,.94); color: var(--art-burg); font-size: 1rem; font-weight: 600; letter-spacing: .12em; padding: .7rem 1.4rem; border-radius: 100px; }
.art-rel-card__body { padding: 1.6rem .4rem 0; }
.art-rel-card__meta { font-size: 1.3rem; color: var(--art-text-2); }
.art-rel-card__title { font-family: var(--art-head); font-size: 2.4rem; font-weight: 600; line-height: 1.12; margin: .6rem 0; }
.art-rel-card__title a { color: var(--art-text); text-decoration: none; }
.art-rel-card__title a:hover { color: var(--art-burg); }
.art-rel-card__excerpt { font-size: 1.45rem; line-height: 1.5; color: var(--art-text-2); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
	.art-body { padding: 5rem 2.4rem; }
	.art-layout { grid-template-columns: 1fr; gap: 4rem; }
	.art-side { position: static; flex-direction: column; }
	.art-toc { display: none; }
	.art-related { padding: 5rem 2.4rem; }
	.art-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.art-hero__content { padding: 0 2rem 5rem; }
	.art-related__grid { grid-template-columns: 1fr; }
}

/* Onda inferior del hero del artículo — invade la imagen hacia el cuerpo */
.art-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: 9rem; line-height: 0; pointer-events: none; }
.art-hero__wave svg { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) { .art-hero__wave { height: 6rem; } }
