.page-news {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit image height to maintain aspect ratio for hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image a bit for design, but not covering text */
  background-color: rgba(17, 40, 27, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #F2FFF6; /* Text Main for buttons */
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-news__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* From Primary Button Gradient */
  border: 2px solid #2E7A4E; /* Custom Border Color */
}

.page-news__btn-secondary:hover {
  background: #2E7A4E; /* Border color on hover */
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 122, 78, 0.4);
}

.page-news__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-news__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-news__overview-section,
.page-news__categories-section,
.page-news__latest-articles,
.page-news__guide-section,
.page-news__faq-section,
.page-news__conclusion-section {
  padding: 60px 0;
}

.page-news__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__grid--three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-news__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #F2FFF6;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-news__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-news__card--no-image .page-news__card-text {
    margin-bottom: 20px;
}

.page-news__link {
  color: #2AD16F; /* From Primary Button Gradient */
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-news__link:hover {
  color: #57E38D; /* Glow color */
  text-decoration: underline;
}

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

.page-news__article-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-news__article-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #2AD16F; /* From Primary Button Gradient */
}

.page-news__article-meta {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  color: #2AD16F; /* From Primary Button Gradient */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #57E38D; /* Glow color */
  text-decoration: underline;
}

.page-news__view-all {
  text-align: center;
  margin-top: 50px;
}

.page-news__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  transition: background-color 0.3s ease;
  list-style: none; /* For details tag */
}

.page-news__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details tag */
}

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #13994A; /* Darker green when open */
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

.page-news__conclusion-section .page-news__text-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-news__conclusion-section .page-news__cta-buttons {
  margin-top: 30px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-news__hero-content {
    margin-top: -100px;
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__container {
    padding: 0 15px;
  }

  .page-news__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-news__hero-content {
    margin-top: -80px;
    padding: 20px 15px;
  }

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

  .page-news__description {
    font-size: 1em;
  }

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

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-news__sub-title {
    font-size: 1.3em;
  }

  .page-news__overview-section,
  .page-news__categories-section,
  .page-news__latest-articles,
  .page-news__guide-section,
  .page-news__faq-section,
  .page-news__conclusion-section {
    padding: 40px 0;
  }

  .page-news__grid,
  .page-news__grid--three-cols,
  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__card,
  .page-news__article-card {
    padding: 20px;
  }

  .page-news__card-image,
  .page-news__article-image {
    height: 180px;
  }

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

  .page-news__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  /* Force images to be responsive on mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force video to be responsive on mobile */
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video section top padding on mobile */
  .page-news__video-section {
    padding-top: 10px !important;
  }

  /* Ensure all containers with images/videos/buttons adapt */
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }

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

  .page-news__hero-content {
    margin-top: -60px;
    padding: 15px 10px;
  }

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

  .page-news__faq-answer {
    padding: 15px;
  }
}