.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  background-color: #FFFFFF;
  color: #000000;
}

.page-news__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__hero-content {
  max-width: 900px;
}

.page-news__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Adjust clamp values for better H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-news__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-news__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Color for 'Đăng ký' */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-news__cta-button:hover {
  background-color: #d46c00;
}

.page-news__latest-news-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-news__section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  position: relative;
}

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

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.page-news__news-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, ensure min 200px */
  object-fit: cover;
  display: block;
  filter: none;
}

.page-news__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #EA7C07;
}

.page-news__card-date {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #26A9E0;
}

.page-news__view-all {
  margin-top: 30px;
}

.page-news__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-news__button--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-news__button--primary:hover {
  background-color: #1e87bb;
}

.page-news__related-topics-section {
  padding: 40px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

.page-news__topic-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-news__topic-link {
  display: inline-block;
  background-color: #f0f0f0;
  color: #333333;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.95rem;
  border: 1px solid #e0e0e0;
}

.page-news__topic-link:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
}

.page-news__cta-section {
  padding: 50px 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button--large {
  background-color: #EA7C07;
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 8px;
}

.page-news__cta-button--large:hover {
  background-color: #d46c00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 15px 30px;
  }

  .page-news__hero-image {
    max-width: 100%;
    width: 100%; /* Ensure full width on smaller screens */
    height: auto;
  }

  .page-news__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-news__description {
    font-size: 1rem;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news__card-image {
    height: 200px; /* Ensure minimum height for images in cards */
  }

  .page-news__card-title {
    font-size: 1.15rem;
  }

  .page-news__card-excerpt {
    font-size: 0.95rem;
  }

  .page-news__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-news__topic-link {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .page-news__cta-description {
    font-size: 1.1rem;
  }

  .page-news__cta-button--large {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Ensure content images do not cause overflow and meet min size */
  .page-news__news-grid img, .page-news__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-news__news-grid img, .page-news__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

/* Ensure no content overflow on smaller screens */
.page-news {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.page-news__news-grid .page-news__card-image { /* Specific selector for news card images */
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}