.page-tin-tc {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
  --accent-color: #FFA500;
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

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

.page-tin-tc h1 {
  font-size: 3.2em;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-tin-tc h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-tin-tc p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-tin-tc-hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}

.page-tin-tc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-tin-tc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-tin-tc-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
}

.page-tin-tc-hero-content p {
  font-size: 1.4em;
  margin-top: 20px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-tin-tc-latest-news {
  padding: 40px 0;
  background-color: var(--bg-light);
}

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

.page-tin-tc-article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-tin-tc-article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-tin-tc-article-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-tin-tc-article-content h3 a:hover {
  color: var(--primary-color);
}

.page-tin-tc-article-content p {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-tin-tc-article-date {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 15px;
  display: block;
}

.page-tin-tc-readmore-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-tin-tc-readmore-btn:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.page-tin-tc-view-all-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tc-view-all-btn:hover {
  background-color: #A52A2A;
  transform: translateY(-2px);
}

.page-tin-tc-categories {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-tin-tc-category-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-tin-tc-category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-tin-tc-category-card h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-size: 1.4em;
}

.page-tin-tc-category-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #555555;
}

.page-tin-tc-featured-article {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-tin-tc-featured-article h2 {
  color: var(--primary-color);
}

.page-tin-tc-featured-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-tin-tc-featured-img {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tc-featured-text {
  width: 50%;
}

.page-tin-tc-featured-text p {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-tin-tc-featured-text .page-tin-tc-readmore-btn {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-tin-tc-featured-text .page-tin-tc-readmore-btn:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.page-tin-tc-cta {
  background: linear-gradient(135deg, var(--secondary-color), #A52A2A);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
}

.page-tin-tc-cta h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-tin-tc-cta p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #eeeeee;
}

.page-tin-tc-cta-btn {
  display: inline-block;
  padding: 18px 45px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.5em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tc-cta-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tin-tc-faq {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-tin-tc-faq h2 {
  color: var(--secondary-color);
}

.faq-list {
  margin-top: 30px;
}

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
  width: 24px;
  text-align: center;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #555555;
}

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

.faq-item.active .faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc h1 {
    font-size: 2.5em;
  }
  .page-tin-tc h2 {
    font-size: 2em;
  }
  .page-tin-tc-hero {
    height: 350px;
  }
  .page-tin-tc-hero-content p {
    font-size: 1.2em;
  }
  .page-tin-tc-featured-content {
    flex-direction: column;
  }
  .page-tin-tc-featured-img,
  .page-tin-tc-featured-text {
    width: 100%;
  }
  .page-tin-tc-cta h2 {
    font-size: 2.2em;
  }
  .page-tin-tc-cta p {
    font-size: 1.1em;
  }
  .page-tin-tc-cta-btn {
    font-size: 1.3em;
    padding: 15px 35px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc h1 {
    font-size: 2em;
  }
  .page-tin-tc h2 {
    font-size: 1.8em;
  }
  .page-tin-tc h3 {
    font-size: 1.5em;
  }
  .page-tin-tc-hero {
    height: 300px;
  }
  .page-tin-tc-hero-content p {
    font-size: 1em;
  }
  .page-tin-tc-articles-grid,
  .page-tin-tc-category-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc-article-img {
    height: 180px;
  }
  .page-tin-tc-article-content {
    padding: 15px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
  .page-tin-tc-cta h2 {
    font-size: 1.8em;
  }
  .page-tin-tc-cta p {
    font-size: 1em;
  }
  .page-tin-tc-cta-btn {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc-container {
    padding: 15px;
  }
  .page-tin-tc h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.6em;
  }
  .page-tin-tc h3 {
    font-size: 1.3em;
  }
  .page-tin-tc-hero {
    height: 250px;
  }
  .page-tin-tc-hero-content p {
    font-size: 0.9em;
  }
  .page-tin-tc-article-img {
    height: 160px;
  }
  .page-tin-tc-article-content {
    padding: 12px;
  }
  .page-tin-tc-readmore-btn {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-tin-tc-view-all-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-tin-tc-cta h2 {
    font-size: 1.6em;
  }
  .page-tin-tc-cta p {
    font-size: 0.9em;
  }
  .page-tin-tc-cta-btn {
    font-size: 1em;
    padding: 10px 20px;
  }
}