/* =========================================================
   ESTILOS PARA EL LISTADO DE BLOG (Tu diseño original)
========================================================= */

.st-blog-listing {
    background-color: #f8fafc;
    min-height: 100vh;
}
#header{display: none!important;}
#footer{display: none!important;}
.st-listing-header {
    background-color: #0f172a; /* Azul oscuro Stayu */
    padding: 15px 0 15px;
    text-align: center;
    color: #ffffff;
}

.st-listing-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.st-listing-header p {
    font-size: 18px;
    opacity: 0.8;
}

.st-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cuadrícula de Blog */
.st-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.st-blog-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.st-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.st-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Multimedia de la Tarjeta */
.st-card-media {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.st-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF385C; /* Rojo Stayu */
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Información de la Tarjeta */
.st-card-info {
    padding: 25px;
}

.st-card-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.st-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 15px;
}

.st-card-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.st-read-more {
    font-weight: 700;
    color: #FF385C;
    font-size: 14px;
}

/* Paginación Stayu */
.st-blog-pagination {
    padding: 40px 0 80px;
}

.st-blog-pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.st-blog-pagination a, .st-blog-pagination span {
    display: inline-block;
    padding: 10px 18px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.st-blog-pagination .current {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* =========================================================
   ESTILOS PARA EL ARTÍCULO INDIVIDUAL (single-blog.php)
========================================================= */

.st-blog-single {
    background-color: #ffffff;
}

/* Cabecera del Artículo (Hero) */
.st-blog-hero {
    background-size: cover;
    background-position: center;
    padding: 180px 20px 100px; /* Espacio superior para el navbar */
    text-align: center;
    color: #ffffff;
}

.st-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.st-blog-badge {
    display: inline-block;
    background: #FF385C; /* Rojo Stayu */
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.st-blog-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
}

.st-blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 15px;
    opacity: 0.9;
    flex-wrap: wrap;
}

/* Cuerpo del Artículo */
.st-blog-body {
    padding: 60px 20px;
    background-color: #ffffff;
}

.st-blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Tipografía de la Lectura */
.st-post-entry {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.st-post-entry p {
    margin-bottom: 25px;
}

.st-post-entry h2, .st-post-entry h3 {
    color: #0f172a;
    font-weight: 800;
    margin: 40px 0 20px;
}

.st-post-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
}

.st-post-entry blockquote {
    border-left: 5px solid #FF385C;
    padding-left: 20px;
    font-style: italic;
    color: #0f172a;
    font-size: 22px;
    margin: 40px 0;
    background: #f8fafc;
    padding: 20px;
    border-radius: 0 16px 16px 0;
}

/* Pie de página del artículo (Compartir) */
.st-blog-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.st-share-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.st-share-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #0f172a;
}

.st-share-card p {
    color: #64748b;
    margin-bottom: 25px;
}

.st-share-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.05);
}

.share-btn.wa {
    background-color: #25D366; /* Verde WhatsApp */
}

.share-btn.fb {
    background-color: #1877F2; /* Azul Facebook */
}

/* =========================================================
   RESPONSIVO PARA MÓVILES
========================================================= */
@media (max-width: 768px) {
    /* Listado */
    .st-listing-header h1 { font-size: 32px; }
    .st-blog-grid { grid-template-columns: 1fr; }
    
    /* Artículo Individual */
    .st-blog-hero { padding: 140px 15px 60px; }
    .st-blog-title { font-size: 32px; }
    .st-post-entry { font-size: 16px; }
    .st-share-actions { flex-direction: column; }
}