/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0056b3;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-title h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover {
    color: #007bff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}



.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* Featured Posts */
.featured-posts {
    padding: 3rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-title a {
    color: #333;
    font-size: 1.25rem;
}

.post-title a:hover {
    color: #007bff;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #007bff;
    font-weight: 500;
}

/* Categories Section */
.categories-section {
    padding: 3rem 0;
    background: white;
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Tools Section */
.tools-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.tools-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.tools-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.tools-link {
    margin-top: 1rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}



.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.language-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.language-en {
    background: #007bff;
}

.language-es {
    background: #28a745;
}

.language-pt {
    background: #6f42c1;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.category-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}



/* Tools Page */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* About Page */
.about-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Post Layout */
.post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.post-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.post-date {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 400;
}

.post-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    line-height: 1.8;
}

/* Enhanced Typography for Post Content */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #2d3748;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-content h1 {
    font-size: 2.2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.post-content h2 {
    font-size: 1.8rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    color: #4a5568;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

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

.post-content em {
    color: #667eea;
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.post-content blockquote {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -1rem;
    left: 1rem;
    opacity: 0.3;
}

.post-content code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.post-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #4a5568;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

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

.post-content a:hover {
    color: #5a67d8;
    border-bottom-color: #5a67d8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.post-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 3rem 0;
}

.post-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-top: 1px solid #dee2e6;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.prev-post, .next-post {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border: 2px solid transparent;
}

.prev-post:hover, .next-post:hover {
    color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

/* Enhanced Responsive Design for Posts */
@media (max-width: 768px) {
    .post-header {
        padding: 2.5rem 0;
    }
    
    .post-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .post-meta {
        padding: 0 1rem;
    }
    
    .post-content {
        padding: 3rem 0;
    }
    
    .content-wrapper {
        padding: 0 1.5rem;
    }
    
    .post-content h1 {
        font-size: 1.8rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    

    

    
    /* Mobile Table Optimizations */
    .post-body table {
        font-size: 0.9rem;
        margin: 1.5rem 0;
    }
    
    .post-body th,
    .post-body td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Mobile Navigation */
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }
    
    .prev-post, .next-post {
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    /* Mobile Social Sharing */
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: 1.5rem 0;
    }
    
    .post-title {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .post-meta {
        padding: 0 1rem;
    }
    
    .post-content {
        padding: 2rem 0;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .post-content h1 {
        font-size: 1.6rem;
    }
    
    .post-content h2 {
        font-size: 1.4rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    

    
    /* Small Screen Table Optimizations */
    .post-body table {
        font-size: 0.85rem;
        margin: 1rem 0;
    }
    
    .post-body th,
    .post-body td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Small Screen Blockquote */
    .post-body blockquote {
        padding: 1.5rem 1.5rem;
        margin: 2rem 0;
    }
    
    .post-body blockquote p {
        font-size: 1rem;
    }
    
    /* Small Screen CTA */
    .cta-box {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-box h3 {
        font-size: 1.4rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    .post-navigation {
        padding: 0 1rem;
    }
    
    .prev-post, .next-post {
        padding: 1rem;
    }
    
    .nav-title {
        font-size: 0.9rem;
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1001;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.1s ease;
}

/* Table of Contents */
.toc {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.toc h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 0.75rem;
}

.toc a {
    color: #4a5568;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc a:hover {
    color: #667eea;
    background: #f7fafc;
    border-left-color: #667eea;
    padding-left: 1rem;
}

/* Enhanced Code Blocks */
.post-content pre {
    position: relative;
}

.post-content pre::before {
    content: attr(data-language);
    position: absolute;
    top: 0;
    right: 0;
    background: #4a5568;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 0 8px 0 8px;
    font-weight: 500;
}

/* Call to Action Boxes */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    opacity: 0.3;
}

.cta-box h3,
.cta-box p {
    color: white;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    margin-top: 1rem;
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.cta-box .btn:hover {
    background: transparent;
    color: white;
}



/* Enhanced Navigation */
.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.prev-post:hover .nav-arrow {
    transform: translateX(-3px);
}

.next-post:hover .nav-arrow {
    transform: translateX(3px);
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-title {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
    line-height: 1.3;
}

/* Social Sharing */
.social-sharing {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.social-sharing h4 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.social-btn.facebook {
    background: #4267b2;
    color: white;
}

.social-btn.facebook:hover {
    background: #365899;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 103, 178, 0.3);
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.linkedin:hover {
    background: #006097;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

/* Enhanced TOC Active State */
.toc a.active {
    color: #667eea;
    background: #f7fafc;
    border-left-color: #667eea;
    padding-left: 1rem;
    font-weight: 600;
}

/* Post Body Specific Styles */
.post-body {
    position: relative;
}



/* Enhanced Link Styles */
.post-body a[href^="http"]::after {
    content: '↗';
    margin-left: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Enhanced Image Captions */
.post-body img + em {
    display: block;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Enhanced Table Styles */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-body th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.post-body td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.post-body tr:nth-child(even) {
    background: #f8f9fa;
}

.post-body tr:hover {
    background: #f1f5f9;
}

.post-body tr:last-child td {
    border-bottom: none;
}

/* Enhanced Blockquote Styles */
.post-body blockquote {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #667eea;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.post-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -1rem;
    left: 1rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.post-body blockquote p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-body blockquote strong {
    color: #2d3748;
    font-weight: 700;
}

/* Enhanced Horizontal Rule */
.post-body hr {
    display: none; /* Hide horizontal rules */
}

/* Enhanced Heading Spacing and Decoration */
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    color: #2d3748;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
}

.post-body h1 {
    font-size: 2.4rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.75rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.post-body h2 {
    font-size: 1.9rem;
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0 6px 6px 0;
    margin-top: 2.5rem;
}

.post-body h3 {
    font-size: 1.6rem;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.post-body h4 {
    font-size: 1.3rem;
    color: #718096;
    font-weight: 600;
    margin-top: 1.5rem;
}

.post-body h5 {
    font-size: 1.1rem;
    color: #a0aec0;
    font-weight: 600;
    margin-top: 1.5rem;
}

.post-body h6 {
    font-size: 1rem;
    color: #cbd5e0;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Enhanced Paragraph Spacing */
.post-body p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body p:last-of-type {
    margin-bottom: 0;
}

/* Enhanced List Spacing */
.post-body ul,
.post-body ol {
    margin: 1.5rem 0;
    padding-left: 0;
}

.post-body li {
    margin-bottom: 0.75rem;
    color: #4a5568;
}

/* Enhanced List Styles */
.post-body ul {
    padding-left: 0;
    margin: 1.5rem 0;
    list-style: none;
}

.post-body ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
    list-style: none;
}

.post-body ul li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
    font-size: 1.2rem;
}

.post-body ol {
    counter-reset: item;
    padding-left: 0;
    margin: 1.5rem 0;
    list-style: none;
}

.post-body ol li {
    counter-increment: item;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    color: #4a5568;
    list-style: none;
}

.post-body ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #667eea;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Enhanced Blockquote Styles */
.post-body blockquote {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #667eea;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.post-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -1rem;
    left: 1rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.post-body blockquote p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-body blockquote strong {
    color: #2d3748;
    font-weight: 700;
}

/* Enhanced Table Styles */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-body th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.post-body td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.post-body tr:nth-child(even) {
    background: #f8f9fa;
}

.post-body tr:hover {
    background: #f1f5f9;
}

.post-body tr:last-child td {
    border-bottom: none;
}

/* Enhanced Code Inline */
.post-body code:not(pre code) {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid #cbd5e0;
    font-weight: 500;
}

/* Enhanced Pre Code Blocks */
.post-body pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #4a5568;
}

.post-body pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enhanced Link Hover Effects */
.post-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.post-body a:hover {
    color: #5a67d8;
    border-bottom-color: #5a67d8;
}

.post-body a[href^="http"]::after {
    content: '↗';
    margin-left: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Enhanced Emphasis and Strong */
.post-body em {
    color: #667eea;
    font-style: italic;
    font-weight: 500;
}

.post-body strong {
    color: #2d3748;
    font-weight: 700;
}

/* Enhanced Image Captions */
.post-body img + em {
    display: block;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}







/* Enhanced Call to Action */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
}

.cta-box h3,
.cta-box p {
    color: white;
    position: relative;
    z-index: 1;
}

.cta-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-box .btn {
    margin-top: 1rem;
    background: white;
    color: #667eea;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-1px);
}

/* Enhanced Social Sharing */
.social-sharing {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.social-sharing h4 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.twitter:hover {
    background: #1a91da;
    transform: translateY(-1px);
}

.social-btn.facebook {
    background: #4267b2;
    color: white;
}

.social-btn.facebook:hover {
    background: #365899;
    transform: translateY(-1px);
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.linkedin:hover {
    background: #006097;
    transform: translateY(-1px);
}

/* Enhanced Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.prev-post, .next-post {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.prev-post:hover, .next-post:hover {
    color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.prev-post:hover .nav-arrow {
    transform: translateX(-3px);
}

.next-post:hover .nav-arrow {
    transform: translateX(3px);
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-title {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
    line-height: 1.3;
}

/* Print Styles */
@media print {
    .reading-progress,
    .cta-box,
    .social-sharing,
    .post-navigation {
        display: none;
    }
    
    .post {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .post-header {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .post-title,
    .post-meta {
        color: #333 !important;
    }
    
    .category-tag,
    .keyword-tag {
        background: #e9ecef !important;
        color: #495057 !important;
        border: 1px solid #ced4da !important;
    }
}
