/* style/tin-tc.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #ffffff;
  --border-color: #e0e0e0;
  --hover-dark: #0f131a;
  --hover-light: #f5f5f5;
}

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

/* Hero News Section */
.page-tin-tc .hero-news-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

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

.page-tin-tc .hero-news-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-tin-tc .hero-news-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.page-tin-tc .hero-news-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page-tin-tc .hero-news-description {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 30px;
  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: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

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

/* Section Titles */
.page-tin-tc .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
}

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

/* Latest News Section */
.page-tin-tc .latest-news-section {
  padding: 80px 0;
  background-color: var(--background-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 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(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-tin-tc .news-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

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

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

.page-tin-tc .read-more-link {
  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-link:hover {
  color: var(--primary-color);
}

/* Category News Section */
.page-tin-tc .category-news-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-tin-tc .category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-tin-tc .tab-button {
  background: #eee;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.page-tin-tc .tab-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-tin-tc .tab-button.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-tin-tc .category-content .news-list {
  display: none;
  flex-direction: column;
  gap: 25px;
}

.page-tin-tc .category-content .news-list.active {
  display: flex;
}

.page-tin-tc .news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tc .news-item-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.page-tin-tc .news-item-details {
  flex-grow: 1;
}

.page-tin-tc .news-item-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

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

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

.page-tin-tc .news-item-meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 10px;
}

.page-tin-tc .news-item-summary {
  font-size: 0.95em;
  color: #666;
}

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

.page-tin-tc .cta-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-tin-tc .cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-tin-tc .cta-button-bottom {
  display: inline-block;
  padding: 18px 50px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-tin-tc .cta-button-bottom:hover {
  background: #e6c200;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tc .hero-news-title {
    font-size: 2.5em;
  }
  .page-tin-tc .hero-news-description {
    font-size: 1.1em;
  }
  .page-tin-tc .section-title {
    font-size: 2em;
  }
  .page-tin-tc .news-card-title {
    font-size: 1.3em;
  }
  .page-tin-tc .news-item-image {
    width: 150px;
    height: 100px;
  }
  .page-tin-tc .news-item-title {
    font-size: 1.1em;
  }
  .page-tin-tc .cta-title {
    font-size: 2.2em;
  }
  .page-tin-tc .cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-tin-tc .hero-news-section {
    padding: 40px 0;
  }
  .page-tin-tc .hero-news-title {
    font-size: 2em;
  }
  .page-tin-tc .hero-news-description {
    font-size: 1em;
  }
  .page-tin-tc .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-tin-tc .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-tin-tc .latest-news-section, .page-tin-tc .category-news-section, .page-tin-tc .call-to-action-section {
    padding: 50px 0;
  }
  .page-tin-tc .news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc .news-card-image {
    height: 180px;
  }
  .page-tin-tc .news-card-body {
    padding: 20px;
  }
  .page-tin-tc .news-card-title {
    font-size: 1.2em;
  }
  .page-tin-tc .category-tabs {
    flex-direction: column;
    gap: 10px;
  }
  .page-tin-tc .tab-button {
    width: 100%;
  }
  .page-tin-tc .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-tin-tc .news-item-image {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
  }
  .page-tin-tc .news-item-title {
    font-size: 1.2em;
  }
  .page-tin-tc .cta-title {
    font-size: 1.8em;
  }
  .page-tin-tc .cta-description {
    font-size: 1em;
  }
  .page-tin-tc .cta-button-bottom {
    padding: 15px 35px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-tin-tc .hero-news-title {
    font-size: 1.8em;
  }
  .page-tin-tc .hero-news-description {
    font-size: 0.9em;
  }
  .page-tin-tc .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-tin-tc .section-title {
    font-size: 1.5em;
  }
  .page-tin-tc .news-card-title {
    font-size: 1.1em;
  }
  .page-tin-tc .news-item-title {
    font-size: 1.1em;
  }
  .page-tin-tc .cta-title {
    font-size: 1.6em;
  }
  .page-tin-tc .cta-button-bottom {
    padding: 12px 30px;
    font-size: 1em;
  }
}