:root {
  --primary: #149dcc;
  --secondary: #d62d2d;
  --accent: #3b943a;
  --dark: #1a1a2e;
  --light: #f8fafc;
  --text: #2d3748;
  --muted: #718096;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Rubik', sans-serif;
  color: var(--text);
  background: var(--light);
}

.amharic { font-family: 'Noto Sans Ethiopic', sans-serif; }

.lang-bar {
  background: var(--dark);
  color: #fff;
  padding: 6px 0;
  font-size: 0.8rem;
}
.lang-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.lang-toggle { display: flex; gap: 0.5rem; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 3px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Rubik', sans-serif;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

nav {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.logo-text .name {
  font-family: 'Noto Serif', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.back-link:hover { text-decoration: underline; }

.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.article-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.article-meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.article-card h1 {
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.article-card h1 small {
  display: block;
  font-family: 'Noto Sans Ethiopic', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.3rem;
}
.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.article-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
}
.article-body p { margin-bottom: 1rem; }
.article-body ul { margin: 0.5rem 0 1rem 1.2rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body-am {
  font-family: 'Noto Sans Ethiopic', sans-serif;
  font-size: 0.9rem;
  line-height: 1.95;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8ecf0;
}
.article-subhead {
  font-family: 'Noto Serif', serif;
  font-size: 1.15rem;
  color: var(--dark);
  margin: 1.5rem 0 0.75rem;
}
.article-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.article-banner img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.article-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  color: white;
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}
.article-split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1rem 0 1.5rem;
}
.article-side-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.article-page-wide { max-width: 920px; }
.article-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.article-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.article-gallery-wide { grid-template-columns: repeat(3, 1fr); }
.article-gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 280px;
}
.article-cta {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 136, 204, 0.08);
  border-radius: 10px;
  border-left: 4px solid #0088cc;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
}
.btn:hover { background: #0e82ab; }

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
}
footer a { color: var(--primary); text-decoration: none; }

@media (max-width: 640px) {
  .lang-bar .inner {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }
  .lang-toggle { flex-wrap: wrap; justify-content: center; }
  .lang-btn { font-size: 0.68rem; padding: 3px 10px; }
  .nav-inner { padding: 0.5rem 1rem; }
  .article-gallery, .article-gallery-3, .article-gallery-wide { grid-template-columns: 1fr; }
  .article-split { grid-template-columns: 1fr; }
  .article-banner-text { font-size: 1.25rem; padding: 0.75rem; }
  .article-page { padding: 2rem 1.2rem 3rem; }
  .article-card { padding: 1.5rem; }
  .article-card h1 { font-size: 1.45rem; }
  .btn { width: 100%; justify-content: center; }
}
