:root {
  --primary-color: #26A9E0;
  --primary-color-hover: #1e8fc0; /* Darker shade of primary for hover */
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-login-color: #EA7C07;
  --button-login-color-hover: #c46800; /* Darker shade of login button for hover */
  --background-color-light: #f9f9f9; /* A slightly off-white for sections */
  --border-color: #e0e0e0;
}

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

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

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

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

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

.page-news__text-white {
    color: var(--text-color-light);
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section (News Intro) */
.page-news__hero-section {
  background: linear-gradient(135deg, var(--primary-color), #4CAF50); /* Adjusted gradient for visual appeal, ensuring contrast */
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__hero-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--secondary-color); /* White text on blue gradient */
}

.page-news__hero-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login-color); /* Orange for login/register */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
  background: var(--button-login-color-hover); /* Darken orange */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 60px 0;
  background-color: var(--background-color-light); /* Light grey background */
}