/* =========================================
   ESTÉTICA DE SHORTCODES PARA ARTÍCULOS
   ========================================= */

/* 1. Imágenes */
.sc-figure {
    margin: 2rem 0;
    text-align: center;
}
.sc-imagen {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.sc-imagen:hover {
    transform: scale(1.01);
}
.sc-error .sc-imagen {
    opacity: 0.6;
    border: 2px dashed #e74c3c;
}
.sc-figcaption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #e74c3c;
    font-style: italic;
}

/* 2. Botón */
.sc-boton {
    display: inline-block;
    margin: 1.5rem 0;
    padding: 12px 28px;
    background: #3498db;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}
.sc-boton:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

/* 3. Caja Destacada */
.sc-caja {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 5px solid #3498db;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* 4. Poema */
.sc-poema {
    margin: 2.5rem 10%;
    padding: 2rem;
    background: #fdfbf7; /* Tono papel suave */
    border-radius: 8px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #4a4a4a;
    line-height: 1.8;
    text-align: center;
    white-space: pre-line; /* ¡CLAVE! Respeta los Enter del editor */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
}

/* 5. Cita */
.sc-cita {
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: #fff;
    border-left: 4px solid #e67e22;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    position: relative;
}
.sc-cita::before {
    content: "“";
    font-size: 4rem;
    color: #e67e22;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
}
.sc-cita cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: #e67e22;
    font-style: normal;
    text-align: right;
}

/* 6. Nota */
.sc-nota {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sc-nota-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 7. Separador */
.sc-separador {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #bdc3c7, transparent);
    margin: 3rem 0;
}

/* 8. Centro */
.sc-centro {
    text-align: center;
    margin: 1.5rem 0;
}

/* 9. Item (Lista personalizada sin ul ni li) */
.sc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* La viñeta bonita (un círculo dorado suave) */
.sc-item::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #d4af37; /* Tono dorado/bronce solemne */
    border-radius: 50%;
    margin-top: 8px; /* Ajuste fino para alinear con la primera línea de texto */
    flex-shrink: 0;  /* Evita que la viñeta se aplaste si el texto es largo */
}