/* style/tin-tc.css */
.page-tin-tc {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #1A202C;
  line-height: 1.6;
}

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

.page-tin-tc-section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-tin-tc-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

/* Hero Section */
.page-tin-tc-hero {
  background: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('[GALLERY:blog:vu88,news,header-banner]');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-tin-tc-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tin-tc-hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc-hero-description {
  font-size: 1.2em;
  color: #CCCCCC;
  margin-bottom: 40px;
}

.page-tin-tc-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-tin-tc-cta-button:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Categories Section */
.page-tin-tc-categories {
  padding: 60px 0;
  background-color: #2D3748;
}

.page-tin-tc-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-tin-tc-category-item {
  background-color: #3F4A59;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #FFD700;
}

.page-tin-tc-category-item:hover {
  background-color: #FFD700;
  color: #1A202C;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

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

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

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

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

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

.page-tin-tc-news-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

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

.page-tin-tc-news-title a:hover {
  color: #E6C200;
}

.page-tin-tc-news-meta {
  font-size: 0.9em;
  color: #AAAAAA;
  margin-bottom: 15px;
}

.page-tin-tc-news-excerpt {
  font-size: 1em;
  color: #CCCCCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tc-read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  border-radius: 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tin-tc-read-more:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Featured News */
.page-tin-tc-featured-news {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-tin-tc-featured-grid {
  grid-template-columns: 1fr 1fr;
}

/* Latest News */
.page-tin-tc-latest-news {
  padding: 80px 0;
  background-color: #2D3748;
}

/* Pagination */
.page-tin-tc-pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-tin-tc-pagination-link {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #FFD700;
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tin-tc-pagination-link:hover,
.page-tin-tc-pagination-link.page-tin-tc-active {
  background-color: #FFD700;
  color: #1A202C;
}

/* CTA Section */
.page-tin-tc-cta-section {
  background-color: #1A202C;
  padding: 80px 0;
  text-align: center;
}

.page-tin-tc-cta-text {
  font-size: 1.2em;
  color: #CCCCCC;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-tin-tc-faq {
  padding: 80px 0;
  background-color: #2D3748;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #3F4A59;
  border: 1px solid #4A5568;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.faq-question:hover {
  background-color: #4A5568;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background-color: #333C4A;
  color: #CCCCCC;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border: 1px solid #4A5568;
  border-top: none;
  border-radius: 0 0 5px 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tc-hero-title {
    font-size: 3em;
  }
  .page-tin-tc-section-title {
    font-size: 2em;
  }
  .page-tin-tc-featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-tin-tc-hero {
    padding: 80px 0;
    min-height: 300px;
  }
  .page-tin-tc-hero-title {
    font-size: 2.5em;
  }
  .page-tin-tc-hero-description {
    font-size: 1em;
  }
  .page-tin-tc-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-tin-tc-category-list {
    flex-direction: column;
    align-items: center;
  }
  .page-tin-tc-news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc-news-title {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc-hero-title {
    font-size: 2em;
  }
  .page-tin-tc-section-title {
    font-size: 1.8em;
  }
  .page-tin-tc-news-content {
    padding: 15px;
  }
  .page-tin-tc-news-title {
    font-size: 1.2em;
  }
  .page-tin-tc-news-meta, .page-tin-tc-news-excerpt {
    font-size: 0.9em;
  }
  .page-tin-tc-read-more {
    padding: 6px 12px;
    font-size: 0.9em;
  }
  .page-tin-tc-pagination-link {
    padding: 8px 14px;
    font-size: 0.9em;
  }
}