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

:root {
  --bg-page: #0F1718;
  --bg-card: #102022;
  --bg-card-hover: #142829;
  --border-card: #163033;
  --accent-primary: #35C7C3;
  --accent-yellow: #FFD400;
  --accent-yellow-dim: rgba(255, 212, 0, 0.15);
  --accent-green: #1AAFAE;
  --text-primary: #E8F6F5;
  --text-muted: #6FA8A6;
  --text-link: #35C7C3;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
.header {
  background: var(--bg-card);
  border: 1px solid var(--accent-yellow-dim);
  border-radius: var(--radius);
  margin: 24px auto;
  max-width: 1200px;
  padding: 32px 40px;
  border-top: 3px solid var(--accent-yellow);
}

.header-logo {
  display: block;
  width: 260px;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.header-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.header-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Language toggle button */
.btn-toggle {
  background: var(--accent-primary);
  color: #0F1718;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle:hover {
  background: var(--accent-yellow);
  transform: translateY(-1px);
}

/* Main layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .sections {
    grid-template-columns: 1fr;
  }
  .header {
    margin: 12px;
    padding: 24px;
  }
  .header h1 {
    font-size: 1.8rem;
  }
  .header-logo {
    width: 200px;
  }
  .container {
    padding: 0 12px 32px;
  }
}

/* Section card */
.section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.section-label {
  color: var(--accent-yellow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 600;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-yellow-dim);
}

.section-title .country-flag {
  margin-right: 8px;
}

/* Article card */
.article {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
}

.article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: var(--accent-yellow);
}

.article-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-source {
  color: var(--accent-yellow);
  font-style: italic;
}

.article-lang {
  background: var(--accent-green);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
}

.article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Archive page */
.edition-list {
  list-style: none;
}

.edition-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.edition-item:hover {
  border-color: var(--accent-yellow);
}

.edition-item a {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edition-date {
  font-size: 1.1rem;
  font-weight: 600;
}

.edition-country {
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.6;
}
