.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #F4F7FB; /* Page background color */
}

.page-the-thao__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: #2F6BFF;
    overflow: hidden;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image for text contrast */
    max-height: 550px;
}

.page-the-thao__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    width: 90%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 2; /* Ensure content is above the image */
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for readability */
    border-radius: 10px;
}

.page-the-thao__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-the-thao__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-the-thao__btn-secondary:hover {
    background-color: #F4F7FB;
    color: #2F6BFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-the-thao__article-wrap {
    max-width: 1150px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: 2.2rem;
    color: #1F2D3D;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #D6E2FF;
    padding-bottom: 10px;
}

.page-the-thao h3 {
    font-size: 1.6rem;
    color: #2F6BFF;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-the-thao p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-the-thao a {
    color: #2F6BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao a:hover {
    color: #6FA3FF;
    text-decoration: underline;
}

.page-the-thao__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-the-thao__list-item {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.page-the-thao__figure {
    margin: 30px 0;
    text-align: center;
}

.page-the-thao__figure img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-the-thao__figcaption {
    font-size: 0.95rem;
    color: #666666;
    margin-top: 10px;
}

.page-the-thao__steps-list {
    list-style: none;
    padding-left: 0;
}

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

.page-the-thao__step-title {
    font-size: 1.4rem;
    color: #2F6BFF;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-the-thao__promo-box {
    background-color: #E6F0FF;
    border: 1px solid #A5C4FF;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__promo-box p {
    font-size: 1.1rem;
    color: #1F2D3D;
    margin-bottom: 20px;
}

.page-the-thao__faq-section {
    margin-top: 40px;
}

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

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1F2D3D;
    cursor: pointer;
    background-color: #F8F9FA;
    border-bottom: 1px solid #D6E2FF;
    transition: background-color 0.3s ease;
}

.page-the-thao__faq-question:hover {
    background-color: #E6F0FF;
}

.page-the-thao__faq-question::marker, /* Hide default marker for details */
.page-the-thao__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
    border-bottom-color: transparent;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    transform: rotate(45deg);
}

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

.page-the-thao__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2F6BFF;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-the-thao__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

.page-the-thao__final-cta {
    text-align: center;
    margin: 50px 0;
}

/* Responsive styles for desktop */
@media (min-width: 1025px) {
    .page-the-thao__hero-content {
        padding: 40px;
    }
}

/* Responsive styles for tablet and mobile */
@media (max-width: 1024px) {
    .page-the-thao__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-the-thao__description {
        font-size: 1rem;
    }
    .page-the-thao__section-title {
        font-size: 1.8rem;
    }
    .page-the-thao h3 {
        font-size: 1.3rem;
    }
    .page-the-thao p,
    .page-the-thao__list-item,
    .page-the-thao__figcaption,
    .page-the-thao__promo-box p,
    .page-the-thao__faq-question,
    .page-the-thao__faq-answer {
        font-size: 0.95rem;
    }
    .page-the-thao__faq-question {
        padding: 15px 20px;
    }
    .page-the-thao__faq-answer {
        padding: 15px 20px;
    }
}

/* Responsive styles for mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Ensures small top padding */
    }
    .page-the-thao__hero-image {
        max-height: 300px;
    }
    .page-the-thao__hero-content {
        padding: 15px;
        width: 95%;
        top: 60%; /* Adjust position for smaller screens */
        transform: translate(-50%, -60%);
    }
    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-the-thao__description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-the-thao__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-the-thao__article-wrap,
    .page-the-thao__section,
    .page-the-thao__promo-box,
    .page-the-thao__faq-section {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-the-thao__section-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-the-thao h3 {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-the-thao p,
    .page-the-thao__list-item,
    .page-the-thao__figcaption,
    .page-the-thao__promo-box p,
    .page-the-thao__faq-question,
    .page-the-thao__faq-answer {
        font-size: 1rem;
        line-height: 1.5;
    }
    .page-the-thao__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__step-item {
        padding: 20px;
    }
    .page-the-thao__step-title {
        font-size: 1.2rem;
    }
    .page-the-thao__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-the-thao__faq-answer {
        padding: 15px;
    }
    .page-the-thao__faq-toggle {
        font-size: 1.3rem;
    }
    .page-the-thao__final-cta .page-the-thao__btn {
        width: calc(100% - 30px) !important;
        margin: 0 auto;
    }
}