/* style/resources-mb66-registration-guide.css */
/* Base styles for the page content */
.page-resources-mb66-registration-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #111 (dark), so text should be light */
    background-color: transparent; /* Inherit from body, which is #111 */
}

.page-resources-mb66-registration-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-mb66-registration-guide__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff; /* Ensure high contrast on dark sections */
}

.page-resources-mb66-registration-guide__section-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: #f0f0f0;
}

/* Hero Section */
.page-resources-mb66-registration-guide__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted padding to accommodate fixed header */
    background-color: #017439; /* Primary color */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-mb66-registration-guide__hero-section .page-resources-mb66-registration-guide__container {
    position: relative;
    z-index: 1;
}

.page-resources-mb66-registration-guide__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register and Login Font */
}

.page-resources-mb66-registration-guide__description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-mb66-registration-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-mb66-registration-guide__btn-register,
.page-resources-mb66-registration-guide__btn-login,
.page-resources-mb66-registration-guide__btn-primary,
.page-resources-mb66-registration-guide__btn-promotions {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-resources-mb66-registration-guide__btn-register {
    background-color: #C30808; /* Register color */
    color: #FFFF00; /* Register and Login Font */
}

.page-resources-mb66-registration-guide__btn-register:hover {
    background-color: #a00606;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-mb66-registration-guide__btn-login {
    background-color: #C30808; /* Login color */
    color: #FFFF00; /* Register and Login Font */
}

.page-resources-mb66-registration-guide__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-mb66-registration-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

/* Steps Section */
.page-resources-mb66-registration-guide__steps-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Darker background for contrast */
    color: #ffffff;
}

.page-resources-mb66-registration-guide__dark-section .page-resources-mb66-registration-guide__section-title {
    color: #ffffff;
}
.page-resources-mb66-registration-guide__dark-section .page-resources-mb66-registration-guide__section-intro {
    color: #f0f0f0;
}


.page-resources-mb66-registration-guide__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-resources-mb66-registration-guide__step-card:hover {
    transform: translateY(-5px);
}

.page-resources-mb66-registration-guide__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #017439; /* Primary color */
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-mb66-registration-guide__step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight important titles */
}

.page-resources-mb66-registration-guide__step-description {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-resources-mb66-registration-guide__step-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.page-resources-mb66-registration-guide__step-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #017439;
    border-radius: 4px;
    color: #f0f0f0;
}

.page-resources-mb66-registration-guide__step-list strong {
    color: #FFFF00;
}

.page-resources-mb66-registration-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-mb66-registration-guide__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-resources-mb66-registration-guide__btn-primary {
    background-color: #017439; /* Primary color */
    color: #ffffff;
    padding: 15px 50px;
}

.page-resources-mb66-registration-guide__btn-primary:hover {
    background-color: #00562e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-resources-mb66-registration-guide__tips-section {
    padding: 80px 0;
    background-color: #222222; /* Slightly different dark background */
    color: #ffffff;
}

.page-resources-mb66-registration-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-mb66-registration-guide__tip-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-resources-mb66-registration-guide__tip-card:hover {
    transform: translateY(-5px);
}

.page-resources-mb66-registration-guide__tip-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-resources-mb66-registration-guide__tip-description {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-resources-mb66-registration-guide__tip-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-resources-mb66-registration-guide__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Darker background for contrast */
    color: #ffffff;
}

.page-resources-mb66-registration-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ item styles */
.page-resources-mb66-registration-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-resources-mb66-registration-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #017439; /* Primary color for question background */
    border: 1px solid #00562e;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff;
}

.page-resources-mb66-registration-guide__faq-question:hover {
    background: #00562e;
    border-color: #003d1e;
}

.page-resources-mb66-registration-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #ffffff;
}

.page-resources-mb66-registration-guide__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFFF00; /* Highlight toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-resources-mb66-registration-guide__faq-item.active .page-resources-mb66-registration-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
    color: #ffffff;
}

.page-resources-mb66-registration-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

/* FAQ expanded state */
.page-resources-mb66-registration-guide__faq-item.active .page-resources-mb66-registration-guide__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

