.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-the-thao__hero-section {
    position: relative;
    background-color: #0D0E12;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 3.2em); /* min 2em, preferred 8vw, max 3.2em */
    font-weight: 700;
    line-height: 1.2;
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 176, 77, 0.6);
}

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

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

.page-the-thao__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-the-thao__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-the-thao__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-the-thao__btn--secondary {
    background-color: transparent;
    color: #FFA53A; /* Aux color */
    border: 2px solid #FFA53A; /* Aux color */
    box-shadow: 0 4px 10px rgba(255, 165, 58, 0.2);
}

.page-the-thao__btn--secondary:hover {
    background-color: #FFA53A;
    color: #0D0E12; /* Background color for text on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
}

.page-the-thao__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: 15px;
}

/* General Section Styling */
.page-the-thao__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-the-thao__section:last-of-type {
    border-bottom: none;
    padding-bottom: 80px;
}

.page-the-thao__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-the-thao__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFA53A; /* Aux color */
    border-radius: 2px;
}

.page-the-thao__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

/* Card Styling */
.page-the-thao__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-the-thao__card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px; /* Minimum image size */
}

.page-the-thao__card-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
}

.page-the-thao__card-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    flex-grow: 1; /* Ensure description takes available space */
}

/* Grids */
.page-the-thao__sports-grid,
.page-the-thao__promo-grid,
.page-the-thao__steps-grid,
.page-the-thao__info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* List Styling */
.page-the-thao__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-the-thao__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #FFF3E6; /* Text Main */
}

.page-the-thao__list-item::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #FFA53A; /* Aux color */
    font-weight: bold;
    font-size: 1.2em;
}

.page-the-thao__list--tips .page-the-thao__list-item::before {
    content: '💡';
    color: #FFB04D;
}

/* Promo Callout */
.page-the-thao__promo-callout {
    background-color: #17191F; /* Card BG */
    border: 1px solid #D96800; /* Deep Orange */
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
}

.page-the-thao__promo-callout p {
    margin-bottom: 0;
    font-size: 1.1em;
    color: #FFF3E6; /* Text Main */
}

.page-the-thao__promo-callout a {
    color: #FFA53A; /* Aux color */
    text-decoration: underline;
    font-weight: bold;
}

.page-the-thao__promo-callout a:hover {
    color: #FFB04D;
}

/* Guide Section Steps */
.page-the-thao__step-card {
    align-items: center;
    text-align: center;
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: #FF8C1A; /* Main color */
    margin-bottom: 10px;
}

/* FAQ Section */
.page-the-thao__faq-list {
    margin-top: 30px;
}

.page-the-thao__faq-item {
    margin-bottom: 20px;
    padding: 20px 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-the-thao__faq-question {
    font-size: 1.3em;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; /* Added for better UX */
}

.page-the-thao__faq-answer {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.page-the-thao__faq-item.active .page-the-thao__faq-answer {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    opacity: 1;
    margin-top: 15px;
}

.page-the-thao__faq-item a {
    color: #FFA53A; /* Aux color */
    text-decoration: underline;
}

.page-the-thao__faq-item a:hover {
    color: #FFB04D;
}

/* General Link Styling */
.page-the-thao a {
    color: #FFA53A; /* Aux color */
    text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__main-title {
        font-size: clamp(2em, 7vw, 2.8em);
    }

    .page-the-thao__section-title {
        font-size: 2em;
    }

    .page-the-thao__card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + dual CTA */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Specific override for mobile */
        padding-bottom: 30px;
    }

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

    .page-the-thao__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em) !important;
        margin-bottom: 15px;
    }

    .page-the-thao__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

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

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

    /* 2. Single column long text containers */
    .page-the-thao__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-the-thao__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }

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

    /* 3. Generic images and figure */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__card-image {
        min-height: 150px; /* Adjust min-height for smaller screens if needed */
    }

    /* 4. Buttons and button containers */
    .page-the-thao__cta-buttons,
    .page-the-thao__button-group, /* If used */
    .page-the-thao__btn-container { /* If used */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-the-thao__sports-grid,
    .page-the-thao__promo-grid,
    .page-the-thao__steps-grid,
    .page-the-thao__info-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__card {
        padding: 20px;
    }

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

    .page-the-thao__list-item {
        font-size: 0.95em;
        padding-left: 25px;
    }

    .page-the-thao__list-item::before {
        font-size: 1em;
    }

    /* 5. FAQ Block */
    .page-the-thao__faq-item {
        padding: 15px 20px;
    }

    .page-the-thao__faq-question {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .page-the-thao__faq-answer {
        font-size: 0.9em;
    }
    .page-the-thao__faq-item.active .page-the-thao__faq-answer {
        margin-top: 10px;
    }
}