/* style/tin-tc.css */

/* General Styles for page-tin-tc */
.page-tin-tc {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-tin-tc__section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

/* Buttons */
.page-tin-tc__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-tin-tc__btn--primary {
  background-color: #FF4500;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
}

.page-tin-tc__btn--primary:hover {
  background-color: #e03c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 69, 0, 0.4);
}

.page-tin-tc__btn--secondary {
  background-color: #1E90FF;
  color: #fff;
  box-shadow: 0 4px 10px rgba(30, 144, 255, 0.3);
}

.page-tin-tc__btn--secondary:hover {
  background-color: #157ae0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 144, 255, 0.4);
}

.page-tin-tc__btn--tertiary {
  background-color: #f0f0f0;
  color: #FF4500;
  border: 1px solid #FF4500;
}

.page-tin-tc__btn--tertiary:hover {
  background-color: #FF4500;
  color: #fff;
}

/* Hero Section */
.page-tin-tc__hero {
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-tin-tc__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tc__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured News Section */
.page-tin-tc__featured-news {
  padding: 60px 0;
  background-color: #fff;
}

.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: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  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 12px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tc__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.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-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tin-tc__news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc__news-title a:hover {
  color: #FF4500;
}

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

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

.page-tin-tc__news-card .page-tin-tc__btn {
  margin-top: auto;
  align-self: flex-start;
}

/* All News Section */
.page-tin-tc__all-news {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-tin-tc__news-list {
  display: grid;
  gap: 30px;
}

.page-tin-tc__list-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tc__list-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-tin-tc__list-content {
  padding: 25px;
  flex-grow: 1;
}

.page-tin-tc__list-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-tin-tc__list-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tc__list-title a:hover {
  color: #1E90FF;
}

.page-tin-tc__list-date {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 10px;
}

.page-tin-tc__list-excerpt {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
}

.page-tin-tc__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-tin-tc__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  color: #FF4500;
  border: 1px solid #FF4500;
  transition: all 0.3s ease;
  font-weight: bold;
}

.page-tin-tc__pagination-link:hover,
.page-tin-tc__pagination-link--active {
  background-color: #FF4500;
  color: #fff;
}

/* Call to Action Section */
.page-tin-tc__cta {
  background: linear-gradient(45deg, #1E90FF, #FF4500);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.page-tin-tc__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-tin-tc__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tc__cta .page-tin-tc__btn {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc__hero-title {
    font-size: 2.8em;
  }
  .page-tin-tc__hero-description {
    font-size: 1.1em;
  }
  .page-tin-tc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-tin-tc__list-item {
    flex-direction: column;
    text-align: center;
  }
  .page-tin-tc__list-image {
    width: 100%;
    height: 200px;
  }
  .page-tin-tc__list-content {
    padding: 20px;
  }
  .page-tin-tc__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-tin-tc__hero {
    padding: 80px 0;
  }
  .page-tin-tc__hero-title {
    font-size: 2.2em;
  }
  .page-tin-tc__hero-description {
    font-size: 1em;
  }
  .page-tin-tc__section-title {
    font-size: 2em;
  }
  .page-tin-tc__news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc__list-item {
    flex-direction: column;
  }
  .page-tin-tc__list-image {
    width: 100%;
    height: 180px;
  }
  .page-tin-tc__cta-title {
    font-size: 1.8em;
  }
  .page-tin-tc__cta .page-tin-tc__btn {
    display: block;
    margin: 15px auto;
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc__hero {
    padding: 60px 0;
  }
  .page-tin-tc__hero-title {
    font-size: 1.8em;
  }
  .page-tin-tc__hero-description {
    font-size: 0.9em;
  }
  .page-tin-tc__section-title {
    font-size: 1.8em;
  }
  .page-tin-tc__news-card {
    margin-bottom: 20px;
  }
  .page-tin-tc__list-item {
    margin-bottom: 20px;
  }
  .page-tin-tc__cta-title {
    font-size: 1.5em;
  }
  .page-tin-tc__cta-description {
    font-size: 0.9em;
  }
}