/* style/news.css */
.page-news {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* 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;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed for hero image aspect ratio */
  overflow: hidden;
}

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

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

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-news__section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Complementary to primary green */
  border: 2px solid #2E7A4E; /* Border */
}

.page-news__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-news__latest-articles-section,
.page-news__industry-insights-section,
.page-news__faq-section,
.page-news__cta-banner {
  padding: 60px 0;
}

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

.page-news__article-card {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

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

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

.page-news__article-title {
  font-size: 1.4rem;
  font-weight: 600;
  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; /* Lighter green for hover */
}

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

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

.page-news__read-more-link {
  color: #2AD16F; /* Lighter green */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  align-self: flex-start;
}

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

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

.page-news__insight-item {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__insight-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-news__insight-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

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

.page-news__faq-item {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-question:hover {
  background-color: #13994A; /* Darker green on hover */
}

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

.page-news__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: '−'; /* Changed by JS */
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-news__faq-answer p {
  margin-bottom: 0;
}

.page-news__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-news__faq-answer a:hover {
  color: #57E38D;
}

.page-news__cta-banner {
  background: #0A4B2C; /* Deep Green */
  padding: 80px 0;
  text-align: center;
}

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

.page-news__cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px;
  }

  .page-news__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-news__intro-text {
    font-size: 1rem;
  }

  .page-news__section-title {
    font-size: 1.8rem;
  }

  .page-news__cta-title {
    font-size: 2rem;
  }

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

  .page-news__hero-section,
  .page-news__latest-articles-section,
  .page-news__industry-insights-section,
  .page-news__faq-section,
  .page-news__cta-banner {
    padding: 40px 0;
  }

  .page-news__articles-grid,
  .page-news__insights-grid {
    grid-template-columns: 1fr;
  }

  .page-news__cta-button,
  .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;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-news__view-all-button-container {
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__hero-image-wrapper,
  .page-news__article-image,
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-content,
  .page-news__latest-articles-section,
  .page-news__industry-insights-section,
  .page-news__faq-section,
  .page-news__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news__article-image {
    height: auto; /* Allow height to adjust for mobile */
  }

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

  .page-news__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }
}