/* Scoped overrides: the existing card grid uses !important at its breakpoints. */
.ft-government-page .container { width: min(100% - 40px, 1280px); max-width: 1280px; margin-inline: auto; }
.ft-government-page .standard-page-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 48px; }
.ft-government-page .ft-seo-section { max-width: none; }
.ft-government-page .ft-seo-section > p { max-width: none; font-size: 17px; line-height: 1.7; }
@media (max-width: 760px) { .ft-government-page .container { width: calc(100% - 32px); } }
.standard-page.ft-government-page { padding: 0; }
.ft-government-page .ft-government-hero { max-width: none; width: 100%; }
.ft-government-page > .ft-seo-page { max-width: none; margin: 0; padding: 0; }
.ft-government-page .ft-government-hero { border-radius: 0; margin: 0; padding: 0; min-height: 650px; }
.ft-government-page .ft-government-hero-copy { padding: 64px 0; }
.ft-government-service-grid .service-card:nth-child(4) .primary-button { border-color: rgba(255,255,255,.88) !important; color: #fff !important; }
.ft-government-service-grid .service-card:nth-child(4) .primary-button:hover,
.ft-government-service-grid .service-card:nth-child(4) .primary-button:focus-visible { border-color: #fff !important; background: #fff !important; color: var(--navy) !important; transform: translateY(-1px) !important; }
.ft-government-page .ft-government-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; display: flex; align-items: center; background: #081c30; }
.ft-government-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.ft-government-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,32,.92), rgba(4,17,32,.65) 55%, rgba(4,17,32,.15)); z-index: -1; }
.ft-government-hero-copy { position: relative; max-width: 760px; padding: clamp(24px, 5vw, 64px); }
.ft-government-page .ft-government-hero h1, .ft-government-page .ft-government-hero p { color: #fff; }
@media (max-width: 760px) {
  .ft-government-page .ft-government-hero { min-height: 0; }
  .ft-government-hero::before { background: rgba(4,17,32,.78); }
}
.service-grid.ft-government-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ft-government-service-grid .service-body h2 { white-space: normal; overflow-wrap: normal; }
.ft-government-page h1, .ft-government-page h2 { white-space: normal; overflow-wrap: break-word; }
.ft-government-page .ft-seo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-government-page .ft-seo-card { min-width: 0; }
@media (max-width: 980px) {
  .ft-government-page .ft-seo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .service-grid.ft-government-service-grid, .ft-government-page .ft-seo-grid { grid-template-columns: 1fr !important; }
}
