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

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #07101e;
  --card-background: #1a2a40;
  --border-color: #3a4a60;
  --button-hover: #e0b800;
}

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

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

/* Hero Section */
.page-tin-tc-latest-news .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-tin-tc-latest-news .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-tin-tc-latest-news .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc-latest-news .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-tin-tc-latest-news .cta-button:hover {
  background: var(--button-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* News List Section */
.page-tin-tc-latest-news .news-list-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-tin-tc-latest-news .news-list-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-tin-tc-latest-news .section-description {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-tin-tc-latest-news .news-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-tin-tc-latest-news .news-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-tin-tc-latest-news .news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-tin-tc-latest-news .news-card p.news-summary {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-tin-tc-latest-news .news-card .news-date {
  display: block;
  font-size: 0.85em;
  color: #888888;
  padding: 0 20px 10px;
}

.page-tin-tc-latest-news .news-card .read-more {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  margin: 0 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-tin-tc-latest-news .news-card .read-more:hover {
  background-color: var(--button-hover);
}

/* Call to Action Section (CTA) */
.page-tin-tc-latest-news .cta-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-tin-tc-latest-news .cta-section .cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-tin-tc-latest-news .cta-section h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-tin-tc-latest-news .cta-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* FAQ Section */
.page-tin-tc-latest-news .faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-tin-tc-latest-news .faq-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
}

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

.page-tin-tc-latest-news .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.page-tin-tc-latest-news .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-tin-tc-latest-news .faq-question:hover {
  background-color: #0d223f;
}

.page-tin-tc-latest-news .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
}

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

.page-tin-tc-latest-news .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-tin-tc-latest-news .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f0f4f7;
  color: var(--text-dark);
}

.page-tin-tc-latest-news .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-tin-tc-latest-news .faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc-latest-news .hero-content h1 {
    font-size: 2.8em;
  }
  .page-tin-tc-latest-news .news-list-section h2,
  .page-tin-tc-latest-news .cta-section h2,
  .page-tin-tc-latest-news .faq-section h2 {
    font-size: 2em;
  }
  .page-tin-tc-latest-news .news-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc-latest-news .hero-section {
    padding: 40px 15px;
  }
  .page-tin-tc-latest-news .hero-content h1 {
    font-size: 2.2em;
  }
  .page-tin-tc-latest-news .hero-content p {
    font-size: 1em;
  }
  .page-tin-tc-latest-news .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-tin-tc-latest-news .news-list-section,
  .page-tin-tc-latest-news .cta-section,
  .page-tin-tc-latest-news .faq-section {
    padding: 50px 0;
  }
  .page-tin-tc-latest-news .news-card h3 {
    font-size: 1.3em;
  }
  .page-tin-tc-latest-news .faq-question {
    padding: 15px 20px;
  }
  .page-tin-tc-latest-news .faq-question h3 {
    font-size: 1.1em;
  }
  .page-tin-tc-latest-news .faq-answer {
    padding: 0 20px;
  }
  .page-tin-tc-latest-news .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc-latest-news .hero-content h1 {
    font-size: 1.8em;
  }
  .page-tin-tc-latest-news .news-list-section h2,
  .page-tin-tc-latest-news .cta-section h2,
  .page-tin-tc-latest-news .faq-section h2 {
    font-size: 1.8em;
  }
  .page-tin-tc-latest-news .news-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc-latest-news .news-card img {
    height: 200px;
  }
  .page-tin-tc-latest-news .faq-question h3 {
    font-size: 1em;
  }
  .page-tin-tc-latest-news .faq-toggle {
    font-size: 20px;
  }
}