:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly lighter for cards */
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-news-industry-news {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Light text on dark body background */
  background-color: var(--bg-dark); /* Body background from shared.css is #121212 */
  line-height: 1.6;
  font-size: 16px;
}

/* 🚨 Fixed header padding: Ensure content is not hidden by the fixed header */
.page-news-industry-news__main-wrapper {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

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

/* Hero Section */
.page-news-industry-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(139, 0, 0, 0.7) 50%, var(--bg-dark) 100%);
  border-bottom: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.page-news-industry-news__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:lucky88 best,pattern,abstract,dark]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-news-industry-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-news-industry-news__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-news-industry-news__hero-description strong {
  color: var(--primary-color);
}

.page-news-industry-news__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-news-industry-news__cta-button:hover {
  background-color: #e0b800; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-industry-news__hero-image-wrapper {
  margin-top: 40px;
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-news-industry-news__hero-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section Titles and Descriptions */
.page-news-industry-news__section-title {
  font-size: 38px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-news-industry-news__section-description {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

/* Latest News Articles Section */
.page-news-industry-news__latest-news-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-news-industry-news__news-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news-industry-news__news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-news-industry-news__news-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news-industry-news__news-title strong {
  color: var(--primary-color);
}

.page-news-industry-news__news-excerpt {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-news-industry-news__news-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* Industry Insights Section */
.page-news-industry-news__insights-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03); /* Slightly different dark background */
  border-top: 1px solid var(--border-color-dark);
}

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

.page-news-industry-news__insight-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-industry-news__insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news-industry-news__insight-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-news-industry-news__insight-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news-industry-news__insight-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1; /* Make text block grow to push button to bottom */
}

.page-news-industry-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start; /* Align button to start */
}

.page-news-industry-news__read-more-button:hover {
  background-color: #a00000;
}

/* Editorial Section */
.page-news-industry-news__editorial-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color-dark);
}

.page-news-industry-news__editorial-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.page-news-industry-news__editorial-content strong {
  color: var(--primary-color);
}

/* Bottom CTA Section */
.page-news-industry-news__bottom-cta-section {
  background: linear-gradient(45deg, var(--primary-color) 0%, #e0b800 100%);
  padding: 80px 20px;
  text-align: center;
  border-top: 5px solid var(--secondary-color);
}

.page-news-industry-news__bottom-cta-content {
  max-width: 900px;
}

.page-news-industry-news__bottom-cta-title {
  font-size: 42px;
  color: var(--text-dark); /* Dark text on gold background */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.page-news-industry-news__bottom-cta-description {
  font-size: 20px;
  color: var(--text-dark); /* Dark text on gold background */
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-news-industry-news__bottom-cta-description strong {
  color: var(--secondary-color);
}

.page-news-industry-news__cta-button--large {
  padding: 18px 45px;
  font-size: 20px;
  border-radius: 50px;
  background-color: var(--secondary-color); /* Dark red button on gold background */
  color: var(--text-light); /* Light text on dark red button */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news-industry-news__cta-button--large:hover {
  background-color: #a00000;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-news__hero-title {
    font-size: 42px;
  }
  .page-news-industry-news__hero-description {
    font-size: 18px;
  }
  .page-news-industry-news__section-title {
    font-size: 34px;
  }
  .page-news-industry-news__section-description {
    font-size: 16px;
  }
  .page-news-industry-news__news-title {
    font-size: 20px;
  }
  .page-news-industry-news__insight-title {
    font-size: 22px;
  }
  .page-news-industry-news__bottom-cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  /* 🚨 Mobile specific padding-top to ensure content is not hidden by fixed header */
  .page-news-industry-news__main-wrapper {
    padding-top: 100px !important; /* Mobile: Adjust based on actual mobile header height */
  }

  .page-news-industry-news__hero-section {
    padding: 40px 15px;
  }
  .page-news-industry-news__hero-title {
    font-size: 32px;
  }
  .page-news-industry-news__hero-description {
    font-size: 16px;
  }
  .page-news-industry-news__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news-industry-news__section-title {
    font-size: 28px;
  }
  .page-news-industry-news__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .page-news-industry-news__latest-news-section,
  .page-news-industry-news__insights-section,
  .page-news-industry-news__editorial-section,
  .page-news-industry-news__bottom-cta-section {
    padding: 40px 0;
  }

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

  .page-news-industry-news__article-grid,
  .page-news-industry-news__insights-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-news-industry-news__news-excerpt {
    font-size: 15px;
  }

  .page-news-industry-news__insight-card {
    padding: 25px;
  }

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

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

  .page-news-industry-news__read-more-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news-industry-news__editorial-content p {
    font-size: 16px;
  }

  .page-news-industry-news__bottom-cta-title {
    font-size: 28px;
  }

  .page-news-industry-news__bottom-cta-description {
    font-size: 16px;
  }

  .page-news-industry-news__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* 🚨 Image responsive adaptation (MUST include) */
  .page-news-industry-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* 🚨 All containers with images or buttons must be max-width: 100% */
  .page-news-industry-news__hero-section,
  .page-news-industry-news__latest-news-section,
  .page-news-industry-news__insights-section,
  .page-news-industry-news__editorial-section,
  .page-news-industry-news__bottom-cta-section,
  .page-news-industry-news__container,
  .page-news-industry-news__article-grid,
  .page-news-industry-news__insights-grid,
  .page-news-industry-news__news-card,
  .page-news-industry-news__insight-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
}

@media (max-width: 480px) {
  .page-news-industry-news__hero-title {
    font-size: 28px;
  }
  .page-news-industry-news__section-title {
    font-size: 24px;
  }
  .page-news-industry-news__bottom-cta-title {
    font-size: 24px;
  }
}