/* Blog Styles */
.blog-header {
    padding: 120px 0 80px;
    background: var(--bg-dark);
    color: white;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-header h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.blog-header p {
    font-size: 20px;
    opacity: 0.8;
}

.blog-content {
    padding: 80px 0;
    background: var(--bg-dark);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Blog Cards */
.articles-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.blog-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: #444;
}

.blog-card-image {
    height: 100%;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 40px 40px 40px 0;
}

.blog-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-card-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
}

.blog-card-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.blog-link:hover {
    transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
}

.category-list a:hover {
    color: white;
    padding-left: 10px;
}

.category-list span {
    color: var(--text-light);
    font-size: 14px;
}

.popular-list {
    list-style: none;
}

.popular-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.popular-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-list a {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.popular-list a:hover {
    transform: translateX(5px);
}

.popular-list h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.popular-list span {
    font-size: 14px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: relative;
        top: 0;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 300px;
    }

    .blog-card-content {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .blog-header h1 {
        font-size: 42px;
    }

    .blog-card-content h2 {
        font-size: 24px;
    }
}

