/* style/news-industry-trends.css */

/* Base styles for the page content */
.page-news-industry-trends {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212;
}

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

/* Hero Section */
.page-news-industry-trends__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjust padding-top for header offset */
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-news-industry-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-news-industry-trends__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-news-industry-trends__intro-text {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-news-industry-trends__content-area {
  padding: 60px 0;
}

.page-news-industry-trends__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-news-industry-trends__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-news-industry-trends__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-industry-trends__section-title--gold {
  color: #FFD700;
}

.page-news-industry-trends__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-news-industry-trends__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

/* Article Blocks */
.page-news-industry-trends__article-block {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-news-industry-trends__light-bg .page-news-industry-trends__article-block {
  background-color: #f9f9f9;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-news-industry-trends__article-subtitle {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-news-industry-trends__article-block p {
  margin-bottom: 15px;
}

.page-news-industry-trends__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-news-industry-trends__list-item {
  margin-bottom: 10px;
}

.page-news-industry-trends__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Buttons */
.page-news-industry-trends__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #121212; /* Dark text for gold background for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-news-industry-trends__btn-primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-news-industry-trends__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-news-industry-trends__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-news-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #3a3a3a;
  transition: background-color 0.3s ease;
}

.page-news-industry-trends__faq-question:hover {
  background-color: #4a4a4a;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-toggle {
  transform: rotate(45deg);
}

.page-news-industry-trends__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-news-industry-trends__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-news-industry-trends__cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.page-news-industry-trends__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-trends__main-title {
    font-size: 2.8em;
  }

  .page-news-industry-trends__section-title {
    font-size: 2.2em;
  }

  .page-news-industry-trends__article-subtitle {
    font-size: 1.6em;
  }
}

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

  .page-news-industry-trends__hero-section {
    padding: 100px 0 40px; /* Adjust for mobile header */
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-news-industry-trends__main-title {
    font-size: 2.2em;
  }

  .page-news-industry-trends__intro-text {
    font-size: 1em;
  }

  .page-news-industry-trends__section-title {
    font-size: 1.8em;
  }

  .page-news-industry-trends__article-subtitle {
    font-size: 1.4em;
  }

  .page-news-industry-trends__content-area,
  .page-news-industry-trends__faq-section,
  .page-news-industry-trends__cta-section {
    padding: 40px 0;
  }

  .page-news-industry-trends__container {
    padding: 0 15px;
  }

  .page-news-industry-trends__article-block {
    padding: 20px;
    margin-bottom: 30px;
  }

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

  /* Ensure image containers do not overflow */
  .page-news-industry-trends__hero-section,
  .page-news-industry-trends__content-area,
  .page-news-industry-trends__article-block,
  .page-news-industry-trends__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Buttons responsive */
  .page-news-industry-trends__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-news-industry-trends__faq-answer {
    padding: 0 20px;
  }

  .page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
    padding: 10px 20px 15px;
  }
}

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

  .page-news-industry-trends__section-title {
    font-size: 1.6em;
  }

  .page-news-industry-trends__article-subtitle {
    font-size: 1.2em;
  }

  .page-news-industry-trends__btn-primary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}