/* style/blog-huong-dan-ca-cuoc-the-thao-as9.css */

:root {
    --as9-primary-color: #F2C14E;
    --as9-secondary-color: #FFD36B;
    --as9-card-bg: #111111;
    --as9-background-color: #0A0A0A;
    --as9-text-main: #FFF6D6;
    --as9-border-color: #3A2A12;
    --as9-glow-color: #FFD36B;
    --as9-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9 {
    font-family: 'Arial', sans-serif;
    color: var(--as9-text-main); /* Light text for dark body background */
    background-color: var(--as9-background-color); /* Inherited from body, but explicitly set for safety */
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__top-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    text-align: center;
    background-color: var(--as9-background-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: var(--as9-primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--as9-text-main);
    opacity: 0.9;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__cta-buttons--single {
    margin-top: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__btn--primary {
    background: var(--as9-button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__btn--secondary {
    background-color: transparent;
    color: var(--as9-primary-color);
    border: 2px solid var(--as9-primary-color);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__btn--secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__article-wrap {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    background-color: var(--as9-card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    padding: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__table-of-contents-card {
    background-color: #1a1a1a;
    border: 1px solid var(--as9-border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: inset 0 0 10px rgba(255, 211, 107, 0.1);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-title {
    font-size: 1.6rem;
    color: var(--as9-primary-color);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--as9-border-color);
    padding-bottom: 10px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-list li {
    margin-bottom: 10px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-link {
    color: var(--as9-text-main);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-link:hover {
    color: var(--as9-primary-color);
    text-decoration: underline;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__section {
    margin-bottom: 50px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__section-title {
    font-size: 2rem;
    color: var(--as9-primary-color);
    margin-bottom: 25px;
    border-left: 5px solid var(--as9-primary-color);
    padding-left: 15px;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.2);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__sub-title {
    font-size: 1.5rem;
    color: var(--as9-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__paragraph {
    margin-bottom: 15px;
    color: var(--as9-text-main);
    opacity: 0.85;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__figure {
    margin: 30px 0;
    text-align: center;
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--as9-border-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__figcaption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--as9-text-main);
    opacity: 0.7;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__ordered-list,
.page-blog-huong-dan-ca-cuoc-the-thao-as9__unordered-list {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--as9-text-main);
    opacity: 0.9;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__list-item strong {
    color: var(--as9-secondary-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-item {
    background-color: #1a1a1a;
    border: 1px solid var(--as9-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-question {
    font-size: 1.2rem;
    color: var(--as9-primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-answer {
    font-size: 1rem;
    color: var(--as9-text-main);
    opacity: 0.8;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--as9-text-main);
    opacity: 0.6;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--as9-border-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__article-wrap {
        padding: 30px;
        margin: 40px auto;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__section-title {
        font-size: 1.8rem;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__sub-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section Title + Dual CTA */
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__top-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__container {
        padding: 0 15px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
        margin-bottom: 10px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__intro-text {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        margin-top: 20px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single Column Long Article Container */
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__article-wrap {
        padding: 20px 15px !important;
        margin: 30px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__table-of-contents-card {
        padding: 15px !important;
        margin-bottom: 30px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-title {
        font-size: 1.4rem !important;
        padding-bottom: 8px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__toc-link {
        font-size: 0.95rem !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__section-title {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
        padding-left: 10px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__sub-title {
        font-size: 1.2rem !important;
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__paragraph,
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__list-item,
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__figcaption {
        font-size: 0.95rem !important;
    }

    /* 3. General Images and Figure */
    .page-blog-huong-dan-ca-cuoc-the-thao-as9 img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width of its container */
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__figure {
        margin: 20px 0 !important;
        padding: 10px !important;
    }

    /* 4. Buttons and Button Containers (already covered above, but reinforcing) */
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. FAQ Block */
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-item {
        padding: 15px !important;
        margin-bottom: 10px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-question {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__faq-answer {
        font-size: 0.9rem !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-as9__copyright {
        margin-top: 40px !important;
        font-size: 0.8rem !important;
    }
}

/* Contrast Fixes (if needed) */
.page-blog-huong-dan-ca-cuoc-the-thao-as9__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-blog-huong-dan-ca-cuoc-the-thao-as9__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}