/* chartvault-artist-logo-v1 (build 16ao): the act's logo where the typed name stood (v25-artist-art.js).
   Every rule hangs on .cva-has-logo or a .cva- element, which exist only once a logo has loaded. */

/* the logo: the file is shown as it is, placed so that only its ink box shows */
.cva-logo{position:relative;overflow:hidden;width:min(var(--cva-lw,540px),100%);max-width:100%;margin:2px 0 0}
.cva-logo-img{position:absolute;display:block;height:auto;max-width:none;animation:cva-in .3s ease-out both}
@keyframes cva-in{from{opacity:0}to{opacity:1}}

/* the typed name stays for screen readers */
.artist-header.cva-has-logo .artist-name{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.artist-header.cva-has-logo .artist-years{margin-top:18px}

.cva-credit{grid-column:1/-1;margin-top:18px;text-align:right;font:400 12px/1.3 var(--cv-sans)}
.cva-credit a{color:var(--text-faint);text-decoration:none}
.cva-credit a:hover,.cva-credit a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}

@media (max-width:760px){
  .cva-logo{width:min(calc(var(--cva-lw,540px) * .78),100%)}
  .artist-header.cva-has-logo .artist-years{margin-top:14px}
}
@media (max-width:480px){
  .cva-logo{width:min(calc(var(--cva-lw,540px) * .64),100%)}
}
@media (prefers-reduced-motion:reduce){
  .cva-logo-img{animation:none}
}
