:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-color-light: #f0f0f0;
  --text-color-dark: #333333;
  --bg-color-dark: #0A2239;
  --bg-color-light: #ffffff;
  --accent-color: #FFD700;
}

.page-tin-tc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--bg-color-light);
}

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

.page-tin-tc section {
  padding: 60px 0;
}

.page-tin-tc section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-tin-tc .hero-news-banner {
  background: linear-gradient(135deg, var(--bg-color-dark), #1a3a5a);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 0;
}

.page-tin-tc .main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-tin-tc .intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color-light);
}

.page-tin-tc .intro-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-tin-tc .intro-text a:hover {
  text-decoration: underline;
}

.page-tin-tc .section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-tin-tc .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-tin-tc .category-item {
  background-color: var(--bg-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--accent-color);
}

.page-tin-tc .category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-tin-tc .category-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-tin-tc .category-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-tin-tc .category-title a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-tin-tc .category-item p {
  color: var(--text-color-dark);
  font-size: 0.95em;
}

.page-tin-tc .category-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-tin-tc .category-item p a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.page-tin-tc .article-card {
  background-color: var(--bg-color-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.page-tin-tc .article-content {
  padding: 25px;
}

.page-tin-tc .article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-tin-tc .article-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc .article-title a:hover {
  color: var(--accent-color);
}

.page-tin-tc .article-excerpt {
  font-size: 0.95em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

.page-tin-tc .read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tc .read-more-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

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

.page-tin-tc .page-link {
  display: inline-block;
  padding: 10px 18px;
  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-tin-tc .page-link.active,
.page-tin-tc .page-link:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-tin-tc .analysis-article p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-tin-tc .analysis-article p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-tin-tc .analysis-article p a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* FAQ styles */
.page-tin-tc .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

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

.faq-answer p {
  margin: 0;
  color: var(--text-color-dark);
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-tin-tc .cta-section {
  background: linear-gradient(90deg, var(--primary-color), #1a3a5a);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 0;
}

.page-tin-tc .cta-section .section-title {
  color: var(--accent-color);
}

.page-tin-tc .cta-section .section-title::after {
  background-color: var(--text-color-light);
}

.page-tin-tc .cta-section p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 20px auto 40px;
  color: var(--text-color-light);
}

.page-tin-tc .cta-section p a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-tin-tc .cta-section p a:hover {
  text-decoration: underline;
}

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

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

.page-tin-tc .cta-button.primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

.page-tin-tc .cta-button.primary:hover {
  background-color: #ffd200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tc .cta-button.secondary {
  background-color: transparent;
  color: var(--text-color-light);
  border: 2px solid var(--text-color-light);
}

.page-tin-tc .cta-button.secondary:hover {
  background-color: var(--text-color-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc .main-title {
    font-size: 2.2em;
  }
  .page-tin-tc .section-title {
    font-size: 1.8em;
  }
  .page-tin-tc .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tin-tc section {
    padding: 40px 0;
  }
  .page-tin-tc .hero-news-banner {
    padding: 60px 0;
  }
  .page-tin-tc .main-title {
    font-size: 1.8em;
  }
  .page-tin-tc .intro-text {
    font-size: 1em;
  }
  .page-tin-tc .section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-tin-tc .categories-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc .article-content {
    padding: 20px;
  }
  .page-tin-tc .article-title {
    font-size: 1.2em;
  }
  .page-tin-tc .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-tin-tc .cta-button {
    width: 80%;
    max-width: 300px;
  }
  .faq-question {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-question h3 {
    margin-bottom: 8px;
  }
  .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc .container {
    padding: 0 15px;
  }
  .page-tin-tc .main-title {
    font-size: 1.5em;
  }
  .page-tin-tc .section-title {
    font-size: 1.4em;
  }
  .page-tin-tc .article-image {
    height: 180px;
  }
  .page-tin-tc .read-more-btn {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}