.page-blog {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ nhạt trên nền tối */
  background-color: #1a1a1a; /* Nền tối */
  line-height: 1.6;
}

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

.page-blog section {
  padding: 60px 0;
  text-align: center;
}

.page-blog section:nth-child(even) {
  background-color: #222222;
}

.page-blog .section-title {
  font-size: 3em;
  color: #FFD700; /* Vàng kim */
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-blog .hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%); /* Nền gradient tối */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-blog .hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog .hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Vàng kim */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-blog .hero-description {
  font-size: 1.3em;
  color: #CCCCCC;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog .cta-button {
  display: inline-block;
  background-color: #DC143C; /* Đỏ */
  color: #FFFFFF;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.page-blog .cta-button:hover {
  background-color: #FFD700; /* Vàng kim */
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

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

.page-blog .article-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

.page-blog .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333333;
}

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

.page-blog .article-title {
  font-size: 1.8em;
  color: #FFD700; /* Vàng kim */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-blog .article-title a:hover {
  color: #DC143C; /* Đỏ */
}

.page-blog .article-summary {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog .read-more-button {
  display: inline-block;
  background-color: #DC143C;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.page-blog .read-more-button:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.page-blog .categories-section {
  background-color: #1a1a1a;
}

.page-blog .categories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-blog .category-item {
  background-color: #333333;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid #FFD700;
}

.page-blog .category-item:hover {
  background-color: #DC143C;
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: #DC143C;
}

.page-blog .faq-section {
  background-color: #222222;
}

.page-blog .faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

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

.faq-question:hover {
  background: #444444;
  border-color: #FFD700;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #FFD700;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #DC143C;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2a2a2a;
  color: #B0B0B0;
  border-radius: 0 0 8px 8px;
}

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

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-blog .final-cta-section {
  background-color: #1a1a1a;
  padding-bottom: 80px;
}

.page-blog .cta-description {
  font-size: 1.3em;
  color: #CCCCCC;
  max-width: 900px;
  margin: 25px auto 40px auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog .section-title {
    font-size: 2.5em;
  }
  .page-blog .hero-title {
    font-size: 3em;
  }
  .page-blog .hero-description, .page-blog .cta-description {
    font-size: 1.1em;
  }
  .page-blog .article-title {
    font-size: 1.5em;
  }
  .page-blog .cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-blog section {
    padding: 40px 0;
  }
  .page-blog .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-blog .hero-title {
    font-size: 2.5em;
  }
  .page-blog .hero-description, .page-blog .cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-blog .articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog .article-image {
    height: 180px;
  }
  .page-blog .article-title {
    font-size: 1.3em;
  }
  .page-blog .article-summary {
    font-size: 0.95em;
  }
  .page-blog .read-more-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog .categories-list {
    flex-direction: column;
    align-items: center;
  }
  .page-blog .category-item {
    width: 80%;
    max-width: 300px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog .hero-title {
    font-size: 2em;
  }
  .page-blog .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog .faq-list {
    margin-left: 10px;
    margin-right: 10px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
}