/* ═══════════════════════════════════════════════════════════
   BLOG · Centro Ser Integral
   Estilos compartidos por todas las páginas del blog.
   Si cambias algo aquí, cambia en TODOS los artículos.
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --dark-bg:     #06060e;
    --gold:        #c9a84c;
    --gold-bright: #e8c96a;
    --gold-dim:    #c29a45;
    --cream:       #f0ede4;
    --text-light:  #ece7db;
    --text-muted:  #c9bfa9;
    --panel:       rgba(12, 10, 22, 0.94);
    --line:        rgba(201, 168, 76, 0.35);
    --violet:      #3b1d66;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.28rem;
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(232, 180, 90, 0.14), transparent 70%),
        linear-gradient(rgba(6, 6, 14, 0.88), rgba(6, 6, 14, 0.97)),
        url('/section_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ─── BARRA SUPERIOR ─────────────────────────────────── */
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    background: linear-gradient(rgba(6,6,14,0.9), rgba(6,6,14,0.5));
}
.brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 0.95rem;
}
.brand img { width: 32px; height: 32px; object-fit: contain; }
.topnav { display: flex; gap: 1.2rem; }
.topnav a {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
}
.topnav a:hover, .topnav a[aria-current] { color: var(--gold); }
@media (max-width: 560px) {
    .brand span { display: none; }
}

/* ─── CONTENEDOR ─────────────────────────────────────── */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1rem; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 1rem; }

/* Migas de pan */
.crumbs {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 1.6rem 0 0;
}
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 0.4rem; opacity: 0.5; }

/* ─── ENCABEZADO DEL ARTÍCULO ────────────────────────── */
.hero { text-align: center; padding: 2.5rem 0 2rem; }
.eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1rem;
}
.hero-glyph {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 3.6rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(201,168,76,0.4);
    margin-bottom: 0.8rem;
}
.hero h1 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 1rem;
}
.hero .lead {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
.meta {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.divider {
    text-align: center;
    color: var(--gold-dim);
    letter-spacing: 1rem;
    margin: 2.2rem 0;
}

/* ─── CUERPO DEL ARTÍCULO ────────────────────────────── */
.article h2 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin: 2.6rem 0 1rem;
}
.article h3 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--gold-bright);
    margin: 1.6rem 0 0.5rem;
}
.article p { margin-bottom: 1.1rem; }
.article ul { margin: 0 0 1.2rem 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article strong { color: var(--cream); font-weight: 500; }

/* Cita: la carta / el signo hablando */
.voz {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    padding: 1.6rem 1.6rem 1.4rem;
    margin: 1.8rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--cream);
}
.voz p { margin-bottom: 0.8rem; }
.voz p:last-child { margin-bottom: 0; }
.voz-firma {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--gold-dim);
    text-transform: uppercase;
}

/* Revela / Herida: dos columnas */
.dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.6rem 0;
}
@media (max-width: 620px) { .dual { grid-template-columns: 1fr; } }
.dual-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.3rem 1.3rem 1.1rem;
}
.dual-card .label {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.dual-card.luz .label { color: var(--gold-bright); }
.dual-card.sombra { border-color: rgba(150, 110, 200, 0.3); }
.dual-card.sombra .label { color: #d4c2f2; }
.dual-card p { margin: 0; font-size: 1.2rem; color: var(--cream); }

/* Preguntas para ti */
.preguntas {
    list-style: none;
    margin: 1rem 0 1.4rem !important;
    padding: 0;
}
.preguntas li {
    padding: 0.8rem 0 0.8rem 1.8rem;
    border-bottom: 1px dashed var(--line);
    position: relative;
    margin: 0 !important;
}
.preguntas li::before {
    content: '✦';
    position: absolute; left: 0; top: 0.8rem;
    color: var(--gold);
}

/* Combinaciones (signo + ascendente) */
.combos { display: grid; gap: 0.9rem; margin: 1.4rem 0; }
.combo {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.1rem 1.3rem;
}
.combo-head {
    display: flex; align-items: baseline; gap: 0.7rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}
.combo-head .sym { font-size: 1.3rem; }
.combo .frase { font-style: italic; color: var(--cream); margin-bottom: 0.5rem; }
.combo p { margin: 0 0 0.4rem; }
.combo .reto { font-size: 1.08rem; color: var(--text-muted); }
.combo .reto b { color: #d4c2f2; font-weight: 500; }
.combo-head .glifo { width: 44px; height: 44px; flex: none; align-self: center; border-radius: 6px; }
.combo-head:has(.glifo) { align-items: center; }
.combo b.tit { color: var(--gold); font-weight: 500; }
.combo .pregunta { font-style: italic; color: var(--cream); border-left: 2px solid var(--gold); padding-left: 0.8rem; margin-top: 0.6rem; }
.combo .pregunta::before { content: 'Para reflexionar: '; font-style: normal; font-family: 'Cinzel', serif; font-size: 0.95rem; letter-spacing: 1px; color: var(--gold-bright); }
.lead-q { font-size: 1.3rem; color: var(--cream); }

/* Nota aclaratoria */
.nota {
    font-size: 1.05rem;
    color: var(--text-muted);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    margin: 2rem 0;
}

/* ─── LLAMADO A LA ACCIÓN ────────────────────────────── */
.cta {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12), transparent 70%),
        var(--panel);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 8px;
    padding: 2rem 1.4rem;
    margin: 2.6rem 0;
}
.cta h2 { margin-top: 0 !important; }
.cta p { max-width: 520px; margin-left: auto; margin-right: auto; }
.btn {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--dark-bg);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border-radius: 30px;
    padding: 0.85rem 1.8rem;
    margin: 0.4rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { color: var(--dark-bg); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.3); }
