.government-earth__video {
  display: block;
  width: 100%;
  height: auto;
  /* Preserve the globe and feather its halo into the page on every side. */
  mask-image: radial-gradient(circle closest-side at 50% 48%, #000 81%, rgb(0 0 0 / 55%) 91%, transparent);
}

.government-flags {
  width: min(100%, 900px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

/* Each half holds four flags. They join on desktop and stack on phones. */
.government-flags::before,
.government-flags::after {
  content: '';
  aspect-ratio: 3 / 2;
  background: url('assets/home-government-eight-flags.webp') left center / 200% auto no-repeat;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 77%, transparent);
}

.government-flags::after {
  background-position: right center;
}

@media (max-width: 600px) {
  .government-flags { grid-template-columns: 1fr; }

  .government-flags::before,
  .government-flags::after {
    aspect-ratio: 2 / 1;
  }
}
