/* style/news-latest-industry-trends.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f8f8f8;
  --border-color: #444444;
}

.page-news-latest-industry-trends {
  color: var(--text-color-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Ensure overall page background is dark */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed Navbar Padding */
.page-news-latest-industry-trends__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0,0,0,0.8) 100%);
  text-align: center;
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
}

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

.page-news-latest-industry-trends__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-news-latest-industry-trends__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news-latest-industry-trends__cta-group--center {
  margin-top: 40px;
}

.page-news-latest-industry-trends__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-news-latest-industry-trends__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  border: 2px solid var(--secondary-color);
}

.page-news-latest-industry-trends__cta-button--primary:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__cta-button--secondary {
  background-color: transparent;
  color: var(--text-color-light);
  border: 2px solid var(--text-color-light);
}

.page-news-latest-industry-trends__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__content-section {
  padding: 80px 0;
}

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

.page-news-latest-industry-trends__section--dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast with pure black body */
  color: var(--text-color-light);
}

.page-news-latest-industry-trends__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-latest-industry-trends__section--white-bg .page-news-latest-industry-trends__section-title {
  color: var(--primary-color);
}

.page-news-latest-industry-trends__section--dark-bg .page-news-latest-industry-trends__section-title {
  color: var(--secondary-color);
}

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

.page-news-latest-industry-trends__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: justify;
}

.page-news-latest-industry-trends__section--white-bg .page-news-latest-industry-trends__text-block {
  color: var(--text-color-dark);
}

.page-news-latest-industry-trends__section--dark-bg .page-news-latest-industry-trends__text-block {
  color: rgba(255, 255, 255, 0.85);
}

.page-news-latest-industry-trends__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-news-latest-industry-trends__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

.page-news-latest-industry-trends__image-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-news-latest-industry-trends__image-item .page-news-latest-industry-trends__image {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-news-latest-industry-trends__image-caption {
  color: var(--text-color-dark);
  padding: 15px;
  font-weight: bold;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-latest-industry-trends__main-title {
    font-size: 2.8em;
  }
  .page-news-latest-industry-trends__subtitle {
    font-size: 1.2em;
  }
  .page-news-latest-industry-trends__section-title {
    font-size: 2em;
  }
  .page-news-latest-industry-trends__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-news-latest-industry-trends__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news-latest-industry-trends__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news-latest-industry-trends__main-title {
    font-size: 2.2em;
  }

  .page-news-latest-industry-trends__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-news-latest-industry-trends__cta-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-news-latest-industry-trends__content-section {
    padding: 50px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-news-latest-industry-trends__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news-latest-industry-trends__image-wrapper,
  .page-news-latest-industry-trends__image-grid {
    margin-left: 15px;
    margin-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news-latest-industry-trends__image,
  .page-news-latest-industry-trends__image-item .page-news-latest-industry-trends__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .page-news-latest-industry-trends__image-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news-latest-industry-trends__image-caption {
    font-size: 1em;
    padding: 10px;
  }
}