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

.page-blog-latest-news__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  min-height: 450px;
  overflow: hidden;
}

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

.page-blog-latest-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 8px;
}

.page-blog-latest-news__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

.page-blog-latest-news__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-latest-news__hero-button:hover {
  background-color: #E0A030;
}

.page-blog-latest-news__articles-grid,
.page-blog-latest-news__call-to-action,
.page-blog-latest-news__about-us {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

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

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

.page-blog-latest-news__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-latest-news__article-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-blog-latest-news__article-card:hover {
  transform: translateY(-5px);
}

.page-blog-latest-news__article-image {
  width: 100%;
  height: 250px; /* Enforce minimum height for card images */
  object-fit: cover;
  display: block;
}

.page-blog-latest-news__article-content {
  padding: 20px;
}

.page-blog-latest-news__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

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

.page-blog-latest-news__article-meta {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog-latest-news__article-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog-latest-news__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-blog-latest-news__read-more-button:hover {
  background-color: #333333;
}

.page-blog-latest-news__pagination {
  text-align: center;
  margin-top: 40px;
}

.page-blog-latest-news__pagination-link {
  display: inline-block;
  color: #000000;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog-latest-news__pagination-link:hover,
.page-blog-latest-news__pagination-link--active {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

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

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

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

.page-blog-latest-news__cta-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;
}

.page-blog-latest-news__cta-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-blog-latest-news__cta-button--register:hover {
  background-color: #E0E0E0;
}

.page-blog-latest-news__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-blog-latest-news__cta-button--login:hover {
  background-color: #E0A030;
}

.page-blog-latest-news__about-us {
  margin-top: 60px;
}

.page-blog-latest-news__about-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-blog-latest-news__about-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-blog-latest-news__about-text {
  flex: 1;
}

.page-blog-latest-news__about-text p {
  margin-bottom: 15px;
  color: #555555;
}

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

.page-blog-latest-news__about-link:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 1em;
  }
  .page-blog-latest-news__about-content {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-latest-news__about-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-news {
    padding-top: var(--header-offset, 80px);
  }
  .page-blog-latest-news__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }
  .page-blog-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 0.9em;
  }
  .page-blog-latest-news__hero-content {
    padding: 20px;
  }
  .page-blog-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-blog-latest-news__grid-container {
    grid-template-columns: 1fr;
  }
  .page-blog-latest-news__article-image {
    height: 220px;
  }
  .page-blog-latest-news__article-card img,
  .page-blog-latest-news__about-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-blog-latest-news__cta-title {
    font-size: 2em;
  }
  .page-blog-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-latest-news__cta-button {
    width: 100%;
  }
  .page-blog-latest-news__about-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-blog-latest-news__hero-section {
    padding: 40px 10px;
    min-height: 300px;
  }
  .page-blog-latest-news__hero-title {
    font-size: 1.5em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 0.85em;
  }
  .page-blog-latest-news__hero-button {
    padding: 10px 20px;
  }
  .page-blog-latest-news__articles-grid,
  .page-blog-latest-news__call-to-action,
  .page-blog-latest-news__about-us {
    padding: 15px;
  }
  .page-blog-latest-news__section-title {
    font-size: 1.6em;
  }
  .page-blog-latest-news__cta-title {
    font-size: 1.8em;
  }
}