.page-news {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text on dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

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

.page-news__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-news__light-bg {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards/items */
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__hero-section {
  padding: 100px 20px 80px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-news__main-title {
  font-size: 48px;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news__intro-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary brand color */
  color: #1a1a2e; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-news__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #8B0000; /* Accent color */
  margin: 15px auto 0;
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 80px 0;
}

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

.page-news__article-card {
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-news__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-news__article-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #FFD700; /* Gold for article titles */
}

.page-news__article-title a.page-news__article-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a.page-news__article-link:hover {
  color: #8B0000; /* Dark red on hover */
}

.page-news__article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 13px;
  color: #999999;
  margin-top: auto; /* Push date to bottom */
  margin-bottom: 10px;
}

.page-news__read-more {
  display: inline-block;
  margin-top: 10px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #8B0000;
}

/* Categories Section */
.page-news__categories-section {
  padding: 80px 0;
  background-color: #0e0e1a;
}

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

.page-news__category-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.page-news__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-news__category-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: none; /* Ensure no CSS filter */
}

.page-news__category-title {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
  margin: 0;
}

/* Featured Article/Analysis Section */
.page-news__featured-article {
  padding: 80px 0;
}

.page-news__featured-content {
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-news__featured-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  filter: none; /* Ensure no CSS filter */
}

.page-news__featured-text {
  width: 60%;
}

.page-news__featured-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* More Articles Section */
.page-news__more-articles {
  padding: 80px 0;
  background-color: #0e0e1a;
}

.page-news__article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.page-news__list-item {
  display: flex;
  align-items: center;
  padding: 20px;
}

.page-news__list-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 20px;
  flex-shrink: 0;
  filter: none; /* Ensure no CSS filter */
}

.page-news__list-content {
  flex-grow: 1;
}

.page-news__list-title {
  font-size: 18px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.page-news__list-title a.page-news__article-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__list-title a.page-news__article-link:hover {
  color: #8B0000;
}

.page-news__list-excerpt {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 10px;
}

.page-news__list-date {
  font-size: 12px;
  color: #999999;
}

/* Call to Action Section */
.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #8B0000; /* Auxiliary brand color */
}

.page-news__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-news__cta-title {
  font-size: 38px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 42px;
  }
  .page-news__featured-content {
    flex-direction: column;
    align-items: center;
  }
  .page-news__featured-image,
  .page-news__featured-text {
    width: 100%;
  }
  .page-news__featured-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 15px 60px;
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news__main-title {
    font-size: 32px;
  }
  .page-news__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-news__latest-articles,
  .page-news__categories-section,
  .page-news__featured-article,
  .page-news__more-articles,
  .page-news__cta-section {
    padding: 60px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-title {
    font-size: 18px;
  }
  .page-news__article-excerpt {
    font-size: 14px;
  }
  .page-news__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-news__category-card {
    min-height: 150px;
    padding: 15px;
  }
  .page-news__category-icon {
    width: 80px;
    height: 80px;
  }
  .page-news__category-title {
    font-size: 16px;
  }
  .page-news__list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .page-news__list-image {
    width: 100%;
    height: 150px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-news__list-title {
    font-size: 16px;
  }
  .page-news__list-excerpt {
    font-size: 13px;
  }
  .page-news__cta-title {
    font-size: 28px;
  }
  .page-news__cta-description {
    font-size: 16px;
  }
  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    filter: none !important; /* Re-confirm no filter */
  }
  .page-news__article-card, .page-news__category-card, .page-news__featured-content, .page-news__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  .page-news__article-card .page-news__article-image,
  .page-news__featured-content .page-news__featured-image {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}