:root {
  --page-the-thao-primary-color: #2F6BFF;
  --page-the-thao-secondary-color: #6FA3FF;
  --page-the-thao-text-main: #1F2D3D;
  --page-the-thao-text-black: #000000;
  --page-the-thao-background-card: #FFFFFF;
  --page-the-thao-background-body: #F4F7FB;
  --page-the-thao-border-color: #D6E2FF;
  --page-the-thao-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-the-thao-glow-color: #A5C4FF;
}

/* Base styles for the page content */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--page-the-thao-text-main); /* Default text color on light background */
  background-color: var(--page-the-thao-background-body); /* Page background */
  line-height: 1.6;
}

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

.page-the-thao__section {
  padding: 60px 0;
}

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

.page-the-thao__section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--page-the-thao-text-main);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--page-the-thao-text-main);
}

.page-the-thao__article-body p {
  margin-bottom: 1em;
}

.page-the-thao__article-body ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 1em;
}

.page-the-thao__article-body li {
  margin-bottom: 0.5em;
}

.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrap on desktop */
  word-wrap: break-word; /* Allow text wrap if needed on small screens */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-the-thao__btn-primary {
  background: var(--page-the-thao-button-gradient);
  color: var(--page-the-thao-background-card); /* White text */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-the-thao__btn-secondary {
  background: var(--page-the-thao-background-card); /* White background */
  color: var(--page-the-thao-primary-color); /* Primary color text */
  border: 2px solid var(--page-the-thao-primary-color);
}

.page-the-thao__btn-secondary:hover {
  background: var(--page-the-thao-primary-color);
  color: var(--page-the-thao-background-card);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

.page-the-thao__btn-link {
  background: none;
  border: none;
  color: var(--page-the-thao-primary-color);
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  white-space: normal;
}

.page-the-thao__btn-link:hover {
  color: var(--page-the-thao-secondary-color);
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Button container width */
  max-width: 100%; /* Button container max-width */
  overflow: hidden; /* Prevent overflow */
  box-sizing: border-box;
}

.page-the-thao__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  overflow: hidden;
  background: var(--page-the-thao-primary-color); /* Blue background for hero section */
}

.page-the-thao__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  overflow: hidden;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-the-thao-background-card); /* White text on blue background */
}

.page-the-thao__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-the-thao-background-card); /* White text */
}

.page-the-thao__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: var(--page-the-thao-background-card); /* White text */
}

/* Introduction Section */
.page-the-thao__introduction-section {
  background-color: var(--page-the-thao-background-card);
}

/* Popular Sports Section */
.page-the-thao__popular-sports-section {
  background-color: var(--page-the-thao-background-body);
}

.page-the-thao__sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__sport-card {
  background: var(--page-the-thao-background-card);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-the-thao__sport-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistent cards */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-the-thao-text-black);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-description {
  font-size: 15px;
  color: var(--page-the-thao-text-main);
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Features Section */
.page-the-thao__features-section {
  background-color: var(--page-the-thao-background-card);
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  text-align: center;
}

.page-the-thao__feature-item:last-child {
  margin-bottom: 0;
}

.page-the-thao__feature-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-the-thao-primary-color);
  margin-bottom: 15px;
}

.page-the-thao__feature-item p {
  max-width: 700px;
  font-size: 17px;
  color: var(--page-the-thao-text-main);
  margin-bottom: 25px;
}

.page-the-thao__feature-image {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--page-the-thao-border-color);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: var(--page-the-thao-background-body);
}

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

.page-the-thao__step-card {
  background: var(--page-the-thao-background-card);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--page-the-thao-primary-color);
  margin-bottom: 15px;
}

.page-the-thao__step-card p {
  font-size: 16px;
  color: var(--page-the-thao-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  background-color: var(--page-the-thao-primary-color);
  color: var(--page-the-thao-background-card);
}

.page-the-thao__promotions-section .page-the-thao__section-title,
.page-the-thao__promotions-section .page-the-thao__article-body,
.page-the-thao__promotions-section .page-the-thao__article-body p,
.page-the-thao__promotions-section .page-the-thao__article-body li {
  color: var(--page-the-thao-background-card); /* White text on blue background */
}

.page-the-thao__promo-image {
  margin: 0 auto 30px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--page-the-thao-glow-color);
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-the-thao__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 500;
}

.page-the-thao__promo-list li strong {
  color: var(--page-the-thao-glow-color);
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  background-color: var(--page-the-thao-background-card);
}

.page-the-thao__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}