/* 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: #ffffff; /* Dark body background #121212, so light text */
  background-color: transparent; /* Main content background is transparent to show body background */
}

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

.page-news-latest-industry-trends__section {
  padding: 60px 0;
}

.page-news-latest-industry-trends__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-news-latest-industry-trends__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #1a1a1a; /* A slightly lighter dark background for the hero for contrast */
}

.page-news-latest-industry-trends__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 30px;
}

.page-news-latest-industry-trends__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-news-latest-industry-trends__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-news-latest-industry-trends__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news-latest-industry-trends__btn-primary,
.page-news-latest-industry-trends__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

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

.page-news-latest-industry-trends__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  box-sizing: border-box;
}

.page-news-latest-industry-trends__card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-news-latest-industry-trends__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news-latest-industry-trends__card p {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-latest-industry-trends__btn-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: auto;
}

.page-news-latest-industry-trends__btn-link:hover {
  color: #FFFFFF;
}

.page-news-latest-industry-trends__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-news-latest-industry-trends__text-block {
  flex: 1;
}

.page-news-latest-industry-trends__image {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-news-latest-industry-trends__faq-section {
  background-color: #1a1a1a; /* A slightly lighter dark background for FAQ */
}

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

.page-news-latest-industry-trends__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker card for contrast */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-news-latest-industry-trends__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  outline: none;
}

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

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

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

.page-news-latest-industry-trends__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-news-latest-industry-trends__faq-answer p {
  margin-bottom: 10px;
}

.page-news-latest-industry-trends__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-news-latest-industry-trends__section-title {
    font-size: 2em;
  }

  .page-news-latest-industry-trends__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-news-latest-industry-trends__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-news-latest-industry-trends__image {
    order: -1; /* Image on top for mobile */
  }
}

@media (max-width: 768px) {
  .page-news-latest-industry-trends__section {
    padding: 40px 0;
  }

  .page-news-latest-industry-trends__hero-section {
    padding-bottom: 40px;
  }

  .page-news-latest-industry-trends__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-news-latest-industry-trends__description {
    font-size: 1em;
  }

  .page-news-latest-industry-trends__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-latest-industry-trends__btn-primary,
  .page-news-latest-industry-trends__btn-secondary {
    width: 100% !important;
    max-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__cta-buttons,
  .page-news-latest-industry-trends__button-group,
  .page-news-latest-industry-trends__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-news-latest-industry-trends__card {
    padding: 20px;
  }

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

  .page-news-latest-industry-trends__card p,
  .page-news-latest-industry-trends__faq-answer p {
    font-size: 0.9em;
  }

  .page-news-latest-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__hero-image {
    min-height: 200px; /* Ensure hero image is not too small on mobile */
  }

  .page-news-latest-industry-trends__image {
    min-width: 200px;
    min-height: 200px;
  }

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

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