.page-news {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for the page, should be light */
  background-color: var(--bg-color, #08160F); /* Page background, dark */
  line-height: 1.6;
  padding-bottom: 40px;
}

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

/* Hero Section */
.page-news__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-news__hero-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-news__hero-text-container {
  text-align: center;
  padding: 40px 20px;
  background: var(--card-bg, #11271B); /* Darker green background for text block */
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news__main-title {
  font-size: 44px;
  color: var(--text-main, #F2FFF6); /* Light text on dark background */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news__hero-description {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8); /* Lighter green text */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__hero-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-news__section-title {
  font-size: 36px;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__section-subtitle {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
}

/* Latest Articles Section */
.page-news__latest-articles-section {
  margin-bottom: 60px;
}

.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__article-card {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-news__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
}

.page-news__article-title {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: var(--glow-color, #57E38D); /* Green glow on hover */
}

.page-news__article-meta {
  font-size: 14px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--deep-green, #0A4B2C); /* Deep green for read more */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news__read-more-button:hover {
  background: var(--main-color, #11A84E);
}

.page-news__view-all-button-container {
  text-align: center;
}

.page-news__view-all-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__view-all-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Categories Section */
.page-news__categories-section {
  margin-bottom: 60px;
}

.page-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-news__category-card {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-news__category-image {
  width: 100%;
  height: 200px; /* Fixed height for category images */
  object-fit: cover;
  display: block;
}

.page-news__category-title {
  font-size: 20px;
  color: var(--text-main, #F2FFF6);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-news__category-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Archive Section */
.page-news__archive-section {
  margin-bottom: 60px;
}

.page-news__archive-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__archive-item {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news__archive-month {
  font-size: 24px;
  color: var(--gold-color, #F2C14E); /* Gold for archive months */
  margin-bottom: 15px;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
  padding-bottom: 10px;
}

.page-news__archive-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news__archive-item li {
  margin-bottom: 10px;
}

.page-news__archive-item li a {
  color: var(--text-secondary, #A7D9B8);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-news__archive-item li a:hover {
  color: var(--glow-color, #57E38D);
}

/* CTA Banner Section */
.page-news__cta-banner-section {
  background: linear-gradient(90deg, #0A4B2C 0%, #11A84E 100%); /* Deep green to main color gradient */
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-news__cta-banner-title {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__cta-banner-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-banner-button {
  display: inline-block;
  padding: 18px 40px;
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__cta-banner-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-news__faq-section {
  margin-bottom: 60px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2E7A4E);
  overflow: hidden;
  background: var(--card-bg, #11271B);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: var(--deep-green, #0A4B2C); /* Slightly darker on hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow-color, #57E38D); /* Green glow for toggle icon */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: var(--bg-color, #08160F); /* Page background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 16px;
}
.page-news__faq-answer p {
  margin-bottom: 10px;
}
.page-news__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-news__faq-answer a {
  color: var(--glow-color, #57E38D); /* Link color in FAQ answer */
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-news__faq-answer a:hover {
  text-decoration: underline;
}

/* Global image and button responsive styles */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__hero-cta-button,
.page-news__read-more-button,
.page-news__view-all-button,
.page-news__cta-banner-button,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__button-group,
.page-news__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 38px;
  }
  .page-news__hero-description {
    font-size: 17px;
  }
  .page-news__articles-grid,
  .page-news__categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-news__archive-list {
    grid-template-columns: 1fr;
  }
  .page-news__section-title {
    font-size: 32px;
  }
  .page-news__section-subtitle {
    font-size: 17px;
  }
}