/* style/blog-vn188-latest-link-safe-access-guide.css */

/* Custom colors from palette */
:root {
    --vn188-primary-color: #11A84E;
    --vn188-secondary-color: #22C768;
    --vn188-background-dark: #08160F;
    --vn188-card-bg: #11271B;
    --vn188-text-main: #F2FFF6;
    --vn188-text-secondary: #A7D9B8;
    --vn188-border-color: #2E7A4E;
    --vn188-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --vn188-glow-color: #57E38D;
    --vn188-gold-color: #F2C14E;
    --vn188-divider-color: #1E3A2A;
    --vn188-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-blog-vn188-latest-link-safe-access-guide {
    font-family: 'Arial', sans-serif;
    color: var(--vn188-text-main); /* Default text color for the page */
    background-color: var(--vn188-background-dark); /* Page background */
    line-height: 1.6;
}

.page-blog-vn188-latest-link-safe-access-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-vn188-latest-link-safe-access-guide__section-title {
    font-size: 2.5em;
    color: var(--vn188-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-blog-vn188-latest-link-safe-access-guide__text-block {
    margin-bottom: 30px;
}

.page-blog-vn188-latest-link-safe-access-guide p {
    margin-bottom: 1em;
    color: var(--vn188-text-secondary);
}

.page-blog-vn188-latest-link-safe-access-guide__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--vn188-text-secondary);
}

.page-blog-vn188-latest-link-safe-access-guide__list li {
    margin-bottom: 0.5em;
}

/* Buttons */
.page-blog-vn188-latest-link-safe-access-guide__btn-primary,
.page-blog-vn188-latest-link-safe-access-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word wrapping */
}

.page-blog-vn188-latest-link-safe-access-guide__btn-primary {
    background: var(--vn188-button-gradient);
    color: #ffffff; /* Button text always white for contrast */
    border: none;
}

.page-blog-vn188-latest-link-safe-access-guide__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog-vn188-latest-link-safe-access-guide__btn-secondary {
    background: transparent;
    color: var(--vn188-primary-color);
    border: 2px solid var(--vn188-primary-color);
}

.page-blog-vn188-latest-link-safe-access-guide__btn-secondary:hover {
    background: var(--vn188-primary-color);
    color: #ffffff;
}

.page-blog-vn188-latest-link-safe-access-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-blog-vn188-latest-link-safe-access-guide__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-blog-vn188-latest-link-safe-access-guide__card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--vn188-gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-blog-vn188-latest-link-safe-access-guide__card-link:hover {
    text-decoration: underline;
}

/* Image base styles */
.page-blog-vn188-latest-link-safe-access-guide img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
    border-radius: 8px;
}

/* Hero Section */
.page-blog-vn188-latest-link-safe-access-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Minimal top padding, more bottom padding */
    background-color: var(--vn188-background-dark);
}

.page-blog-vn188-latest-link-safe-access-guide__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper doesn't overflow */
    overflow: hidden;
}

.page-blog-vn188-latest-link-safe-access-guide__hero-image {
    width: 100%; /* Occupy full width of its wrapper */
    object-fit: cover;
    border-radius: 0; /* Hero image typically full width, no corner radius */
}

.page-blog-vn188-latest-link-safe-access-guide__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px 0; /* Padding inside content, no top padding as it's below image */
    z-index: 1;
}

.page-blog-vn188-latest-link-safe-access-guide__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--vn188-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 60ch; /* Limit line length for readability */
    margin-left: auto;
    margin-right: auto;
}

.page-blog-vn188-latest-link-safe-access-guide__description {
    font-size: 1.1em;
    color: var(--vn188-text-secondary);
    margin-bottom: 30px;
    max-width: 80ch; /* Limit line length for readability */
    margin-left: auto;
    margin-right: auto;
}

/* Content Sections */
.page-blog-vn188-latest-link-safe-access-guide__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--vn188-divider-color);
}

