/* style/news-industry-updates.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #00CED1; /* Teal */
  --dark-background: #1a1a2e; /* From shared.css body */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-news-industry-updates {
  color: var(--light-text-color); /* Default text color for dark body background */
  background-color: var(--dark-background);
}

/* Fixed header padding to prevent content overlap */
.page-news-industry-updates__intro-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
}

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

.page-news-industry-updates__dark-bg {
  background-color: var(--dark-background);
  color: var(--light-text-color);
}

.page-news-industry-updates__light-bg {
  background-color: var(--card-background);
  color: var(--dark-text-color);
}

.page-news-industry-updates__medium-bg {
  background-color: var(--secondary-color);
  color: var(--light-text-color); /* Light text on medium background for contrast */
}

.page-news-industry-updates__main-title {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: var(--primary-color); /* Use primary color for main title */
  line-height: 1.2;
}

.page-news-industry-updates__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-updates__intro-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__intro-text a:hover {
  text-decoration: underline;
}

.page-news-industry-updates__cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news-industry-updates__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 50px;
  color: inherit; /* Inherit color from parent section */
}

.page-news-industry-updates__section-description {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-news-industry-updates__section-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__section-description a:hover {
  text-decoration: underline;
}

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

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

.page-news-industry-updates__trend-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

.page-news-industry-updates__trend-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__trend-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-news-industry-updates__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--dark-text-color);
}

.page-news-industry-updates__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-news-industry-updates__card-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__card-text a:hover {
  text-decoration: underline;
}

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

.page-news-industry-updates__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-industry-updates__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background on medium section */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--light-text-color);
}

.page-news-industry-updates__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__feature-icon {
  width: 120px; /* Minimum size 200x200px requirement, adjust to be larger than 200px if possible, but for icon-like elements, a larger image can be scaled down */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%; /* Ensure responsiveness */
}

.page-news-industry-updates__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--light-text-color);
}

.page-news-industry-updates__feature-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--light-text-color);
}

.page-news-industry-updates__feature-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__feature-text a:hover {
  text-decoration: underline;
}

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

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

.page-news-industry-updates__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--light-text-color);
}

.page-news-industry-updates__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__strategy-card .page-news-industry-updates__card-title {
  color: var(--primary-color);
}

.page-news-industry-updates__cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news-industry-updates__cta-link:hover {
  background-color: #FFA500;
  transform: translateY(-2px);
}

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

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

.page-news-industry-updates__blog-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

.page-news-industry-updates__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news-industry-updates__blog-content {
  padding: 25px;
}

.page-news-industry-updates__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news-industry-updates__blog-title a {
  color: var(--dark-text-color);
  text-decoration: none;
}

.page-news-industry-updates__blog-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news-industry-updates__blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news-industry-updates__blog-excerpt a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__blog-excerpt a:hover {
  text-decoration: underline;
}

.page-news-industry-updates__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.page-news-industry-updates__read-more:hover {
  text-decoration: underline;
}

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

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

.page-news-industry-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-news-industry-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--dark-text-color);
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer p {
  color: var(--dark-text-color);
}

.page-news-industry-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--dark-text-color);
}

.page-news-industry-updates__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-news-industry-updates__faq-question:active {
  background: #eeeeee;
}

.page-news-industry-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-news-industry-updates__faq-question h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-updates__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-news-industry-updates__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-toggle {
  color: var(--dark-text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-updates__main-title {
    font-size: 36px;
  }
  .page-news-industry-updates__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-news-industry-updates__intro-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }

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

  .page-news-industry-updates__main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-news-industry-updates__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-news-industry-updates__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

  .page-news-industry-updates__section-title {
    font-size: 26px;
    padding-top: 40px;
    margin-bottom: 15px;
  }

  .page-news-industry-updates__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-news-industry-updates__trend-card-grid,
  .page-news-industry-updates__feature-list,
  .page-news-industry-updates__strategy-grid,
  .page-news-industry-updates__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-updates__trend-card,
  .page-news-industry-updates__feature-item,
  .page-news-industry-updates__strategy-card,
  .page-news-industry-updates__blog-card {
    padding: 20px;
  }

  .page-news-industry-updates__card-title {
    font-size: 20px;
  }

  .page-news-industry-updates__card-text {
    font-size: 15px;
  }

  .page-news-industry-updates__feature-title {
    font-size: 20px;
  }

  .page-news-industry-updates__feature-text {
    font-size: 15px;
  }

  .page-news-industry-updates__blog-image {
    height: 180px;
  }

  .page-news-industry-updates__blog-content {
    padding: 20px;
  }

  .page-news-industry-updates__blog-title {
    font-size: 18px;
  }

  .page-news-industry-updates__blog-excerpt {
    font-size: 14px;
  }

  .page-news-industry-updates__read-more {
    font-size: 14px;
  }
  
  .page-news-industry-updates__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-news-industry-updates__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-news-industry-updates__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-news-industry-updates__faq-answer {
    padding: 0 15px;
  }
  
  .page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-news-industry-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news-industry-updates__section,
  .page-news-industry-updates__card,
  .page-news-industry-updates__container,
  .page-news-industry-updates__trend-card,
  .page-news-industry-updates__feature-item,
  .page-news-industry-updates__strategy-card,
  .page-news-industry-updates__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}