/* News section layout — Warm Editorial theme */

.news-container {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sidebar */
.news-sidebar {
  position: fixed;
  left: 0;
  top: 160px;
  width: 160px;
  padding: 1em 1em 1em 1.25em;
  border-right: 1px solid var(--border, #e5ded2);
}

.news-sidebar h3 {
  margin-top: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--muted, #8a7d6b);
  margin-bottom: 0.8em;
}

.news-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.news-sidebar li {
  margin-bottom: 0.4em;
}

.news-sidebar a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  color: var(--body, #4a3d2e);
  text-decoration: none;
}

.news-sidebar a:hover {
  color: var(--accent, #c2430a);
  text-decoration: underline;
}

/* Main content */
.news-content { width: 100%; }

/* Story cards */
.news-story-card {
  background: var(--card, #ffffff);
  border: 1px solid var(--border, #e5ded2);
  border-radius: 4px;
  padding: 1.5em;
  margin-bottom: 1.5em;
  box-shadow: 0 1px 4px rgba(45, 36, 23, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 36, 23, 0.12);
}

.news-story-card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--accent2, #1a6b4a);
  font-size: 1.05rem;
}

.news-story-card p {
  margin-bottom: 0.8em;
  line-height: 1.7;
  color: var(--body, #4a3d2e);
}

.news-story-card strong { color: var(--text, #2d2417); }

.news-story-card ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.news-story-card a {
  color: var(--accent, #c2430a);
  text-decoration: none;
}

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

/* Category headers */
.news-category-header {
  background: rgba(26, 107, 74, 0.06);
  border-left: 4px solid var(--accent2, #1a6b4a);
  padding: 0.8em 1em;
  margin: 2em 0 1em;
  border-radius: 0 4px 4px 0;
}

.news-category-header h2 {
  margin: 0;
  color: var(--accent2, #1a6b4a);
  font-size: 1.3em;
}

/* Daily digest header */
.daily-digest-header {
  text-align: center;
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 2px solid var(--border, #e5ded2);
}

.daily-digest-header h1 {
  margin-bottom: 0.3em;
  color: var(--text, #2d2417);
}

.daily-digest-header .date {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted, #8a7d6b);
}

/* Responsive */
@media (max-width: 900px) {
  .news-sidebar {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border, #e5ded2);
    padding: 1em 0;
    margin-bottom: 1.5em;
  }

  .news-sidebar ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .news-sidebar li { margin-bottom: 0; }
}

@media (max-width: 600px) {
  .news-container { padding: 0 1rem; }
  .news-story-card { padding: 1em; }
}
