/* style/th-thao.css */
:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #004080;
  --border-color: #e0e0e0;
}

.page-th-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

/* Hero Banner Section */
.page-th-thao .hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
}

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

.page-th-thao .hero-image {
  width: 100%;
  height: 450px; /* Adjusted height for content images */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-th-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-th-thao .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

.page-th-thao .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-th-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-th-thao .cta-button:hover {
  background: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-th-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

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

.page-th-thao .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-th-thao .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-th-thao .section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-dark);
}

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

.page-th-thao .sport-card {
  background-color: var(--text-light);
  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;
  display: flex;
  flex-direction: column;
}

.page-th-thao .sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-th-thao .card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  padding: 20px 15px 10px;
  margin-bottom: 0;
}

.page-th-thao .card-description {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-th-thao .card-button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 15px;
  padding: 12px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-th-thao .card-button:hover {
  background-color: #ffc107;
}

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

.page-th-thao .feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-th-thao .feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-th-thao .feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Guide Section */
.page-th-thao .guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-th-thao .guide-list li {
  background-color: var(--text-light);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  counter-increment: guide-counter;
  position: relative;
  padding-left: 80px;
}

.page-th-thao .guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-th-thao .list-description {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-th-thao .inline-button:hover {
  background-color: #ffc107;
}

/* Tips Section */
.page-th-thao .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-th-thao .tips-list li {
  background-color: var(--text-light);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-th-thao .safety-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-th-thao .safety-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-th-thao .safety-description {
  font-size: 1em;
  color: var(--text-dark);
}

.page-th-thao .cta-bottom {
  text-align: center;
  margin-top: 60px;
  background-color: var(--bg-dark);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-th-thao .cta-text {
  font-size: 1.8em;
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: bold;
}

/* FAQ Section */
.page-th-thao .section-faq {
  background-color: var(--bg-light);
}

.page-th-thao .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-th-thao .faq-q-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

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

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-th-thao .faq-a-text {
  font-size: 1em;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao .hero-title {
    font-size: 2.8em;
  }
  .page-th-thao .hero-description {
    font-size: 1.1em;
  }
  .page-th-thao .section-title {
    font-size: 2em;
  }
  .page-th-thao .sports-grid, .page-th-thao .features-grid, .page-th-thao .safety-grid {
    grid-template-columns: 1fr;
  }
  .page-th-thao .guide-list li {
    padding-left: 60px;
  }
  .page-th-thao .guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
    top: 20px;
  }
  .page-th-thao .list-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-th-thao .hero-banner {
    padding: 60px 0;
  }
  .page-th-thao .hero-image {
    height: 300px;
  }
  .page-th-thao .hero-title {
    font-size: 2.2em;
  }
  .page-th-thao .hero-description {
    font-size: 1em;
  }
  .page-th-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-th-thao section {
    padding: 40px 0;
  }
  .page-th-thao .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-th-thao .section-text {
    font-size: 0.95em;
  }
  .page-th-thao .card-title {
    font-size: 1.5em;
  }
  .page-th-thao .card-description {
    font-size: 0.9em;
  }
  .page-th-thao .feature-title {
    font-size: 1.4em;
  }
  .page-th-thao .list-title {
    font-size: 1.3em;
  }
  .page-th-thao .faq-question {
    padding: 15px 20px;
  }
  .page-th-thao .faq-q-title {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-th-thao .cta-bottom {
    padding: 30px 15px;
  }
  .page-th-thao .cta-text {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-th-thao .hero-image {
    height: 200px;
  }
  .page-th-thao .hero-title {
    font-size: 1.8em;
  }
  .page-th-thao .hero-description {
    font-size: 0.9em;
  }
  .page-th-thao .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-th-thao .section-title {
    font-size: 1.5em;
  }
  .page-th-thao .guide-list li {
    padding-left: 50px;
  }
  .page-th-thao .guide-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
    left: 10px;
    top: 15px;
  }
  .page-th-thao .faq-q-title {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .page-th-thao .cta-text {
    font-size: 1.2em;
  }
}