:root {
  --bg: #f5f6ef;
  --surface: #ffffff;
  --text: #1f2a26;
  --muted: #5d6a65;
  --accent: #146c43;
  --accent-dark: #0e5232;
  --border: #d9dfdc;
  --shadow: 0 10px 30px rgba(21, 42, 33, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #d8e8dc, transparent 35%),
    linear-gradient(145deg, #f5f6ef, #eef2f0 45%, #e3ece8);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  opacity: 0.25;
}

.shape-1 {
  width: 340px;
  height: 340px;
  background: #9fcdaf;
  top: -80px;
  right: -80px;
}

.shape-2 {
  width: 260px;
  height: 260px;
  background: #bbd8e4;
  bottom: -70px;
  left: -70px;
}

.container {
  width: min(1000px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface), #f2f8f4 30%);
  box-shadow: var(--shadow);
  animation: riseIn 0.45s ease;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0.55rem 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

button {
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

#updatedAt {
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  margin: 1rem 0;
  color: var(--muted);
  font-weight: 500;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.news-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  animation: riseIn 0.35s ease;
}

.news-item h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.3;
}

.news-item a {
  color: var(--text);
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: underline;
}

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

.snippet {
  margin-top: 0.65rem;
  color: #32423d;
  font-size: 0.93rem;
}

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

@media (max-width: 640px) {
  .container {
    width: min(1000px, calc(100% - 1rem));
    margin-top: 1rem;
  }

  .hero {
    padding: 1.1rem;
  }
}
