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

.page-resources-latest-updates__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Use main color for hero section background */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources-latest-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-resources-latest-updates__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-resources-latest-updates__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
  font-weight: bold;
}

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

.page-resources-latest-updates__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text on bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-latest-updates__hero-button:hover {
  background-color: #FFD700; /* Slightly lighter yellow on hover */
  transform: translateY(-2px);
}

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

.page-resources-latest-updates__article-navigation {
  margin-bottom: 40px;
  font-size: 0.9em;
  color: #666666;
}

.page-resources-latest-updates__nav-link {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.page-resources-latest-updates__nav-link:hover {
  text-decoration: underline;
}

.page-resources-latest-updates__nav-current {
  color: #FCBC45;
  font-weight: 600;
}

.page-resources-latest-updates__article-intro {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  border-left: 5px solid #FCBC45;
}

.page-resources-latest-updates__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-latest-updates__article p {
  margin-bottom: 25px;
}

.page-resources-latest-updates__article-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-updates__keyword {
  font-weight: bold;
  color: #FCBC45;
}

.page-resources-latest-updates__cta-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  margin-top: 20px;
  margin-right: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-resources-latest-updates__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-resources-latest-updates__cta-button--primary:hover {
  background-color: #FFD700;
}

.page-resources-latest-updates__cta-button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 1px solid #000000;
}

.page-resources-latest-updates__cta-button--secondary:hover {
  background-color: #e0e0e0;
}

.page-resources-latest-updates__back-link-container {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eeeeee;
}

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

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

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

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

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

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

  .page-resources-latest-updates__article-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }

  .page-resources-latest-updates__cta-button {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Ensure content area images do not cause horizontal scroll */
  .page-resources-latest-updates img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-resources-latest-updates__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}