/* Sign-in pages with SiteCrisp artwork (layout_public.html, body.pub-has-art). From 960px the form
   keeps its column on the paper background and a full-height image fills the right; the wordmark sits
   on a paper plate cut into the image's lower left. Narrower screens never show (or load) the image. */
.pub-art { display: none; }

@media (min-width: 960px) {
  body.pub-has-art {
    display: grid;
    grid-template-columns: minmax(480px, 1fr) minmax(0, 46%);
    align-items: stretch;
    padding: 0;
  }
  .pub-has-art .pub-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 64px 40px;
  }
  /* The plate on the image carries the wordmark here; the small one stays for screen readers. */
  .pub-has-art .pub-top {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .pub-art {
    display: block;
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    background: #0f8b8d; /* lagoon, while the image loads */
  }
  .pub-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
  }
  .pub-art-mark {
    position: absolute;
    left: 0;
    bottom: 56px;
    margin: 0;
    padding: 20px 30px 20px 36px;
    background: var(--bg);
    border-radius: 0 14px 14px 0;
    font-size: 46px;
    line-height: 1;
    color: var(--ink);
  }
}

@media (min-width: 1280px) {
  .pub-art-mark { font-size: 54px; padding: 22px 36px 22px 44px; bottom: 72px; }
}
