/* The two office cards beneath the voting guide. */
main h2 + .cards:has(> article:nth-child(2):last-child) > article {
  --office-photo: url("../assets/img/campaign/1x1yes.png");
  --portrait-size: 160%;
  --portrait-position: 50% 15%;
}
main h2 + .cards:has(> article:nth-child(2):last-child) > article + article {
  --office-photo: url("../assets/img/campaign/pvd-presidential-portrait.webp");
  --portrait-size: 105%;
  --portrait-position: 40% 10%;
}
main h2 + .cards > article:has(+ article:last-child)::before,
main h2 + .cards > article:nth-child(2):last-child::before { display: none; }
main h2 + .cards:has(> article:nth-child(2):last-child) > article > h3 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 6.2rem;
  box-sizing: border-box;
  padding: .8rem 7.1rem .8rem 1.25rem;
  margin: 0 0 1.1rem;
  overflow: hidden;
  border-radius: .8rem;
  border-inline-start: 4px solid #b82343;
  background: repeating-linear-gradient(122deg, transparent 0 20px, #ffffff08 21px 22px),
              linear-gradient(105deg,#122943 25%,#2c5279);
  color: #fff;
  font: 700 clamp(1.25rem,2vw,1.7rem)/1.13 Georgia,serif;
}
main h2 + .cards:has(> article:nth-child(2):last-child) > article > h3::after {
  content: "";
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px #0e203d66;
  background: white var(--office-photo) var(--portrait-position) / var(--portrait-size) auto no-repeat;
}
@media (max-width: 36rem) {
  main h2 + .cards:has(> article:nth-child(2):last-child) { grid-template-columns: 1fr; }
}
