:root {
  --primary-color: #1A237E;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0f154c;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

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

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

.page-tin-tc section {
  padding: 60px 0;
}

.page-tin-tc .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tc .section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-tin-tc .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-tin-tc .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 100px 20px;
}

.page-tin-tc .hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-tin-tc .hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

/* News Categories Section */
.page-tin-tc .news-categories-section {
  background-color: var(--background-light);
}

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

.page-tin-tc .category-card {
  background-color: 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;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

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

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

.page-tin-tc .category-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-tin-tc .category-excerpt {
  font-size: 16px;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Featured News Section */
.page-tin-tc .featured-news-section {
  background-color: #e8eceb;
}

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

.page-tin-tc .news-card {
  background-color: 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;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-tin-tc .news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-tin-tc .news-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc .news-title a:hover {
  color: var(--secondary-color);
}

.page-tin-tc .news-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.page-tin-tc .news-excerpt {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tc .read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-tin-tc .read-more:hover {
  color: var(--primary-color);
}

/* Latest Articles Section */
.page-tin-tc .latest-articles-section {
  background-color: var(--background-light);
}

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

.page-tin-tc .article-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tc .article-thumbnail {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-tin-tc .article-info {
  flex-grow: 1;
}

.page-tin-tc .article-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.page-tin-tc .article-heading a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc .article-heading a:hover {
  color: var(--secondary-color);
}

.page-tin-tc .article-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.page-tin-tc .article-excerpt {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-tin-tc .read-more-small {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s ease;
}

.page-tin-tc .read-more-small:hover {
  color: var(--primary-color);
}

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

/* Why saowin News Section */
.page-tin-tc .why-saowin-news-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-tin-tc .why-saowin-news-section .section-title {
  color: var(--secondary-color);
}

.page-tin-tc .why-saowin-news-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.page-tin-tc .benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-tin-tc .benefit-list li {
  background-color: #2b358e; /* Darker primary for contrast */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 17px;
  color: var(--text-light);
}

.page-tin-tc .benefit-list li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-tin-tc .faq-section {
  background-color: var(--background-light);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.faq-question h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

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

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc .hero-title {
    font-size: 40px;
  }

  .page-tin-tc .hero-description {
    font-size: 18px;
  }

  .page-tin-tc .section-title {
    font-size: 30px;
  }

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

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

  .page-tin-tc .article-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-tin-tc .article-thumbnail {
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-tin-tc .article-info {
    width: 100%;
  }
}

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

  .page-tin-tc .hero-section {
    padding: 60px 15px;
  }

  .page-tin-tc .hero-title {
    font-size: 32px;
  }

  .page-tin-tc .hero-description {
    font-size: 16px;
  }

  .page-tin-tc .section-title {
    font-size: 26px;
  }

  .page-tin-tc .section-description {
    font-size: 16px;
  }

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

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

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

  .faq-question {
    padding: 12px 15px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 10px 15px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}