/* Full-card photography; the spacer preserves the existing card sizes. */
#state-chooser .location-entry .state-card {
  position: relative;
  isolation: isolate;
}
#state-chooser .location-entry .state-card .home-card-photo-spacer {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: none;
  pointer-events: none;
}
#state-chooser .location-entry .state-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  z-index: 0;
}
#state-chooser .location-entry .state-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 7, 16, .03) 15%, rgba(10, 7, 16, .2) 44%, rgba(10, 7, 16, .8) 100%);
}
#state-chooser .location-entry .state-card .role-top,
#state-chooser .location-entry .state-card .role-copy {
  position: relative;
  z-index: 3;
  background: transparent;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .7);
}
#state-chooser .location-entry .state-card .state-flag {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  z-index: 1;
}
#state-chooser .location-entry .state-card .state-flag > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}