/* Blog Listing Styles */
.blog-listing {
    background: #fff;
}

.blog-posts-section {
    padding: 4rem 0;
}

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.blog-image {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 14px;
    color: #666;
    background: #f8f8f8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.blog-title {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--golden-yellow);
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-author {
    color: #888;
    font-size: 14px;
}

/* Single Post Styles - Enhanced for Professional Readability */
.blog-post {
    background: #fff;
    min-height: 100vh;
}

/* Enhanced Post Header */
.post-header {
    text-align: center;
    margin: 4rem auto 3rem auto;
    max-width: 900px;
    padding: 0 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-meta span {
    font-size: 14px;
    color: #555;
    background: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.post-title {
    margin-bottom: 2rem;
    line-height: 1.15;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.post-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 22px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.post-author {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    padding: 1rem 2rem;
    background: #ffffff;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

/* Enhanced Featured Image */
.post-featured-image {
    margin: 3rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    max-width: 1350px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Enhanced Post Content */
.post-content {
    max-width: 1350px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 2rem 0 6rem 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: 2rem;
    padding: 3rem;
    border: 1px solid #f0f0f0;
}

.post-content h2 {
    margin: 4rem 0 2rem 0;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 1rem;
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-yellow) 0%, #ffd700 100%);
    border-radius: 2px;
}

.post-content h3 {
    margin: 3rem 0 1.5rem 0;
    color: #2a2a2a;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.3;
    letter-spacing: -0.2px;
    position: relative;
    padding-left: 1.5rem;
}

.post-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 1.5rem;
    background: var(--golden-yellow);
    border-radius: 2px;
}

.post-content p {
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.8;
    font-size: 18px;
    letter-spacing: 0.2px;
    text-align: justify;
}

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

.post-content li {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.7;
    font-size: 18px;
    position: relative;
}

.post-content ul li::before {
    content: '•';
    color: var(--golden-yellow);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
}

.post-content ol {
    counter-reset: item;
}

.post-content ol li {
    counter-increment: item;
}

.post-content ol li::before {
    content: counter(item) '.';
    color: var(--golden-yellow);
    font-weight: bold;
    position: absolute;
    left: -2rem;
    font-size: 1.2rem;
}

.content-section {
    margin-bottom: 3rem;
}

/* Enhanced Typography for Better Readability */
.post-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

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

.post-content a {
    color: var(--golden-yellow);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: var(--golden-yellow);
}

/* Enhanced Responsive Design */
@media screen and (max-width: 1024px) {
    .post-content {
        max-width: 800px;
        padding: 2.5rem;
        margin: 1.5rem;
    }
    
    .post-header {
        margin: 3rem 1.5rem 2rem 1.5rem;
        padding: 2.5rem 1.5rem;
    }
    
    .post-featured-image {
        margin: 2rem 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .post-header {
        padding: 2rem 1rem;
        margin: 2rem 1rem 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .post-meta {
        justify-content: center;
        gap: 1rem;
    }
    
    .post-meta span {
        padding: 0.5rem 1rem;
        font-size: 13px;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .post-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .post-excerpt {
        font-size: 20px;
        line-height: 1.6;
    }
    
    .post-content h2 {
        font-size: 2rem;
        margin: 3rem 0 1.5rem 0;
        line-height: 1.3;
    }
    
    .post-content h3 {
        font-size: 1.6rem;
        margin: 2.5rem 0 1rem 0;
        line-height: 1.4;
    }
    
    .post-content p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .post-content li {
        font-size: 17px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .post-featured-image{
        margin: 2rem 0.5rem;
    }
    .blog-grid {
        gap: 1rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .post-header {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.5rem 1rem 0.5rem;
    }
    
    .post-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .post-excerpt {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .post-content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
        padding:0;
        margin: 2.5rem 0 1rem 0;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
        margin: 2rem 0 0.8rem 0;
        padding-left: 1rem;
    }
    .post-content ul, 
    .post-content ol{
        margin: 1rem 0;
    }
    
    .post-content h3::before {
        width: 3px;
        height: 1.2rem;
    }
    
    .post-content p {
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }
    
    .post-content li {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .post-meta span {
        padding: 0.4rem 0.8rem;
        font-size: 12px;
    }
} 