.page-th-thao {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #0A2239;
  --background-light: #f4f7f6;
  --background-dark: #071a2b;
  --border-color: #e0e0e0;
  --button-hover-bg: #e6c200;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-th-thao-section {
  padding: 60px 0;
  text-align: center;
}

.page-th-thao-section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-th-thao h1,
.page-th-thao h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-th-thao h1 {
  font-size: 3em;
  color: var(--text-light);
}

.page-th-thao h2 {
  font-size: 2.5em;
}

.page-th-thao h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-th-thao p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}

.page-th-thao ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-th-thao ul li {
  padding: 8px 0;
  font-size: 1.05em;
  color: #555;
}

.page-th-thao ul li:before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-th-thao-cta-button,
.page-th-thao-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-th-thao-cta-button:hover,
.page-th-thao-button:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}

.page-th-thao-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5a 100%);
  padding: 80px 0;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-th-thao-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-th-thao-hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-th-thao-hero-content p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-th-thao-feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-th-thao-feature-item:hover {
  transform: translateY(-5px);
}

.page-th-thao-feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-th-thao-feature-item p {
  color: #555;
  font-size: 1em;
}

.page-th-thao-sport-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao-sport-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-th-thao-sport-card:hover {
  transform: translateY(-5px);
}

.page-th-thao-sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-th-thao-sport-card h3 {
  font-size: 1.4em;
  margin: 0 20px 10px;
  min-height: 60px; /* Ensure consistent card height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-th-thao-sport-card p {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-th-thao-card-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-th-thao-card-link:hover {
  color: var(--secondary-color);
}

.page-th-thao-live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-th-thao-live-betting-content .page-th-thao-text-content {
  flex: 1;
}

.page-th-thao-live-betting-content .page-th-thao-image-content {
  flex: 1;
}

.page-th-thao-live-betting-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-th-thao-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao-step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-th-thao-step-item:hover {
  transform: translateY(-5px);
}

.page-th-thao-step-item h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-th-thao-step-item p {
  color: #555;
  font-size: 1em;
}

.page-th-thao-promo-list {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-th-thao-promo-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-th-thao-safety-support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-th-thao-safety-support-content .page-th-thao-text-content {
  flex: 1;
}

.page-th-thao-safety-support-content .page-th-thao-image-content {
  flex: 1;
}

.page-th-thao-safety-support-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Styles */
.page-th-thao-faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
}

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

.faq-question:hover {
  background: #f5f5f5;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: #444;
  font-size: 1em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
}

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

.page-th-thao-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao-news-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-th-thao-news-card:hover {
  transform: translateY(-5px);
}

.page-th-thao-news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-th-thao-news-card h3 {
  font-size: 1.3em;
  margin: 15px 20px 10px;
  min-height: 60px;
}

.page-th-thao-news-card p {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-th-thao-news-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px;
}

.page-th-thao-view-all {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao h1 {
    font-size: 2.5em;
  }
  .page-th-thao h2 {
    font-size: 2em;
  }
  .page-th-thao-live-betting-content,
  .page-th-thao-safety-support-content {
    flex-direction: column;
    text-align: center;
  }
  .page-th-thao-live-betting-content .page-th-thao-text-content,
  .page-th-thao-safety-support-content .page-th-thao-text-content {
    order: 2;
  }
  .page-th-thao-live-betting-content .page-th-thao-image-content,
  .page-th-thao-safety-support-content .page-th-thao-image-content {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-th-thao-section {
    padding: 40px 0;
  }
  .page-th-thao h1 {
    font-size: 2em;
  }
  .page-th-thao h2 {
    font-size: 1.8em;
  }
  .page-th-thao h3 {
    font-size: 1.3em;
  }
  .page-th-thao p {
    font-size: 1em;
  }
  .page-th-thao-cta-button,
  .page-th-thao-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-th-thao-hero-image {
    height: 180px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer p {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .page-th-thao-hero-image {
    height: 150px;
  }
  .page-th-thao-hero-content p {
    font-size: 0.9em;
  }
  .page-th-thao-features-grid,
  .page-th-thao-sport-cards,
  .page-th-thao-steps-grid,
  .page-th-thao-news-grid {
    grid-template-columns: 1fr;
  }
  .page-th-thao-feature-item,
  .page-th-thao-step-item {
    padding: 20px;
  }
  .page-th-thao-sport-card h3,
  .page-th-thao-news-card h3 {
    min-height: auto;
    margin: 10px 15px;
  }
}