/* General styles for the Thể Thao page */
.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #333333); /* Use dark text for light body background */
  background: var(--background, #F5F7FA); /* Default background color */
}

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

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

.page-the-thao__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main, #333333);
}

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

.page-the-thao__text-block {
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main, #333333);
}

.page-the-thao__text-block--white {
  color: #ffffff;
}

.page-the-thao__highlight {
  color: #E53935;
  font-weight: bold;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding: 80px 0 60px; /* Adjusted padding-top to avoid header overlap, relying on body padding for overall offset */
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%); /* Dark background */
  color: #ffffff;
}

.page-the-thao__hero-content {
  flex: 1;
  max-width: 600px;
  padding-left: 15px;
}

.page-the-thao__main-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 600px; /* Constrain H1 width */
}

.page-the-thao__hero-section .page-the-thao__description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-the-thao__hero-section .page-the-thao__highlight {
  color: #ffffff; /* White highlight on dark background */
  font-weight: bold;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao a[class*="button"],
.page-the-thao a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box; /* Include padding in width calculation */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.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;
}

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

.page-the-thao__btn-secondary--white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-the-thao__btn-secondary--white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-the-thao__btn-primary--large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-the-thao__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 15px;
}

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure image behaves as a block element */
}

/* Feature Grid */
.page-the-thao__features-grid,
.page-the-thao__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-the-thao__feature-card,
.page-the-thao__bet-type-card {
  background: var(--card-bg, #FFFFFF);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-main, #333333);
}

.page-the-thao__feature-card:hover,
.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-icon {
  width: 100%; /* Occupy card width */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: contain; /* Ensure image fits without cropping */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure image behaves as a block element */
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main, #333333);
}

.page-the-thao__card-title--white {
  color: #ffffff;
}

.page-the-thao__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main, #333333);
}

.page-the-thao__card-text--white {
  color: #f0f0f0;
}

/* Dark Section styling */
.page-the-thao__dark-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
}