/* style/news.css */
/* body đã có padding-top: var(--header-offset) từ shared.css */
.page-news {
  font-family: Arial, sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Màu chữ chính cho nền tối */
  background-color: var(--background-color, #08160F); /* Đảm bảo đồng bộ với màu nền body */
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ảnh trên, nội dung dưới */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Padding nhỏ ở trên, lớn hơn ở dưới */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Khoảng cách giữa ảnh và nội dung */
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Đảm bảo nội dung nằm trên các phần tử nền */
}

.page-news__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Kích thước font chữ H1 phản hồi */
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--glow-color, #57E38D);
}

.page-news__description {
  font-size: 1.15rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-news__btn-secondary {
  background: transparent;
  color: var(--gold-color, #F2C14E);
  border: 2px solid var(--gold-color, #F2C14E);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 15px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-news__section-description {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Article Grid */
.page-news__latest-articles-section,
.page-news__featured-guides-section,
.page-news__promotion-highlights-section {
  padding: 60px 0;
}

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

.page-news__article-card,
.page-news__guide-card,
.page-news__promotion-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-news__article-card:hover,
.page-news__guide-card:hover,
.page-news__promotion-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-news__article-image-wrapper,
.page-news__guide-image-wrapper,
.page-news__promotion-image-wrapper {
  width: 100%;
  padding-bottom: 56.25%; /* Tỷ lệ khung hình 16:9 */
  position: relative;
  overflow: hidden;
}

.page-news__article-image,
.page-news__guide-image,
.page-news__promotion-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news__article-content,
.page-news__guide-content,
.page-news__promotion-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-news__promotion-item > .page-news__promotion-title { /* Cho tiêu đề trực tiếp trong mục khuyến mãi */
  padding: 25px 25px 0;
}

.page-news__article-title,
.page-news__guide-title,
.page-news__promotion-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-title a,
.page-news__guide-title a,
.page-news__promotion-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover,
.page-news__guide-title a:hover,
.page-news__promotion-title a:hover {
  color: var(--glow-color, #57E38D);
}

.page-news__article-meta,
.page-news__guide-meta,
.page-news__promotion-date {
  font-size: 0.9rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 15px;
}

.page-news__article-excerpt,
.page-news__guide-excerpt,
.page-news__promotion-description {
  font-size: 0.95rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: var(--gold-color, #F2C14E);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: auto; /* Đẩy xuống dưới cùng */
}

.page-news__read-more:hover {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
}

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

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background-color: var(--deep-green-color, #0A4B2C); /* Nền tối hơi khác */
}

.page-news__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  border: 1px solid var(--border-color, #2E7A4E);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}