.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color-light, #ffffff);
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #005a2e);
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  overflow: hidden;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #FFFF00; /* Custom color for hero title */
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-news__section-title {
  font-size: 2.5em;
  color: var(--text-color-dark, #333333);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #017439;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-news__dark-section .page-news__section-title {
  color: var(--text-color-light, #ffffff);
}

.page-news__dark-section .page-news__section-title::after {
  background: #FFFF00;
}

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

.page-news__intro-section {
  padding: 80px 0;
  background: var(--background-color, #121212);
  color: var(--text-color-light, #ffffff);
}

.page-news__intro-section .page-news__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-news__categories-section {
  padding: 80px 0;
  background: var(--background-color-light, #f8f8f8);
}

.page-news__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__category-card {
  background: var(--background-color-card, #ffffff);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark, #333333);
}

.page-news__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-news__card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-news__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-color-dark-secondary, #555555);
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-news__article-grid-section {
  padding: 80px 0;
  background: var(--background-color-light, #f0f0f0);
}

.page-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__article-card {
  background: var(--background-color-card, #ffffff);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
  color: var(--text-color-dark, #333333);
}

.page-news__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__article-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #005a2e;
}

.page-news__article-summary {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-color-dark-secondary, #555555);
  margin-bottom: 20px;
}

.page-news__btn-primary {
  background: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #FFFF00;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-news__btn-secondary:hover {
  background: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-news__btn-tertiary {
  display: inline-block;
  background: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-news__btn-tertiary:hover {
  background: #005a2e;
  transform: translateY(-2px);
}

.page-news__btn-text {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__btn-text:hover {
  color: #005a2e;
  text-decoration: underline;
}

.page-news__video-section {
  padding: 80px 0;
  background: var(--background-color, #121212);
  color: var(--text-color-light, #ffffff);
  text-align: center;
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-news__video-cta {
  margin-top: 30px;
}

.page-news__benefits-section {
  padding: 80px 0;
  background: var(--background-color-light, #f8f8f8);
  color: var(--text-color-dark, #333333);
}

.page-news__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-news__benefit-item {
  background: var(--background-color-card, #ffffff);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  line-height: 1.6;
  font-size: 1.05em;
  border-left: 5px solid #017439;
}

.page-news__benefit-item strong {
  color: #017439;
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

.page-news__faq-section {
  padding: 80px 0;
  background: var(--background-color, #121212);
  color: var(--text-color-light, #ffffff);
}

.page-news__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-news__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-news__faq-question h3 {
  margin: 0;
  color: inherit;
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 20px;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(0deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1em;
  line-height: 1.6;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

.page-news__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #017439, #005a2e);
  text-align: center;
  color: var(--text-color-light, #ffffff);
}

.page-news__cta-section .page-news__paragraph {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General paragraph styling */
.page-news__paragraph {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-color-dark-secondary, #555555);
  text-align: center;
}

.page-news__dark-section .page-news__paragraph {
  color: #cccccc;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }

  .page-news__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-news__hero-cta-buttons,
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__intro-section,
  .page-news__categories-section,
  .page-news__article-grid-section,
  .page-news__video-section,
  .page-news__benefits-section,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 50px 0;
  }

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

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

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 30px auto;
  }

  .page-news__category-grid,
  .page-news__article-grid,
  .page-news__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__card-title {
    font-size: 1.4em;
  }

  .page-news__article-title {
    font-size: 1.2em;
  }

  .page-news__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-news__faq-answer {
    padding: 0 20px;
  }

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px 20px;
  }
}