.page-news__main-wrapper {
  padding-top: 120px; /* Khoảng cách cho header cố định trên desktop */
  color: #ffffff; /* Màu chữ mặc định cho nền tối */
  background-color: #121212; /* Nền body mặc định */
}

.page-news__hero-section {
  padding: 80px 20px;
  text-align: center;
}

.page-news__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__hero-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: var(--primary-color, #FFD700);
  color: var(--secondary-color, #000080); /* Màu chữ tương phản với nền vàng */
}

.page-news__btn-primary:hover {
  background: #e0b800; /* Màu vàng đậm hơn */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary {
  background: var(--secondary-color, #000080);
  color: #ffffff;
  border: 2px solid var(--primary-color, #FFD700);
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color, #FFD700);
}

.page-news__articles-section {
  padding: 60px 20px;
}

.page-news__articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-news__category-card {
  background: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-news__category-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__category-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #FFD700);
}

.page-news__category-description {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
}

.page-news__latest-articles {
  padding: 60px 20px;
  background-color: var(--secondary-color, #000080); /* Nền phụ màu xanh đậm */
}

.page-news__latest-articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__latest-articles .page-news__section-title {
  color: var(--primary-color, #FFD700);
}

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

.page-news__article-card {
  background: rgba(255, 255, 255, 0.08); /* Nền hơi trong suốt */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-news__article-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #FFD700);
  line-height: 1.4;
}

.page-news__article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-news__article-date {
  font-size: 14px;
  color: #aaaaaa;
  display: block;
}

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

.page-news__join-us-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Nền tối nhẹ */
}

.page-news__join-us-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-news__join-us-section .page-news__section-title {
  color: #ffffff;
}

.page-news__join-us-description {
  font-size: 18px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

  .page-news__section-title {
    font-size: 32px;
  }

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

@media (max-width: 768px) {
  .page-news__main-wrapper {
    padding-top: 100px !important; /* Khoảng cách cho header cố định trên mobile */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news__hero-section,
  .page-news__articles-section,
  .page-news__latest-articles,
  .page-news__join-us-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news__hero-title {
    font-size: 30px;
  }

  .page-news__hero-description,
  .page-news__join-us-description {
    font-size: 16px;
  }

  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

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

  .page-news__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-news__category-grid,
  .page-news__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__category-card {
    padding: 20px;
    min-height: auto;
  }

  .page-news__category-image {
    width: 80px;
    height: 80px;
  }

  .page-news__category-title {
    font-size: 18px;
  }

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

  .page-news__article-title {
    font-size: 18px;
  }

  .page-news__article-excerpt {
    font-size: 14px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 26px;
  }

  .page-news__section-title {
    font-size: 24px;
  }

  .page-news__hero-description,
  .page-news__join-us-description {
    font-size: 15px;
  }

  .page-news__article-title {
    font-size: 16px;
  }
  .page-news__article-excerpt {
    font-size: 13px;
  }
  .page-news__article-date {
    font-size: 12px;
  }
}