/* style/resources-download-vn123-guide.css */

/* Base styles for the page content wrapper */
.page-resources-download-vn123-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    box-sizing: border-box;
}

/* Container for consistent content width */
.page-resources-download-vn123-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-resources-download-vn123-guide__section {
    padding: 60px 0;
    text-align: center;
    box-sizing: border-box;
}

/* Dark background sections */
.page-resources-download-vn123-guide__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for contrast */
    color: #ffffff;
}

/* Light background sections */
.page-resources-download-vn123-guide__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-resources-download-vn123-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content clears fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-download-vn123-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-download-vn123-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

.page-resources-download-vn123-guide__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.page-resources-download-vn123-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Section titles */
.page-resources-download-vn123-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
}

.page-resources-download-vn123-guide__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: inherit;
    text-align: left;
}

/* Content blocks */
.page-resources-download-vn123-guide__content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1em;
}

.page-resources-download-vn123-guide__content-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: inherit;
}

.page-resources-download-vn123-guide__content-block ul,
.page-resources-download-vn123-guide__content-block ol {
    margin-bottom: 15px;
    padding-left: 25px;
    color: inherit;
}

.page-resources-download-vn123-guide__content-block li {
    margin-bottom: 8px;
    color: inherit;
}

/* Grid layout for steps */
.page-resources-download-vn123-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Card styling */
.page-resources-download-vn123-guide__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark bg */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-download-vn123-guide__light-bg .page-resources-download-vn123-guide__card {
    background-color: #f8f8f8; /* Light background for cards in light sections */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-download-vn123-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-download-vn123-guide__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

/* Image blocks */
.page-resources-download-vn123-guide__image-block {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    box-sizing: border-box;
}

.page-resources-download-vn123-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Notes/Emphasis */
.page-resources-download-vn123-guide__note {
    font-size: 1em;
    margin-top: 20px;
    font-style: italic;
    color: inherit;
}

/* Call to Action Buttons */
.page-resources-download-vn123-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-download-vn123-guide__cta-buttons--center {
    justify-content: center;
}

.page-resources-download-vn123-guide__btn-primary,
.page-resources-download-vn123-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    text-align: center;
}

.page-resources-download-vn123-guide__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-download-vn123-guide__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-resources-download-vn123-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-download-vn123-guide__secondary-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-download-vn123-guide__secondary-link:hover {
    color: #1a8cc4;
}

.page-resources-download-vn123-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* FAQ Section */
.page-resources-download-vn123-guide__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-resources-download-vn123-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-resources-download-vn123-guide__light-bg .page-resources-download-vn123-guide__faq-item {
    background-color: #f8f8f8;
    color: #333333;
}

.page-resources-download-vn123-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: inherit;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question area */
    transition: background-color 0.3s ease;
}

.page-resources-download-vn123-guide__light-bg .page-resources-download-vn123-guide__faq-question {
    background-color: #e9e9e9;
}

.page-resources-download-vn123-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-download-vn123-guide__light-bg .page-resources-download-vn123-guide__faq-question:hover {
    background-color: #dcdcdc;
}

.page-resources-download-vn123-guide__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-resources-download-vn123-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-download-vn123-guide__faq-item.active .page-resources-download-vn123-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-download-vn123-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
    color: inherit;
}

.page-resources-download-vn123-guide__faq-item.active .page-resources-download-vn123-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 20px;
}

.page-resources-download-vn123-guide__faq-answer p {
    margin: 0 0 10px 0;
    color: inherit;
}

/* CTA Section specific styles */
.page-resources-download-vn123-guide__cta-section {
    position: relative;
    padding-bottom: 80px;
}

.page-resources-download-vn123-guide__cta-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.page-resources-download-vn123-guide__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-download-vn123-guide__hero-title {
        font-size: 2.8em;
    }

    .page-resources-download-vn123-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-download-vn123-guide__container {
        padding: 0 15px;
    }

    .page-resources-download-vn123-guide__section {
        padding: 40px 0;
    }

    .page-resources-download-vn123-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }

    .page-resources-download-vn123-guide__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-resources-download-vn123-guide__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-resources-download-vn123-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-download-vn123-guide__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-resources-download-vn123-guide__content-block {
        font-size: 1em;
    }

    .page-resources-download-vn123-guide__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-download-vn123-guide__card {
        padding: 20px;
    }

    .page-resources-download-vn123-guide__card-title {
        font-size: 1.2em;
    }

    .page-resources-download-vn123-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    .page-resources-download-vn123-guide__btn-primary,
    .page-resources-download-vn123-guide__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images and video responsiveness */
    .page-resources-download-vn123-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-download-vn123-guide__hero-image-wrapper,
    .page-resources-download-vn123-guide__image-block,
    .page-resources-download-vn123-guide__cta-image-wrapper,
    .page-resources-download-vn123-guide__video-section,
    .page-resources-download-vn123-guide__video-container,
    .page-resources-download-vn123-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-download-vn123-guide video,
    .page-resources-download-vn123-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* FAQ specific mobile styles */
    .page-resources-download-vn123-guide__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-resources-download-vn123-guide__faq-answer {
        padding: 15px;
    }
    .page-resources-download-vn123-guide__faq-item.active .page-resources-download-vn123-guide__faq-answer {
        padding: 15px !important;
    }

    /* Ensure content sections don't overflow */
    .page-resources-download-vn123-guide__section,
    .page-resources-download-vn123-guide__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by container for consistency */
    }
    .page-resources-download-vn123-guide__content-block ul,
    .page-resources-download-vn123-guide__content-block ol {
        padding-left: 20px;
    }
}

/* Ensure color contrast on light cards in dark sections */
.page-resources-download-vn123-guide__dark-bg .page-resources-download-vn123-guide__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-resources-download-vn123-guide__dark-bg .page-resources-download-vn123-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-resources-download-vn123-guide__dark-bg .page-resources-download-vn123-guide__faq-question {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}