/* Blog Page Styles */

/* Featured Article */
.featured-article {
    padding: 60px 0;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.featured-post-image {
    height: 400px;
    border-radius: 16px;
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.featured-post-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.post-author-name {
    font-size: 1rem;
    font-weight: 600;
}

.post-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.btn-secondary-small {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary-small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

/* All Articles */
.all-articles {
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-image {
    height: 200px;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.3;
}

.article-content > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.article-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.article-date {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 100px 0 120px;
}

.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    text-align: center;
}

.newsletter-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-box > p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form-large {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-input-large {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input-large:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input-large::placeholder {
    color: var(--color-text-secondary);
}

.newsletter-note {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
}

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

    .featured-post-image {
        height: 250px;
    }

    .featured-post-content h2 {
        font-size: 1.75rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-box {
        padding: 2.5rem 1.5rem;
    }

    .newsletter-box h2 {
        font-size: 1.75rem;
    }

    .newsletter-form-large {
        flex-direction: column;
    }
}
