.page-index-latest-news {
  color: #333333;
}

.page-index-latest-news__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 80px;
  overflow: hidden;
}

.page-index-latest-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-index-latest-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.8);
}

.page-index-latest-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-index-latest-news__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-latest-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #F0F0F0;
}

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

.page-index-latest-news__register-button,
.page-index-latest-news__login-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.2s ease;
}

.page-index-latest-news__register-button {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-latest-news__register-button:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-index-latest-news__login-button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-latest-news__login-button:hover {
  background-color: #E0A83D;
  transform: translateY(-2px);
}

.page-index-latest-news__updates-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-index-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-news__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-latest-news__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-news__news-article {
  background-color: #F8F8F8;
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.page-index-latest-news__article-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #E0E0E0;
}

.page-index-latest-news__article-title {
  font-size: 2em;
  color: #000000;
  padding: 25px 30px 15px;
  margin: 0;
  font-weight: bold;
}

.page-index-latest-news__article-text {
  font-size: 1em;
  color: #333333;
  padding: 0 30px 20px;
  line-height: 1.7;
  flex-grow: 1;
}

.page-index-latest-news__read-more-link {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 30px 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index-latest-news__read-more-link:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index-latest-news__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-index-latest-news__cta-content {
  max-width: 800px;
}

.page-index-latest-news__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index-latest-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-index-latest-news__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index-latest-news__cta-button:hover {
  background-color: #E0A83D;
  transform: translateY(-3px);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-index-latest-news__main-title {
    font-size: 3em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1.2em;
  }
  .page-index-latest-news__article-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__article-image {
    height: 350px;
  }
  .page-index-latest-news__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero-content {
    padding: 60px 15px;
  }
  .page-index-latest-news__main-title {
    font-size: 2.5em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-news__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-news__register-button,
  .page-index-latest-news__login-button,
  .page-index-latest-news__cta-button {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index-latest-news__section-title {
    font-size: 2.2em;
  }
  .page-index-latest-news__section-intro {
    font-size: 1em;
  }
  .page-index-latest-news__news-article {
    margin-bottom: 30px;
  }
  .page-index-latest-news__article-image {
    height: 250px;
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto; /* Important for mobile responsiveness */
  }
  .page-index-latest-news__article-title {
    font-size: 1.5em;
    padding: 20px 20px 10px;
  }
  .page-index-latest-news__article-text {
    padding: 0 20px 15px;
  }
  .page-index-latest-news__read-more-link {
    margin: 0 20px 20px;
  }
  .page-index-latest-news__cta-section {
    padding: 60px 15px;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__cta-description {
    font-size: 1em;
  }
  /* Ensure all images within content area are responsive */
  .page-index-latest-news img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__main-title {
    font-size: 2em;
  }
  .page-index-latest-news__hero-description {
    font-size: 0.95em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__article-title {
    font-size: 1.3em;
  }
  .page-index-latest-news__article-image {
    height: 200px;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.6em;
  }
}