/* Blog View Styles */
.blog-view-container {
    background-color: #f8f9fa;
    padding: 40px 0;
    min-height: 100vh;
}

.blog-view-header {
    /* background: white; */
    padding: 25px 0;
    border-bottom: 2px solid #dc3545;
    margin-bottom: 40px;
}

.blog-view-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-category-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom:15px;
}

.blog-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.blog-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #dc3545;
    padding-left: 15px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.blog-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content a {
    color: #dc3545;
    text-decoration: none;
    border-bottom: 1px solid #dc3545;
}

.blog-content a:hover {
    color: #c82333;
    border-bottom: 1px solid #c82333;
}

.blog-sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc3545;
    margin-bottom: 15px;
}

.blog-sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.blog-sidebar-item:last-child {
    border-bottom: none;
}

.blog-sidebar-item label {
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.blog-sidebar-item span {
    display: block;
    color: #333;
    font-size: 14px;
}

.back-link {

    display: inline-block;
    margin-bottom: 10px;
    margin-top:2rem;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #c82333;
}

.related-posts {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.related-posts-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.related-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card-content {
    padding: 15px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card-date {
    font-size: 12px;
    color: #999;
}

.seo-schema {
    display: none;
}

@media (max-width: 768px) {
    .blog-content {
        padding: 20px;
    }

    .blog-view-header h1 {
        font-size: 24px;
    }

    .blog-banner {
        height: 250px;
    }

    .blog-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
