/* style/tin-tc.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #001f4d;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-tin-tc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-tin-tc h1 {
  font-size: 2.8em;
  text-align: center;
}

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

.page-tin-tc h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.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);
  text-decoration: underline;
}

.page-tin-tc .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.page-tin-tc .cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.3);
}

.page-tin-tc .secondary-cta {
  background: #6c757d;
  margin-left: 20px;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

.page-tin-tc .secondary-cta:hover {
  background: #5a6268;
  box-shadow: 0 6px 16px rgba(90, 98, 104, 0.3);
}

/* Hero Banner */
.page-tin-tc .hero-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-dark);
  overflow: hidden;
}

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

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

.page-tin-tc .hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-color-light);
  max-width: 900px;
  margin: 0 auto;
}

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

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

/* Sections */
.page-tin-tc .latest-news-section, 
.page-tin-tc .promotions-updates-section, 
.page-tin-tc .guides-tips-section, 
.page-tin-tc .market-analysis-section, 
.page-tin-tc .faq-section, 
.page-tin-tc .call-to-action-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.page-tin-tc .news-card-content, .page-tin-tc .promotion-card-content, .page-tin-tc .guide-card-content {
  padding: 20px;
}

.page-tin-tc .news-card-content h3, .page-tin-tc .promotion-card-content h3, .page-tin-tc .guide-card-content h3 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tc .news-card-title-link, .page-tin-tc .promotion-card-title-link, .page-tin-tc .guide-card-title-link {
  color: var(--text-color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc .news-card-title-link:hover, .page-tin-tc .promotion-card-title-link:hover, .page-tin-tc .guide-card-title-link:hover {
  color: var(--primary-color);
}

.page-tin-tc .news-card-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.page-tin-tc .read-more-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: bold;
}

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

.page-tin-tc .view-all-news, .page-tin-tc .view-all-promotions {
  text-align: center;
  margin-top: 40px;
}

/* Market Analysis */
.page-tin-tc .market-analysis-section p {
  text-align: justify;
}

.page-tin-tc .market-analysis-section ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-tin-tc .market-analysis-section ul li {
  margin-bottom: 10px;
}

.page-tin-tc .market-analysis-section b {
  color: var(--primary-color);
}

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

.page-tin-tc .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.page-tin-tc .faq-question:hover {
  background: var(--background-light);
}

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

.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;
  background: #fdfdfd;
  padding: 0 25px;
}

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

.page-tin-tc .faq-answer p {
  margin: 0;
  font-size: 1.1em;
  color: #555;
}

/* Call to Action */
.page-tin-tc .call-to-action-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tc .call-to-action-section h2 {
  color: var(--text-color-light);
  font-size: 2.5em;
}

.page-tin-tc .call-to-action-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 40px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tc h1 {
    font-size: 2.5em;
  }
  .page-tin-tc h2 {
    font-size: 2em;
  }
  .page-tin-tc .hero-content h1 {
    font-size: 3em;
  }
  .page-tin-tc .news-grid, .page-tin-tc .promotion-grid, .page-tin-tc .guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc h1 {
    font-size: 2em;
  }
  .page-tin-tc h2 {
    font-size: 1.8em;
  }
  .page-tin-tc .hero-banner {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-tin-tc .hero-content h1 {
    font-size: 2.5em;
  }
  .page-tin-tc .hero-content p {
    font-size: 1.1em;
  }
  .page-tin-tc .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-tin-tc .secondary-cta {
    margin-left: 10px;
    margin-top: 15px; /* Stack buttons on small screens */
  }
  .page-tin-tc .news-grid, .page-tin-tc .promotion-grid, .page-tin-tc .guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tin-tc .news-card-img, .page-tin-tc .promotion-card-img, .page-tin-tc .guide-card-img {
    height: 180px;
  }
  .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;
  }
  .page-tin-tc .call-to-action-section h2 {
    font-size: 2em;
  }
  .page-tin-tc .call-to-action-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-tin-tc h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.6em;
  }
  .page-tin-tc .hero-content h1 {
    font-size: 2em;
  }
  .page-tin-tc .hero-content p {
    font-size: 1em;
  }
  .page-tin-tc .cta-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-tin-tc .secondary-cta {
    margin-left: 0;
  }
  .page-tin-tc .news-card-content h3, .page-tin-tc .promotion-card-content h3, .page-tin-tc .guide-card-content h3 {
    font-size: 1.2em;
  }
  .page-tin-tc .faq-question h3 {
    font-size: 1em;
  }
  .page-tin-tc .call-to-action-section h2 {
    font-size: 1.8em;
  }
}