:root {
  --primary-color: #11A84E; /* Main color */
  --secondary-color: #22C768; /* Secondary color */
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B; /* Card BG */
  --background-color: #08160F; /* Background */
  --text-main: #F2FFF6; /* Text Main */
  --text-secondary: #A7D9B8; /* Text Secondary */
  --border-color: #2E7A4E; /* Border */
  --glow-color: #57E38D; /* Glow */
  --gold-color: #F2C14E; /* Gold */
  --divider-color: #1E3A2A; /* Divider */
  --deep-green-color: #0A4B2C; /* Deep Green */
}

body {
    background-color: var(--background-color); /* Set body background from custom color */
}

.page-news {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for visual separation, not header offset */
  overflow: hidden;
  background-color: var(--background-color); /* Ensure hero section has a defined background */
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-top: 20px; /* Space between content and image */
  border-radius: 8px;
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: var(--text-main);
}

.page-news__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5); /* Soft glow */
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-news__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--glow-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-news__sub-title {
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 600;
  color: var(--gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__text-block p {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-news__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__container {
  max-width: 1200px;
  width: 100%; /* Ensure container takes full width */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Background colors for sections */
.page-news__light-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main);
  padding: 60px 0;
}

.page-news__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
  padding: 60px 0;
}

/* Buttons */
.page-news__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
}

.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
}

.page-news__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-news__main-title {
    font-size: 2.2em;
  }

  .page-news__hero-description {
    font-size: 1em;
  }

  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-news__sub-title {
    font-size: 1.2em;
    margin-top: 20px;
  }

  .page-news__text-block p {
    font-size: 0.95em;
  }

  .page-news__light-bg,
  .page-news__dark-bg {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__hero-image {
    margin-top: 15px;
  }

  /* Buttons */
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 8px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 0; /* Gap handled by button margins */
  }

  /* Section and card containers for mobile */
  .page-news__introduction-section,
  .page-news__main-content-section,
  .page-news__benefits-section,
  .page-news__access-section,
  .page-news__commitment-section,
  .page-news__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}