.page-resources-latest-news {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
}

.page-resources-latest-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-resources-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-latest-news__hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* White text on hero image */
  max-width: 80%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background for readability */
  padding: 30px;
  border-radius: 10px;
}

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

.page-resources-latest-news__intro-paragraph {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

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

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

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

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

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

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

.page-resources-latest-news__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-resources-latest-news__back-link-container {
  text-align: right;
  margin-bottom: 30px;
}

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

.page-resources-latest-news__back-link:hover {
  color: #FCBC45;
}

.page-resources-latest-news__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-latest-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-resources-latest-news__article {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 50px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-latest-news__article-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-news__article-header {
  margin-bottom: 20px;
}

.page-resources-latest-news__article-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-resources-latest-news__article-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-latest-news__article-title a:hover {
  color: #FCBC45;
}

.page-resources-latest-news__article-meta {
  font-size: 0.9em;
  color: #666666;
}

.page-resources-latest-news__article-excerpt {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-latest-news__article-paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-latest-news__read-more-link {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-latest-news__read-more-link:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-resources-latest-news__call-to-action-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-latest-news__call-to-action-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-resources-latest-news__button--register-bottom {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-latest-news__button--register-bottom:hover {
  background-color: transparent;
  color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-news__main-title {
    font-size: 2.8em;
  }

  .page-resources-latest-news__intro-paragraph {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-news__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 40px 15px;
  }

  .page-resources-latest-news__hero-text-overlay {
    padding: 20px;
    max-width: 90%;
  }

  .page-resources-latest-news__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-latest-news__intro-paragraph {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-resources-latest-news__button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-latest-news__content-area {
    padding: 15px;
  }

  .page-resources-latest-news__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-latest-news__article {
    padding: 20px;
    margin-bottom: 40px;
  }

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

  .page-resources-latest-news__article-excerpt,
  .page-resources-latest-news__article-paragraph {
    font-size: 0.95em;
  }

  .page-resources-latest-news__call-to-action {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .page-resources-latest-news__call-to-action-title {
    font-size: 2em;
  }

  .page-resources-latest-news__call-to-action-description {
    font-size: 1em;
  }

  /* Mobile content image constraint */
  .page-resources-latest-news img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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

  .page-resources-latest-news__intro-paragraph {
    font-size: 0.9em;
  }

  .page-resources-latest-news__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-news__article-title {
    font-size: 1.3em;
  }

  .page-resources-latest-news__call-to-action-title {
    font-size: 1.8em;
  }
}