body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    position: static !important;
}

/* Main content grows — only known page shells, not every body > div */
body > main,
body > .site-main,
body > .help-page-container,
body > .track-page,
body > .page-wrap,
body > .courses-page,
body > .ad-page-wrap,
body > .ad-page,
body > .cdt,
body > .cl-section,
body > .hp-institutions,
body > .camp-section,
body > .events-section,
body > .hp-crs-section,
body > .hp-mj,
body > .dargah-dome-section,
body > .hp-news-wrap,
body > .public-form-page,
body > .cob-section,
body > .edu-network-section,
body > .jp-page,
body > .mvl-root {
    flex: 1 0 auto !important;
}

.aji-footer {
    flex-shrink: 0 !important;
    margin-top: auto;
}

/* Post-footer utilities must never stretch the layout */
body > .search-popup,
body > #progress,
body > .floating-translate-circle,
body > #google_translate_element,
body > .site-toast {
    flex: none !important;
}

/* Google Translate banner/tooltip only — keep widget init intact */
iframe.goog-te-banner-frame,
body > div.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    border: none !important;
    position: fixed !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    left: -99999px !important;
    top: -99999px !important;
}

/* Hide default Google widget UI but let it initialize */
#google_translate_element {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 300px !important;
    height: 40px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
#google_translate_element .goog-te-gadget,
#google_translate_element .goog-te-gadget-simple,
.goog-te-gadget,
.goog-te-gadget-simple {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    pointer-events: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
