/* ========================================
   BLOG SINGLE ARTICLE STYLES - ENCUESTIA.COM
   ======================================== */

/* Blog Single Page Styles */
.blog-content {
    padding: 60px 0;
    background: #fff;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Post Styles */
.blog-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 40px;
}

.post-content .lead {
    font-size: 1.3rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

.post-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.post-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.post-content p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.post-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.post-content li {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.post-content strong {
    color: #2c3e50;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    color: #fff;
}

.cta-section .btn {
    background: #28a745;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-section .btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Post Footer */
.post-footer {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.post-tags {
    margin-bottom: 25px;
}

.post-tags .tag {
    background: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.share-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.linkedin:hover {
    background: #005885;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #0c85d0;
}

/* Post Meta */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #6c757d;
    flex-wrap: wrap;
    gap: 15px;
}

.post-date, .post-author, .post-category {
    font-weight: 500;
}

.post-category {
    background: #007bff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #fff;
    font-weight: 600;
}

/* Hero Section for Single Posts */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-content {
        padding: 25px;
    }
    
    .post-footer {
        padding: 25px;
    }
    
    .post-image {
        height: 250px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.6rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 40px 0;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-footer {
        padding: 20px;
    }
    
    .post-image {
        height: 200px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .post-content .lead {
        font-size: 1.1rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .cta-section h3 {
        font-size: 1.3rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
} 