/* Centralized CSS for Tag Posts Page - Eyenak AI */

body {
    font-family: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
}

.tag-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.tag-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.tag-header p {
    font-size: 18px;
    opacity: 0.95;
}

.posts-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.post-card:hover {
    box-shadow: 0 8px 25px rgba(102,126,234,0.15);
    transform: translateY(-5px);
}

.post-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-meta {
    color: #718096;
    font-size: 13px;
    margin-bottom: 15px;
}

.post-content {
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .tag-header h1 {
        font-size: 28px;
    }
    .posts-grid {
        padding: 0 8px;
        grid-template-columns: 1fr;
    }
    .post-card {
        padding: 18px;
    }
}
