/* style/news-industry-news.css */
/* Base styles for the page, ensuring text contrast with dark body background */
.page-news-industry-news {
  background-color: var(--background-color, #08160F); /* Fallback to custom dark background */
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-news-industry-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--background-color, #08160F);
}

.page-news-industry-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-news-industry-news__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.page-news-industry-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news-industry-news__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

/* Section Titles & Descriptions */
.page-news-industry-news__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news-industry-news__section-title--light {
  color: var(--text-main, #F2FFF6);
}

.page-news-industry-news__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-news__text-block {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-news-industry-news__text-block--light {
  color: var(--text-main, #F2FFF6);
}

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

.page-news-industry-news__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-news-industry-news__cta-button--secondary {
  background: none;
  border: 2px solid var(--border-color, #2E7A4E);
  color: var(--text-main, #F2FFF6);
}

.page-news-industry-news__cta-button--secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  box-shadow: none;
}

.page-news-industry-news__cta-button--glow {
  box-shadow: 0 0 20px var(--glow, #57E38D);
}

/* Latest News Section */
.page-news-industry-news__latest-news-section {
  padding: 80px 0;
  background-color: var(--card-bg, #11271B); /* Use card background for this section */
}

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

.page-news-industry-news__news-card {
  background-color: var(--background-color, #08160F); /* Darker background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news-industry-news__news-card:hover {
  transform: translateY(-5px);
}

.page-news-industry-news__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news-industry-news__card-content {
  padding: 20px;
}

.page-news-industry-news__card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-news-industry-news__card-title a:hover {
  color: var(--glow, #57E38D);
}

.page-news-industry-news__card-date {
  font-size: 0.9rem;
  color: var(--text-secondary, #A7D9B8);
  display: block;
  margin-bottom: 15px;
}

.page-news-industry-news__card-excerpt {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-news-industry-news__read-more-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news-industry-news__read-more-link:hover {
  text-decoration: underline;
}

.page-news-industry-news__view-all {
  text-align: center;
  margin-top: 40px;
}

/* Market Trends Section */
.page-news-industry-news__market-trends-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-news-industry-news__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 0 auto 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 800px; /* Constrain content image width */
}

/* FAQ Section */
.page-news-industry-news__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg, #11271B); /* Use card background for this section */
}

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

.page-news-industry-news__faq-item {
  background-color: var(--background-color, #08160F); /* Darker background for FAQ items */
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news-industry-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B); /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
}

.page-news-industry-news__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3);
}

.page-news-industry-news__faq-item[open] .page-news-industry-news__faq-question {
  background-color: var(--deep-green, #0A4B2C); /* Even darker when open */
}

.page-news-industry-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-news-industry-news__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Remove default details/summary marker */
.page-news-industry-news__faq-item summary {
  list-style: none;
}
.page-news-industry-news__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Call to Action Section */
.page-news-industry-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green, #0A4B2C); /* Use a deep green for strong CTA */
  color: var(--text-main, #F2FFF6);
}

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

  .page-news-industry-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news-industry-news__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

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

  .page-news-industry-news__hero-description {
    font-size: 1rem;
  }

  .page-news-industry-news__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-news-industry-news__section-description,
  .page-news-industry-news__text-block {
    font-size: 0.95rem;
  }

  .page-news-industry-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news-industry-news__card-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-news-industry-news__card-title {
    font-size: 1.1rem;
  }

  .page-news-industry-news__cta-button {
    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-industry-news__view-all {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* All image containers responsive */
  .page-news-industry-news__section,
  .page-news-industry-news__card,
  .page-news-industry-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}