.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

@media (min-width: 576px) {
    .blog-container {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .blog-container {
        padding: 2rem;
        flex-direction: row;
    }
}

.blog-main-content {
    flex: 1;
    width: 100%;
}

.blog-sidebar {
    width: 100%;
}

@media (min-width: 768px) {
    .blog-sidebar {
        width: 300px;
        flex-shrink: 0;
    }
}

.blog-posts-linear {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-linear {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.post-linear-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .post-linear-container {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .post-thumbnail {
        height: 250px;
    }
}

@media (min-width: 768px) {
    .post-thumbnail {
        width: 300px;
        height: auto;
    }
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1rem 1.5rem 1.5rem;
    flex: 1;
}

@media (min-width: 576px) {
    .post-content {
        padding: 1.5rem;
    }
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .post-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 575px) {
    .post-excerpt p {
        margin-bottom: 0;
    }
}

/* Sidebar Styles */
.about-me-section {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 576px) {
    .about-me-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

.tags-section,
.recent-posts-section {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .tags-section,
    .recent-posts-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recent-post-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.recent-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.recent-post-content a {
    color: #333;
    text-decoration: none;
}

.recent-post-content .post-date {
    color: #666;
    font-size: 0.8rem;
}

/* Additional Mobile Responsiveness */
@media (max-width: 575px) {
    .blog-posts-linear {
        gap: 1.5rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .recent-post-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .recent-post-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .tag-cloud {
        justify-content: center;
    }
    
    .recent-post-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .recent-post-thumbnail {
        margin-bottom: 0.5rem;
    }
}