/* Newspaper-style News Layout - Mobile First */

.news-paper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: #fdfcf9;
}

/* Header / Masthead */
.news-header {
  text-align: center;
  padding: 1.5rem 0 1rem;
  border-bottom: 3px double #1a1a1a;
  margin-bottom: 1rem;
}

.news-header__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.news-header__date {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  font-style: italic;
}

/* Section Navigation */
.news-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 0;
  background: #fdfcf9;
  z-index: 10;
}

.news-nav__link {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  text-decoration: none;
  color: #333;
  background: #f0ede5;
  border-radius: 3px;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.news-nav__link:hover {
  background: #003366;
  color: #fff;
}

/* News Sections */
.news-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0dcc8;
}

.news-section:last-child {
  border-bottom: none;
}

.news-section__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a1a1a;
  margin: 0 0 1rem;
}

.news-section__articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual Articles */
.news-article {
  background: #fff;
  border: 1px solid #e8e4da;
  border-radius: 2px;
  transition: box-shadow 0.2s;
}

.news-article:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-article__link {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.news-article__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}

.news-article__link:hover .news-article__title {
  color: #003366;
}

.news-article__summary {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
  margin: 0 0 0.75rem;
}

.news-article__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #888;
}

.news-article__source {
  font-weight: 500;
  color: #666;
}

.news-article__date {
  font-style: italic;
}

/* Empty State */
.news-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.news-empty p {
  font-style: italic;
}

/* Footer */
.news-footer {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #ddd;
  margin-top: 1rem;
}

.news-footer p {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-style: italic;
}

/* Tablet and up */
@media (min-width: 600px) {
  .news-header__title {
    font-size: 2.5rem;
  }

  .news-nav__link {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .news-section__title {
    font-size: 1.4rem;
  }

  .news-article__title {
    font-size: 1.2rem;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .news-paper {
    padding: 0 2rem;
  }

  .news-header__title {
    font-size: 3rem;
  }

  .news-section__articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* First article in each section is featured (full width) */
  .news-section__articles .news-article:first-child {
    grid-column: 1 / -1;
  }

  .news-section__articles .news-article:first-child .news-article__title {
    font-size: 1.4rem;
  }
}
