:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-register-text: #FFFF00;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Base styles for the news page */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Default body background is white */
}

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

.page-news__section-padding {
  padding: 60px 0;
}

.page-news__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-title--light {
  color: var(--text-light);
}

.page-news__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-news__section-intro--light {
  color: var(--text-light);
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #017439cc 50%, #01743999 100%); /* Slightly transparent gradient */
  overflow: hidden;
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any potential overlays */
}

.page-news__hero-image-main {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-news__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}