/* Language-specific CSS adjustments */

/* Fix for modules-fullwidth container to prevent content truncation */
.modules-fullwidth {
    overflow: visible !important;
    min-height: auto !important;
}

/* Ensure module-shadow doesn't clip content */
.modules-fullwidth .module-shadow {
    z-index: 0;
}

/* Make sure container with relative positioning allows content to expand */
.modules-fullwidth .container[style*="position: relative"] {
    min-height: auto !important;
    padding-bottom: 30px !important; /* Add padding to prevent cutoff */
}

/* English-specific adjustments for ziguep hero text */
html[lang="en"] .modules-text-format .text-format-el {
    font-size: 90%; /* Slightly smaller font for English */
}

/* For larger screens, we can use normal size */
@media (min-width: 992px) {
    html[lang="en"] .modules-text-format .text-format-el {
        font-size: 100%;
    }
}

/* Ensure proper text wrapping */
html[lang="en"] .modules-text-format .text-format-el span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Additional spacing adjustments for English */
html[lang="en"] #modules-13 .modules-text-format {
    padding-left: 10px;
    padding-right: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    html[lang="en"] .modules-text-format .text-format-el {
        font-size: 85%;
        line-height: 1.3;
    }
    
    /* Extra padding on mobile to prevent cutoff */
    .modules-fullwidth .container[style*="position: relative"] {
        padding-bottom: 50px !important;
    }
}