.page-blog-vn188-latest-link-safe-access-guide__content-section:last-of-type {
    border-bottom: none;
}

/* Access Guide Section */
.page-blog-vn188-latest-link-safe-access-guide__access-guide {
    background-color: var(--vn188-card-bg); /* Use card background for this section */
}

.page-blog-vn188-latest-link-safe-access-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-vn188-latest-link-safe-access-guide__grid-item {
    background-color: var(--vn188-background-dark); /* Darker background for grid items */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-vn188-latest-link-safe-access-guide__grid-item img {
    margin: 0 auto 20px auto;
    max-width: 100%; /* Ensure image is responsive */
    width: 100%;
    height: auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
    object-fit: cover;
}

.page-blog-vn188-latest-link-safe-access-guide__grid-title {
    font-size: 1.5em;
    color: var(--vn188-primary-color);
    margin-bottom: 15px;
}

/* Features Section */
.page-blog-vn188-latest-link-safe-access-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-blog-vn188-latest-link-safe-access-guide__feature-card {
    background-color: var(--vn188-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-blog-vn188-latest-link-safe-access-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-blog-vn188-latest-link-safe-access-guide__card-title {
    font-size: 1.3em;
    color: var(--vn188-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-vn188-latest-link-safe-access-guide__feature-card p {
    color: var(--vn188-text-secondary);
    flex-grow: 1; /* Allow paragraph to take available space */
}


/* Register Section */
.page-blog-vn188-latest-link-safe-access-guide__register-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-blog-vn188-latest-link-safe-access-guide__step-item {
    background-color: var(--vn188-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-blog-vn188-latest-link-safe-access-guide__step-title {
    font-size: 1.4em;
    color: var(--vn188-primary-color);
    margin-bottom: 15px;
}

/* App Download Section */
.page-blog-vn188-latest-link-safe-access-guide__app-info {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-vn188-latest-link-safe-access-guide__app-text {
    flex: 1;
    min-width: 300px;
}

.page-blog-vn188-latest-link-safe-access-guide__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-blog-vn188-latest-link-safe-access-guide__app-image-wrapper img {
    margin: 0 auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-blog-vn188-latest-link-safe-access-guide__app-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center; /* Center buttons in app text block */
}

/* FAQ Section */
.page-blog-vn188-latest-link-safe-access-guide__faq {
    background-color: var(--vn188-card-bg);
}

.page-blog-vn188-latest-link-safe-access-guide__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog-vn188-latest-link-safe-access-guide__faq-item {
    background-color: var(--vn188-background-dark); /* Darker background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog-vn188-latest-link-safe-access-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--vn188-text-main);
    cursor: pointer;
    background-color: var(--vn188-card-bg); /* Match card background */
    border-bottom: 1px solid var(--vn188-divider-color);
}

/* Hide default details marker */
.page-blog-vn188-latest-link-safe-access-guide__faq-item summary {
    list-style: none;
}
.page-blog-vn188-latest-link-safe-access-guide__faq-item summary::-webkit-details-marker {
    display: none;
}


.page-blog-vn188-latest-link-safe-access-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--vn188-primary-color);
}

.page-blog-vn188-latest-link-safe-access-guide__faq-item[open] .page-blog-vn188-latest-link-safe-access-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an 'x' or minus */
}

.page-blog-vn188-latest-link-safe-access-guide__faq-answer {
    padding: 20px 25px;
    padding-top: 0;
    color: var(--vn188-text-secondary);
    font-size: 0.95em;
}

.page-blog-vn188-latest-link-safe-access-guide__faq-answer p {
    margin-bottom: 10px;
}

.page-blog-vn188-latest-link-safe-access-guide__faq-link {
    color: var(--vn188-gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-blog-vn188-latest-link-safe-access-guide__faq-link:hover {
    text-decoration: underline;
}

/* Conclusion Section */
.page-blog-vn188-latest-link-safe-access-guide__conclusion {
    padding-bottom: 80px;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-blog-vn188-latest-link-safe-access-guide__hero-content {
        padding: 20px;
    }
    .page-blog-vn188-latest-link-safe-access-guide__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-blog-vn188-latest-link-safe-access-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog-vn188-latest-link-safe-access-guide__container {
        padding: 0 15px !important;
    }

    /* Mobile images, videos, buttons - FORCE RESPONSIVE */
    .page-blog-vn188-latest-link-safe-access-guide img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width of container */
        height: auto !important;
        min-width: unset !important; /* Remove min-width to allow shrinking */
        min-height: unset !important; /* Remove min-height to allow shrinking */
    }

    .page-blog-vn188-latest-link-safe-access-guide__hero-image {
        border-radius: 0 !important; /* No border-radius for full width hero on mobile */
    }
    
    .page-blog-vn188-latest-link-safe-access-guide video,
    .page-blog-vn188-latest-link-safe-access-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog-vn188-latest-link-safe-access-guide__video-section,
    .page-blog-vn188-latest-link-safe-access-guide__video-container,
    .page-blog-vn188-latest-link-safe-access-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-blog-vn188-latest-link-safe-access-guide__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-blog-vn188-latest-link-safe-access-guide__cta-button,
    .page-blog-vn188-latest-link-safe-access-guide__btn-primary,
    .page-blog-vn188-latest-link-safe-access-guide__btn-secondary,
    .page-blog-vn188-latest-link-safe-access-guide a[class*="button"],
    .page-blog-vn188-latest-link-safe-access-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Ensure buttons take full width of container */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-blog-vn188-latest-link-safe-access-guide__cta-buttons,
    .page-blog-vn188-latest-link-safe-access-guide__button-group,
    .page-blog-vn188-latest-link-safe-access-guide__btn-container,
    .page-blog-vn188-latest-link-safe-access-guide__app-cta { /* Include app-cta for button group */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Adjust gap for stacked buttons */
        overflow: hidden !important;
    }

    .page-blog-vn188-latest-link-safe-access-guide__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-blog-vn188-latest-link-safe-access-guide__hero-content {
        padding: 20px 15px 0;
    }
    .page-blog-vn188-latest-link-safe-access-guide__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-blog-vn188-latest-link-safe-access-guide__description {
        font-size: 1em;
    }
    .page-blog-vn188-latest-link-safe-access-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-blog-vn188-latest-link-safe-access-guide__content-section {
        padding: 40px 0;
    }
    .page-blog-vn188-latest-link-safe-access-guide__grid-item,
    .page-blog-vn188-latest-link-safe-access-guide__feature-card,
    .page-blog-vn188-latest-link-safe-access-guide__step-item {
        padding: 25px;
    }
    .page-blog-vn188-latest-link-safe-access-guide__app-info {
        flex-direction: column;
        gap: 30px;
    }
    .page-blog-vn188-latest-link-safe-access-guide__app-text,
    .page-blog-vn188-latest-link-safe-access-guide__app-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-blog-vn188-latest-link-safe-access-guide__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-blog-vn188-latest-link-safe-access-guide__faq-answer {
        padding: 15px 20px;
        padding-top: 0;
    }
    .page-blog-vn188-latest-link-safe-access-guide__feature-card p {
        font-size: 0.9em;
    }
}

/* Ensure no CSS filters are used for images */
.page-blog-vn188-latest-link-safe-access-guide img {
    filter: none !important;
}

/* Content area image size constraint */
.page-blog-vn188-latest-link-safe-access-guide__content-section img,
.page-blog-vn188-latest-link-safe-access-guide__grid-item img,
.page-blog-vn188-latest-link-safe-access-guide__feature-card img,
.page-blog-vn188-latest-link-safe-access-guide__app-image-wrapper img {
    min-width: 200px;
    min-height: 200px;
}