/* style/tin-tc-industry-news.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  --accent-color: #FFA500; /* Orange for highlights */
}

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

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

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

.page-tin-tc-industry-news__section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-tin-tc-industry-news__title,
.page-tin-tc-industry-news__section-title {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-tin-tc-industry-news__subtitle {
  text-align: center;
  font-size: 1.2em;
  color: var(--text-dark);
  margin-bottom: 30px;
}

/* Hero Section */
.page-tin-tc-industry-news__hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.page-tin-tc-industry-news__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%; /* Full width for image */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-tin-tc-industry-news__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px; /* Limit height for hero image */
}

.page-tin-tc-industry-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__title {
  color: var(--primary-color);
  font-size: 3.2em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__subtitle {
  color: var(--text-light);
  font-size: 1.5em;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-tin-tc-industry-news__cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-tin-tc-industry-news__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;
}

.page-tin-tc-industry-news__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.page-tin-tc-industry-news__card-content {
  padding: 25px;
}

.page-tin-tc-industry-news__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-tin-tc-industry-news__card-title a:hover {
  color: var(--primary-color);
}

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

.page-tin-tc-industry-news__card-excerpt {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-tin-tc-industry-news__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tin-tc-industry-news__read-more:hover {
  color: var(--secondary-color);
}

/* Latest News List */
.page-tin-tc-industry-news__news-list {
  display: grid;
  gap: 20px;
}

.page-tin-tc-industry-news__list-item {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-tin-tc-industry-news__list-content {
  padding: 20px;
  flex-grow: 1;
}

.page-tin-tc-industry-news__list-title {
  font-size: 1.3em;
  margin-bottom: 8px;
  line-height: 1.3;
}

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

.page-tin-tc-industry-news__list-title a:hover {
  color: var(--primary-color);
}

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

.page-tin-tc-industry-news__list-excerpt {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Pagination */
.page-tin-tc-industry-news__pagination {
  text-align: center;
  margin-top: 40px;
}

.page-tin-tc-industry-news__pagination-link {
  display: inline-block;
  padding: 10px 18px;
  margin: 0 5px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-tin-tc-industry-news__pagination-link:hover,
.page-tin-tc-industry-news__pagination-link--active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Why Follow Section */
.page-tin-tc-industry-news__why-follow {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-tin-tc-industry-news__why-follow .page-tin-tc-industry-news__section-title {
  color: var(--primary-color);
}

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

.page-tin-tc-industry-news__benefits-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  border-left: 5px solid var(--primary-color);
}

.page-tin-tc-industry-news__benefits-list li strong {
  color: var(--primary-color);
}

.page-tin-tc-industry-news__cta-bottom {
  text-align: center;
  margin-top: 30px;
}

.page-tin-tc-industry-news__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* FAQ Section */
.page-tin-tc-industry-news__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--secondary-color);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__title {
    font-size: 2.5em;
  }
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__subtitle {
    font-size: 1.3em;
  }
  .page-tin-tc-industry-news__list-image {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc-industry-news__section {
    padding: 40px 0;
  }
  .page-tin-tc-industry-news__title,
  .page-tin-tc-industry-news__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-tin-tc-industry-news__hero-content {
    padding: 20px;
  }
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__title {
    font-size: 2em;
  }
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__subtitle {
    font-size: 1.1em;
  }
  .page-tin-tc-industry-news__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-tin-tc-industry-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc-industry-news__list-item {
    flex-direction: column;
  }
  .page-tin-tc-industry-news__list-image {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
  }
  .page-tin-tc-industry-news__list-content {
    padding: 15px;
  }
  .page-tin-tc-industry-news__list-title {
    font-size: 1.1em;
  }
  .page-tin-tc-industry-news__benefits-list li {
    font-size: 1em;
    padding: 12px 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc-industry-news__container {
    padding: 0 15px;
  }
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__title {
    font-size: 1.8em;
  }
  .page-tin-tc-industry-news__hero-content .page-tin-tc-industry-news__subtitle {
    font-size: 0.9em;
  }
  .page-tin-tc-industry-news__cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-tin-tc-industry-news__pagination-link {
    padding: 8px 14px;
    font-size: 0.9em;
  }
  .page-tin-tc-industry-news__list-image {
    height: 150px;
  }
}