.page-ththao {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-ththao a {
    color: #2AD16F; /* A lighter green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-ththao a:hover {
    color: #57E38D; /* Glow */
}

/* --- General Section Styling --- */
.page-ththao__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ththao__sub-title {
    font-size: 1.8rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-ththao__text-block {
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-ththao__dark-bg {
    background-color: #08160F; /* Background */
    padding: 60px 0;
}

/* --- Buttons --- */
.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-ththao__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-ththao__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-ththao__btn-secondary {
    background: transparent;
    color: #2AD16F; /* A lighter green for links */
    border: 2px solid #2E7A4E; /* Border */
}

.page-ththao__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #57E38D; /* Glow */
    border-color: #57E38D; /* Glow */
}

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

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

/* --- Hero Section --- */
.page-ththao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, then content below image */
    background-color: #08160F; /* Ensure background consistency */
}

.page-ththao__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image wrapper */
    overflow: hidden;
}

.page-ththao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-ththao__hero-content {
    text-align: center;
    padding: 40px 20px 0;
    max-width: 900px;
    margin-top: -80px; /* Adjust as needed to bring text slightly up */
    position: relative;
    z-index: 1;
}

.page-ththao__main-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Responsive font size */
    color: #F2C14E; /* Gold */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ththao__hero-description {
    font-size: 1.2rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* --- Introduction Section --- */
.page-ththao__introduction-section {
    padding-top: 60px;
}

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

.page-ththao__sport-card,
.page-ththao__promo-card,
.page-ththao__advantage-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: #A7D9B8; /* Text Secondary */
    border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, adjust as needed */
    object-fit: cover;
    display: block;
    min-height: 200px; /* Minimum image size */
}

.page-ththao__card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 20px 10px;
    color: #F2FFF6; /* Text Main */
}

.page-ththao__card-link {
    color: #F2FFF6; /* Text Main */
}

.page-ththao__card-link:hover {
    color: #F2C14E; /* Gold */
}

.page-ththao__card-text {
    font-size: 0.95rem;
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* --- Esports Section --- */
.page-ththao__esports-section .page-ththao__esports-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-ththao__esports-section .page-ththao__text-column,
.page-ththao__esports-section .page-ththao__image-column {
    flex: 1;
    min-width: 300px;
}

.page-ththao__esports-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    min-height: 200px; /* Minimum image size */
}

.page-ththao__list {
    list-style: disc;
    margin-left: 20px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-ththao__list li {
    margin-bottom: 8px;
}

.page-ththao__list li strong {
    color: #F2FFF6; /* Text Main */
}

.page-ththao__btn-esports {
    margin-top: 20px;
}

/* --- Guide Section --- */
.page-ththao__ordered-list {
    list-style: decimal;
    margin-left: 25px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-ththao__ordered-list li {
    margin-bottom: 15px;
}

.page-ththao__ordered-list li strong {
    color: #F2FFF6; /* Text Main */
}

.page-ththao__nested-list {
    list-style: circle;
    margin-left: 20px;
    margin-top: 10px;
    color: #A7D9B8; /* Text Secondary */
}

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

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

/* --- Live Betting Section --- */
.page-ththao__live-betting-section .page-ththao__live-betting-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap-reverse; /* Image on right, text on left for desktop; reverse for mobile */
}

.page-ththao__live-betting-section .page-ththao__text-column,
.page-ththao__live-betting-section .page-ththao__image-column {
    flex: 1;
    min-width: 300px;
}

.page-ththao__live-betting-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    min-height: 200px; /* Minimum image size */
}

/* --- Responsible Gambling Section --- */
.page-ththao__responsible-gambling-section .page-ththao__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Image on right, text on left for desktop */
}

.page-ththao__responsible-gambling-section .page-ththao__text-column,
.page-ththao__responsible-gambling-section .page-ththao__image-column {
    flex: 1;
    min-width: 300px;
}

.page-ththao__responsible-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    min-height: 200px; /* Minimum image size */
}

/* --- FAQ Section --- */
.page-ththao__faq-list {
    margin-top: 40px;
}

.page-ththao__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #A7D9B8; /* Text Secondary */
}

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green for summary background */
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> default styles */
}

.page-ththao__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-ththao__faq-question:hover {
    background-color: #11A84E; /* Main Color */
}

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

.page-ththao__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Gold */
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
    content: '−';
}

.page-ththao__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    background-color: #11271B; /* Card BG */
}

.page-ththao__faq-answer p {
    margin-bottom: 10px;
}

.page-ththao__faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-ththao__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-ththao__section-title {
        font-size: 2.2rem;
    }
    .page-ththao__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-ththao__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
        padding-bottom: 40px;
    }

    .page-ththao__hero-content {
        padding: 30px 15px 0;
        margin-top: -40px; /* Adjust for smaller screens */
    }

    .page-ththao__main-title {
        font-size: clamp(2rem, 5vw, 2.2rem) !important; /* clamp(min, preferred, max) for H1 */
        max-width: 100%;
        line-height: 1.3;
        font-weight: bold;
    }

    .page-ththao__hero-description {
        font-size: 1rem;
    }

    .page-ththao__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }

    .page-ththao__sub-title {
        font-size: 1.5rem;
    }

    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to buttons container */
    }

    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-ththao__container {
        padding: 0 15px;
    }

    .page-ththao__sports-grid,
    .page-ththao__advantage-cards,
    .page-ththao__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ththao__esports-section .page-ththao__esports-content,
    .page-ththao__live-betting-section .page-ththao__live-betting-content,
    .page-ththao__responsible-gambling-section .page-ththao__responsible-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-ththao__esports-section .page-ththao__text-column,
    .page-ththao__esports-section .page-ththao__image-column,
    .page-ththao__live-betting-section .page-ththao__text-column,
    .page-ththao__live-betting-section .page-ththao__image-column,
    .page-ththao__responsible-gambling-section .page-ththao__text-column,
    .page-ththao__responsible-gambling-section .page-ththao__image-column {
        min-width: unset;
        width: 100%;
    }

    /* Image responsive rules */
    .page-ththao img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important; /* Ensure minimum size is maintained */
    }

    /* Video responsive rules (if any video was present, not in this content) */
    .page-ththao video,
    .page-ththao__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-ththao__video-section,
    .page-ththao__video-container,
    .page-ththao__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-ththao__video-section {
        padding-top: 10px !important;
    }

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

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

    /* Ensure content sections and cards have proper mobile padding */
    .page-ththao__introduction-section,
    .page-ththao__sports-types-section,
    .page-ththao__esports-section,
    .page-ththao__guide-section,
    .page-ththao__advantages-section,
    .page-ththao__promotions-section,
    .page-ththao__live-betting-section,
    .page-ththao__responsible-gambling-section,
    .page-ththao__faq-section {
        padding: 40px 0;
    }

    .page-ththao__sport-card,
    .page-ththao__promo-card,
    .page-ththao__advantage-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}