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

/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Base styles for the page content */
.page-news-industry-updates {
  background-color: var(--page-bg-color); /* Matches background: #08160F */
  color: var(--text-main-color); /* Matches Text Main: #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

/* Color Contrast Handling */
.page-news-industry-updates__dark-bg {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

.page-news-industry-updates__light-bg {
  background-color: #ffffff; /* Using white for light background sections for contrast */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-news-industry-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0;
  padding-bottom: 60px; /* Space below content */
}

.page-news-industry-updates__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news-industry-updates__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-news-industry-updates__hero-content-area {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Pull content up over image a bit for better flow */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-news-industry-updates__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-news-industry-updates__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-news-industry-updates__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news-industry-updates__btn-primary {
  background: var(--btn-gradient); /* Matches Button: linear-gradient */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-news-industry-updates__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-news-industry-updates__btn-secondary {
  background-color: transparent;
  color: var(--gold-color); /* Gold text for secondary button */
  border: 2px solid var(--gold-color);
}

.page-news-industry-updates__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--page-bg-color); /* Dark text on gold hover */
  transform: translateY(-3px);
}

/* Section Titles */
.page-news-industry-updates__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-industry-updates__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--glow-color);
  border-radius: 2px;
}

/* Text Blocks */
.page-news-industry-updates__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-news-industry-updates__light-bg .page-news-industry-updates__text-block {
  color: #333333;
}

/* Grid Container for Cards */
.page-news-industry-updates__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-news-industry-updates__card,
.page-news-industry-updates__promotion-card,
.page-news-industry-updates__commitment-item {
  background-color: var(--card-bg-color); /* Matches Card BG: #11271B */
  color: var(--text-main-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* Matches Border: #2E7A4E */
}

.page-news-industry-updates__card:hover,
.page-news-industry-updates__promotion-card:hover,
.page-news-industry-updates__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-news-industry-updates__card-image,
.page-news-industry-updates__promotion-image,
.page-news-industry-updates__commitment-icon {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--divider-color); /* Matches Divider: #1E3A2A */
}

.page-news-industry-updates__commitment-icon {
  height: 150px;
  object-fit: contain;
  padding: 20px;
}

.page-news-industry-updates__card-title,
.page-news-industry-updates__promotion-title,
.page-news-industry-updates__commitment-heading {
  font-size: 1.4rem;
  color: var(--gold-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-news-industry-updates__card-text,
.page-news-industry-updates__promotion-description,
.page-news-industry-updates__commitment-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  padding: 0 20px 20px;
}

.page-news-industry-updates__card-link {
  display: block;
  text-align: center;
  padding: 15px 20px;
  background-color: var(--deep-green-color); /* Matches Deep Green: #0A4B2C */
  color: var(--text-main-color);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news-industry-updates__card-link:hover {
  background-color: #13994A; /* Slightly lighter green on hover */
}

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

.page-news-industry-updates__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-main-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-news-industry-updates__list-item strong {
  color: var(--gold-color);
}

.page-news-industry-updates__light-bg .page-news-industry-updates__list-item {
  background-color: #f8f8f8;
  color: #333333;
  border-color: #e0e0e0;
}

/* FAQ Section */
.page-news-industry-updates__faq-list {
  margin-top: 40px;
}

.page-news-industry-updates__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-news-industry-updates__light-bg .page-news-industry-updates__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
}

.page-news-industry-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gold-color);
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-news-industry-updates__faq-question::-webkit-details-marker {
  display: none;
}

.page-news-industry-updates__faq-question:hover {
  background-color: var(--deep-green-color);
}

.page-news-industry-updates__light-bg .page-news-industry-updates__faq-question {
  color: #11A84E; /* Brand primary color for questions on light background */
}

.page-news-industry-updates__light-bg .page-news-industry-updates__faq-question:hover {
  background-color: #f0f0f0;
}

.page-news-industry-updates__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow-color);
}

.page-news-industry-updates__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary-color);
}

.page-news-industry-updates__light-bg .page-news-industry-updates__faq-answer {
  color: #555555;
}

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

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

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

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

  .page-news-industry-updates__hero-content-area {
    padding: 20px;
    margin-top: -60px;
  }

  .page-news-industry-updates__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-news-industry-updates__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-news-industry-updates__btn-primary,
  .page-news-industry-updates__btn-secondary,
  .page-news-industry-updates a[class*="button"],
  .page-news-industry-updates 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: 12px 20px;
    font-size: 1rem;
  }

  .page-news-industry-updates__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-news-industry-updates__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-updates__card-image,
  .page-news-industry-updates__promotion-image,
  .page-news-industry-updates__commitment-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-industry-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-industry-updates__card,
  .page-news-industry-updates__promotion-card,
  .page-news-industry-updates__commitment-item,
  .page-news-industry-updates__list-item,
  .page-news-industry-updates__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px;
  }

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

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

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

  .page-news-industry-updates__video-container,
  .page-news-industry-updates__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news-industry-updates video,
  .page-news-industry-updates__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure content area images are at least 200px */
.page-news-industry-updates__card-image,
.page-news-industry-updates__promotion-image,
.page-news-industry-updates__commitment-icon {
  min-width: 200px;
  min-height: 200px;
}

.page-news-industry-updates__hero-image {
  min-width: 200px;
  min-height: 200px;
}