/* style/the-thao.css */
.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
}

.page-the-thao__hero-section {
    position: relative;
    padding-top: 10px; /* Small top spacing as per rule */
    margin-bottom: 40px;
    overflow: hidden;
}

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

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

.page-the-thao__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    margin-bottom: -50px;
}

.page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #E53935; /* Main Color */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-the-thao__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-the-thao__section {
    padding: 40px 0;
    margin-bottom: 30px;
    background-color: #ffffff; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao__section-title {
    font-size: 2.2rem;
    color: #E53935; /* Main Color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

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

.page-the-thao__article-wrap p {
    margin-bottom: 15px;
    color: #333333;
}

.page-the-thao__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 680px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__figcaption {
    font-style: italic;
    font-size: 0.9rem;
    color: #555555;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #f8f8f8;
}

.page-the-thao__grid {
    display: grid;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-the-thao__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-the-thao__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-the-thao__card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-the-thao__card-title {
    font-size: 1.4rem;
    color: #E53935; /* Main Color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-the-thao__card p {
    font-size: 0.95rem;
    color: #333333;
}

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

.page-the-thao__step {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-the-thao__step-title {
    font-size: 1.2rem;
    color: #E53935; /* Main Color */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__dark-section {
    background-color: #E53935;
    color: #ffffff; /* Forced white text */
}

.page-the-thao__dark-section .page-the-thao__section-title {
    color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__benefit-item strong {
    color: #FFDDC2; /* A lighter shade for emphasis */
}

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

.page-the-thao__benefit-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-the-thao__benefit-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF5A4F; /* Auxiliary Color */
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.page-the-thao__dark-section .page-the-thao__benefit-item::before {
    color: #ffffff;
}

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

.page-the-thao__promo-card .page-the-thao__link-more {
    display: inline-block;
    margin-top: 15px;
    color: #E53935;
    text-decoration: none;
    font-weight: 600;
}

.page-the-thao__promo-card .page-the-thao__link-more:hover {
    text-decoration: underline;
}

.page-the-thao__tip-list {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-the-thao__tip-item {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333333;
}

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

.page-the-thao__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    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.1rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none; /* Remove default marker for <summary> */
}

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

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

.page-the-thao__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E53935;
    margin-left: 15px;
    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: 0.95rem;
    color: #555555;
    overflow: hidden;
}

.page-the-thao__cta-bottom {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    color: #ffffff;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__cta-bottom-content {
    padding: 0 20px;
}

.page-the-thao__cta-bottom-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-the-thao__cta-bottom-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-the-thao__cta-bottom .page-the-thao__btn-primary {
    background: #ffffff;
    color: #E53935;
}

.page-the-thao__cta-bottom .page-the-thao__btn-primary:hover {
    background: #f0f0f0;
}

.page-the-thao__cta-bottom .page-the-thao__btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-the-thao__cta-bottom .page-the-thao__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-the-thao__hero-content {
        transform: translateY(-30px);
        margin-bottom: -30px;
        padding: 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(2rem, 4.5vw, 2.5rem);
    }

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

    .page-the-thao__cta-bottom-title {
        font-size: 2rem;
    }

    .page-the-thao__grid--3-cols {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-the-thao__grid--2-cols {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .page-the-thao__step-by-step {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-the-thao__hero-section {
        padding-top: 10px !important;
        margin-bottom: 20px;
    }

    .page-the-thao__hero-content {
        transform: translateY(-20px);
        margin-bottom: -20px;
        padding: 15px;
        border-radius: 0;
        box-shadow: none;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 10px;
    }

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

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

    .page-the-thao__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__section {
        padding: 30px 0;
        margin-bottom: 20px;
        border-radius: 0;
        box-shadow: none;
    }

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

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

    .page-the-thao__figure {
        margin: 20px auto;
        border-radius: 0;
        box-shadow: none;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-the-thao__grid--3-cols,
    .page-the-thao__grid--2-cols {
        grid-template-columns: 1fr;
    }

    .page-the-thao__card {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    .page-the-thao__card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .page-the-thao__step-by-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__step {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    .page-the-thao__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .page-the-thao__step-title {
        font-size: 1.1rem;
    }

    .page-the-thao__benefit-item {
        font-size: 0.95rem;
        padding-left: 25px;
        margin-bottom: 10px;
    }

    .page-the-thao__benefit-item::before {
        font-size: 1.1rem;
    }

    .page-the-thao__tip-item {
        font-size: 0.95rem;
    }

    .page-the-thao__faq-item {
        border-radius: 0;
        box-shadow: none;
    }

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

    .page-the-thao__faq-toggle {
        font-size: 1.3rem;
    }

    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    .page-the-thao__cta-bottom {
        padding: 40px 0;
        margin: 30px auto;
        border-radius: 0;
        box-shadow: none;
    }

    .page-the-thao__cta-bottom-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-the-thao__cta-bottom-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-the-thao__cta-buttons .page-the-thao__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}