/* Blog Layout with Sidebar */
.blog-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.blog-list-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-sidebar {
    width: 350px;
    position: sticky;
    top: 100px;
}

/* Individual Blog Card Redesign (One per row) */
.blog-card {
    display: flex;
    flex-direction: column;
    height: auto;
    cursor: pointer !important;
    padding: 1.5rem;
}

.blog-img-container {
    width: 100%;
    background: rgba(255,255,255,0.05); /* Match the vibe */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-img {
    width: 100%;
    height: auto; /* Preserve aspect ratio while stretching to width */
    object-fit: contain !important; /* STRECH TO FIT WITHOUT CROPPING */
    display: block;
}

.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.subscribe-section {
    padding: 2.5rem 2rem;
    text-align: center;
}

.subscribe-form {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap; /* Side-by-side but wraps well */
    gap: 10px;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.4); /* Dark and glassy */
    color: white;
}

@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
        position: static;
        order: 2;
        margin-top: 3rem;
    }
    .blog-list-side {
        order: 1;
    }
}
