.page-tin-tc {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-tin-tc h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-tin-tc h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 50px;
}

.page-tin-tc h3 {
  font-size: 1.5em;
}

.page-tin-tc p {
  margin-bottom: 15px;
}

.page-tin-tc-hero-banner {
  background: linear-gradient(135deg, #CC0000 0%, #a00000 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.page-tin-tc-hero-content {
  max-width: 900px;
}

.page-tin-tc-hero-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tc-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #eee;
}

.page-tin-tc-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #CC0000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-tin-tc-featured-news, .page-tin-tc-latest-news, .page-tin-tc-categories, .page-tin-tc-contact-cta, .page-tin-tc-faq {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.page-tin-tc-news-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.page-tin-tc-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tc-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-tin-tc-news-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 60px; /* Đảm bảo chiều cao tối thiểu cho tiêu đề */
}

.page-tin-tc-news-card h3 a {
  color: #CC0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc-news-card h3 a:hover {
  color: #a00000;
}

.page-tin-tc-news-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  min-height: 70px; /* Đảm bảo chiều cao tối thiểu cho mô tả */
}

.page-tin-tc-news-date {
  font-size: 0.85em;
  color: #888888;
  display: block;
  text-align: right;
}

.page-tin-tc-news-list {
  margin-top: 30px;
}

.page-tin-tc-list-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #eeeeee;
  padding: 20px 0;
}

.page-tin-tc-list-item:last-child {
  border-bottom: none;
}

.page-tin-tc-list-img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-tin-tc-list-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.page-tin-tc-list-content h3 a {
  color: #CC0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc-list-content h3 a:hover {
  color: #a00000;
}

.page-tin-tc-list-content p {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 10px;
}

.page-tin-tc-pagination {
  text-align: center;
  margin-top: 40px;
}

.page-tin-tc-pagination-link {
  display: inline-block;
  padding: 10px 18px;
  margin: 0 5px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  text-decoration: none;
  color: #CC0000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tin-tc-pagination-link.active,
.page-tin-tc-pagination-link:hover {
  background-color: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
}

.page-tin-tc-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-tin-tc-category-item {
  display: block;
  background-color: #f5f5f5;
  color: #CC0000;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tin-tc-category-item:hover {
  background-color: #FFD700;
  color: #CC0000;
}

.page-tin-tc-contact-cta {
  text-align: center;
  padding: 50px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 60px;
}

.page-tin-tc-contact-cta h2 {
  color: #CC0000;
  font-size: 2em;
  margin-bottom: 15px;
}

.page-tin-tc-contact-cta p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-tin-tc-faq {
  margin-top: 60px;
}

.page-tin-tc-faq-container {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

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

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #CC0000;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: #444444;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc-hero-content h1 {
    font-size: 2.8em;
  }
  .page-tin-tc-news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-tin-tc-list-img {
    width: 200px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc h1 {
    font-size: 2.2em;
  }
  .page-tin-tc h2 {
    font-size: 1.8em;
  }
  .page-tin-tc-hero-banner {
    padding: 60px 15px;
  }
  .page-tin-tc-hero-content h1 {
    font-size: 2.5em;
  }
  .page-tin-tc-hero-content p {
    font-size: 1em;
  }
  .page-tin-tc-news-list {
    margin-top: 20px;
  }
  .page-tin-tc-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-tin-tc-list-img {
    width: 100%;
    max-width: 350px;
    height: 180px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-tin-tc-list-content {
    width: 100%;
  }
  .page-tin-tc-news-date {
    text-align: center;
  }
  .page-tin-tc-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-tin-tc-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.5em;
  }
  .page-tin-tc-hero-content h1 {
    font-size: 2em;
  }
  .page-tin-tc-hero-content p {
    font-size: 0.9em;
  }
  .page-tin-tc-news-card {
    margin: 0 10px;
  }
  .page-tin-tc-news-grid {
    gap: 20px;
  }
  .page-tin-tc-pagination-link {
    padding: 8px 12px;
    margin: 0 3px;
    font-size: 0.9em;
  }
  .page-tin-tc-category-item {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}