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

/* Base styles for the page */
.page-news-industry-trends {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content separation */
  text-align: center;
  overflow: hidden;
}

.page-news-industry-trends__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-news-industry-trends__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-news-industry-trends__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-news-industry-trends__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-industry-trends__lead-text {
  font-size: 1.25rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Section Titles */
.page-news-industry-trends__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Text Blocks */
.page-news-industry-trends__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-news-industry-trends__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Images in Content */
.page-news-industry-trends__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news-industry-trends__image-full-width {
  max-width: 100%;
}

/* Cards */
.page-news-industry-trends__trend-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-trends__trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-news-industry-trends__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-news-industry-trends__card-text {
  font-size: 1rem;
  line-height: 1.5;
}

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

/* Lists */
.page-news-industry-trends__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-news-industry-trends__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 4px;
  color: #ffffff;
}

.page-news-industry-trends__list-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-news-industry-trends__list-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* Buttons */
.page-news-industry-trends__btn-primary,
.page-news-industry-trends__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news-industry-trends__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-news-industry-trends__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-news-industry-trends__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-news-industry-trends__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b8;
  border-color: #1e87b8;
}

.page-news-industry-trends__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Section Backgrounds */
.page-news-industry-trends__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-news-industry-trends__light-bg .page-news-industry-trends__section-title {
  color: #26A9E0;
}

.page-news-industry-trends__light-bg .page-news-industry-trends__highlight {
  color: #26A9E0;
}

/* FAQ Section */
.page-news-industry-trends__faq-section {
  padding: 60px 0;
}

.page-news-industry-trends__faq-list {
  margin-top: 30px;
}

.page-news-industry-trends__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-news-industry-trends__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-news-industry-trends__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news-industry-trends__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-news-industry-trends__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-trends__main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .page-news-industry-trends__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-news-industry-trends__container {
    padding: 0 15px;
  }

  .page-news-industry-trends__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-news-industry-trends__hero-content {
    padding: 15px;
  }

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

  .page-news-industry-trends__lead-text {
    font-size: 1rem;
  }

  .page-news-industry-trends__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-news-industry-trends__text-block,
  .page-news-industry-trends__card-text,
  .page-news-industry-trends__list-text,
  .page-news-industry-trends__faq-answer {
    font-size: 0.95rem;
  }

  .page-news-industry-trends__card-title {
    font-size: 1.3rem;
  }

  .page-news-industry-trends__list-title {
    font-size: 1.15rem;
  }

  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-news-industry-trends__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile image and container responsiveness */
  .page-news-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-trends__section,
  .page-news-industry-trends__card,
  .page-news-industry-trends__container,
  .page-news-industry-trends__hero-section,
  .page-news-industry-trends__introduction-section,
  .page-news-industry-trends__trends-section,
  .page-news-industry-trends__impact-section,
  .page-news-industry-trends__outlook-section,
  .page-news-industry-trends__cta-section,
  .page-news-industry-trends__faq-section,
  .page-news-industry-trends__faq-list,
  .page-news-industry-trends__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Add horizontal padding to main content containers on mobile */
  .page-news-industry-trends__container,
  .page-news-industry-trends__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-news-industry-trends__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
  }
}

@media (max-width: 480px) {
  .page-news-industry-trends__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

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

  .page-news-industry-trends__lead-text {
    font-size: 0.9rem;
  }

  .page-news-industry-trends__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-news-industry-trends__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.9rem;
  }
}