/* Blog Styles */
.blog-page {
    padding: 120px 0 80px;
}

.blog-header {
    text-align: center;
    margin-bottom: 64px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    background: linear-gradient(135deg, var(--deep-purple), var(--mid-purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder span {
    font-size: 48px;
    opacity: 0.3;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-category {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-read {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
}

.blog-empty {
    text-align: center;
    padding: 80px 0;
}

.blog-empty-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 24px;
}

.blog-empty h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-empty p {
    color: var(--text-secondary);
}

.blog-pagination {
    text-align: center;
    margin-top: 48px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    font-size: 14px;
}

.blog-pagination .page-numbers.current {
    background: var(--cyan);
    color: #fff;
    border-color: var(--cyan);
}

/* Single Post */
.blog-single {
    padding: 120px 0 80px;
}

.article {
    max-width: 760px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--cyan);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 32px;
    text-decoration: none;
}

.back-link:hover {
    color: var(--magenta);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.article-category {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.article-date,
.article-reading-time {
    font-size: 14px;
    color: var(--text-muted);
}

.article-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 32px;
}

.article-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-hero img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.85;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content blockquote {
    border-left: 3px solid var(--cyan);
    padding-left: 20px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-primary);
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.tag {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
}

.article-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(224, 64, 251, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.article-cta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
