.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color, #FFFFFF); /* Assuming shared.css sets body background to secondary-color */
}

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

.page-the-thao__main-banner {
  padding-top: 10px; /* Small top padding, body padding-top handled by shared.css */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #e0f2f7, #d0e7f0);
  text-align: center;
}

.page-the-thao__main-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px 15px;
}

.page-the-thao__text-area {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__image-area {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: right;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-the-thao__banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-the-thao__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-the-thao__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__icon-box {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-the-thao__icon-box:hover {
  transform: translateY(-10px);
}

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e0f2f7;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure circular display */
}

.page-the-thao__icon-box-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__icon-box-text {
  font-size: 1rem;
  color: #666666;
}

.page-the-thao__sports-categories-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-the-thao__sports-card {
  background-color: #f0f8ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__sports-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-the-thao__sports-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sports-card-title {
  font-size: 1.4rem;
  padding: 15px 20px 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__sports-card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-the-thao__sports-card-link:hover {
  text-decoration: underline;
}

.page-the-thao__sports-card-text {
  font-size: 0.95rem;
  color: #666666;
  padding: 0 20px 20px;
}

.page-the-thao__live-betting-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

.page-the-thao__live-betting-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-the-thao__live-betting-content {
  flex: 1 1 500px;
  min-width: 300px;
}

.page-the-thao__live-betting-image-wrapper {
  flex: 1 1 400px;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__features-list li {
  font-size: 1.1rem;
  color: #444444;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-the-thao__list-icon {
  color: #26A9E0;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.3rem;
}

.page-the-thao__btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-the-thao__promo-card {
  background-color: #f0f8ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-the-thao__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card-title {
  font-size: 1.4rem;
  padding: 15px 20px 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__promo-card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-the-thao__promo-card-link:hover {
  text-decoration: underline;
}

.page-the-thao__promo-card-text {
  font-size: 0.95rem;
  color: #666666;
  padding: 0 20px 15px;
}

.page-the-thao__btn-text-link {
  display: inline-flex;
  align-items: center;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px;
}

.page-the-thao__btn-text-link:hover {
  text-decoration: underline;
}

.page-the-thao__arrow {
  margin-left: 5px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-the-thao__btn-text-link:hover .page-the-thao__arrow {
  transform: translateX(5px);
}

.page-the-thao__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-the-thao__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−';
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-the-thao__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-the-thao__cta-bottom-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-the-thao__cta-bottom-section .page-the-thao__section-title,
.page-the-thao__cta-bottom-section .page-the-thao__description {
  color: #FFFFFF;
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-primary {
  background-color: #EA7C07; /* Login color for strong CTA */
  border-color: #EA7C07;
  margin-top: 30px;
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

/* General image responsive styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-the-thao__main-banner {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__main-banner-content {
    flex-direction: column;
    padding: 30px 15px;
  }

  .page-the-thao__text-area,
  .page-the-thao__image-area {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-the-thao__main-title {
    font-size: 2rem; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-the-thao__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao__intro-section,
  .page-the-thao__sports-categories-section,
  .page-the-thao__live-betting-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }

  .page-the-thao__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__icon-box {
    max-width: 100%;
    padding: 25px;
  }

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }

  .page-the-thao__icon-box-title {
    font-size: 1.3rem;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sports-card-image {
    height: 180px;
  }

  .page-the-thao__sports-card-title {
    font-size: 1.2rem;
  }

  .page-the-thao__live-betting-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__live-betting-content,
  .page-the-thao__live-betting-image-wrapper {
    flex: 1 1 100%;
  }

  .page-the-thao__features-list {
    margin: 20px 0;
  }

  .page-the-thao__features-list li {
    font-size: 1rem;
  }

  .page-the-thao__btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__promo-card-image {
    height: 180px;
  }

  .page-the-thao__promo-card-title {
    font-size: 1.2rem;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Force all images to be responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Specific exception for circular images to maintain aspect ratio */
  .page-the-thao__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Ensure all content containers are full width and prevent overflow */
  .page-the-thao__main-banner-content,
  .page-the-thao__icon-boxes,
  .page-the-thao__sports-grid,
  .page-the-thao__live-betting-layout,
  .page-the-thao__promo-grid,
  .page-the-thao__faq-list,
  .page-the-thao__cta-buttons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__cta-bottom-section .page-the-thao__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}