/* style/blog-bet11-access-guide.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm padding-top cho body hoặc các section đầu tiên */

:root {
    /* Custom colors */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-blog-bet11-access-guide {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background); /* Dark background from custom colors */
    color: var(--color-text-main); /* Light text for dark background */
    line-height: 1.6;
}

.page-blog-bet11-access-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for separation */
    background-color: var(--color-background);
    color: var(--color-text-main);
    text-align: center;
}

.page-blog-bet11-access-guide__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
}

.page-blog-bet11-access-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-bet11-access-guide__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-bet11-access-guide__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold); /* Use gold for main title for emphasis */
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.page-blog-bet11-access-guide__description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-blog-bet11-access-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
}

.page-blog-bet11-access-guide__btn-primary,
.page-blog-bet11-access-guide__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-bet11-access-guide__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-blog-bet11-access-guide__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.page-blog-bet11-access-guide__btn-secondary {
    background-color: transparent;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-bet11-access-guide__btn-secondary:hover {
    background-color: var(--color-button-gradient-start);
    color: var(--color-text-main);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-blog-bet11-access-guide__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-blog-bet11-access-guide__dark-section {
    background-color: var(--color-card-bg); /* Use card background for dark sections */
    color: var(--color-text-main);
}

.page-blog-bet11-access-guide__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--color-gold);
    margin-bottom: 40px;
    font-weight: 600;
}

.page-blog-bet11-access-guide__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-blog-bet11-access-guide__content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-blog-bet11-access-guide__content-block p {
    margin-bottom: 1em;
    color: var(--color-text-secondary);
}

.page-blog-bet11-access-guide__content-block p .keyword {
    color: var(--color-gold);
    font-weight: bold;
}

.page-blog-bet11-access-guide__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-bet11-access-guide__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-blog-bet11-access-guide__list li:before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.page-blog-bet11-access-guide__image {
    width: 100%;
    max-width: 800px; /* Constrain image width */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-blog-bet11-access-guide__faq-list {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
}

.page-blog-bet11-access-guide__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-blog-bet11-access-guide__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
}

.page-blog-bet11-access-guide__faq-item summary:hover {
    background-color: var(--color-primary);
}

.page-blog-bet11-access-guide__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-blog-bet11-access-guide__faq-qtext .keyword {
    color: var(--color-gold);
}

.page-blog-bet11-access-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-blog-bet11-access-guide__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--color-text-secondary);
}

.page-blog-bet11-access-guide__faq-answer p {
    margin-bottom: 0;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog-bet11-access-guide__hero-section,
    .page-blog-bet11-access-guide__section {
        padding: 40px 15px;
    }

    .page-blog-bet11-access-guide__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-blog-bet11-access-guide__description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-blog-bet11-access-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-bet11-access-guide__hero-section {
        padding: 10px 15px 40px;
    }

    .page-blog-bet11-access-guide__main-title {
        font-size: clamp(1.6em, 7vw, 2.5em); /* Further adjustment for smaller screens */
    }

    .page-blog-bet11-access-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Add padding to container to prevent overflow */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-blog-bet11-access-guide__btn-primary,
    .page-blog-bet11-access-guide__btn-secondary {
        width: 100% !important; /* Full width buttons on mobile */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    .page-blog-bet11-access-guide__section {
        padding: 30px 15px;
    }

    .page-blog-bet11-access-guide__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-blog-bet11-access-guide__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
    }

    /* Images responsive */
    .page-blog-bet11-access-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* All containers with images/videos */
    .page-blog-bet11-access-guide__section,
    .page-blog-bet11-access-guide__card,
    .page-blog-bet11-access-guide__container,
    .page-blog-bet11-access-guide__hero-image-wrapper,
    .page-blog-bet11-access-guide__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    .page-blog-bet11-access-guide__video-section {
        padding-top: 10px !important; /* Small top padding, not --header-offset */
    }
}

/* Ensure no filter on images */
.page-blog-bet11-access-guide img {
    filter: none;
}