.page-news {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-news__section-spacing {
  padding: 60px 0;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
  width: 100%; /* Ensure full width on desktop */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size constraint */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-news__subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-news__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-news__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color for secondary */
  border: 2px solid #2AD16F; /* Border in button color */
}

.page-news__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Background color for hover text */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

/* Section Titles */
.page-news__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-news__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
}

/* News Grid */
.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news__card-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  overflow: hidden;
}

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

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

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

.page-news__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-news__card-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  min-height: 75px; /* Ensure consistent height for excerpts */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical;
}

.page-news__read-more {
  display: inline-block;
  color: #2AD16F; /* Button color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #57E38D; /* Glow */
}

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* CTA Banner */
.page-news__cta-banner {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-news__cta-container {
  max-width: 800px;
}

.page-news__cta-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-news__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-news__faq-section {
  padding-bottom: 80px;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-news__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #1E3A2A; /* Divider for hover */
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F; /* Button color */
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-bottom: 40px;
  }
  .page-news__hero-image-wrapper {
    max-height: 300px;
  }
  .page-news__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-news__subtitle {
    font-size: 1rem;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-news__section-spacing {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8rem;
  }
  .page-news__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-news__card-image-wrapper {
    height: 180px;
  }
  .page-news__card-title {
    font-size: 1.2rem;
  }
  .page-news__card-excerpt {
    min-height: unset; /* Allow excerpt to adjust */
  }

  .page-news__view-all-button-wrapper {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-news__cta-banner {
    padding: 60px 20px;
    margin: 40px auto;
  }
  .page-news__cta-title {
    font-size: 1.5rem;
  }
  .page-news__cta-description {
    font-size: 1rem;
  }

  .page-news__faq-list {
    padding: 0 15px;
  }
  .page-news__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile image, video, container responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__cta-banner,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-news__hero-section,
  .page-news__featured-news .page-news__container,
  .page-news__cta-banner .page-news__container,
  .page-news__faq-section .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__video-section {
    padding-top: 10px !important; /* body đã đảm nhận --header-offset, tại đây cấm var(--header-offset) */
  }

  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* No CSS filters for images */
.page-news img {
  filter: none !important;
}