.page-tin-tc {
  --primary-color: #FFD700;
  --secondary-color: #B22222;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-medium: #2a2a2a;
  --border-color: #444444;
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light);
  background-color: var(--bg-dark);
}

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

.page-tin-tc h1, .page-tin-tc h2, .page-tin-tc h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tc p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

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

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

.page-tin-tc .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-tin-tc .cta-button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: var(--text-color-dark); /* Ensure contrast on hover */
}

/* Hero Section */
.page-tin-tc .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  overflow: hidden;
}

.page-tin-tc .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-tin-tc .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-tin-tc .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-tin-tc .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-tin-tc .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-tin-tc .hero-content p {
  font-size: 1.2em;
  line-height: 1.6;
  color: var(--text-color-light);
  margin-bottom: 30px;
}

/* News Introduction */
.page-tin-tc .news-introduction {
  padding: 80px 0;
  background-color: var(--bg-medium);
  text-align: center;
}

.page-tin-tc .news-introduction h2 {
  font-size: 2.5em;
  color: var(--primary-color);
}

.page-tin-tc .news-introduction p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-tin-tc .news-introduction .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Latest Articles */
.page-tin-tc .latest-articles {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-tin-tc .latest-articles h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-tin-tc .news-card {
  background-color: var(--bg-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-tin-tc .news-card h3 {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-tin-tc .news-card h3 a {
  color: var(--primary-color);
}

.page-tin-tc .news-card p {
  font-size: 0.95em;
  color: #cccccc;
  margin: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-tin-tc .news-card .article-date {
  font-size: 0.85em;
  color: #999999;
  margin: 0 20px 15px 20px;
}

.page-tin-tc .news-card .read-more-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-tin-tc .news-card .read-more-button:hover {
  background-color: var(--primary-color);
  color: var(--text-color-dark);
  text-decoration: none;
}

/* News Categories */
.page-tin-tc .news-categories {
  padding: 80px 0;
  background-color: var(--bg-medium);
  text-align: center;
}

.page-tin-tc .news-categories h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.page-tin-tc .news-categories ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-tin-tc .news-categories li {
  background-color: var(--bg-dark);
  border-left: 5px solid var(--primary-color);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .news-categories li:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-tin-tc .news-categories li h3 {
  font-size: 1.8em;
  margin-top: 0;
  color: var(--primary-color);
}

.page-tin-tc .news-categories li h3 a {
  color: var(--primary-color);
}

.page-tin-tc .news-categories li p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 0;
}

.page-tin-tc .news-categories .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Register CTA */
.page-tin-tc .register-cta {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  text-align: center;
  color: var(--text-color-light);
}

.page-tin-tc .register-cta h2 {
  font-size: 2.8em;
  color: var(--text-color-light);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-tin-tc .register-cta .cta-button {
  background: var(--bg-dark);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-tin-tc .register-cta .cta-button:hover {
  background: var(--text-color-light);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* FAQ Section */
.page-tin-tc .faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-tin-tc .faq-section h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

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

.page-tin-tc .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-medium);
  color: var(--text-color-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-tin-tc .faq-question:hover {
  background: #3a3a3a;
  border-color: var(--primary-color);
}

.page-tin-tc .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

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

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

.page-tin-tc .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #222222;
  border-radius: 0 0 8px 8px;
  color: #cccccc;
}

.page-tin-tc .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tc .hero-content h1 {
    font-size: 3em;
  }
  .page-tin-tc .hero-content p {
    font-size: 1.1em;
  }
  .page-tin-tc .news-card h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-tin-tc .hero-section {
    padding: 40px 15px;
  }
  .page-tin-tc .hero-content h1 {
    font-size: 2.5em;
  }
  .page-tin-tc .hero-content p {
    font-size: 1em;
  }
  .page-tin-tc .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-tin-tc .news-introduction, .page-tin-tc .latest-articles, .page-tin-tc .news-categories, .page-tin-tc .register-cta, .page-tin-tc .faq-section {
    padding: 60px 0;
  }
  .page-tin-tc .news-introduction h2, .page-tin-tc .latest-articles h2, .page-tin-tc .news-categories h2, .page-tin-tc .register-cta h2, .page-tin-tc .faq-section h2 {
    font-size: 2em;
  }
  .page-tin-tc .articles-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc .news-card img {
    height: 200px;
  }
  .page-tin-tc .news-categories li h3 {
    font-size: 1.5em;
  }
  .page-tin-tc .faq-question {
    padding: 15px 20px;
  }
  .page-tin-tc .faq-question h3 {
    font-size: 1.1em;
  }
  .page-tin-tc .faq-toggle {
    font-size: 20px;
  }
  .page-tin-tc .faq-answer {
    padding: 0 20px;
  }
  .page-tin-tc .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc .hero-content h1 {
    font-size: 2em;
  }
  .page-tin-tc .hero-content p {
    font-size: 0.9em;
  }
  .page-tin-tc .news-introduction h2, .page-tin-tc .latest-articles h2, .page-tin-tc .news-categories h2, .page-tin-tc .register-cta h2, .page-tin-tc .faq-section h2 {
    font-size: 1.8em;
  }
  .page-tin-tc .news-card h3 {
    font-size: 1.2em;
  }
  .page-tin-tc .news-categories li h3 {
    font-size: 1.3em;
  }
}