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

/* Base styles for the page content */
.page-news-latest-industry-trends {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color, #333333); /* Default text color, will be adjusted by body background */
  background-color: var(--dark-bg-1); /* Inherited from shared, likely dark */
}

/* Ensure text color is light on dark body background */
.page-news-latest-industry-trends {
  color: #ffffff; /* Forced light text on dark body background */
}

/* Sections */
.page-news-latest-industry-trends__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-news-latest-industry-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim image for text readability */
}

.page-news-latest-industry-trends__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-news-latest-industry-trends__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-latest-industry-trends__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news-latest-industry-trends__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news-latest-industry-trends__cta-button:hover {
  background-color: #1e87b9;
}

/* General Section Styles */
.page-news-latest-industry-trends__introduction-section,
.page-news-latest-industry-trends__trends-section,
.page-news-latest-industry-trends__impact-section,
.page-news-latest-industry-trends__future-section,
.page-news-latest-industry-trends__faq-section,
.page-news-latest-industry-trends__cta-section {
  padding: 80px 20px;
}

.page-news-latest-industry-trends__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news-latest-industry-trends__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for contrast */
}

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

/* Backgrounds for sections for contrast */
.page-news-latest-industry-trends__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-news-latest-industry-trends__dark-bg {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text on dark background */
}

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

.page-news-latest-industry-trends__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-latest-industry-trends__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-news-latest-industry-trends__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-news-latest-industry-trends__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Impact Section */
.page-news-latest-industry-trends__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-news-latest-industry-trends__text-content {
  color: #333333;
}

.page-news-latest-industry-trends__image-wrapper {
  text-align: center;
}

.page-news-latest-industry-trends__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

/* Video Section */
.page-news-latest-industry-trends__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-news-latest-industry-trends__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0,0,0,0); /* Transparent overlay for click */
  cursor: pointer;
}

/* FAQ Section */
.page-news-latest-industry-trends__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-news-latest-industry-trends__faq-question:hover {
  background-color: #f0f0f0;
}

.page-news-latest-industry-trends__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #333333;
}

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

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

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

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

.page-news-latest-industry-trends__faq-answer p {
  margin: 0;
  color: #555555;
}

/* CTA Section */
.page-news-latest-industry-trends__cta-section {
  text-align: center;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}

.page-news-latest-industry-trends__cta-section .page-news-latest-industry-trends__section-title {
  color: #ffffff;
}

.page-news-latest-industry-trends__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-news-latest-industry-trends__btn-primary {
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news-latest-industry-trends__btn-primary:hover {
  background-color: #cc6c06;
}

.page-news-latest-industry-trends__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-news-latest-industry-trends__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Copyright */
.page-news-latest-industry-trends__copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #cccccc;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-news-latest-industry-trends__hero-title {
    font-size: 2.2em;
  }
  .page-news-latest-industry-trends__hero-description {
    font-size: 1.1em;
  }
  .page-news-latest-industry-trends__section-title {
    font-size: 1.8em;
  }
  .page-news-latest-industry-trends__content-grid {
    grid-template-columns: 1fr; /* Stack content on smaller screens */
  }
  .page-news-latest-industry-trends__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-news-latest-industry-trends__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
  }
  .page-news-latest-industry-trends__hero-title {
    font-size: 1.8em;
  }
  .page-news-latest-industry-trends__hero-description {
    font-size: 1em;
  }
  .page-news-latest-industry-trends__section-title {
    font-size: 1.6em;
  }
  .page-news-latest-industry-trends__introduction-section,
  .page-news-latest-industry-trends__trends-section,
  .page-news-latest-industry-trends__impact-section,
  .page-news-latest-industry-trends__future-section,
  .page-news-latest-industry-trends__faq-section,
  .page-news-latest-industry-trends__cta-section {
    padding: 40px 15px;
  }

  /* Images responsive */
  .page-news-latest-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-latest-industry-trends__card-image {
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important; /* Ensure min height for card images */
  }

  /* Video responsive */
  .page-news-latest-industry-trends video,
  .page-news-latest-industry-trends__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-latest-industry-trends__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-news-latest-industry-trends__cta-button,
  .page-news-latest-industry-trends__btn-primary,
  .page-news-latest-industry-trends__btn-secondary,
  .page-news-latest-industry-trends a[class*="button"],
  .page-news-latest-industry-trends 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;
  }
  .page-news-latest-industry-trends__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content area padding for mobile */
  .page-news-latest-industry-trends__section,
  .page-news-latest-industry-trends__card,
  .page-news-latest-industry-trends__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news-latest-industry-trends__faq-question,
  .page-news-latest-industry-trends__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}