.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 is #121212 from shared.css */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #121212; /* Fallback background for hero */
}

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

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-news__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* General Section Styling */
.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-news__section-title--light {
  color: #ffffff;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #666666; /* Darker grey for light background sections */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__section-description--light {
  color: #f0f0f0; /* Lighter grey for dark background sections */
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Default transparent border */
  box-sizing: border-box; /* Ensure padding and border are included in width */
}

.page-news__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
  margin: 10px;
}

.page-news__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-news__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
  margin: 10px;
}

.page-news__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-news__btn-secondary--login {
  background-color: #EA7C07; /* Specific color for Login */
  color: #ffffff;
  border-color: #EA7C07;
}

.page-news__btn-secondary--login:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

/* Latest Articles & Featured Articles Sections */
.page-news__latest-articles,
.page-news__featured-articles {
  padding: 60px 0;
}

.page-news__latest-articles {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-news__featured-articles {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-news__article-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-news__article-card--dark {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__article-card--dark:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-news__article-content {
  padding: 20px;
}

.page-news__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-news__article-card--dark .page-news__article-title a {
  color: #ffffff;
}

.page-news__article-title a:hover {
  color: #1e87c0;
}

.page-news__article-card--dark .page-news__article-title a:hover {
  color: #26A9E0;
}

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

.page-news__article-card--dark .page-news__article-meta {
  color: #b0b0b0;
}

.page-news__article-excerpt {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #1e87c0;
}

/* Video Section */
.page-news__video-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width of the video */
  margin: 0 auto 30px auto;
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-news__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-news__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.page-news__video-wrapper:hover .page-news__video-overlay {
  opacity: 1;
}

.page-news__video-cta {
  display: flex;
  align-items: center;
  background-color: rgba(38, 169, 224, 0.8);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news__video-cta:hover {
  background-color: #1e87c0;
}

.page-news__video-play-icon {
  font-size: 2em;
  margin-right: 10px;
}

.page-news__video-caption {
  text-align: center;
  font-size: 0.95em;
  color: #666666;
  margin-top: 15px;
}

/* Categories Section */
.page-news__categories-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-news__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__category-icon {
  width: 100px;
  height: 75px; /* Adjust height based on aspect ratio of the image */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news__category-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-news__category-card:hover .page-news__category-title {
  color: #1e87c0;
}

.page-news__category-description {
  font-size: 0.95em;
  color: #666666;
}

/* Benefits Section */
.page-news__benefits-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-news__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__benefit-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-news__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* CTA Section */
.page-news__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  text-align: center;
}

.page-news__cta-container {
  max-width: 800px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}