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

.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: #e53e3e;
  margin-bottom: 20px;
  text-align: center;
}

.page-tin-tc h1 {
  font-size: 2.8em;
  font-weight: bold;
}

.page-tin-tc h2 {
  font-size: 2.2em;
  font-weight: bold;
  padding-top: 40px;
}

.page-tin-tc h3 {
  font-size: 1.6em;
  font-weight: bold;
}

.page-tin-tc p {
  margin-bottom: 15px;
  text-align: center;
  color: #cccccc;
}

.page-tin-tc a {
  color: #e53e3e;
  text-decoration: none;
}

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

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

.page-tin-tc__cta-button:hover {
  background-color: #c53030;
  transform: translateY(-2px);
}

/* Hero Section */
.page-tin-tc__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1a202c, #2d3748);
}

.page-tin-tc__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-tin-tc__hero-content h1 {
  color: #e53e3e;
  margin-bottom: 20px;
}

.page-tin-tc__hero-content p {
  color: #cccccc;
  font-size: 1.1em;
}

.page-tin-tc__hero-image {
  width: 100%;
  max-width: 1000px;
}

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

/* Categories Section */
.page-tin-tc__categories {
  padding: 80px 0;
  background-color: #2d3748;
}

.page-tin-tc__categories p {
  margin-bottom: 40px;
}

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

.page-tin-tc__category-card {
  background-color: #1a202c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tin-tc__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-tin-tc__category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #e53e3e;
  margin-bottom: 15px;
}

.page-tin-tc__category-card h3 {
  color: #e53e3e;
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-tin-tc__category-card p {
  color: #cccccc;
  font-size: 0.95em;
  padding: 0 15px;
  text-align: center;
}

/* Latest Articles Section */
.page-tin-tc__latest-articles {
  padding: 80px 0;
  background-color: #1a202c;
}

.page-tin-tc__latest-articles p {
  margin-bottom: 40px;
}

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

.page-tin-tc__article-card {
  background-color: #2d3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tc__article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #e53e3e;
}

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

.page-tin-tc__article-content h3 {
  font-size: 1.3em;
  text-align: left;
  margin-bottom: 10px;
  color: #e53e3e;
}

.page-tin-tc__article-content p {
  color: #cccccc;
  font-size: 0.9em;
  text-align: left;
  margin-bottom: 10px;
}

.page-tin-tc__read-more {
  color: #e53e3e;
  font-weight: bold;
  margin-top: auto;
  align-self: flex-start;
}

.page-tin-tc__read-more:hover {
  text-decoration: underline;
}

.page-tin-tc__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-tin-tc__pagination-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: #2d3748;
  color: #ffffff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-tin-tc__pagination-link:hover,
.page-tin-tc__pagination-link--active {
  background-color: #e53e3e;
  text-decoration: none;
}

/* In-depth News Section */
.page-tin-tc__in-depth-news {
  padding: 80px 0;
  background-color: #2d3748;
}

.page-tin-tc__in-depth-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-tin-tc__in-depth-content img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-tin-tc__in-depth-content p {
  text-align: justify;
  color: #cccccc;
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Section */
.page-tin-tc__faq {
  padding: 80px 0;
  background-color: #1a202c;
}

.page-tin-tc__faq p {
  margin-bottom: 40px;
}

.page-tin-tc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2d3748;
  border: 1px solid #3a475a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #3a475a;
  border-color: #e53e3e;
}

.faq-question h3 {
  margin: 0;
  color: #e53e3e;
  font-size: 1.2em;
  text-align: left;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #222a36;
  border-radius: 0 0 8px 8px;
  border: 1px solid #3a475a;
  border-top: none;
}

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

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

.faq-answer p {
  text-align: left;
  color: #cccccc;
  margin: 0;
}

/* Call to Action Section */
.page-tin-tc__cta {
  padding: 80px 0;
  background-color: #e53e3e;
  text-align: center;
}

.page-tin-tc__cta h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-tin-tc__cta p {
  color: #ffffff;
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-tin-tc__cta-button--primary {
  background-color: #1a202c;
  color: #ffffff;
}

.page-tin-tc__cta-button--primary:hover {
  background-color: #2d3748;
}

.page-tin-tc__cta-button--secondary {
  background-color: #ffffff;
  color: #e53e3e;
}

.page-tin-tc__cta-button--secondary:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc h1 {
    font-size: 2.2em;
  }
  .page-tin-tc h2 {
    font-size: 1.8em;
  }
  .page-tin-tc h3 {
    font-size: 1.3em;
  }
  .page-tin-tc__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-tin-tc__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-tin-tc__in-depth-content {
    flex-direction: column;
  }
  .page-tin-tc__in-depth-content img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-tin-tc__hero,
  .page-tin-tc__categories,
  .page-tin-tc__latest-articles,
  .page-tin-tc__in-depth-news,
  .page-tin-tc__faq,
  .page-tin-tc__cta {
    padding: 40px 0;
  }
  .page-tin-tc h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.6em;
  }
  .page-tin-tc__hero-content p,
  .page-tin-tc__in-depth-content p,
  .page-tin-tc__cta p {
    font-size: 1em;
  }
  .page-tin-tc__category-grid,
  .page-tin-tc__article-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-tin-tc__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}