.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Default 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;
  text-align: center;
}

.page-the-thao__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E53935; /* Brand primary color for titles */
}

.page-the-thao__section-title--light {
  color: #ffffff;
}

.page-the-thao__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-the-thao__description--light {
  color: #f0f0f0;
}

/* Highlight text */
.page-the-thao__highlight-text {
  color: #E53935;
  font-weight: bold;
}

.page-the-thao__highlight-text--light {
  color: #FF5A4F;
  font-weight: bold;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin-left: 20px;
}

.page-the-thao__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-the-thao__btn-tertiary {
  background: #FF5A4F;
  color: #ffffff;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background: #E53935;
  transform: translateY(-1px);
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Button container responsiveness */
  max-width: 100%;
  overflow: hidden;
  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 */
  padding-bottom: 60px;
  background-color: #F5F7FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 550px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-the-thao__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Introduction Section */
.page-the-thao__introduction-section {
  background-color: #ffffff;
  padding-top: 40px;
}

.page-the-thao__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao__text-block {
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-the-thao__image-content--center {
  margin: 30px auto;
}

/* Popular Sports Section */
.page-the-thao__popular-sports-section {
  background: #E53935; /* Dark background */
  color: #ffffff;
}

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

.page-the-thao__sport-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-the-thao__sport-card-image {
  width: 100%;
  height: 200px; /* Fixed height for cards */
  object-fit: cover;
  display: block;
}

.page-the-thao__sport-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin: 20px 20px 10px;
}

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

.page-the-thao__sport-card .page-the-thao__btn-tertiary {
  margin: 0 20px;
  align-self: flex-start;
}

/* Bet Types Section */
.page-the-thao__bet-types-section {
  background-color: #F5F7FA;
}

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

.page-the-thao__bet-type-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-the-thao__bet-type-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-the-thao__bet-type-text {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

/* Advantages Section */
.page-the-thao__advantages-section {
  background-color: #ffffff;
  color: #333333;
}

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

.page-the-thao__advantage-item {
  background: #F5F7FA;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}