/* Residency directory additions. The hero and card geometry deliberately reuse
   the shared immigration directory system. Typography uses the six site tokens. */
.residency-investment-page .citizenship-country-content{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  grid-template-rows:auto auto auto 1fr auto;
  column-gap:12px;
  align-content:start;
  align-items:center;
}
.residency-investment-page .citizenship-country-flag{
  grid-column:1;
  grid-row:1 / span 2;
}
.residency-investment-page .citizenship-country-content>span{
  grid-column:2;
  grid-row:1;
}
.residency-investment-page .citizenship-country-content>h3{
  grid-column:2;
  grid-row:2;
  margin:0;
  color:#082f60;
  font-family:var(--site-font-sans)!important;
  font-size:var(--site-type-lead)!important;
  font-weight:700!important;
  line-height:1.3!important;
  letter-spacing:normal!important;
}
.residency-investment-page .citizenship-country-content>h3 a{
  color:inherit;
  font:inherit;
}
.residency-investment-page .citizenship-country-content>h3 a:hover,
.residency-investment-page .citizenship-country-content>h3 a:focus-visible{
  color:#0c5aa6;
  text-decoration:underline;
  text-underline-offset:4px;
}
.residency-investment-page .citizenship-country-facts{
  grid-column:1 / -1;
  grid-row:3;
  width:100%;
  margin-top:14px;
}
.residency-investment-page .citizenship-country-content>.residency-card-button{
  grid-column:1 / -1;
  grid-row:5;
  align-self:end;
  margin-top:20px!important;
  appearance:none;
  font-family:var(--site-font-sans)!important;
}
.residency-investment-page .residency-country-scene-link{
  display:block;
  overflow:hidden;
}
.residency-investment-page .residency-country-scene-link:focus-visible{
  outline:3px solid #0c5aa6;
  outline-offset:-3px;
}
.residency-investment-page .residency-country-scene-link .citizenship-country-scene{
  transition:transform .25s ease;
}
.residency-investment-page .residency-country-scene-link:hover .citizenship-country-scene,
.residency-investment-page .residency-country-scene-link:focus-visible .citizenship-country-scene{
  transform:scale(1.025);
}
.residency-investment-page .citizenship-country-card:nth-child(7) .citizenship-country-scene,
.residency-investment-page .citizenship-country-card:nth-child(8) .citizenship-country-scene{
  object-position:center;
}
.residency-investment-page .citizenship-country-card:nth-child(10) .citizenship-country-scene{
  object-position:center 38%;
}
.residency-investment-page .citizenship-country-card:nth-child(11) .citizenship-country-scene{
  object-position:center 42%;
}
.residency-investment-page .citizenship-country-card:nth-child(14) .citizenship-country-scene{
  object-position:center 32%;
}
