:root {
  --ink: #1f1b18;
  --muted: #6f6761;
  --accent: #c0392b;
  --accent-2: #0e7c86;
  --bg-1: #f7efe7;
  --bg-2: #e7f1f5;
  --card-bg: #ffffff;
  --border: rgba(31, 27, 24, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Armenian", "Noto Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 500px at 10% -10%, #fbead8 0%, transparent 65%),
    radial-gradient(900px 500px at 90% 10%, #e2f3f4 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.18), transparent 65%);
  filter: blur(2px);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto -10% -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.2), transparent 60%);
  filter: blur(2px);
  z-index: -1;
}

h1, h2, h3, h4, h5 {
  font-family: "Noto Serif Armenian", "Noto Serif", serif;
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent);
}

.hero {
  padding: 3rem 0 1rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  line-height: 1.1;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-title::before {
  content: "";
  width: 36px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
}

.card-news {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 10px 25px rgba(31, 27, 24, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card-news:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(31, 27, 24, 0.12);
}

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

.card-news .card-img-top .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(192, 57, 43, 0.15), rgba(14, 124, 134, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

.card-news .card-title a {
  text-decoration: none;
  color: var(--ink);
}

.card-news .card-title a:hover {
  color: var(--accent);
}

.card-news .card-text {
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.badge-soft {
  background: rgba(14, 124, 134, 0.12);
  color: #0e5b62;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.badge-soft:hover {
  background: rgba(14, 124, 134, 0.2);
  color: #0b4a50;
}

.meta-line {
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background: #a93226;
  color: #fff;
}

.pagination .page-link {
  color: var(--ink);
  border-color: var(--border);
}

.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}
