.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  overflow: hidden; /* Ensure video doesn't overflow */
}

.page-news__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-news__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability, not changing color */
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-news__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-news__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-news__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Consistent title color */
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-news__section-description a {
  color: #FFFF00;
  text-decoration: underline;
}

/* Card Styles */
.page-news__articles-grid,
.page-news__analysis-grid,
.page-news__trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__article-card,
.page-news__analysis-item,
.page-news__trend-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-news__article-image,
.page-news__analysis-image,
.page-news__trend-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-news__article-title,
.page-news__analysis-title,
.page-news__trend-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439; /* Brand color for titles within cards */
}

.page-news__article-title a,
.page-news__analysis-title a,
.page-news__trend-title a {
  color: #FFFF00; /* Custom color for linked titles */
  text-decoration: none;
}

.page-news__article-title a:hover,
.page-news__analysis-title a:hover,
.page-news__trend-title a:hover {
  text-decoration: underline;
  color: #f0f0f0;
}

.page-news__article-meta {
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-news__article-excerpt,
.page-news__analysis-text,
.page-news__trend-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__article-excerpt a,
.page-news__analysis-text a,
.page-news__trend-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-news__read-more-btn {
  display: inline-block;
  background: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-btn:hover {
  background-color: #005a2b;
}

.page-news__view-all-cta {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA Section */
.page-news__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-news__cta-box {
  background: #017439; /* Brand color for CTA background */
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.page-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for CTA title */
}

.page-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-news__cta-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-news__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure button fits container */
}

.page-news__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  color: #ffffff;
}

.page-news__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color */
  border: 2px solid #FFFF00; /* Custom border color */
}

.page-news__btn-secondary:hover {
  background: #FFFF00;
  color: #C30808; /* Custom text color on hover */
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 20px;
}

.page-news__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}