:root {
    --primary-color: #1a202c;
    --secondary-color: #2d3748;
    --accent-color: #3182ce;
    --text-color: #4a5568;
    --bg-color: #f7fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.lang-switcher {
    margin-left: 2rem;
}

.lang-switcher select {
    padding: 0.3rem;
    border-radius: 4px;
    border: none;
}

main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--white);
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.news-card-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card-content .read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.adsense-placeholder {
    background-color: #eee;
    border: 1px dashed #ccc;
    text-align: center;
    padding: 1rem;
    margin: 2rem 0;
    color: #888;
    font-style: italic;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    margin-top: 2rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 1rem;
    }
    .nav-links li {
        margin: 0 0.5rem;
    }
}
