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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8fafc;
}

/* Hero Section con Imagen Principal */
.blog-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.2) 40%, 
        rgba(0, 0, 0, 0.6) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.9),
        4px 4px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(242, 92, 92, 0.3);
    line-height: 1.2;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.blog-hero-meta {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #ffffff;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.9),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.blog-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón de regreso flotante */
.back-button-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(242, 92, 92, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(242, 92, 92, 0.3);
    transition: all 0.3s ease;
}

.back-button-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.back-btn:hover {
    color: white;
    text-decoration: none;
}

/* Contenido del artículo */
.blog-content-wrapper {
    background: white;
    margin: -80px auto 0;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.blog-content {
    padding: 80px 60px 60px;
}

/* Estilo para el lead (descripción destacada) */
.blog-content .lead {
    font-size: 1.4rem;
    color: #F25C5C;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
    font-style: italic;
}

/* Tipografía mejorada */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #2c3e50;
    font-weight: 600;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.blog-content h1 { font-size: 2.8rem; }
.blog-content h2 { font-size: 2.4rem; }
.blog-content h3 { font-size: 2rem; }
.blog-content h4 { font-size: 1.6rem; }
.blog-content h5 { font-size: 1.4rem; }
.blog-content h6 { font-size: 1.2rem; }

.blog-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #34495e;
    text-align: justify;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.blog-content img:hover {
    transform: scale(1.02);
}

.blog-content blockquote {
    border-left: 5px solid #F25C5C;
    padding: 25px 30px;
    margin: 30px 0;
    background: linear-gradient(135deg, #fff8f8 0%, #fef5f5 100%);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #555;
    position: relative;
}

.blog-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #F25C5C;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

.blog-content ul,
.blog-content ol {
    margin: 25px 0;
    padding-left: 40px;
}

.blog-content li {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.blog-content a {
    color: #F25C5C;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-content a:hover {
    color: #f7931e;
    border-bottom-color: #f7931e;
    text-decoration: none;
}

/* Tablas mejoradas */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-content th,
.blog-content td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
}

.blog-content th {
    background: linear-gradient(135deg, #F25C5C 0%, #f7931e 100%);
    color: white;
    font-weight: 600;
}

/* Footer del artículo */
.blog-footer {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 50px 60px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.blog-footer h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.blog-footer p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.share-btn.facebook { background: linear-gradient(135deg, #3b5998, #4c70ba); }
.share-btn.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.share-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.share-btn.email { background: linear-gradient(135deg, #34495e, #2c3e50); }

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
        padding: 15px 20px;
        text-shadow: 
            2px 2px 0px rgba(0, 0, 0, 0.9),
            4px 4px 8px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(242, 92, 92, 0.4);
        margin: 0 10px 20px 10px;
    }
    
    .blog-hero-meta {
        font-size: 1rem;
        gap: 20px;
        padding: 12px 20px;
        margin: 0 15px;
        font-weight: 600;
    }
    
    .back-button-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    
    .blog-content-wrapper {
        margin: -60px 15px 0;
        border-radius: 15px;
    }
    
    .blog-content,
    .blog-footer {
        padding: 40px 30px;
    }
    
    .blog-content h1 { font-size: 2.2rem; }
    .blog-content h2 { font-size: 1.9rem; }
    .blog-content h3 { font-size: 1.6rem; }
    .blog-content h4 { font-size: 1.4rem; }
    
    .blog-content p {
        font-size: 1.1rem;
    }
    
    .blog-content blockquote {
        font-size: 1.15rem;
        padding: 20px 25px;
    }
    
    .share-buttons {
        gap: 15px;
    }
    
    .share-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-content h1 { font-size: 1.8rem; }
    .blog-content h2 { font-size: 1.6rem; }
    .blog-content h3 { font-size: 1.4rem; }
    
    .blog-content p {
        font-size: 1rem;
    }
}

