.page-tin-tc {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #071a3d;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-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 h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

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

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

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

.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);
}

.page-tin-tc .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-tin-tc .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

.page-tin-tc .large-cta {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Hero News Banner */
.page-tin-tc .hero-news-banner {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

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

.page-tin-tc .hero-news-banner .hero-overlay {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-tin-tc .hero-news-banner p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Latest News Section */
.page-tin-tc .latest-news-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

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

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

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

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

.page-tin-tc .news-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4em;
  min-height: 60px; /* Ensure consistent height for titles */
}

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

.page-tin-tc .news-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  min-height: 75px; /* Ensure consistent height for descriptions */
}

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

.page-tin-tc .news-card .read-more {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: bold;
}

/* News Categories */
.page-tin-tc .news-categories {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-tin-tc .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  text-align: center;
}

.page-tin-tc .category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-tin-tc .category-card:hover span {
    color: var(--primary-color);
}

.page-tin-tc .category-card .category-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* All Articles Section */
.page-tin-tc .all-articles {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-tin-tc .article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-tin-tc .list-item {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tc .list-item .article-list-thumbnail {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-tin-tc .list-item .list-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-tin-tc .list-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-tin-tc .list-item h3 a {
  color: var(--primary-color);
  display: block;
}

.page-tin-tc .list-item p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 10px;
}

.page-tin-tc .list-item .article-date {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 10px;
}

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

.page-tin-tc .page-link {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--primary-color);
  font-weight: bold;
  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-light);
}

/* Call to Action Section */
.page-tin-tc .call-to-action-section {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-tin-tc .call-to-action-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-tin-tc .call-to-action-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-tin-tc .faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

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

.page-tin-tc .faq-question:hover {
  background: #f0f0f0;
}

.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);
}

.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: #ffffff;
}

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

.page-tin-tc .faq-item.active .faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

/* 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 .hero-news-banner .hero-overlay p {
    font-size: 1.1em;
  }
  .page-tin-tc .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-tin-tc .list-item {
    flex-direction: column;
  }
  .page-tin-tc .list-item .article-list-thumbnail {
    width: 100%;
    height: 200px;
  }
  .page-tin-tc .list-item .list-content {
    padding: 15px;
  }
  .page-tin-tc .news-card h3, .page-tin-tc .list-item h3 {
    min-height: auto;
  }
  .page-tin-tc .news-card p {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-tin-tc h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.6em;
  }
  .page-tin-tc .hero-news-banner {
    min-height: 350px;
  }
  .page-tin-tc .hero-news-banner .hero-overlay {
    padding: 30px 15px;
  }
  .page-tin-tc .hero-news-banner .hero-overlay p {
    font-size: 1em;
  }
  .page-tin-tc .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-tin-tc .large-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-tin-tc .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-tin-tc .category-card .category-icon {
    width: 80px;
    height: 80px;
  }
  .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 h1 {
    font-size: 1.5em;
  }
  .page-tin-tc h2 {
    font-size: 1.4em;
  }
  .page-tin-tc h3 {
    font-size: 1.2em;
  }
  .page-tin-tc .news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tin-tc .news-card .card-content, .page-tin-tc .list-item .list-content {
    padding: 15px;
  }
  .page-tin-tc .hero-news-banner {
    min-height: 300px;
  }
}