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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  overflow: hidden;
  box-sizing: border-box;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-news__hero-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-news__hero-description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-news__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-news__btn-secondary {
  background-color: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
}

.page-news__btn-secondary:hover {
  background-color: #e0eaff;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-news__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
}

.page-news__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-news__section-text,
.page-news__text-block {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

/* Featured News Section */
.page-news__featured-news-section {
  background-color: #FFFFFF; /* Card BG */
}

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

.page-news__news-card,
.page-news__promotion-card,
.page-news__guide-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #1F2D3D;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

.page-news__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__card-description {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
}

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

/* Promotions Section */
.page-news__promotions-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-news__promotions-section .page-news__section-title,
.page-news__promotions-section .page-news__section-text {
  color: #ffffff;
}

.page-news__promotions-section .page-news__card-title,
.page-news__promotions-section .page-news__card-description {
  color: #1F2D3D; /* Keep card text dark for contrast on white card background */
}

.page-news__promotions-section .page-news__promotion-card {
  background-color: #FFFFFF;
}

/* Security Section */
.page-news__security-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
  text-align: center;
}

.page-news__security-section .page-news__section-title,
.page-news__security-section .page-news__section-text {
  color: #ffffff;
}

.page-news__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-news__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-news__support-cta {
  margin-top: 50px;
}

/* FAQ Section */
.page-news__faq-section {
  background-color: #F4F7FB; /* Background */
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #f8faff;
  border-bottom: 1px solid #D6E2FF;
  list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-news__faq-question:hover {
  background-color: #eef2ff;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: 500;
  color: #2F6BFF;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555;
  background-color: #ffffff;
  text-align: justify;
}

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

  .page-news__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 15px 40px;
  }

  .page-news__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-news__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-news__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-news__section {
    padding: 40px 15px;
  }

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

  .page-news__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-news__news-grid,
  .page-news__promotions-grid,
  .page-news__guides-grid,
  .page-news__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

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

  .page-news__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-news__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image and video responsive fix */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news video,
  .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-image-wrapper,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-news__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

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

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

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

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

  .page-news__faq-question {
    font-size: 1em;
  }
}