/* style/tin-tuc.css */
.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #1A1A1A;
  line-height: 1.6;
}

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

.page-tin-tuc h1, .page-tin-tuc h2, .page-tin-tuc h3 {
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tuc h1 {
  font-size: 3.2em;
  text-align: center;
}

.page-tin-tuc h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-tin-tuc h3 {
  font-size: 1.8em;
  color: #FFD700;
}

.page-tin-tuc p {
  font-size: 1.1em;
  color: #E0E0E0;
}

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

.page-tin-tuc a:hover {
  color: #FFF;
}

.page-tin-tuc .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #1A1A1A;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  text-align: center;
}

.page-tin-tuc .cta-button:hover {
  background-color: #FFF;
  transform: translateY(-2px);
}

.page-tin-tuc .section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #B0B0B0;
}

/* Hero Section */
.page-tin-tuc .hero-section {
  background: linear-gradient(135deg, #1A1A1A, #333333);
  padding: 80px 0;
  text-align: center;
}

.page-tin-tuc .hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-tin-tuc .hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-tin-tuc .hero-content .cta-button {
  font-size: 1.2em;
  padding: 18px 40px;
}

/* Featured News Section */
.page-tin-tuc .featured-news-section {
  padding: 80px 0;
  background-color: #222222;
}

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

.page-tin-tuc .news-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-tin-tuc .news-card:hover {
  transform: translateY(-10px);
}

.page-tin-tuc .news-card .news-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-tin-tuc .news-card .card-content {
  padding: 25px;
}

.page-tin-tuc .news-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6em;
  line-height: 1.3;
}

.page-tin-tuc .news-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-tin-tuc .news-card h3 a:hover {
  color: #FFF;
}

.page-tin-tuc .news-card p {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 15px;
}

.page-tin-tuc .news-card .news-date {
  display: block;
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.page-tin-tuc .news-card .read-more {
  display: inline-block;
  color: #FFD700;
  font-weight: bold;
}

.page-tin-tuc .news-card .read-more:hover {
  text-decoration: underline;
}

/* Latest News Section */
.page-tin-tuc .latest-news-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-tin-tuc .news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-tin-tuc .news-item {
  display: flex;
  background-color: #222222;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc .news-item .item-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-tin-tuc .news-item .item-content {
  padding: 20px;
  flex-grow: 1;
}

.page-tin-tuc .news-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page-tin-tuc .news-item h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-tin-tuc .news-item h3 a:hover {
  color: #FFF;
}

.page-tin-tuc .news-item p {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 10px;
}

.page-tin-tuc .news-item .news-date {
  display: block;
  font-size: 0.85em;
  color: #777;
  margin-bottom: 10px;
}

.page-tin-tuc .news-item .read-more {
  display: inline-block;
  color: #FFD700;
  font-weight: bold;
}

.page-tin-tuc .news-item .read-more:hover {
  text-decoration: underline;
}

.page-tin-tuc .view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Categories Section */
.page-tin-tuc .categories-section {
  padding: 80px 0;
  background-color: #222222;
}

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

.page-tin-tuc .category-card {
  display: block;
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-tin-tuc .category-card:hover {
  transform: translateY(-5px);
  background-color: #2D2D2D;
}

.page-tin-tuc .category-card h3 {
  font-size: 1.7em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-tin-tuc .category-card p {
  font-size: 1em;
  color: #B0B0B0;
}

/* Call to Action Section */
.page-tin-tuc .call-to-action-section {
  padding: 100px 0;
  background: linear-gradient(90deg, #FFD700, #F0C000);
  text-align: center;
  color: #1A1A1A;
}

.page-tin-tuc .call-to-action-section h2 {
  color: #1A1A1A;
  font-size: 3em;
  margin-bottom: 20px;
}

.page-tin-tuc .call-to-action-section p {
  color: #333333;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-tin-tuc .call-to-action-section .large-cta {
  padding: 20px 50px;
  font-size: 1.4em;
  background-color: #1A1A1A;
  color: #FFD700;
}

.page-tin-tuc .call-to-action-section .large-cta:hover {
  background-color: #333333;
  color: #FFF;
}

/* FAQ Section */
.page-tin-tuc .faq-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-tin-tuc .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-tin-tuc .faq-item {
  margin-bottom: 15px;
  border: 1px solid #333333;
  border-radius: 8px;
  background-color: #222222;
}

.page-tin-tuc .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #2D2D2D;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 8px;
}

.page-tin-tuc .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-tin-tuc .faq-question:hover {
  background-color: #3A3A3A;
}

.page-tin-tuc .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-tin-tuc .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-tin-tuc .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-tin-tuc .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: #B0B0B0;
}

.page-tin-tuc .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #333333;
}

.page-tin-tuc .faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tuc .hero-content h1 {
    font-size: 3em;
  }
  .page-tin-tuc h2 {
    font-size: 2em;
  }
  .page-tin-tuc .news-item {
    flex-direction: column;
  }
  .page-tin-tuc .news-item .item-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc .hero-content h1 {
    font-size: 2.5em;
  }
  .page-tin-tuc .hero-content p {
    font-size: 1.1em;
  }
  .page-tin-tuc h2 {
    font-size: 1.8em;
  }
  .page-tin-tuc h3 {
    font-size: 1.5em;
  }
  .page-tin-tuc .news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc .category-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc .call-to-action-section h2 {
    font-size: 2.2em;
  }
  .page-tin-tuc .call-to-action-section p {
    font-size: 1em;
  }
  .page-tin-tuc .call-to-action-section .large-cta {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-tin-tuc .faq-question {
    padding: 15px 20px;
  }
  .page-tin-tuc .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc .hero-content h1 {
    font-size: 2em;
  }
  .page-tin-tuc .hero-content p {
    font-size: 1em;
  }
  .page-tin-tuc h2 {
    font-size: 1.5em;
  }
  .page-tin-tuc h3 {
    font-size: 1.3em;
  }
  .page-tin-tuc .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-tin-tuc .news-card .news-image {
    height: 180px;
  }
  .page-tin-tuc .news-card .card-content {
    padding: 15px;
  }
  .page-tin-tuc .news-item .item-image {
    height: 150px;
  }
  .page-tin-tuc .news-item .item-content {
    padding: 15px;
  }
  .page-tin-tuc .call-to-action-section h2 {
    font-size: 1.8em;
  }
  .page-tin-tuc .call-to-action-section p {
    font-size: 0.9em;
  }
  .page-tin-tuc .call-to-action-section .large-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
}