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

/* Base Styles */
.page-news-latest-industry-updates {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color);
}

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

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

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

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

.page-news-latest-industry-updates__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-news-latest-industry-updates__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  box-sizing: border-box;
}

.page-news-latest-industry-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-news-latest-industry-updates__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.page-news-latest-industry-updates__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-news-latest-industry-updates__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* CTA Button */
.page-news-latest-industry-updates__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-news-latest-industry-updates__btn-primary:hover {
  background-color: #1a7fb0;
  transform: translateY(-3px);
}

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

.page-news-latest-industry-updates__btn-secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

/* Section Specific Styles */
.page-news-latest-industry-updates__introduction-section .page-news-latest-industry-updates__paragraph,
.page-news-latest-industry-updates__introduction-section .page-news-latest-industry-updates__section-title {
  color: #f0f0f0;
}

.page-news-latest-industry-updates__introduction-section .page-news-latest-industry-updates__section-title {
  color: #26A9E0;
}

.page-news-latest-industry-updates__dark-bg {
  background-color: #1a1a1a; /* Slightly darker than body to create contrast */
  color: #ffffff;
}

.page-news-latest-industry-updates__dark-bg .page-news-latest-industry-updates__section-title {
  color: #26A9E0;
}

.page-news-latest-industry-updates__dark-bg .page-news-latest-industry-updates__paragraph {
  color: #f0f0f0;
}

.page-news-latest-industry-updates__trend-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  border-left: 5px solid #26A9E0;
}

.page-news-latest-industry-updates__trend-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-news-latest-industry-updates__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-news-latest-industry-updates__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 3px solid #26A9E0;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-news-latest-industry-updates__list-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-news-latest-industry-updates__faq-section {
  background-color: var(--black-color);
}

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

.page-news-latest-industry-updates__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-latest-industry-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news-latest-industry-updates__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news-latest-industry-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-news-latest-industry-updates__faq-answer {
  padding: 0 25px 20px;
  color: #f0f0f0;
  font-size: 1.05em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

/* For details tag, native behavior */
.page-news-latest-industry-updates__faq-item[open] .page-news-latest-industry-updates__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-news-latest-industry-updates__faq-item details > summary {
  list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news-latest-industry-updates__hero-title {
    font-size: 2.8em;
  }
  .page-news-latest-industry-updates__hero-description {
    font-size: 1.1em;
  }
  .page-news-latest-industry-updates__section-title {
    font-size: 2em;
  }
  .page-news-latest-industry-updates__trend-title {
    font-size: 1.5em;
  }
}

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

  .page-news-latest-industry-updates__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-news-latest-industry-updates__hero-title {
    font-size: 2em;
  }

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

  .page-news-latest-industry-updates__section {
    padding: 40px 0;
  }

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

  .page-news-latest-industry-updates__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure images are responsive and do not overflow */
  .page-news-latest-industry-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-latest-industry-updates__section,
  .page-news-latest-industry-updates__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-news-latest-industry-updates__trend-item,
  .page-news-latest-industry-updates__list-item,
  .page-news-latest-industry-updates__faq-item {
    padding: 20px;
  }

  .page-news-latest-industry-updates__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-news-latest-industry-updates__faq-answer {
    padding: 0 20px 15px;
  }

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

@media (max-width: 480px) {
  .page-news-latest-industry-updates__hero-title {
    font-size: 1.8em;
  }
  .page-news-latest-industry-updates__hero-description {
    font-size: 0.9em;
  }
  .page-news-latest-industry-updates__section-title {
    font-size: 1.5em;
  }
}