/* Restore the full-size profile artwork while keeping the current account header. */
.ev-profile-home .ev-profile-hero {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 1px;
  min-height: 0;
  padding: 4px 12px 9px;
  isolation: isolate;
}

.ev-profile-home .ev-profile-hero-copy {
  grid-area: 1 / 1;
  z-index: 1;
  justify-self: start;
  padding-top: 7px;
}

.ev-profile-home .ev-profile-hero-visual {
  grid-area: 1 / 1;
  position: static;
  justify-self: end;
  width: min(96%, 415px);
  height: auto;
  aspect-ratio: 1562 / 1007;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.ev-profile-home .ev-profile-hero-links {
  grid-area: 2 / 1;
  align-self: start;
}

.ev-profile-home .ev-profile-grid { gap: 10px; }

.ev-profile-home .ev-profile-tile {
  aspect-ratio: 390 / 262;
  min-height: 0;
}

.ev-profile-home .ev-profile-art {
  top: calc(24px + clamp(15px, 3.9vw, 20px) * 1.12);
  bottom: 4px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background-position: center bottom;
}

.ev-profile-home .ev-profile-art-rfid {
  top: calc(28px + clamp(15px, 3.9vw, 20px) * 1.12);
  bottom: 8px;
}
.ev-profile-home .ev-profile-art-news { top: calc(12px + clamp(15px, 3.9vw, 20px) * 2.24); }

@media (max-height: 740px) {
  .ev-profile-home .ev-profile-hero-visual { width: min(88%, 350px); }
  .ev-profile-home .ev-profile-tile { aspect-ratio: 390 / 249; }
}

@media (max-height: 620px) {
  .ev-profile-home .ev-profile-hero-visual { width: min(86%, 320px); }
}
