/* News Pages Styles */

/* ===== News List ===== */
.news-list {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.news-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.news-meta {
  margin-bottom: 12px;
}

.news-date {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.news-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.news-title a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-actions {
  display: flex;
  gap: 12px;
}

/* ===== News Article (Single) ===== */
.news-article {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.news-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.news-article .news-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.news-article .news-meta {
  margin-bottom: 0;
}

.news-article .news-date {
  font-size: 16px;
  color: #888;
}

.news-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
}

.news-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}

.news-content p {
  margin-bottom: 16px;
}

.news-content ul,
.news-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.news-content li {
  margin-bottom: 8px;
}

.news-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

.news-footer {
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

/* ===== Static Pages ===== */
.static-page {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.page-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.page-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

/* ===== Pagination ===== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
  .news-card,
  .news-article,
  .static-page {
    padding: 20px;
  }

  .news-article .news-title {
    font-size: 24px;
  }

  .news-content,
  .page-content {
    font-size: 15px;
  }

  .news-content h2,
  .page-content h2 {
    font-size: 20px;
  }

  .news-content h3,
  .page-content h3 {
    font-size: 17px;
  }

  .news-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
