.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    margin-bottom: 40px;
    background-color: #f5f5f5;
}

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

.page-the-thao__hero-content {
    text-align: center;
    padding: 40px 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-the-thao__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure wrapping on small screens */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    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-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

.page-the-thao__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
}

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

.page-the-thao__section--intro {
    background-color: #FFFFFF;
}

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

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

.page-the-thao__content-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.page-the-thao__content-block p {
    flex: 1;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-the-thao__image-left {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.page-the-thao__image-right {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.page-the-thao__image-center {
    display: block;
    margin: 0 auto;
    max-width: 80%; /* Adjust for better display */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__text-center {
    text-align: center;
}

.page-the-thao__mt-20 {
    margin-top: 20px;
}
.page-the-thao__mt-40 {
    margin-top: 40px;
}

.page-the-thao__section--betting-types,
.page-the-thao__section--sports,
.page-the-thao__section--guide,
.page-the-thao__section--tips,
.page-the-thao__section--faq {
    background-color: #f9f9f9;
}

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

.page-the-thao__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 180px; /* Ensure cards have some height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.page-the-thao__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__card p {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
}

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

.page-the-thao__sport-item,
.page-the-thao__benefit-item,
.page-the-thao__tip-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-the-thao__sport-item:hover,
.page-the-thao__benefit-item:hover,
.page-the-thao__tip-item:hover {
    transform: translateY(-5px);
}

.page-the-thao__sport-title,
.page-the-thao__benefit-title,
.page-the-thao__tip-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__sport-item p,
.page-the-thao__benefit-item p,
.page-the-thao__tip-item p {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
}

.page-the-thao__section--benefits,
.page-the-thao__section--cta {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #FFFFFF;
}

.page-the-thao__section--benefits .page-the-thao__benefit-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards */
    color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__section--benefits .page-the-thao__benefit-title {
    color: #FFFFFF;
}
.page-the-thao__section--benefits .page-the-thao__benefit-item p {
    color: #f0f0f0;
}

.page-the-thao__guide-steps {
    counter-reset: step-counter;
}

.page-the-thao__step-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-the-thao__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__step-item a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-the-thao__step-item a:hover {
    color: #1a8cc7;
}

.page-the-thao__section--faq {
    background-color: #f0f8ff; /* Light blue background for FAQ */
}

.page-the-thao__faq-list {
    max-width: 900px;
    margin: 30px auto;
}

.page-the-thao__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eee;
    list-style: none; /* Hide default marker */
}

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

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

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

.page-the-thao__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95em;
    color: #555555;
    line-height: 1.7;
    background-color: #fdfdfd;
}

.page-the-thao__section--cta .page-the-thao__flex-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 15px;
}

.page-the-thao__cta-content {
    flex: 1;
    text-align: left;
}

.page-the-thao__cta-content .page-the-thao__section-title {
    text-align: left;
    margin-bottom: 20px;
}

.page-the-thao__cta-content p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-the-thao__cta-image-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
}
.page-the-thao__cta-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* General image styling to ensure no small icons */
.page-the-thao img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    display: block; /* Ensure images are block elements for max-width/height auto to work */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-the-thao__content-block {
        flex-direction: column;
        text-align: center;
    }
    .page-the-thao__image-left,
    .page-the-thao__image-right,
    .page-the-thao__cta-image-wrapper {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .page-the-thao__cta-content {
        text-align: center;
    }
    .page-the-thao__cta-content .page-the-thao__section-title {
        text-align: center;
    }
    .page-the-thao__section--cta .page-the-thao__flex-center {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        margin-bottom: 30px;
    }
    .page-the-thao__hero-content {
        padding: 30px 15px;
    }
    .page-the-thao__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-the-thao__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
}