.page-news {
  --primary-color: #FFD700;
  --secondary-color: #2F4F4F;
  --text-dark: #2F4F4F;
  --text-light: #FFFFFF;
  --bg-light: #F8F8F8;
  --bg-dark: #1A1A1A;
  --accent-color: #DC143C; /* Crimson for emphasis */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* Hero Banner Section */
.page-news .hero-banner {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.page-news .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-news .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 2;
}

.page-news .hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 800px;
}

.page-news .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-news .cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news .cta-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

/* Latest Articles Section */
.page-news .latest-articles {
  padding: 60px 0;
  background: var(--bg-light);
}

.page-news .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 15px;
}

.page-news .section-subtitle {
  font-size: 1.1em;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news .article-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 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(-5px);
  box-shadow: 0 8px 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: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-news .article-meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

.page-news .article-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

.page-news .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.page-news .read-more:hover {
  color: var(--accent-color);
}

.page-news .read-more .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-news .read-more:hover .arrow {
  transform: translateX(5px);
}

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

.page-news .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news .pagination-link:hover:not(.active) {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-news .pagination-link.active {
  background-color: var(--primary-color);
  color: var(--text-dark);
  cursor: default;
}

/* Categories Section */
.page-news .categories-section {
  padding: 60px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-news .categories-section .section-title {
  color: var(--primary-color);
  margin-bottom: 40px;
}

.page-news .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.page-news .category-card {
  background: var(--secondary-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.page-news .category-card:hover {
  background-color: #3F5F5F;
  transform: translateY(-5px);
}

.page-news .category-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(1.2);
}

.page-news .category-name {
  font-size: 1.3em;
  font-weight: bold;
}

/* Call to Action Bottom */
.page-news .call-to-action-bottom {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #FFC107);
  text-align: center;
  color: var(--text-dark);
}

.page-news .cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-news .cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.page-news .large-cta {
  padding: 18px 45px;
  font-size: 1.3em;
  margin-right: 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-news .large-cta:hover {
  background: #3F5F5F;
  color: #fff;
}

.page-news .secondary-cta {
  background: none;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news .hero-title {
    font-size: 2.8em;
  }
  .page-news .hero-description {
    font-size: 1.1em;
  }
  .page-news .section-title {
    font-size: 2em;
  }
  .page-news .article-title {
    font-size: 1.3em;
  }
  .page-news .cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news .hero-banner {
    height: 350px;
  }
  .page-news .hero-title {
    font-size: 2.2em;
  }
  .page-news .hero-description {
    font-size: 1em;
  }
  .page-news .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news .articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news .article-content {
    padding: 20px;
  }
  .page-news .article-image {
    height: 180px;
  }
  .page-news .categories-section, .page-news .latest-articles, .page-news .call-to-action-bottom {
    padding: 40px 0;
  }
  .page-news .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-news .category-icon {
    width: 60px;
    height: 60px;
  }
  .page-news .category-name {
    font-size: 1.1em;
  }
  .page-news .large-cta {
    padding: 15px 30px;
    font-size: 1.1em;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-news .secondary-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-news .cta-button {
    width: 100%;
    margin-bottom: 15px;
  }
  .page-news .call-to-action-bottom .cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .page-news .call-to-action-bottom .large-cta {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-news .hero-banner {
    height: 300px;
  }
  .page-news .hero-title {
    font-size: 1.8em;
  }
  .page-news .hero-description {
    font-size: 0.9em;
  }
  .page-news .section-title {
    font-size: 1.8em;
  }
  .page-news .cta-title {
    font-size: 1.8em;
  }
  .page-news .cta-description {
    font-size: 1em;
  }
  .page-news .pagination-link {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
  }
}