.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  color: #333333;
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-news__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000; /* Đảm bảo độ tương phản cao */
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333; /* Đảm bảo độ tương phản cao */
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0; /* Màu chủ đạo */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

.page-news__cta-button:hover {
  background: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
}

.page-news__articles-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-news__news-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news__card-image-wrapper {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho ảnh */
  overflow: hidden;
}

.page-news__card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-news__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__card-title a {
  color: #000000; /* Đảm bảo độ tương phản cao */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-button:hover {
  background: #1e87c0;
}

.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-news__dark-bg {
  background: #26A9E0; /* Màu chủ đạo */
  color: #ffffff; /* Văn bản trắng trên nền xanh */
}

.page-news__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-news__btn-primary {
  background: #EA7C07; /* Màu cam cho nút đăng ký */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
}

.page-news__btn-primary:hover {
  background: #d46b00;
  box-shadow: 0 6px 15px rgba(234, 124, 7, 0.4);
}

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

  .page-news__hero-description {
    font-size: 1.1em;
  }

  .page-news__section-title {
    font-size: 2em;
  }

  .page-news__card-title {
    font-size: 1.3em;
  }

  .page-news__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__hero-title {
    font-size: 2em;
  }

  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-news__cta-button,
  .page-news__btn-primary {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-news__articles-section {
    padding: 50px 0;
  }

  .page-news__container {
    padding: 0 15px;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__card-image-wrapper {
    height: 180px;
  }

  .page-news__card-content {
    padding: 20px;
  }

  .page-news__card-title {
    font-size: 1.2em;
  }

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

  .page-news__read-more-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .page-news__cta-section {
    padding: 50px 0;
  }

  .page-news__cta-title {
    font-size: 1.8em;
  }

  .page-news__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Force responsive images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__hero-image-wrapper img {
    border-radius: 4px;
  }

  .page-news__hero-image-wrapper,
  .page-news__articles-section,
  .page-news__news-card,
  .page-news__card-image-wrapper,
  .page-news__card-content,
  .page-news__cta-section,
  .page-news__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

}

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

  .page-news__section-title {
    font-size: 1.6em;
  }

  .page-news__cta-title {
    font-size: 1.6em;
  }
  .page-news__hero-image-wrapper {
    margin-bottom: 20px;
  }
}