/* ─────────────────────────────────────────
   INVERSORA MODERNA — article.css
   Estilos para páginas de blog
   ───────────────────────────────────────── */

/* ── NAV ARTÍCULO ────────────────────── */
.article-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  height: 64px;
  display: flex;
  align-items: center;
}
.article-nav .nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem,5vw,3rem);
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}
.back-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.back-link:hover { color: var(--gold); }

/* ── HERO ARTÍCULO ───────────────────── */
.article-hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.article-hero .container { max-width: 760px; }
.article-cat {
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(124,58,237,.1);
  padding: .3rem .85rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.article-title {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.article-title em { font-style: normal; color: var(--gold); }
.article-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 62ch;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--ink-mute);
  font-family: var(--font-m);
}
.article-meta strong { color: var(--ink-soft); font-weight: 600; }
.article-meta .sep { color: var(--line); }

/* ── CUERPO DEL ARTÍCULO ─────────────── */
.article-body {
  max-width: 760px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.article-body h2 em { font-style: normal; color: var(--gold); }
.article-body h3 {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 .75rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

/* Drop cap */
.dropcap {
  float: left;
  font-family: var(--font-d);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: .8;
  color: var(--gold);
  margin: .1rem .5rem 0 0;
  padding: 0;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(124,58,237,.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.pull-quote p {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-style: normal;
  color: var(--ink);
  margin: 0 !important;
  line-height: 1.55;
}

/* Highlight box */
.highlight-box {
  background: var(--dark-bg);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.highlight-box p {
  color: rgba(240,230,200,.8) !important;
  margin: 0 !important;
  font-size: .95rem !important;
}
.highlight-box strong { color: var(--gold-light); }

/* ── CTA FINAL ───────────────────────── */
.article-cta {
  background: linear-gradient(155deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  border-radius: var(--r);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-d);
  font-size: 1.4rem;
  color: #f0e6c8;
  margin-bottom: .65rem;
}
.article-cta h3 em { font-style: normal; color: var(--gold-light); }
.article-cta p {
  font-size: .92rem;
  color: rgba(240,230,200,.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.article-cta .btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--dark-bg);
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  transition: background .2s, transform .2s;
}
.article-cta .btn-primary-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── FOOTER ARTÍCULO ─────────────────── */
.article-footer-nav {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.article-footer-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.article-footer-nav a:hover { color: var(--gold-dark); }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 768px) {
  .article-hero { padding: 3rem 0 2rem; }
  .article-title { font-size: 1.7rem; }
  .article-meta { gap: .4rem; }
  .dropcap { font-size: 3rem; }
  .pull-quote { padding: 1rem 1.25rem; }
}
