.news-page {
  background:
    radial-gradient(circle at top left, rgba(0, 155, 58, 0.05), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 62%, #eff7f1 100%);
}

.news-hero-section {
  padding-top: clamp(1.9rem, 2.8vw, 2.6rem);
  padding-bottom: clamp(2.2rem, 3.8vw, 3rem);
}

.news-shell {
  padding: clamp(0.9rem, 1.6vw, 1.15rem);
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 0.95rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(7, 17, 11, 0.08);
}

.news-page-head {
  display: grid;
  gap: 0.8rem;
}

.news-page-copy h1 {
  max-width: none;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  line-height: 1.05;
}

.news-page-copy .section-copy {
  margin-top: 0.25rem;
  color: #4c6a5a;
  font-size: 0.88rem;
  line-height: 1.42;
  max-width: 56rem;
}

.news-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.news-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.news-meta-pill {
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 999px;
  background: #f3fbf6;
  color: #175039;
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1;
}

.news-refresh-button {
  min-height: 2rem;
  padding: 0.28rem 0.76rem;
  font-size: 0.79rem;
}

.news-refresh-button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.news-status {
  margin-top: 0.55rem;
  min-height: 1rem;
  color: #587466;
  font-size: 0.76rem;
}

.news-layout {
  margin-top: 0.75rem;
}

.news-grid {
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 0.8rem;
  overflow: hidden;
  background: #ffffff;
}

.story-card {
  display: grid;
  gap: 0.2rem;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 155, 58, 0.12);
  color: inherit;
  text-decoration: none;
  transition:
    background-color var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.story-card:nth-child(odd) {
  background: #ffffff;
}

.story-card:nth-child(even) {
  background: #f3fbf6;
  border-left: 2px solid rgba(0, 155, 58, 0.28);
}

.story-card:last-child {
  border-bottom: 0;
}

.story-card:hover,
.story-card:focus-visible {
  background: #e3f7ea;
  border-bottom-color: rgba(0, 155, 58, 0.28);
  transform: translateX(2px);
}

.story-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
}

.story-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.story-source-favicon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 155, 58, 0.2);
  background: #fff;
  flex: 0 0 auto;
}

.story-source-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 58, 0.34);
  background: #edf8f1;
  color: #0d6b3f;
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-source-name {
  color: #1a4b34;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
}

.story-time {
  color: #5e7d6d;
  font-size: 0.66rem;
  line-height: 1;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.38rem;
  border: 1px solid rgba(0, 155, 58, 0.34);
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.1);
  color: #0f5d39;
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.story-title {
  color: #102d22;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.story-card:hover .story-title,
.story-card:focus-visible .story-title {
  color: #006b3f;
}

.story-snippet {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #4a6758;
  font-size: 0.72rem;
  line-height: 1.32;
  transition:
    max-height var(--transition),
    opacity var(--transition);
}

.story-card:hover .story-snippet,
.story-card:focus-visible .story-snippet {
  max-height: 2.6rem;
  opacity: 1;
}

.story-meta {
  color: #5f7d6d;
  font-size: 0.64rem;
  line-height: 1.1;
}

.news-empty-state {
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 0.75rem;
  background: #ffffff;
}

.news-empty-state h2 {
  max-width: none;
  font-size: 1.16rem;
  line-height: 1.1;
}

.news-empty-state p {
  margin-top: 0.45rem;
  color: #567264;
  font-size: 0.85rem;
  line-height: 1.38;
}

@media (min-width: 900px) {
  .news-page-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .news-toolbar {
    align-items: flex-end;
  }
}
