/* Display the approved transparent artwork without altering its source pixels. */
.app-header h1.header-wordmark {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
}
.header-wordmark img,
#loginForm .login-wordmark img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.header-wordmark img { width: 208px; }
#loginForm h1.login-wordmark {
  position: relative;
  width: min(100%, 300px);
  height: 76px;
  margin: 0 auto 10px;
  overflow: hidden;
  border-radius: 10px;
}
#loginForm .login-wordmark img { width: 118%; }
html[data-theme="dark"] .header-wordmark,
html[data-theme="dark"] #loginForm .login-wordmark { background: transparent; }
/* White lettering for contrast, with the approved turquoise symbol layered intact. */
html[data-theme="dark"] .header-wordmark img,
html[data-theme="dark"] #loginForm .login-wordmark img { filter: brightness(0) invert(1); }
html[data-theme="dark"] .header-wordmark::after,
html[data-theme="dark"] #loginForm .login-wordmark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 208px;
  aspect-ratio: 2172 / 724;
  transform: translate(-50%, -50%);
  background: url("/static/brand/riverolt-logo-v1.png") center / 100% 100% no-repeat;
  clip-path: inset(0 68% 0 0);
  pointer-events: none;
}
html[data-theme="dark"] #loginForm .login-wordmark::after { width: 118%; }
@media (max-width: 640px) {
  .app-header h1.header-wordmark { width: 140px; height: 36px; }
  .header-wordmark img,
  html[data-theme="dark"] .header-wordmark::after { width: 164px; }
}
@media (max-height: 650px) {
  #loginForm h1.login-wordmark { max-width: 260px; height: 64px; }
}
