.page-news {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #34495e;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-news .hero-banner {
  background: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-news .hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  animation: pageNewsPulse 4s infinite ease-in-out;
}

.page-news .hero-banner::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  opacity: 0.15;
  border-radius: 50%;
  animation: pageNewsPulse 4s infinite ease-in-out reverse;
}

@keyframes pageNewsPulse {
  0% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.25; }
  100% { transform: scale(1); opacity: 0.1; }
}

.page-news .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-news .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-news .cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news .cta-button:hover {
  background-color: #ffe033;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news .latest-news-section, .page-news .about-news-section, .page-news .faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-news .latest-news-section {
  background-color: #ffffff;
}

.page-news .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-news .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

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

.page-news .news-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-news .news-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

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

.page-news .card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news .card-title .page-news.card-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .card-title .page-news.card-link:hover {
  color: var(--secondary-color);
}

.page-news .card-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.page-news .card-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news .read-more-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-news .read-more-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-news .pagination {
  margin-top: 50px;
  text-align: center;
}

.page-news .page-link {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--primary-color);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news .page-link.active, .page-news .page-link:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-news .about-news-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-news .about-news-section .section-title {
  color: var(--primary-color);
}

.page-news .about-news-section .section-title::after {
  background-color: var(--text-light);
}

.page-news .section-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-news .faq-section {
  background-color: var(--bg-light);
  padding-bottom: 80px;
}

.page-news .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-news .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-news .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.page-news .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
}

.page-news .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-news .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-news .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ cao để chứa nội dung */
  padding: 20px 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-news .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-news .faq-answer p {
  margin: 0;
  color: #555;
  font-size: 1em;
}

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

  .page-news .section-title {
    font-size: 2.2em;
  }

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

@media (max-width: 768px) {
  .page-news .hero-banner {
    padding: 60px 0;
  }

  .page-news .hero-title {
    font-size: 2.2em;
  }

  .page-news .hero-description {
    font-size: 1em;
  }

  .page-news .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-news .latest-news-section, .page-news .about-news-section, .page-news .faq-section {
    padding: 40px 0;
  }

  .page-news .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-news .news-image {
    height: 200px;
  }

  .page-news .card-content {
    padding: 20px;
  }

  .page-news .card-title {
    font-size: 1.3em;
  }

  .page-news .card-meta, .page-news .card-excerpt {
    font-size: 0.9em;
  }

  .page-news .read-more-button {
    padding: 8px 15px;
    font-size: 0.85em;
  }

  .page-news .faq-question {
    padding: 15px 20px;
  }

  .page-news .faq-question h3 {
    font-size: 1.1em;
  }

  .page-news .faq-toggle {
    font-size: 20px;
  }

  .page-news .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-news .hero-title {
    font-size: 1.8em;
  }

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

  .page-news .news-grid {
    grid-template-columns: 1fr;
  }

  .page-news .faq-question {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-news .faq-question h3 {
    margin-bottom: 10px;
  }

  .page-news .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
}