/* style/news.css */

/* General styles for the page content */
.page-news {
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  overflow: hidden;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Use brand color for hero background */
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Make image subtle behind text */
}

.page-news__hero-section .page-news__container {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

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

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

.page-news__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-news__hero-cta:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

/* Section Titles and Intros */
.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color for main titles */
}

.page-news__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Light grey for intro text on dark body */
}

/* Dark Section styling */
.page-news__dark-section {
  background-color: #017439; /* Brand color for dark sections */
  color: #ffffff;
  padding: 60px 0;
}
.page-news__dark-section .page-news__section-title {
  color: #ffffff; /* White title on dark background */
}
.page-news__dark-section .page-news__section-intro {
  color: #f0f0f0; /* Light grey intro on dark background */
}
.page-news__dark-section .page-news__article-text,
.page-news__dark-section .page-news__promo-text,
.page-news__dark-section .page-news__guide-text,
.page-news__dark-section .page-news__announcement-text {
  color: #f0f0f0;
}
.page-news__dark-section .page-news__article-title,
.page-news__dark-section .page-news__promo-title,
.page-news__dark-section .page-news__guide-title,
.page-news__dark-section .page-news__announcement-title {
  color: #ffffff;
}

/* Content Sections */
.page-news__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Match body background for content sections */
  color: #ffffff;
}