/**
 * Loan Information Page - Responsive Styles
 * 
 * This file contains specific styles for the loan information page
 * to ensure proper text wrapping and display on mobile devices.
 */

/* Base styles */
.loan-info-section {
    padding: 20px 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.loan-info-section h1,
.loan-info-section h2,
.loan-info-section h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.loan-info-section p,
.loan-info-section li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    line-height: 1.6;
}

/* Responsive styles for mobile */
@media (max-width: 767px) {
    .loan-info-section {
        padding: 15px 10px;
    }
    
    .loan-info-section p,
    .loan-info-section li,
    .loan-info-section ul,
    .loan-info-section ol {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        font-size: 14px !important;
    }
    
    /* Ensure list items display properly */
    .loan-info-section ul,
    .loan-info-section ol {
        padding-left: 20px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    /* Ensure list markers are visible */
    .loan-info-section li {
        display: list-item !important;
        margin-bottom: 8px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .loan-info-section h1 {
        font-size: 20px !important;
    }
    
    .loan-info-section h2 {
        font-size: 18px !important;
    }
    
    .loan-info-section h3 {
        font-size: 16px !important;
    }
}

/* General fix for all content pages */
@media (max-width: 767px) {
    /* Force text to wrap properly */
    * {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        -ms-word-break: break-all !important;
        word-break: break-word !important;
    }
    
    /* Force containers to respect viewport width */
    .container, 
    .content-area, 
    .entry-content,
    article, 
    section,
    .page-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
} 