.btn-ghost {
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.5);
}
.btn-ghost:hover { color: var(--cream); background: rgba(201,168,76,0.1); }

/* ─── NAVEGACIÓN ENTRE ARTÍCULOS ─────────────────────── */
.serie-nav {
    display: flex; justify-content: space-between; gap: 1rem;
    margin: 2.5rem 0 1rem;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.serie-nav a, .serie-nav span {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
    color: var(--gold);
}
.serie-nav span { color: var(--text-muted); opacity: 0.85; }
.serie-nav .next { text-align: right; }
.serie-nav small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 2rem; }
.chips a, .chips span {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    color: var(--gold);
}
.chips span { color: var(--text-muted); opacity: 0.85; }
.chips a[aria-current] { background: rgba(201,168,76,0.15); border-color: var(--gold); }

/* ─── ÍNDICE DEL BLOG ────────────────────────────────── */
.estante { margin: 2.5rem 0 3rem; }
.estante-head { text-align: center; margin-bottom: 1.4rem; }
.estante-head h2 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: var(--gold);
}
.estante-head p { color: var(--text-muted); font-style: italic; max-width: 560px; margin: 0.4rem auto 0; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}
.ficha {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    min-height: 130px;
    padding: 1rem 0.6rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
    color: var(--cream);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
a.ficha:hover {
    color: var(--cream);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 18px rgba(201,168,76,0.15);
}
.ficha .num {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.7rem;
    color: var(--gold);
    line-height: 1.1;
}
.ficha .nombre { font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 1px; margin-top: 0.4rem; }
.ficha .sub { font-size: 0.95rem; color: var(--text-muted); font-style: italic; margin-top: 0.2rem; }
.ficha.pronto { opacity: 0.7; }
.ficha.pronto .sub::after { content: 'Próximamente'; }

.destacado {
    display: block;
    background: var(--panel);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 8px;
    padding: 1.4rem 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    margin-bottom: 1rem;
    transition: border-color 0.25s;
}
a.destacado:hover { border-color: var(--gold); color: var(--text-light); }
.destacado .tag {
    font-family: 'Cinzel', serif; font-size: 0.68rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold-dim);
}
.destacado h3 { font-family: 'Cinzel', serif; font-weight: 500; color: var(--cream); font-size: 1.15rem; margin: 0.3rem 0; }
.destacado p { margin: 0; color: var(--text-muted); }

/* ─── PIE ────────────────────────────────────────────── */
footer {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.footer-logo { font-family: 'Cinzel', serif; color: var(--gold); letter-spacing: 4px; margin-bottom: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 1rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.9rem; color: var(--text-muted); }

/* ─── PÁGINA DE TEMA: LISTA DE ENTRADAS ──────────────── */
.entradas { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; }
.entrada {
    display: block;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.4rem 1.5rem 1.2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: border-color 0.25s, transform 0.25s;
}
a.entrada:hover { color: var(--text-light); border-color: var(--gold); transform: translateY(-2px); }
.entrada .tag {
    font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold-dim);
}
.entrada h3 {
    font-family: 'Cinzel', serif; font-weight: 500;
    color: var(--cream); font-size: 1.2rem; line-height: 1.35;
    margin: 0.35rem 0 0.4rem;
}
.entrada p { margin: 0 0 0.6rem; color: var(--text-muted); }
.entrada .leer {
    font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 2px;
    color: var(--gold);
}
.vacio {
    text-align: center; font-style: italic; color: var(--text-muted);
    border: 1px dashed var(--line); border-radius: 8px; padding: 1.6rem 1rem;
}

/* ─── ÍNDICE: LIBROS DE TEMAS ────────────────────────── */
.temas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0 3rem;
}
.tema {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    min-height: 180px;
    padding: 1.2rem 0.8rem;
    border-radius: 4px 10px 10px 4px;
    border: 1px solid rgba(201,168,76,0.4);
    border-left: 6px solid rgba(0,0,0,0.35);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06), transparent 30%),
        var(--c, var(--violet));
    text-decoration: none;
    color: var(--cream);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}
a.tema:hover { color: var(--cream); transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.55), 0 0 18px rgba(201,168,76,0.2); }
.tema .glyph { font-size: 2rem; color: var(--gold-bright); line-height: 1.1; }
.tema .nombre { font-family: 'Cinzel', serif; letter-spacing: 2px; margin-top: 0.6rem; font-size: 0.95rem; }
.tema .cuenta { font-style: italic; font-size: 1rem; color: var(--gold-bright); margin-top: 0.3rem; }
.tema.pronto { filter: saturate(0.5); opacity: 0.75; }
