/* Remove bottom space/padding from page */

/* Fix page-main height to prevent extra space */
.page-wrapper .page-main {
    height: auto !important;
    min-height: calc(100vh - 75px) !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow-y: visible !important;
}

/* Remove bottom margin from uk-grid */
.page-main .uk-grid {
    margin-bottom: 0 !important;
}

/* Remove bottom margin from grid children */
.page-main .uk-grid > * {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure page-main has no bottom spacing */
.page-main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove any bottom spacing from the main container */
main.page-main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove overflow auto that might create scrollbar space */
.page-wrapper .page-main {
    overflow-y: visible !important;
}
