/* Blog Archive Page - Professional Theme */
.blog-archive-page {
    background-color: #fff;
    color: #333;
    padding: 60px 0;
}

/* Container max-width */
.blog-archive-page .container,
.blog-single-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #000;
}

.page-title,
.elementor-heading-title.elementor-size-default {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    font-family: 'Barlow', sans-serif;
}

.archive-description {
    color: #666;
    font-size: 16px;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Blog Post Card */
.blog-post-card {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Post Thumbnail */
.post-thumbnail {
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.post-thumbnail:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .post-thumbnail:after {
    opacity: 1;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Post Content */
.post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-post-card:hover .post-content {
    border-bottom-color: #000;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date, .post-category {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    color: #000;
}

/* Post Title */
.post-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.post-title a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.post-title a:hover {
    color: #000;
}

.post-title a:hover:after {
    width: 100%;
}

/* Post Excerpt */
.post-excerpt {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Read More Link */
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-family: 'Barlow', sans-serif;
}

.read-more-link:hover {
    color: #fff;
    background-color: #333;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: none;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 4px;
}

.pagination .page-numbers.current {
    background-color: #000;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 40px;
}

/* Sidebar Widget */
.sidebar-widget {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
    font-family: 'Barlow', sans-serif;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #000;
}

/* Categories Widget */
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: relative;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding-left: 15px;
}

.sidebar-widget ul li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #000;
    padding-left: 20px;
}

.sidebar-widget ul li a:hover:before {
    background-color: #000;
}

/* Recent Posts Widget */
.recent-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #000;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #333;
}

.recent-posts .post-date {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tag Cloud */
.tag-cloud a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px 10px 0;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 13px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Barlow', sans-serif;
}

.tag-cloud a:hover {
    background-color: #000;
    color: #fff;
}

/* Single Post Styles */
.blog-single-page {
    background-color: #fff;
    color: #333;
    padding: 60px 0;
}

.blog-single-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.post-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #000;
}

.post-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin: 15px 0 0;
    line-height: 1.2;
    font-family: 'Barlow', sans-serif;
}

.post-featured-image {
    margin: 40px -40px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Barlow', sans-serif;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

.post-content blockquote {
    border-left: 4px solid #000;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    background-color: #f9f9f9;
    border-radius: 0 8px 8px 0;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-tags {
    margin-bottom: 30px;
}

.tags-title {
    font-weight: 600;
    margin-right: 10px;
    color: #000;
}

.post-tags .tag {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 8px 15px;
    margin: 0 5px 8px 0;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-tags .tag:hover {
    background-color: #000;
    color: #fff;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-previous, .nav-next {
    max-width: 48%;
}

.nav-previous a, .nav-next a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-previous a:hover, .nav-next a:hover {
    color: #333;
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding: 40px;
    border-top: 1px solid #eee;
    background-color: #fff;
    box-shadow: none;
    border-radius: 8px;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Barlow', sans-serif;
}

.comments-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #000;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-metadata {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-metadata a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #333;
}

.comment-content {
    font-size: 16px;
    line-height: 1.7;
}

.comment-respond {
    margin-top: 50px;
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Barlow', sans-serif;
}

.comment-reply-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #000;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #000;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #000;
}

.form-submit .submit {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Barlow', sans-serif;
}

/* Replace Playfair Display with Barlow font */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&display=swap');

/* Update all font-family references */
.page-title,
.post-title,
.widget-title,
.comments-title,
.comment-reply-title,
.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: 'Barlow', sans-serif;
}

/* Comment links styling */
.comment-reply-link,
.comment-edit-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
    color: #333;
}

/* Fix for reply button */
.comment-respond .submit {
    background-color: #000;
    color: #fff;
}

.comment-respond .submit:hover {
    background-color: #333;
}

/* Add Font Import for Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Additional Styling for Read More Button */
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.read-more-link:hover {
    color: #fff;
    background-color: #333;
    transform: translateY(-2px);
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

/* Remove grayscale filter for a more professional look */
.post-thumbnail img,
.post-featured-image img {
    filter: none;
}

/* Add subtle hover effect to sidebar links */
.sidebar-widget ul li a {
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.sidebar-widget ul li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #000;
    padding-left: 20px;
}

/* Enhance mobile responsiveness */
@media (max-width: 767px) {
    .blog-single-post {
        padding: 20px;
    }
    
    .post-featured-image {
        margin: 20px -20px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
    
    .comments-area {
        padding: 20px;
    }
}