/* Shared navigation, with the mobile menu kept in normal document flow. */
.mobile-language { display:none; }
.gov-nav .nav { justify-content:center; width:100%; margin-left:0; }
.gov-nav .nav a.donate-btn { font-weight:700; }
.gov-search .search-row button { display:flex; align-items:center; justify-content:center; padding-block:0; line-height:1; transform:none; }
.gov-search .search-row button::before,.gov-search .search-row button::after { transform:none; }
@media (min-width:981px) {
  .gov-nav .nav { position:static; }
  .gov-header .gov-brand-row { min-height:92px; padding-block:10px; }
  .gov-header .gov-logo { width:72px; height:72px; }
  .gov-brand strong { font-size:28px; }
  .gov-brand small { font-size:15px; }
  .gov-nav .nav > li > a { min-height:54px; padding-block:12px; font-size:17px; }
}
@media (max-width:980px) {
  .gov-top { display:none; }
  .gov-header,.gov-nav { width:100%; max-width:none; margin:0; border:0; border-radius:0; box-shadow:none; }
  .gov-header { overflow:visible; background:#fff; }
  .gov-header .mobile-shell-bar { display:flex; align-items:center; gap:8px; height:40px; min-height:40px; padding:0 16px; background:#214f88; }
  .mobile-shell-bar .mobile-language { display:block; margin-right:auto; color:#fff; font-size:14px; line-height:1.4; padding:8px 0; }
  .mobile-shell-bar .mobile-menu-icon,.mobile-shell-bar .mobile-search-icon { display:flex; align-items:center; justify-content:center; position:static; width:36px; height:36px; padding:7px; border:0; border-radius:4px; color:#fff; background:transparent; }
  .mobile-shell-bar .mobile-menu-icon { order:1; }
  .mobile-shell-bar .mobile-search-icon { order:2; }
  .mobile-shell-bar button::before,.mobile-shell-bar button::after { content:none; }
  .mobile-shell-bar svg { display:block; width:22px; height:22px; }
  .mobile-shell-bar button:hover,.mobile-shell-bar button[aria-expanded=true] { background:#153b68; }
  .gov-header .gov-brand-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:center; padding:12px 16px; width:100%; min-height:82px; }
  .gov-header .gov-brand { display:flex; flex-direction:row; align-items:center; gap:10px; text-align:left; min-width:0; }
  .gov-header .gov-logo { width:52px; height:52px; flex:none; margin:0; }
  .gov-header .gov-brand span { min-width:0; }
  .gov-header .gov-brand strong { display:block; font-size:18px; line-height:1.15; }
  .gov-header .gov-brand small { display:block; margin-top:5px; font-size:10px; line-height:1.3; }
  .gov-header .mobile-donate { display:flex; align-items:center; justify-content:center; margin:0; padding:9px 12px; min-height:38px; width:auto; color:#172033; background:#ffbd66; border-radius:5px; font-size:14px; font-weight:700; box-shadow:none; }
  .gov-header .gov-search { display:none; grid-column:1/-1; width:100%; }
  .gov-header .gov-search.is-open { display:block; }
  .gov-search .search-row { display:flex; height:44px; width:100%; }
  .gov-search .search-row input { width:0; flex:1; min-width:0; }
  .gov-search .search-row button { width:82px; flex:none; height:44px; font-size:15px; }
  .gov-nav { position:static; }
  .gov-nav .container { display:block; width:100%; padding:0; }
  .gov-nav .nav-toggle { display:none!important; }
  .gov-nav .nav { position:static; inset:auto; display:none!important; width:100%; max-width:none; margin:0; padding:0 16px 10px; background:#fff; box-shadow:0 8px 12px #162c3d12; border:0; }
  .gov-nav .nav.active { display:flex!important; flex-direction:column; align-items:stretch; gap:0; }
  .gov-nav .nav > li { display:block; width:100%; border-bottom:1px solid #e1e7eb; border-right:0; }
  .gov-nav .nav > li:last-child { display:none; }
  .gov-nav .nav a { display:flex; gap:10px; justify-content:flex-start; align-items:center; width:100%; min-height:46px; padding:10px 12px; color:#214f88; background:transparent; border:0; border-radius:0; font-size:16px; line-height:1.5; text-align:left; }
  .gov-nav .nav a:hover,.gov-nav .nav a[aria-current=page] { color:#133a69; background:#edf3f8; }
  .gov-nav .nav .nav-icon { width:20px; height:20px; flex:none; }
  .gov-nav .nav-dropdown > a { padding-right:54px; }
  .gov-nav .submenu-toggle { top:4px; right:4px; transform:none; width:38px; height:38px; color:#214f88; background:#edf3f8; border:0; }
  .gov-nav .nav .nav-submenu,.gov-nav .nav-dropdown:hover > .nav-submenu,.gov-nav .nav-dropdown:focus-within:not(.is-open) > .nav-submenu { display:none!important; position:static; width:100%; min-width:0; max-height:none; margin:0; padding:4px 8px 8px 28px; border:0; box-shadow:none; background:#f6f8fa; }
  .gov-nav .nav-dropdown.is-open > .nav-submenu { display:block!important; }
  .gov-nav .nav .nav-submenu a { font-size:14px; min-height:40px; padding:8px; }
}
@media (max-width:680px) {
  .site-footer.msc-footer .footer-main-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px 18px; width:100%; padding:24px 20px; height:auto; }
  .site-footer.msc-footer .footer-main-grid > div { min-height:0; height:auto; border:0; padding:0; }
  .site-footer.msc-footer .footer-main-grid > div:nth-child(3) { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:2px 18px; }
  .site-footer.msc-footer .footer-main-grid > div:nth-child(3) h3 { grid-column:1/-1; }
  .site-footer.msc-footer .footer-main-grid h3 { font-size:15px; line-height:1.4; margin:0 0 8px; }
  .site-footer.msc-footer .footer-main-grid a { font-size:13px; line-height:1.65; margin:0; padding:3px 0; overflow-wrap:anywhere; }
  .site-footer.msc-footer .footer-contact { grid-column:1/-1; }
  .site-footer.msc-footer .footer-contact-row { margin:0 0 6px; gap:10px; }
  .site-footer.msc-footer .footer-contact-row a { font-size:14px; }
  .site-footer.msc-footer .footer-bottom { margin:0 20px; padding:16px 0 20px; height:auto; min-height:0; display:flex; flex-direction:column; gap:12px; transform:none; }
  .site-footer.msc-footer .footer-copy { font-size:12px; line-height:1.6; }
  .site-footer.msc-footer .footer-socials { order:-1; }
  .site-footer.msc-footer .footer-legal { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
  .site-footer.msc-footer .footer-legal a { font-size:12px; line-height:1.6; }
  .back-to-top { right:12px; bottom:12px; width:38px; height:38px; font-size:13px; }
}
@media (max-width:360px) {
  .gov-header .gov-brand-row { padding-inline:12px; column-gap:8px; }
  .gov-header .gov-logo { width:42px; height:42px; }
  .gov-header .gov-brand { gap:7px; }
  .gov-header .gov-brand strong { font-size:15px; }
  .gov-header .gov-brand small { font-size:9px; }
  .gov-header .mobile-donate { font-size:13px; padding-inline:9px; }
}
