:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--text-color); background: #fff; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
header { background: #fff; border-bottom: 1px solid var(--border-color); padding: 1rem 0; sticky: top; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); }
nav ul { display: flex; gap: 1.5rem; }
.lang-switcher a { padding: 0.25rem 0.5rem; border: 1px solid var(--border-color); border-radius: 4px; font-size: 0.8rem; }
.lang-switcher a.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* News Grid */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; }
.news-card { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.news-card img { width: 100%; height: 200px; object-fit: cover; background: #eee; }
.news-card .content { padding: 1.25rem; }
.news-card .category { color: var(--primary-color); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }
.news-card h3 { margin: 0.5rem 0; font-size: 1.25rem; line-height: 1.3; }
.article-header .meta { font-size: 0.9rem; color: var(--secondary-color); margin-bottom: 1rem; }
.seo-badge { display: inline-block; background: #e8f5e9; color: #2e7d32; padding: 0.5rem 1rem; border-radius: 50px; font-weight: 700; border: 2px solid #2e7d32; margin-bottom: 1rem; }
.seo-badge.mid { background: #fff3e0; color: #ef6c00; border-color: #ef6c00; }
.seo-badge.low { background: #ffebee; color: #c62828; border-color: #c62828; }

/* Article Page */
.article-header { margin: 2rem 0; }
.article-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.article-content { font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; }
.source-box { background: var(--light-color); padding: 1rem; border-radius: 8px; margin-top: 2rem; border-left: 4px solid var(--primary-color); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 4px; font-family: inherit;
}
.btn {
    display: block; width: 100%; padding: 0.75rem; background: var(--primary-color); color: #fff;
    border: none; border-radius: 4px; cursor: pointer; font-weight: 600; text-align: center;
}

/* RTL Support */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .source-box { border-left: none; border-right: 4px solid var(--primary-color); }

@media (max-width: 768px) {
    .article-header h1 { font-size: 1.8rem; }
    nav { display: none; } /* Could add burger menu later */
}
