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

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

.page-tin-tc h1,
.page-tin-tc h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-tin-tc h3 {
  color: #003366;
  margin-bottom: 15px;
}

.page-tin-tc p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-tin-tc .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFCC00;
  color: #003366;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Hero Section */
.page-tin-tc .hero-news-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #003366; /* Fallback for image loading */
  color: #ffffff;
}

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

.page-tin-tc .hero-news-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-tin-tc .hero-news-content h1 {
  color: #FFCC00;
  font-size: 3.2em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc .hero-news-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

/* Sections */
.page-tin-tc .section-updates,
.page-tin-tc .section-guides,
.page-tin-tc .section-market-trends,
.page-tin-tc .section-faq,
.page-tin-tc .section-cta-bottom {
  padding: 60px 0;
}

.page-tin-tc .section-updates,
.page-tin-tc .section-market-trends {
  background-color: #f2f2f2;
}

.page-tin-tc .section-cta-bottom {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-tin-tc .section-cta-bottom h2 {
  color: #FFCC00;
}

.page-tin-tc .section-cta-bottom p {
  color: #e0e0e0;
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-tin-tc .news-card {
  background-color: #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 .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-tin-tc .news-card h3 {
  padding: 20px 20px 10px 20px;
  font-size: 1.4em;
  margin: 0;
}

.page-tin-tc .news-card h3 a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc .news-card h3 a:hover {
  color: #FFCC00;
}

.page-tin-tc .news-card p {
  padding: 0 20px 15px 20px;
  flex-grow: 1;
  color: #555555;
}

.page-tin-tc .news-card .read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-tin-tc .news-card .read-more:hover {
  background-color: #004d99;
}

/* FAQ Section */
.page-tin-tc .faq-list {
  margin-top: 40px;
}

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

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

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

.page-tin-tc .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #003366;
}

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

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

.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: #f9f9f9;
  color: #555555;
}

.page-tin-tc .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
}

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

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

@media (max-width: 768px) {
  .page-tin-tc .hero-news-section {
    padding: 40px 15px;
  }

  .page-tin-tc .hero-news-image {
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .page-tin-tc .hero-news-content h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-tin-tc .hero-news-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-tin-tc .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-tin-tc h2 {
    font-size: 2em;
    margin-bottom: 25px;
  }

  .page-tin-tc .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tin-tc .news-card h3 {
    font-size: 1.2em;
  }

  .page-tin-tc .section-updates, .page-tin-tc .section-guides, .page-tin-tc .section-market-trends, .page-tin-tc .section-faq, .page-tin-tc .section-cta-bottom {
    padding: 40px 0;
  }

  .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: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc .hero-news-content h1 {
    font-size: 1.8em;
  }

  .page-tin-tc h2 {
    font-size: 1.6em;
  }

  .page-tin-tc .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  
  .page-tin-tc .news-card img {
    height: 180px;
  }
}