.page-the-thao {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Body background is white */
}

/* Hero Section */
.page-the-thao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px; /* Padding for content below image */
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-the-thao__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-the-thao__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #26A9E0; /* Primary color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-the-thao__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

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

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

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

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

/* General Section Styling */
.page-the-thao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-the-thao__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.page-the-thao__text-block {
    font-size: 1.05em;
    margin-bottom: 1em;
    text-align: center;
}

/* Intro Section */
.page-the-thao__intro-section {
    padding: 40px 0;
    background-color: #f8f8f8;
    margin-bottom: 40px;
}

/* Sports Types Section */
.page-the-thao__sports-types {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
    margin-bottom: 40px;
}

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

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

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

.page-the-thao__sport-card {
    background-color: #FFFFFF;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-the-thao__sport-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #26A9E0;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-the-thao__sport-description {
    font-size: 0.95em;
    padding: 0 15px 20px;
}

/* How to Bet Section */
.page-the-thao__how-to-bet {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-the-thao__guide-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-the-thao__text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

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

.page-the-thao__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Section */
.page-the-thao__why-choose {
    padding: 60px 0;
    background-color: #f0f8ff; /* Light background */
    margin-bottom: 40px;
}

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

.page-the-thao__feature-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover {
    transform: translateY(-5px);
}

.page-the-thao__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-the-thao__feature-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-the-thao__feature-description {
    font-size: 0.95em;
    color: #555555;
}

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-the-thao__faq-list {
    margin-top: 30px;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600; /* Make question text bolder */
  color: #333333;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #f5f5f5;
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1em; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #26A9E0; /* Primary color for question */
}
.page-the-thao__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #26A9E0; /* Primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Wider toggle area */
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #f9f9f9;
  border-radius: 0 0 8px 8px; /* Match item radius */
  font-size: 1em;
  color: #555555;
}

/* Final CTA Section */
.page-the-thao__final-cta {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

.page-the-thao__cta-content {
    max-width: 800px;
}

.page-the-thao__final-cta .page-the-thao__btn-primary {
    background-color: #EA7C07; /* Login color for final CTA */
    border-color: #EA7C07;
    margin-top: 30px;
}

.page-the-thao__final-cta .page-the-thao__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__main-title {
        font-size: 2.5em;
    }
    .page-the-thao__section-title {
        font-size: 2em;
    }
    .page-the-thao__sports-grid,
    .page-the-thao__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-the-thao__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-the-thao {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Top section padding */
    .page-the-thao__hero-section {
        padding-top: 10px; /* ~10px top padding, not --header-offset */
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .page-the-thao__hero-image-wrapper {
        max-height: 300px; /* Smaller hero image on mobile */
        margin-bottom: 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em); /* Clamp for H1 */
        margin-bottom: 10px;
    }

    .page-the-thao__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

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

    .page-the-thao__container {
        padding: 0 15px;
    }

    .page-the-thao__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .page-the-thao__text-block {
        font-size: 0.95em;
    }

    /* Sports Grid */
    .page-the-thao__sports-grid,
    .page-the-thao__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 20px;
    }

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

    .page-the-thao__sport-title {
        font-size: 1.3em;
    }

    .page-the-thao__guide-item {
        padding: 20px;
    }

    .page-the-thao__guide-step-title {
        font-size: 1.2em;
    }

    /* Images responsiveness */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-the-thao__hero-section .page-the-thao__hero-image-wrapper,
    .page-the-thao__intro-section .page-the-thao__container,
    .page-the-thao__sports-types .page-the-thao__container,
    .page-the-thao__how-to-bet .page-the-thao__container,
    .page-the-thao__why-choose .page-the-thao__container,
    .page-the-thao__promotions-section .page-the-thao__container,
    .page-the-thao__faq-section .page-the-thao__container,
    .page-the-thao__final-cta .page-the-thao__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ mobile */
    details.page-the-thao__faq-item summary.page-the-thao__faq-question {
        padding: 15px 20px;
    }
    .page-the-thao__faq-qtext {
        font-size: 1em;
    }
    .page-the-thao__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    details.page-the-thao__faq-item .page-the-thao__faq-answer {
        padding: 0 20px 20px;
    }

    /* Final CTA */
    .page-the-thao__final-cta {
        padding: 40px 0;
    }
    .page-the-thao__final-cta .page-the-thao__btn-primary {
        margin-top: 20px;
    }
}