/* Set Nunito as default font for entire site */
body, html {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
}

/* Apply to all text elements */
* {
    font-family: "Nunito", sans-serif;
}
    /* Responsive styles */
    .job-listing {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .job-row {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
    }
    
    .job-label {
        font-weight: 600;
        width: 25%;
        min-width: 150px;
        padding: 0.5rem 0;
    }
    
    .job-value {
        flex: 1;
        padding: 0.5rem 0;
    }
    
    .job-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    
    .message-container {
        margin-bottom: 1.5rem;
    }
    
    .spontaneous-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 2px solid #DDD;
    }
    
    /* Tablet and below */
    @media (max-width: 768px) {
        .job-label {
            width: 100%;
            min-width: unset;
            font-weight: 700;
        }
        
        .job-value {
            width: 100%;
            padding-left: 1rem;
        }
        
        .job-row {
            margin-bottom: 1rem;
        }
        
        .job-title {
            font-size: 16px;
        }
    }
    
    /* Mobile */
    @media (max-width: 480px) {
        #content {
            padding: 1rem;
        }
        
        .job-title {
            font-size: 15px;
        }
        
        .job-value {
            padding-left: 0.5rem;
        }
    }
/* Add these rules to fix iPhone display */
* {
    box-sizing: border-box;
}

#content {
    max-width: 100%;
    overflow-x: hidden;
}

.job-listing,
.job-row,
.job-label,
.job-value,
.message-container,
.spontaneous-section {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Update the mobile media query */
@media (max-width: 480px) {
    #content {
        padding: 1rem;
        width: 100%;
    }
    
    .job-title {
        font-size: 15px;
    }
    
    .job-value {
        padding-left: 0.5rem;
        width: 100%;
    }
    
    .job-label {
        width: 100%;
    }
}
/* Force all containers to respect screen width */
body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

#content, 
#content > div,
.d2w-texte-1 {
    max-width: 100% 
    width: 100% !important;
    overflow-x: hidden !important;
}

.job-listing,
.job-row,
.job-label,
.job-value,
.message-container,
.spontaneous-section,
.job-title {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    overflow-x: hidden !important;
}

/* Ensure titles don't overflow */
.job-title {
    white-space: normal !important;
    line-height: 1.3;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    body {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #content {
        padding: 0.5rem !important;
    }
    
    .job-listing {
        padding: 0 !important;
    }
}