/* style/the-thao.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --text-dark: #333333;
    --text-light: #ffffff;
}

.page-the-thao {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--page-bg); /* Page background from custom palette */
}

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

.page-the-thao__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-bg);
}

.page-the-thao__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.page-the-thao__hero-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-the-thao__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.page-the-thao__main-title {
    font-size: 3.2em;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-the-thao__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-the-thao__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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: var(--button-gradient);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-the-thao__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-the-thao__btn--secondary:hover {
    background-color: rgba(255, 165, 58, 0.1);
    color: var(--text-light);
}

.page-the-thao__btn--link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.page-the-thao__btn--link:hover {
    color: var(--primary-color);
}

.page-the-thao__section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.page-the-thao__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-the-thao__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-the-thao__text-block strong {
    color: var(--secondary-color);
}

.page-the-thao__figure {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
}

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

.page-the-thao__figcaption {
    font-size: 0.95em;
    color: rgba(255, 243, 230, 0.7);
    margin-top: 15px;
    font-style: italic;
}

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

.page-the-thao__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-the-thao__list-item::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.5;
}

.page-the-thao__grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-the-thao__grid-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-the-thao__grid-item-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__grid-item p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
}

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

.page-the-thao__benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__benefit-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__benefit-card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
}

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

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

.page-the-thao__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px;
}

.page-the-thao__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__step-card p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

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

.page-the-thao__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    background-color: rgba(255, 140, 26, 0.1);
}

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

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

.page-the-thao__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
}

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

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-the-thao__main-title {
        font-size: 2.8em;
    }

    .page-the-thao__hero-description {
        font-size: 1.1em;
    }

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

    .page-the-thao__text-block, .page-the-thao__list-item, .page-the-thao__grid-item p, .page-the-thao__benefit-card p, .page-the-thao__step-card p, .page-the-thao__faq-answer p {
        font-size: 1em;
    }
}

/* Mobile Specific */
@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

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

    .page-the-thao__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

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

    .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;
    }

    .page-the-thao__btn--primary, .page-the-thao__btn--secondary {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-the-thao__text-block, .page-the-thao__list-item, .page-the-thao__grid-item p, .page-the-thao__benefit-card p, .page-the-thao__step-card p, .page-the-thao__faq-answer p {
        font-size: 0.95em;
        line-height: 1.7;
    }

    /* Universal image responsiveness for content area */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }

    .page-the-thao__figure {
        margin: 30px auto;
    }

    .page-the-thao__grid-list, .page-the-thao__benefits-grid, .page-the-thao__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-the-thao__grid-item, .page-the-thao__benefit-card, .page-the-thao__step-card {
        padding: 25px;
    }

    .page-the-thao__grid-item-title, .page-the-thao__benefit-title, .page-the-thao__step-title {
        font-size: 1.3em;
    }

    .page-the-thao__step-card {
        padding-top: 50px;
    }

    .page-the-thao__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -15px;
    }

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

    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
    }
}