/* style/news.css */
/* 
 * Trang Tin Tức - iwin nohu79
 * Màu chủ đạo: #1A202C
 * Màu phụ: #FFD700
 * Nền body: #121212 (dark) -> Văn bản chính: #ffffff
 */

.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Sẽ được phủ định bởi các phần có nền khác */
  background-color: #121212; /* Nền chính của body */
}

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

.page-news__section {
  padding: 80px 0;
  position: relative;
}

.page-news__dark-section {
  background-color: #1A202C; /* Màu chủ đạo làm nền */
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Màu phụ làm tiêu đề */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header che */
  background-color: #1A202C;
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Làm mờ ảnh nền */
  z-index: 1;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-news__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-news__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Primary Button Style */
.page-news__btn-primary {
  background-color: #FFD700; /* Màu phụ */
  color: #1A202C; /* Màu chủ đạo */
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Secondary Button Style */
.page-news__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
}

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

.page-news__article-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-news__article-title a:hover {
  color: #e6c200;
}

.page-news__article-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-news__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Video Section */
.page-news__video-section {
  background-color: #1A202C;
  padding: 80px 0;
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer; /* Cho biết video có thể nhấp */
}

.page-news__video-cta-text {
  text-align: center;
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-news__video-cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Categories Section */
.page-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.page-news__category-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__category-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-news__category-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-news__category-title a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__category-title a:hover {
  color: #e6c200;
}

.page-news__category-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* FAQ Section */
.page-news__faq-section {
  background-color: #1A202C;
  padding: 80px 0;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-news__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}