/* Government header + green menu bar, shared by the public pages
   (home, registration). Prefixed gh- so it never clashes with Bootstrap or app.css. */
.gh, .gh * { box-sizing: border-box; }
.gh { --gh-green-900: #13301f; --gh-green-800: #1f5d3a; --gh-green-700: #2b7a3f; --gh-gold: #c9a227; --gh-line: #dde6df; --gh-muted: #5b6760; --gh-wrap: 1320px; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.5; }

.gh-skip { position: absolute; left: 1rem; top: -60px; background: #1f5d3a; color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 100; }
.gh-skip:focus { top: 1rem; color: #fff; }
.gh-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* white government strip */
.gh-bar { background: #fbfdfb; border-bottom: 3px solid var(--gh-gold); }
.gh-bar__inner { max-width: var(--gh-wrap); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gh-bar__brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; min-width: 0; }
.gh-bar__brand img { width: 68px; height: 68px; object-fit: contain; flex-shrink: 0; }
.gh-bar__text { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--gh-line); min-width: 0; }
.gh-bar__gov { font-weight: 700; font-size: .74rem; letter-spacing: .06em; color: var(--gh-green-700); }
.gh-bar__dept { font-size: .88rem; color: var(--gh-muted); }
.gh-bar__sub { font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--gh-green-800); line-height: 1.3; }
.gh-bar__partner { height: 52px; width: auto; flex-shrink: 0; }

/* green menu bar */
.gh-nav { background: var(--gh-green-700); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.gh-nav__inner { position: relative; max-width: var(--gh-wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; justify-content: space-between; min-height: 64px; }
.gh-brand { background: #0d0d0d; color: #fff; text-decoration: none; font-family: 'Merriweather', Georgia, serif; font-weight: 900; font-size: clamp(1.15rem, 1.9vw, 1.75rem); letter-spacing: .03em; text-transform: uppercase; display: flex; align-items: center; padding: 0 32px; }
.gh-brand:hover { color: #fff; }
.gh-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 6px; }
.gh-menu a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 16px; color: #fff; text-decoration: none; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.gh-menu a:hover { color: #fff; }
.gh-menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: #fff; transform: scaleX(0); transition: transform .2s ease; }
.gh-menu a:hover::after, .gh-menu a.is-active::after { transform: scaleX(1); }
.gh-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; padding: 0 12px; cursor: pointer; }

/* site footer shared by the public pages */
.gh-footer { background: #13301f; color: #cfdcd3; padding: 22px 16px; font-family: 'Montserrat', system-ui, sans-serif; font-size: .82rem; }
.gh-footer__inner { max-width: 1320px; margin: 0 auto; padding: 0 8px; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.gh-footer strong { color: #fff; }
.gh-footer a { color: #fff; }

@media (max-width: 1100px) {
  .gh-brand { padding: 0 22px; }
  .gh-menu a { padding: 0 10px; letter-spacing: .08em; font-size: .78rem; }
}
@media (max-width: 900px) {
  .gh-bar__brand img { width: 52px; height: 52px; }
  .gh-bar__text { padding-left: 12px; }
  .gh-bar__dept { font-size: .8rem; }
  .gh-bar__partner { height: 40px; }
  .gh-nav__inner { min-height: 56px; padding: 0; }
  .gh-brand { padding: 0 18px; font-size: 1.15rem; }
  .gh-toggle { display: block; }
  .gh-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--gh-green-700); box-shadow: 0 8px 16px rgba(0,0,0,.2); }
  .gh-menu.is-open { display: flex; }
  .gh-menu a { padding: 13px 20px; height: auto; border-top: 1px solid rgba(255,255,255,.15); }
  .gh-menu a::after { bottom: 0; }
}
@media (max-width: 560px) {
  .gh-bar__inner { padding-left: 16px; padding-right: 16px; }
  .gh-bar__partner, .gh-bar__dept { display: none; }
  .gh-bar__gov { font-size: .68rem; }
}
@media print { .gh-nav, .gh-footer, .gh-skip { display: none !important; } }
