.page-resources-latest-news {
  color: #333333; /* Dark text for light body background */
}

.page-resources-latest-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* For PC to prevent header overlap */
  background-color: #000000; /* Dark background for hero section */
}

.page-resources-latest-news__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Constrain hero content width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-resources-latest-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-resources-latest-news__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
}

.page-resources-latest-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources-latest-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources-latest-news__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-latest-news__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-latest-news__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-latest-news__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-resources-latest-news__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-latest-news__button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-resources-latest-news__article-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-resources-latest-news__article-container {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-latest-news__article-heading {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-latest-news__article-intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  text-align: center;
  color: #555555;
}

.page-resources-latest-news__sub-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-latest-news__paragraph {
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-latest-news__article-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure content images are not too small */
  min-height: 200px;
}

.page-resources-latest-news__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.page-resources-latest-news__call-to-action-text {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-latest-news__button--join {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

.page-resources-latest-news__button--join:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-latest-news__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-latest-news__button--download:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-resources-latest-news__related-resources {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.page-resources-latest-news__related-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-latest-news__resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-latest-news__resource-item {
  margin-bottom: 10px;
}

.page-resources-latest-news__resource-item a,
.page-resources-latest-news__back-link {
  color: #000000;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-latest-news__resource-item a:hover,
.page-resources-latest-news__back-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-latest-news__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 80px);
  }

  .page-resources-latest-news__hero-title {
    font-size: 2.5em;
  }

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

  .page-resources-latest-news__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-news__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-latest-news__article-heading {
    font-size: 2em;
  }

  .page-resources-latest-news__sub-heading {
    font-size: 1.6em;
  }

  .page-resources-latest-news__article-container {
    padding: 0 15px;
  }

  .page-resources-latest-news__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-latest-news__call-to-action-text {
    font-size: 1.2em;
  }

  .page-resources-latest-news__button--join,
  .page-resources-latest-news__button--download {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-resources-latest-news__button--download {
    margin-bottom: 0;
  }
}

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

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

  .page-resources-latest-news__article-heading {
    font-size: 1.8em;
  }

  .page-resources-latest-news__sub-heading {
    font-size: 1.4em;
  }
}