.elementor-3421 .elementor-element.elementor-element-5fe19b72{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-41f41be8 *//* Mobile Responsiveness for PMPro Card Content */
@media screen and (max-width: 768px) {
    /* Main container adjustments */
    .pmpro_card_content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important; /* Reduces outer padding for smaller screens */
        margin: 0 auto;
        overflow-x: hidden; /* Prevents horizontal scrolling */
    }

    /* Ensure inner cards (like the 'Innbyggere i Norge' box) don't overflow */
    .pmpro_card_content > div,
    .pmpro_checkout-fields {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Make all form inputs strictly 100% width on mobile */
    .pmpro_card_content input[type="text"],
    .pmpro_card_content input[type="email"],
    .pmpro_card_content input[type="password"],
    .pmpro_card_content input[type="tel"],
    .pmpro_card_content select,
    .pmpro_card_content textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 5px; /* Breathing room between label and input */
    }

    /* Align checkboxes and their labels neatly */
    .pmpro_card_content input[type="checkbox"] {
        margin-right: 10px;
        flex-shrink: 0; /* Prevents the checkbox from shrinking if the text wraps */
        margin-top: 4px; /* Aligns checkbox with the first line of text */
    }

    /* If the checkbox label container uses a flex layout, ensure it wraps well */
    .pmpro_card_content .pmpro_checkout-field-checkbox,
    .pmpro_card_content label:has(input[type="checkbox"]) {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
}/* End custom CSS */