/* style/ththao.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-ththao {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Main text color */
    background-color: #08160F; /* Page specific background, if different from body */
}

.page-ththao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-ththao__section {
    padding: 60px 0;
}

.page-ththao__dark-section {
    background-color: #0A4B2C; /* Deep Green for dark sections */
    color: #F2FFF6;
}

.page-ththao__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-ththao__text-block {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #A7D9B8;
}

/* Hero Section */
.page-ththao__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-ththao__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.page-ththao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-ththao__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-ththao__main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #F2FFF6;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: #A7D9B8;
    margin-bottom: 40px;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-ththao__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: 2px solid transparent;
}

.page-ththao__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-ththao__btn-secondary {
    background: transparent;
    color: #57E38D;
    border: 2px solid #57E38D;
}

.page-ththao__btn-secondary:hover {
    background: #57E38D;
    color: #08160F;
}

/* Image Grid */
.page-ththao__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Sport List */
.page-ththao__sport-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__sport-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #F2FFF6;
}

.page-ththao__sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.3);
}

.page-ththao__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-ththao__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-ththao__card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #A7D9B8;
}

/* Features Grid */
.page-ththao__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__feature-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6;
}

.page-ththao__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-ththao__feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #A7D9B8;
}

/* Steps Grid */
.page-ththao__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ththao__step-card {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-ththao__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 15px;
}

.page-ththao__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-ththao__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-ththao__btn-small:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-ththao__full-width-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 30px;
    min-width: 200px;
    min-height: 200px;
}

/* Promotions Grid */
.page-ththao__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ththao__promo-card {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6;
}

.page-ththao__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

/* Features List (Large) */
.page-ththao__features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ththao__feature-item-large {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6;
    text-align: center;
}

/* FAQ Section */
.page-ththao__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6;
}

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #F2FFF6;
    background-color: #0A4B2C;
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-ththao__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-ththao__faq-item[open] .page-ththao__faq-question {
    background-color: #13994A;
    border-bottom-color: #2E7A4E;
}

.page-ththao__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-ththao__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D;
}

.page-ththao__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-ththao__container,
    .page-ththao__hero-section,
    .page-ththao__image-grid,
    .page-ththao__sport-list,
    .page-ththao__features-grid,
    .page-ththao__steps-grid,
    .page-ththao__promotions-grid,
    .page-ththao__features-list,
    .page-ththao__faq-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-ththao__section {
        padding: 40px 0;
    }

    .page-ththao__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* Ensure small padding, not --header-offset */
    }

    .page-ththao__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-ththao__subtitle {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-ththao__btn-primary,
    .page-ththao__btn-secondary,
    .page-ththao__btn-small,
    .page-ththao a[class*="button"],
    .page-ththao a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
    }

    .page-ththao__image-grid,
    .page-ththao__sport-list,
    .page-ththao__features-grid,
    .page-ththao__steps-grid,
    .page-ththao__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ththao img,
    .page-ththao__card-image,
    .page-ththao__grid-image,
    .page-ththao__promo-image,
    .page-ththao__full-width-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-ththao__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-ththao__text-block {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-ththao__card-title,
    .page-ththao__feature-title,
    .page-ththao__step-title {
        font-size: 20px;
    }

    .page-ththao__card-description,
    .page-ththao__feature-description,
    .page-ththao__step-description {
        font-size: 15px;
    }

    .page-ththao__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .page-ththao__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }
}