/* Conclusion Section */
.page-resources-mb66-registration-guide__conclusion-section {
    padding: 80px 0;
    background-color: #017439; /* Primary color */
    color: #ffffff;
    text-align: center;
}

.page-resources-mb66-registration-guide__conclusion-section .page-resources-mb66-registration-guide__section-title {
    color: #ffffff;
}

.page-resources-mb66-registration-guide__conclusion-section .page-resources-mb66-registration-guide__description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    font-size: 18px;
    color: #f0f0f0;
}

.page-resources-mb66-registration-guide__btn-promotions {
    background-color: #FFFF00; /* Yellow for promotions */
    color: #333333;
    padding: 15px 40px;
}

.page-resources-mb66-registration-guide__btn-promotions:hover {
    background-color: #e0e000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Global image styles (must not be filter based) */
.page-resources-mb66-registration-guide img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
    filter: none !important; /* Ensure no filters are applied */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-mb66-registration-guide__main-title {
        font-size: 40px;
    }
    .page-resources-mb66-registration-guide__section-title {
        font-size: 30px;
    }
    .page-resources-mb66-registration-guide__description,
    .page-resources-mb66-registration-guide__section-intro {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-resources-mb66-registration-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-mb66-registration-guide__container {
        padding: 0 15px;
    }
    .page-resources-mb66-registration-guide__hero-section {
        padding: 100px 0 60px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-resources-mb66-registration-guide__main-title {
        font-size: 32px;
    }
    .page-resources-mb66-registration-guide__description {
        font-size: 16px;
    }
    .page-resources-mb66-registration-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container of buttons */
    }
    .page-resources-mb66-registration-guide__btn-register,
    .page-resources-mb66-registration-guide__btn-login,
    .page-resources-mb66-registration-guide__btn-primary,
    .page-resources-mb66-registration-guide__btn-promotions {
        padding: 12px 25px !important;
        font-size: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-mb66-registration-guide__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-resources-mb66-registration-guide__section-intro {
        font-size: 15px;
        margin-bottom: 40px;
    }
    .page-resources-mb66-registration-guide__steps-section,
    .page-resources-mb66-registration-guide__tips-section,
    .page-resources-mb66-registration-guide__faq-section,
    .page-resources-mb66-registration-guide__conclusion-section {
        padding: 60px 0;
    }
    .page-resources-mb66-registration-guide__step-card,
    .page-resources-mb66-registration-guide__tip-card {
        padding: 20px;
    }
    .page-resources-mb66-registration-guide__step-title,
    .page-resources-mb66-registration-guide__tip-title {
        font-size: 20px;
    }
    .page-resources-mb66-registration-guide__step-description,
    .page-resources-mb66-registration-guide__tip-description {
        font-size: 15px;
    }
    .page-resources-mb66-registration-guide__faq-question {
        padding: 15px 20px;
    }
    .page-resources-mb66-registration-guide__faq-question h3 {
        font-size: 16px;
    }
    .page-resources-mb66-registration-guide__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }
    .page-resources-mb66-registration-guide__faq-answer {
        padding: 0 20px;
    }
    .page-resources-mb66-registration-guide__faq-item.active .page-resources-mb66-registration-guide__faq-answer {
        padding: 15px 20px !important;
    }

    /* Mobile image and video responsive adaptation */
    .page-resources-mb66-registration-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-mb66-registration-guide video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-mb66-registration-guide__steps-section,
    .page-resources-mb66-registration-guide__tips-section,
    .page-resources-mb66-registration-guide__faq-section,
    .page-resources-mb66-registration-guide__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-resources-mb66-registration-guide__steps-section .page-resources-mb66-registration-guide__container,
    .page-resources-mb66-registration-guide__tips-section .page-resources-mb66-registration-guide__container,
    .page-resources-mb66-registration-guide__faq-section .page-resources-mb66-registration-guide__container,
    .page-resources-mb66-registration-guide__conclusion-section .page-resources-mb66-registration-guide__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-mb66-registration-guide__tips-grid {
        grid-template-columns: 1fr;
    }
}