/* ============================================
   LIST PAGE - News & Articles Styles
   Inherits donate.css for sidebar & banner
   Adds article list card styling
   ============================================ */

/* === SECTION OVERRIDES === */
.list-section {
  padding: 60px 0 80px;
  background: #fff;
}

/* === NEWS ARTICLE CARDS === */
.news-article {
  display: flex;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.news-article:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

/* Article Image */
.news-article-img {
  flex: 0 0 260px;
  overflow: hidden;
  position: relative;
}
.news-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-article:hover .news-article-img img {
  transform: scale(1.06);
}

/* Article Body */
.news-article-body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Meta: Category + Date */
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.news-article-category {
  display: inline-block;
  background: #C4B28C;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
}
.news-article-date {
  font-size: 13px;
  color: #999;
}

/* Article Title */
.news-article-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #202020;
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.news-article-title a {
  color: inherit;
  text-decoration: none;
}
.news-article-title a:hover {
  color: #2c5530;
}
.news-article:hover .news-article-title {
  color: #2c5530;
}

/* Article Excerpt */
.news-article-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Link */
.news-article-link {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C4B28C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
  transition: color 0.25s ease;
}
.news-article-link:hover {
  color: #7F9392;
}

/* === LIST MAIN CONTAINER === */
.list-main {
  max-width: 820px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .campaign-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .campaign-sidebar {
    position: static;
  }
  .news-article {
    flex-direction: column;
  }
  .news-article-img {
    flex: 0 0 auto;
    height: 220px;
    width: 100%;
  }
  .news-article-body {
    padding: 20px 24px 24px;
  }
  .news-article-title {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .page-hero { min-height: 240px; }
  .page-title { font-size: 28px; }
  .news-article-img { height: 180px; }
  .news-article-title { font-size: 18px; }
  .news-article-body { padding: 16px 20px 20px; }
  .news-article-excerpt { -webkit-line-clamp: 2; }
}

/* === KEYWORDS TAGS === */
.news-article-keywords,
.article-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.article-keywords {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.keywords-label {
  font-size: 13px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.keyword-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  color: #2c5530;
  background: #e8f0e8;
  border-radius: 20px;
  line-height: 1.4;
}

/* === ARTICLE DESCRIPTION === */
.article-description {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid #C4B28C;
  padding-left: 16px;
  margin-bottom: 24px;
}
