/* ═══════════════════════════════════════════════════════
   NOLU · Blog — se monta sobre /casos/casos.css
   Mismo sistema editorial: hairlines, naranja solo en
   numerales, reglas y viñetas. Aquí solo lo propio del
   artículo: respuesta directa, listas, pasos, checklist,
   preguntas frecuentes y cierre con botones.
   ═══════════════════════════════════════════════════════ */

.byline { color: var(--gray); margin-top: 24px; letter-spacing: 0.12em; }

/* respuesta directa: el párrafo que Google puede citar */
.respuesta {
    border-left: 2px solid var(--accent);
    padding-left: 22px;
    margin-top: 22px;
}

.bloque strong { color: var(--ink); font-weight: 700; }
.bloque p a, .bloque li a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.bloque p a:hover, .bloque li a:hover { color: var(--ink); }
.caso-card { color: inherit; }
.bloque > ul, .bloque > ol, .bloque > .faq { max-width: var(--col); }
.bloque > * + * { margin-top: 1.1em; }

/* viñetas: guion naranja, igual que impacto en casos */
.post-list li {
    position: relative;
    padding: 6px 0 6px 30px;
}
.post-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(6px + 0.82em);
    width: 14px;
    height: 2px;
    background: var(--accent);
}

/* pasos numerados con hairline entre cada uno */
.pasos { list-style: none; counter-reset: paso; }
.pasos li {
    counter-increment: paso;
    position: relative;
    padding: 16px 0 16px 48px;
    border-top: 1px solid var(--hairline);
}
.pasos li:last-child { border-bottom: 1px solid var(--hairline); }
.pasos li::before {
    content: counter(paso, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 19px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
}

/* checklist: casillas vacías, para que el lector se evalúe */
.checklist {
    border: 1px solid var(--hairline);
    background: var(--white);
    padding: 10px 24px;
}
.checklist li {
    position: relative;
    padding: 10px 0 10px 34px;
}
.checklist li + li { border-top: 1px solid var(--hairline); }
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(10px + 0.3em);
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--ink-soft);
}

/* preguntas frecuentes: siempre abiertas, el texto es el del JSON-LD */
.faq-item { padding: 20px 0; border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.14rem;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 8px;
}

/* cierre */
.cierre {
    border: 1px solid var(--hairline);
    background: var(--white);
    padding: clamp(28px, 5vw, 44px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bloque .btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.bloque .btn:hover { background: var(--ink); color: var(--white); }
.bloque .btn-solid { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.bloque .btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* sigue leyendo */
.relacionados h2 { font-family: var(--mono); font-weight: 500; letter-spacing: 0.16em; color: var(--gray); margin-bottom: 0; font-size: 11px; }
.relacionados .lista { margin-top: 20px; }
.caso-card h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--ink);
    margin-top: 10px;
}

@media (max-width: 720px) {
    .cta-row .btn { width: 100%; justify-content: center; }
    .checklist { padding: 6px 16px; }
}
