/* WordPress integration — Government Healthcare page
   Keeps NCCI header/footer; matches Lovable spacing with full-viewport hero. */

:root {
    --gh-header-h: 76px;
    --blue1: #00B4EF;
    --blue2: #0072BB;
    --blue3: #004184;
    --blue4: #000D42;
}

@media (min-width: 992px) {
    :root {
        --gh-header-h: 100px;
    }
}

html:has(body.page-government-healthcare),
html:has(body.page-template-page-templates-page-government-healthcare-php) {
    background: #fff;
}

body.page-template-page-templates-page-government-healthcare-php,
body.page-government-healthcare,
body.gh-page {
    background: #fff !important;
    font-family: 'Raleway', sans-serif !important;
    margin: 0;
    padding: 0;
}

body.page-government-healthcare #page,
body.page-government-healthcare #content,
body.page-government-healthcare .site-content {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

body.page-government-healthcare #masthead.site-header {
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
}

body.page-government-healthcare #empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gh-page-wrap {
    overflow-x: hidden;
    width: 100%;
    isolation: isolate;
    margin: 0;
    /* NCCI color tokens come from page-government-healthcare.css @theme — do not override here */
}

.gh-page-wrap *,
.gh-page-wrap *::before,
.gh-page-wrap *::after {
    box-sizing: border-box;
}

.gh-page-wrap main {
    font-family: 'Raleway', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gh-page-wrap .font-raleway,
.gh-page-wrap [class*="font-raleway"] {
    font-family: 'Raleway', sans-serif !important;
}

/* Full-viewport hero */
.gh-page-wrap main > section:first-child {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gh-page-wrap main > section:first-child > .absolute.inset-0 {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 100%;
    pointer-events: none;
}

.gh-page-wrap main > section:first-child > .absolute.inset-0 img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.gh-page-wrap main > section:first-child > .relative.mx-auto.max-w-7xl {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 0 0 auto;
    padding-top: max(6rem, calc(var(--gh-header-h) + 1.25rem)) !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 1024px) {
    .gh-page-wrap main > section:first-child > .relative.mx-auto.max-w-7xl {
        padding-top: max(7rem, calc(var(--gh-header-h) + 1.5rem)) !important;
        padding-bottom: 7rem !important;
    }
}

body.page-government-healthcare #navbar {
    background: #fff;
    box-shadow: 0 10px 52px rgba(0, 0, 0, 0.3);
    z-index: 50;
    overflow: visible;
}

body.page-government-healthcare #navbar .navbar-content,
body.page-government-healthcare #navbar #menu-navbar,
body.page-government-healthcare #navbar .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

body.page-government-healthcare #navbar li.menu-item {
    display: list-item;
    margin: 0 7.3% 0 0 !important;
    padding: 0 0 4px !important;
    align-self: center;
}

body.page-government-healthcare #navbar li.menu-item a span {
    color: #000d42 !important;
}

body.page-government-healthcare #navbar .navbar-brand.white-logo-active .nav-logo-white {
    display: block;
}

body.page-government-healthcare #navbar .navbar-brand.white-logo-active .nav-logo-blue {
    display: none;
}

body.page-government-healthcare #footer {
    margin-top: 0;
    position: relative;
    z-index: 30;
    clear: both;
    background-color: #000D42 !important;
}

body.page-government-healthcare #footer .all-rights {
    background-color: #000D42 !important;
}

body.page-government-healthcare .gh-page-wrap {
    position: relative;
    z-index: 1;
}

#lovable-badge {
    display: none !important;
}

@media (width >= 64rem) {
    .gh-page-wrap .mt-10.grid.lg\:grid-cols-5 {
        align-items: start;
    }

    .gh-page-wrap .mt-10.grid.lg\:grid-cols-5 > .grid.lg\:col-span-2 {
        align-content: start;
    }
}

.gh-page-wrap main > section {
    scroll-margin-top: var(--gh-header-h);
}
