/* Single Blog Post Styles */
.single-blog-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    color: var(--brand-red);
    margin-right: 0.5rem;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--brand-black), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-line {
    width: 0;
    height: 3px;
    background: var(--brand-red);
    margin: 1rem auto;
    animation: lineGrow 1.5s ease forwards;
}

/* Featured Image */
.blog-featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    border-left: 4px solid var(--brand-red);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: #222;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #333;
}

.blog-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #444;
}

/* Blog Quote */
.blog-quote {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
    border-left: 4px solid var(--brand-red);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.blog-quote i {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    color: rgba(255, 0, 0, 0.1);
}

.blog-quote p {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 2.5rem;
}

.quote-author {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #666;
}

/* Blog Images */
.blog-images {
    margin: 2.5rem 0;
}

.blog-image-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.blog-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image-card img {
    width: 100%;
}

.image-caption {
    padding: 1rem;
    background: #f8f9fa;
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Blog List */
.blog-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blog-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: flex-start;
}

.icon-check {
    color: var(--brand-red);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Blog Info Box */
.blog-info-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--brand-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-info-box h4 {
    font-weight: 600;
    color: var(--brand-red);
    margin-bottom: 1rem;
}

.blog-info-box h4 i {
    margin-right: 0.5rem;
}

.blog-info-box p {
    margin-bottom: 0;
}

/* Blog Tags */
.blog-tags {
    margin: 3rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tags-title {
    font-weight: 500;
    margin-right: 1rem;
    color: #666;
    display: flex;
    align-items: center;
}

.tags-title i {
    margin-right: 0.5rem;
    color: var(--brand-red);
}

.blog-tag {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.3rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-2px);
}

/* Blog Share */
.blog-share {
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.share-title {
    font-weight: 500;
    margin-right: 1rem;
    color: #666;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-3px);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background: var(--brand-red);
}

/* Author Widget */
.author-widget {
    text-align: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 0, 0, 0.1);
    padding: 5px;
}

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

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-3px);
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.recent-post:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-info {
    flex-grow: 1;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recent-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--brand-red);
}

.recent-post-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
}

.recent-post-date i {
    margin-right: 0.5rem;
    color: var(--brand-red);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    color: #444;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.categories-list a:hover {
    color: var(--brand-red);
    padding-left: 0.5rem;
}

.categories-list a span {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.3s ease;
}

.categories-list a:hover span {
    background: var(--brand-red);
    color: white;
}

/* CTA Widget */
.cta-widget {
    text-align: center;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
    border-left: 4px solid var(--brand-red);
}

.cta-widget h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-widget p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Comments Section */
.blog-comments {
    margin-top: 4rem;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comment-item {
    display: flex;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.reply-comment {
    margin-left: 60px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-bottom: none;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.commenter-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.comment-date {
    font-size: 0.85rem;
    color: #666;
}

.comment-text {
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-reply {
    color: var(--brand-red);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.comment-reply i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.comment-reply:hover i {
    transform: translateX(3px);
}

.view-more-comments {
    text-align: center;
    margin: 2rem 0;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand-red);
    font-weight: 500;
    text-decoration: none;
}

.view-more-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.view-more-link:hover i {
    transform: translateY(3px);
}

/* Comment Form */
.comment-form-wrapper {
    margin-top: 3rem;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comment-form .form-control {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
}

.comment-form .form-control:focus {
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.1);
}

.comment-form .form-check-label {
    color: #666;
    font-size: 0.9rem;
}

/* Related Posts */
.related-posts-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .blog-title {
        font-size: 2.3rem;
    }
    
    .blog-sidebar {
        margin-top: 3rem;
        position: static;
    }
    
    .blog-intro {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .single-blog-section {
        padding: 60px 0;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-meta {
        justify-content: center;
    }
    
    .blog-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-content h3 {
        font-size: 1.4rem;
    }
    
    .blog-quote p {
        font-size: 1.1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-date {
        margin-top: 0.3rem;
    }
    
    .reply-comment {
        margin-left: 30px;
    }
}

@media (max-width: 576px) {
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        gap: 1rem;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 1rem;
    }
    
    .reply-comment {
        margin-left: 15px;
        padding: 1.5rem;
    }
}