/* style/news.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  --card-bg: #ffffff;
  --section-bg-light: #f8f8f8;
}

/* Base styles for page-news */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.page-news__section {
  padding: 60px 20px;
  background-color: var(--section-bg-light); /* Light background for main content sections */
  color: var(--text-color-dark);
}

.page-news__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-news__section-title {
  font-size: 2.5em;
  color: inherit;
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  color: var(--text-color-light);
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}