.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: 10px; /* Small top padding, body handles --header-offset */
  background: #F5F7FA; /* Custom background color */
  color: #333333;
}

.page-news__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E53935; /* Brand color for main title */
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.page-news__latest-news-section {
  padding: 60px 20px;
  background: #FFFFFF; /* Card BG color */
  color: #333333;
}

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

.page-news__section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #E53935; /* Brand color */
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__news-card {
  background: #FFFFFF; /* Card BG color */
  border: 1px solid #E0E0E0; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

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

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

.page-news__card-title a:hover {
  color: #E53935; /* Brand color on hover */
}

.page-news__card-meta {
  font-size: 0.875rem;
  color: #777777;
  margin-bottom: 15px;
}

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

.page-news__read-more-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-btn:hover {
  opacity: 0.9;
}

.page-news__cta-section {
  background: #E53935; /* Main brand color for CTA background */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-news__cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-news__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Brand color */
  border: 2px solid #E53935; /* Brand color border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-news__about-section {
  padding: 60px 20px;
  background: #F5F7FA; /* Background color */
  color: #333333;
}

.page-news__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__hero-section {
    padding: 40px 15px;
  }

  .page-news__main-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .page-news__intro-text {
    font-size: 1rem;
  }

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

  .page-news__cta-title {
    font-size: 2rem;
  }

  .page-news__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-section,
  .page-news__latest-news-section,
  .page-news__cta-section,
  .page-news__about-section {
    padding: 30px 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-news__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-news__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-news__section-description {
    margin-bottom: 30px;
  }

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

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

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

  .page-news__card-meta,
  .page-news__card-summary {
    font-size: 0.9rem;
  }

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

  .page-news__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-news__cta-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images are responsive */
  .page-news__hero-section,
  .page-news__latest-news-section,
  .page-news__cta-section,
  .page-news__about-section,
  .page-news__container,
  .page-news__news-card,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-news__hero-section {
    padding-top: 10px !important;
  }

  .page-news__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset, đây chỉ là padding bổ sung */
  }
}