/* style/tin-tc.css */
:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #2F4F4F; /* Xanh lá đậm / Xám xanh */
  --accent-color: #E74C3C; /* Đỏ nhấn */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #2c3e50;
  --border-color: #e0e0e0;
}

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

.page-tin-tc h1, .page-tin-tc h2, .page-tin-tc h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tc h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-tin-tc h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-tin-tc h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.page-tin-tc h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
}

.page-tin-tc p {
  margin-bottom: 15px;
}

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

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

.page-tin-tc a:hover {
  color: var(--accent-color);
}

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

.page-tin-tc .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-tin-tc .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(--secondary-color);
  overflow: hidden;
}

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

.page-tin-tc .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tc .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-tin-tc .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

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

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

/* Intro Section */
.page-tin-tc .intro-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.page-tin-tc .intro-section .info-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-tin-tc .intro-section .info-list li {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  font-size: 1.1em;
  position: relative;
  padding-left: 45px;
}

.page-tin-tc .intro-section .info-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 20px;
  font-size: 1.2em;
}

/* Categories Section */
.page-tin-tc .categories-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-tin-tc .category-card {
  background-color: var(--bg-light);
  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-align: center;
  display: flex;
  flex-direction: column;
}

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

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

.page-tin-tc .category-card h3 {
  padding: 15px 20px 10px;
  margin-bottom: 0;
  color: var(--secondary-color);
}

.page-tin-tc .category-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tc .category-card h3 a:hover {
  color: var(--primary-color);
}

.page-tin-tc .category-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-tin-tc .category-card .read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 0 0 10px 10px;
  text-align: center;
  font-weight: bold;
  width: 100%;
  transition: background-color 0.3s ease;
}

.page-tin-tc .category-card .read-more:hover {
  background-color: var(--accent-color);
}

/* Featured Articles Section */
.page-tin-tc .featured-articles {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-tin-tc .article-card {
  background-color: #ffffff;
  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 .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-tin-tc .article-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tc .article-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tc .article-card h3 a:hover {
  color: var(--primary-color);
}

.page-tin-tc .article-card p {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tc .article-card .read-more {
  display: inline-block;
  margin-top: auto;
  font-weight: bold;
}

/* Latest News Section */
.page-tin-tc .latest-news {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-tin-tc .news-list {
  margin-top: 40px;
}

.page-tin-tc .news-item {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tc .news-item:hover {
  background-color: #e9ecef;
  transform: translateY(-5px);
}

.page-tin-tc .news-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-tin-tc .news-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tc .news-item h3 a:hover {
  color: var(--primary-color);
}

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

.page-tin-tc .news-item p:first-of-type {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 5px;
}

.page-tin-tc .news-item .read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

.page-tin-tc .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}

.page-tin-tc .pagination .page-link {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--secondary-color);
  background-color: #ffffff;
  transition: all 0.3s ease;
  font-weight: bold;
}

.page-tin-tc .pagination .page-link:hover:not(.active):not(.disabled) {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.page-tin-tc .pagination .page-link.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  cursor: default;
}

.page-tin-tc .pagination .page-link.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsible Gambling Section */
.page-tin-tc .responsible-gambling {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
}

.page-tin-tc .responsible-gambling h2 {
  color: var(--primary-color);
}

.page-tin-tc .responsible-gambling p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-tin-tc .responsible-gambling .responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tc .responsible-gambling .responsibility-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-tin-tc .responsible-gambling a {
  color: var(--primary-color);
}

/* FAQ Section */
.page-tin-tc .faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-tin-tc .faq-container {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tc .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-tin-tc .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.page-tin-tc .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.page-tin-tc .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #555;
}

.page-tin-tc .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.page-tin-tc .faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tin-tc .hero-content h1 {
    font-size: 3em;
  }
  .page-tin-tc .intro-section .info-list li {
    flex: 1 1 calc(50% - 30px);
  }
  .page-tin-tc .category-grid, .page-tin-tc .article-list-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-tin-tc .hero-section {
    padding: 40px 15px;
  }
  .page-tin-tc .hero-content h1 {
    font-size: 2.2em;
  }
  .page-tin-tc h2 {
    font-size: 1.8em;
  }
  .page-tin-tc h3 {
    font-size: 1.4em;
  }
  .page-tin-tc .intro-section .info-list li {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-tin-tc .category-grid, .page-tin-tc .article-list-grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tc .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-tin-tc .faq-question {
    padding: 15px 20px;
  }
  .page-tin-tc .faq-question h3 {
    font-size: 1.05em;
  }
  .page-tin-tc .faq-toggle {
    font-size: 20px;
  }
  .page-tin-tc .faq-answer {
    padding: 0 20px;
  }
  .page-tin-tc .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-tin-tc .news-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tc .hero-content h1 {
    font-size: 1.8em;
  }
  .page-tin-tc h2 {
    font-size: 1.6em;
  }
  .page-tin-tc .hero-image {
    margin-bottom: 20px;
  }
  .page-tin-tc .hero-content p {
    font-size: 1em;
  }
  .page-tin-tc .cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-tin-tc .container {
    padding: 0 15px;
  }
}