/* General Blog Styles */
body {
    background-color: #f8f9fa;
}

.blog-header-area {
    background-color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.blog-header-area h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.blog-header-area p {
    font-size: 1.1rem;
    color: #6c757d;
}

.blog-main-content {
    padding: 50px 0;
}

.post-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    background-color: #e7f5ff;
    color: #0d6efd;
    text-decoration: none;
    margin-bottom: 15px;
}

.post-tag.featured-tag {
    background-color: #e8f5e9;
    color: #198754;
}

.post-author-meta {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author-meta .meta-dot {
    width: 4px;
    height: 4px;
    background-color: #adb5bd;
    border-radius: 50%;
}

/* Featured Post */
.featured-post-section {
    margin-bottom: 50px;
}

.featured-post-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.featured-post-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-post-content h3 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-post-content h3 a:hover {
    color: #0d6efd;
}

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

/* Post Grid */
.blog-post-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}

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

.post-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.post-card-content h4 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card-content h4 a:hover {
    color: #0d6efd;
}

.empty-blog {
    padding: 5rem 0;
    text-align: center;
    color: #6c757d;
}

/* Pagination */
.blog-pagination .page-item .page-link {
    border-radius: 50% !important;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #dee2e6;
    color: #495057;
}

.blog-pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Single Post Page Styles */
.post-main-content {
    padding: 50px 0;
}

.blog-post-full {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 3rem;
    border: 1px solid #e9ecef;
}

.post-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #6c757d;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
}

.post-content h2, .post-content h3, .post-content h4 {
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-content p, .post-content ul, .post-content ol, .post-content blockquote {
    margin-bottom: 1.5rem;
}

.post-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    font-style: italic;
    color: #6c757d;
}

.post-cta-section {
    background-color: #e7f5ff;
    border: 1px solid #cce5ff;
    border-radius: 16px;
    text-align: center;
    padding: 2.5rem;
    margin: 3rem 0;
}

.post-cta-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.post-cta-section p {
    font-style: italic;
    color: #495057;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.btn-cta {
    padding: 12px 30px;
    font-weight: 600;
}

.author-bio-section {
    margin: 3rem 0;
}

.author-bio-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
}

.author-bio-box .author-avatar {
    width: 80px;
    height: 80px;
}

.author-details h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-details p {
    margin-bottom: 0;
    color: #6c757d;
}

.related-posts-section {
    margin: 3rem 0;
    padding-top: 3rem;
    border-top: 1px solid #e9ecef;
}

.related-posts-section .section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
