/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-news .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Hero Banner */
.page-news .hero-banner {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color-dark));
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-news .hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-news .hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-news .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-news .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.page-news .hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #eee;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-news .cta-button:hover {
  background: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Articles */
.page-news .latest-articles {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-news .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news .article-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-news .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news .article-content {
  padding: 25px;
}

.page-news .article-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--secondary-color);
}

.page-news .article-title a.page-news.article-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news .article-summary {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.page-news .read-more-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-news .read-more-button:hover {
  background: var(--secondary-color-dark);
}

/* All Articles */
.page-news .all-articles {
  padding: 60px 0;
  background-color: #fff;
}

.page-news .article-list {
  display: grid;
  gap: 25px;
}

.page-news .list-item {
  display: flex;
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-news .list-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-news .list-content {
  padding: 20px;
  flex-grow: 1;
}

.page-news .list-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--secondary-color);
}

.page-news .list-title a.page-news.list-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news .list-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.page-news .list-summary {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.page-news .read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-news .read-more-link:hover {
  text-decoration: underline;
  color: var(--primary-color-dark);
}

/* Pagination */
.page-news .pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.page-news .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-news .page-link:hover {
  background-color: var(--primary-color);
  color: #000;
}

.page-news .page-link-active {
  background-color: var(--primary-color);
  color: #000;
  pointer-events: none;
}

/* Call to Action */
.page-news .call-to-action {
  background: var(--secondary-color-dark);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.page-news .cta-title {
  font-size: 42px;
  margin-bottom: 25px;
  color: #fff;
  font-weight: bold;
}

.page-news .cta-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #eee;
}

.page-news .cta-button.main-cta {
  background: var(--primary-color);
  color: #000;
  padding: 18px 50px;
  font-size: 22px;
  border-radius: 10px;
}

.page-news .cta-button.main-cta:hover {
  background: var(--primary-color-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news .hero-title {
    font-size: 40px;
  }
  .page-news .hero-description {
    font-size: 18px;
  }
  .page-news .section-title {
    font-size: 30px;
  }
  .page-news .list-image {
    width: 200px;
    height: 150px;
  }
  .page-news .list-title {
    font-size: 20px;
  }
  .page-news .cta-title {
    font-size: 36px;
  }
  .page-news .cta-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-news .hero-banner {
    padding: 60px 0;
  }
  .page-news .hero-title {
    font-size: 32px;
  }
  .page-news .hero-description {
    font-size: 16px;
  }
  .page-news .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-news .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-news .article-grid {
    grid-template-columns: 1fr;
  }
  .page-news .list-item {
    flex-direction: column;
  }
  .page-news .list-image {
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
  }
  .page-news .list-content {
    padding: 15px;
  }
  .page-news .list-title {
    font-size: 18px;
  }
  .page-news .cta-title {
    font-size: 30px;
  }
  .page-news .cta-button.main-cta {
    padding: 15px 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-news .hero-title {
    font-size: 28px;
  }
  .page-news .hero-description {
    font-size: 14px;
  }
  .page-news .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-news .section-title {
    font-size: 22px;
  }
  .page-news .article-content {
    padding: 15px;
  }
  .page-news .article-title {
    font-size: 20px;
  }
  .page-news .list-item {
    border-radius: 8px;
  }
  .page-news .list-image {
    height: 180px;
  }
  .page-news .list-title {
    font-size: 17px;
  }
  .page-news .cta-title {
    font-size: 26px;
  }
  .page-news .cta-description {
    font-size: 16px;
  }
  .page-news .cta-button.main-cta {
    padding: 12px 30px;
    font-size: 18px;
  }
}