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

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding for visual */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

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

.page-news__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-news__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 0, 0.3);
}

.page-news__section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-news__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-news__section-intro {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__content-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-news__sub-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-news__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-news__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-news__video-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-news__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

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

.page-news__cta-button--small {
  font-size: 1em;
  padding: 12px 25px;
}

.page-news__news-list-section {
  background-color: #08160F;
}

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

.page-news__news-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.2);
}

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

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

.page-news__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-news__news-title a:hover {
  color: #57E38D; /* Glow */
}

.page-news__news-excerpt {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-news__news-meta {
  font-size: 0.85em;
  color: #2AD16F;
}

.page-news__button-group {
  text-align: center;
  margin-top: 50px;
}

.page-news__cta-button--outline {
  background: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-news__cta-button--outline:hover {
  background: #2AD16F;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 255, 0, 0.3);
}

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

.page-news__faq-list {
  margin-top: 40px;
}

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

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

.page-news__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-news__faq-item[open] .page-news__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

.page-news__faq-item details > summary {
  list-style: none;
}

.page-news__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-news__cta-bottom {
  background: linear-gradient(180deg, #13994A 0%, #0A4B2C 100%); /* Deep Green to darker */
  text-align: center;
  padding: 80px 0;
}

.page-news__cta-content {
  max-width: 900px;
}

.page-news__cta-title {
  font-size: clamp(2em, 3.5vw, 3em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
}

.page-news__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-image-wrapper {
    max-height: 400px;
  }
  .page-news__news-thumbnail {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-news__hero-image-wrapper {
    max-height: 300px;
  }

  .page-news__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

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

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

  .page-news__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-news__section,
  .page-news__cta-bottom {
    padding: 40px 0;
  }

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

  .page-news__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-news__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

  .page-news__news-thumbnail {
    height: auto !important;
    max-height: 200px !important; /* Keep a reasonable max-height for cards */
  }

  /* Video responsive */
  .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;
  }
  .page-news__video-section {
    padding-top: 10px !important;
  }

  /* Buttons responsive */
  .page-news__cta-button,
  .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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  .page-news__button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
  }
  .page-news__button-group .page-news__cta-button {
    margin-bottom: 0; /* Reset individual button margin if in group */
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-news__news-card {
    margin-bottom: 20px;
  }

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

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

  .page-news__cta-title {
    font-size: 1.8em;
  }

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

  .page-news__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.6em;
  }
  .page-news__sub-title {
    font-size: 1.2em;
  }
  .page-news__news-title {
    font-size: 1.2em;
  }
  .page-news__faq-question {
    font-size: 1em;
  }
  .page-news__cta-title {
    font-size: 1.6em;
  }
}