:root {
    --primary-blue: #00a6fb;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #666;
    --background: #ffffff;
    --border-color: #e0e0e0;
    --hover-bg: #f8f9fa;
}

.blogs-container {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: var(--space-xl) var(--space-lg) var(--space-xl);
}

/* Page Title */
.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue);
    display: inline-block;
}

/* Blog Posts Grid */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Blog Post Card */
.blog-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post:hover {
    background: var(--hover-bg);
    margin: -1rem;
    padding: 1rem;
    padding-bottom: 4rem;
    border-radius: 8px;
}

/* Blog Image */
.blog-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.blog-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Content */
.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-reading-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta-separator {
    color: var(--border-color);
}

.blog-title {
    margin-bottom: 0.5rem;
}

/* .blog-title a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.blog-title a:hover {
    opacity: 0.7;
    text-decoration: underline;
} */

.blog-subtitle {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.blog-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.blog-tag {
    background: #f0f0f0;
    color: var(--text-gray);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.blog-tag:hover {
    background: #e0e0e0;
}



/* Responsive */
@media (max-width: 768px) {
    .blog-post {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-image {
        aspect-ratio: 16 / 9;
    }

    .blog-post:hover {
        margin: 0;
        padding: 0;
        padding-bottom: 3rem;
        background: transparent;
    }

    .blog-post:last-child:hover {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .blog-title a {
        font-size: 1.3rem;
    }

    .blog-meta {
        justify-content: space-between;
        gap: 0.25rem;
    }

    .blog-meta-separator {
        display: none;
    }
}