/* style/blog-latest-industry-news.css */

.page-blog-latest-industry-news {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-blog-latest-industry-news__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 0;
  overflow: hidden;
}

.page-blog-latest-industry-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-blog-latest-industry-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-blog-latest-industry-news__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog-latest-industry-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-blog-latest-industry-news__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-blog-latest-industry-news__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog-latest-industry-news__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-blog-latest-industry-news__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
}

.page-blog-latest-industry-news__article-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-latest-industry-news__subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-latest-industry-news__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-latest-industry-news__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-latest-industry-news__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-latest-industry-news__list-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-latest-industry-news__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-latest-industry-news__cta-section {
  text-align: center;
  background-color: #000000;
  padding: 50px 20px;
  margin-top: 50px;
  border-radius: 10px;
}

.page-blog-latest-industry-news__cta-text {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.page-blog-latest-industry-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-latest-industry-news__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-blog-latest-industry-news__button--register:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.page-blog-latest-industry-news__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog-latest-industry-news__button--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-blog-latest-industry-news__related-links {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-latest-industry-news__related-item {
  margin-bottom: 15px;
}

.page-blog-latest-industry-news__related-item a {
  color: #FCBC45;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-blog-latest-industry-news__related-item a:hover {
  color: #e0a53b;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-latest-industry-news__hero-title {
    font-size: 2em;
  }

  .page-blog-latest-industry-news__hero-description {
    font-size: 1em;
  }

  .page-blog-latest-industry-news__article-title {
    font-size: 1.8em;
  }

  .page-blog-latest-industry-news__subtitle {
    font-size: 1.5em;
  }

  .page-blog-latest-industry-news__paragraph,
  .page-blog-latest-industry-news__list-title,
  .page-blog-latest-industry-news__cta-text,
  .page-blog-latest-industry-news__related-item a {
    font-size: 1em;
  }

  .page-blog-latest-industry-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-latest-industry-news__button {
    width: 100%;
    max-width: 250px; /* Constrain button width on mobile */
    margin: 0 auto;
  }

  .page-blog-latest-industry-news__content-area {
    padding: 20px 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-blog-latest-industry-news img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog-latest-industry-news__hero-title {
    font-size: 1.5em;
  }

  .page-blog-latest-industry-news__hero-description {
    font-size: 0.9em;
  }

  .page-blog-latest-industry-news__hero-content {
    padding: 15px;
  }

  .page-blog-latest-industry-news__article-title {
    font-size: 1.5em;
  }

  .page-blog-latest-industry-news__subtitle {
    font-size: 1.3em;
  }
}