/* style/the-thao.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --text-main-color: #1F2D3D;
  --text-dark-color: #000000;
  --background-light: #F4F7FB;
  --card-bg: #FFFFFF;
  --border-color: #D6E2FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --glow-color: #A5C4FF;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-light); /* Default light background, text will be dark */
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-the-thao__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--text-dark-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color);
}

.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white for readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
  transform: translateY(-50px); /* Adjust to position below image */
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-the-thao__btn-link {
  background: none;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 15px;
  font-size: 1em;
  white-space: normal;
}

.page-the-thao__btn-link:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-the-thao__sports-selection-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__sport-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__sport-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__sport-card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  margin-bottom: 15px;
}

.page-the-thao__sport-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 15px 15px 10px;
  font-weight: 700;
}

.page-the-thao__sport-card-text {
  font-size: 1em;
  color: var(--text-main-color);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__advantages-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: #ffffff; /* Light text */
  margin-bottom: 40px;
}

.page-the-thao__advantages-section .page-the-thao__section-title,
.page-the-thao__advantages-section .page-the-thao__section-description {
  color: #ffffff;
}

.page-the-thao__guide-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__guide-card {
  flex: 0 0 calc(20% - 16px); /* 5 cards, accounting for gap */
  max-width: calc(20% - 16px);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-the-thao__guide-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__guide-card img {
  width: 250px;
  height: 350px;
  object-fit: contain; /* Ensure the image fits without cropping if aspect ratio is slightly off */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Positioning for guide cards to create a wave effect on desktop */
.page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-5 {
  padding-top: 50px;
}
.page-the-thao__guide-card--pos-2, .page-the-thao__guide-card--pos-4 {
  padding-top: 25px;
}
.page-the-thao__guide-card--pos-3 {
  padding-top: 0;
}

.page-the-thao__guide-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__guide-step {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__guide-step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-the-thao__guide-step-text {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Darker background, light text */
  color: #ffffff;
  margin-bottom: 40px;
}

.page-the-thao__promo-section .page-the-thao__section-title,
.page-the-thao__promo-section .page-the-thao__section-description {
  color: #ffffff;
}

.page-the-thao__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__promo-card {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white card on colored background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promo-card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  margin-bottom: 15px;
}

.page-the-thao__promo-card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin: 15px 15px 10px;
  font-weight: 700;
}

.page-the-thao__promo-card-text {
  font-size: 1em;
  color: #ffffff;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}