/* style/news-industry-latest.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0d1117;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-news-industry-latest {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css, but for clarity */
}

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

/* Fixed header padding for main content */
.page-news-industry-latest__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
}

.page-news-industry-latest__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news-industry-latest__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news-industry-latest__cta-buttons--center {
  margin-top: 40px;
}

.page-news-industry-latest__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-news-industry-latest__cta-button--secondary {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  box-shadow: none;
}

.page-news-industry-latest__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-news-industry-latest__content-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

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

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

.page-news-industry-latest__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-news-industry-latest__dark-bg .page-news-industry-latest__section-title {
  color: var(--text-light);
}

.page-news-industry-latest__light-bg .page-news-industry-latest__section-title {
  color: var(--text-dark);
}

.page-news-industry-latest__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-news-industry-latest__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-news-industry-latest__main-title {
    font-size: 2.5em;
  }
  .page-news-industry-latest__section-title {
    font-size: 2em;
  }
  .page-news-industry-latest__hero-description,
  .page-news-industry-latest__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-news-industry-latest__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    padding-bottom: 40px;
  }
  .page-news-industry-latest__section,
  .page-news-industry-latest__content-section {
    padding: 40px 0;
  }
  .page-news-industry-latest__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news-industry-latest__main-title {
    font-size: 2em;
  }
  .page-news-industry-latest__section-title {
    font-size: 1.8em;
  }
  .page-news-industry-latest__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news-industry-latest__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news-industry-latest__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .page-news-industry-latest__main-title {
    font-size: 1.8em;
  }
  .page-news-industry-latest__section-title {
    font-size: 1.5em;
  }
  .page-news-industry-latest__hero-description {
    font-size: 0.95em;
  }
  .page-news-industry-latest__text-block {
    font-size: 0.9em;
  }
}