/* style/resources-mb66-app-features.css */

/* Base styles for the page content */
.page-resources-mb66-app-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #ffffff; /* Default light background */
}

/* Header offset for desktop and mobile */
.page-resources-mb66-app-features__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-resources-mb66-app-features__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-mb66-app-features__section--primary,
.page-resources-mb66-app-features__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    box-shadow: none;
}

.page-resources-mb66-app-features__section--primary h2,
.page-resources-mb66-app-features__section--primary h3,
.page-resources-mb66-app-features__dark-bg h2,
.page-resources-mb66-app-features__dark-bg h3,
.page-resources-mb66-app-features__dark-bg p,
.page-resources-mb66-app-features__dark-bg li {
    color: #ffffff;
}

.page-resources-mb66-app-features__title {
    font-size: 2.8em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
}

.page-resources-mb66-app-features__hero-section .page-resources-mb66-app-features__title {
    color: #ffffff; /* White title on dark hero background */
}

.page-resources-mb66-app-features__subtitle {
    font-size: 1.2em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-mb66-app-features__heading {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-mb66-app-features__subheading {
    font-size: 1.8em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-mb66-app-features__highlight {
    font-weight: bold;
    color: #26A9E0;
}

.page-resources-mb66-app-features__dark-bg .page-resources-mb66-app-features__highlight {
    color: #ffffff;
}

.page-resources-mb66-app-features__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-mb66-app-features__list-ordered,
.page-resources-mb66-app-features__list-unordered {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-mb66-app-features__list-item {
    margin-bottom: 10px;
}

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

.page-resources-mb66-app-features__btn {
    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;
    text-align: center;
    box-sizing: border-box; /* Important for mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-resources-mb66-app-features__btn--primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-mb66-app-features__btn--primary:hover {
    background-color: #1a7fb2;
    border-color: #1a7fb2;
}

.page-resources-mb66-app-features__btn--secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-mb66-app-features__btn--secondary:hover {
    background-color: #e0f2f7;
    color: #1a7fb2;
    border-color: #1a7fb2;
}

/* Video Section */
.page-resources-mb66-app-features__video-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.page-resources-mb66-app-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-mb66-app-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure video does not overflow */
    display: block;
}

/* FAQ Section */
.page-resources-mb66-app-features__faq-list {
    margin-top: 40px;
}

.page-resources-mb66-app-features__faq-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-resources-mb66-app-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f7f7f7;
    cursor: pointer;
    font-weight: bold;
    color: #26A9E0;
    font-size: 1.1em;
    border-bottom: 1px solid #eeeeee;
}

.page-resources-mb66-app-features__faq-question:hover {
    background-color: #eef7fa;
}

.page-resources-mb66-app-features__faq-question summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-resources-mb66-app-features__faq-question summary::-webkit-details-marker {
    display: none;
}

.page-resources-mb66-app-features__faq-qtext {
    flex-grow: 1;
}

.page-resources-mb66-app-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-resources-mb66-app-features__faq-item[open] .page-resources-mb66-app-features__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-mb66-app-features__faq-answer {
    padding: 15px 25px;
    color: #555555;
    background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-mb66-app-features__title {
        font-size: 2.2em;
    }
    .page-resources-mb66-app-features__heading {
        font-size: 1.8em;
    }
    .page-resources-mb66-app-features__subheading {
        font-size: 1.5em;
    }
    .page-resources-mb66-app-features__section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .page-resources-mb66-app-features {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Fixed header offset for mobile */
    .page-resources-mb66-app-features__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Reapply for mobile */
    }

    .page-resources-mb66-app-features__title {
        font-size: 1.8em;
    }
    .page-resources-mb66-app-features__subtitle {
        font-size: 1em;
    }
    .page-resources-mb66-app-features__heading {
        font-size: 1.5em;
    }
    .page-resources-mb66-app-features__subheading {
        font-size: 1.2em;
    }

    /* Image responsiveness for content area */
    .page-resources-mb66-app-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness for content area */
    .page-resources-mb66-app-features__video-section,
    .page-resources-mb66-app-features__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-mb66-app-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-mb66-app-features__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section is below header */
    }

    /* Button responsiveness */
    .page-resources-mb66-app-features__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        gap: 15px;
    }
    .page-resources-mb66-app-features__btn {
        max-width: 100% !important;
        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;
    }

    /* General container padding for mobile */
    .page-resources-mb66-app-features__section,
    .page-resources-mb66-app-features__container,
    .page-resources-mb66-app-features__feature-item,
    .page-resources-mb66-app-features__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Adjust for sections that might have padding on the elements inside, not the section itself */
    .page-resources-mb66-app-features__section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-mb66-app-features__content-block {
        padding: 0 15px; /* Apply padding to inner content if section has none */
    }

    .page-resources-mb66-app-features__faq-question,
    .page-resources-mb66-app-features__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure images are not filtered */
.page-resources-mb66-app-features img {
    filter: none !important; /* Strictly no filter on images */
}

/* Content area images CSS dimensions check (min 200px) */
.page-resources-mb66-app-features__image-large {
    min-width: 400px;
    min-height: 300px;
}
.page-resources-mb66-app-features__image-medium {
    min-width: 300px;
    min-height: 250px;
}

/* Ensure text contrast for dark backgrounds */
.page-resources-mb66-app-features__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-resources-mb66-app-features__dark-bg h2,
.page-resources-mb66-app-features__dark-bg h3,
.page-resources-mb66-app-features__dark-bg p,
.page-resources-mb66-app-features__dark-bg li {
    color: #ffffff;
}