/**
 * WorkshopHub brand assets — use across marketing + SaaS
 * Logo: /assets/brand/workshophub-logo.png
 */

:root {
  --wh-logo-url: url('/assets/brand/workshophub-logo.png');
}

.wh-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

.wh-logo--nav {
  height: 2.35rem;
}

.wh-logo--sidebar {
  height: 2.5rem;
  width: 100%;
  max-width: 200px;
  object-position: left center;
}

.wh-logo--login {
  height: 3.25rem;
  margin: 0 auto;
  border-radius: 8px;
}

.wh-logo--footer {
  height: 2.15rem;
}

.wh-logo--powered {
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .wh-logo--nav {
    height: 1.85rem;
  }
  .wh-logo--sidebar {
    height: 2rem;
    max-width: 160px;
  }
  .wh-logo--login {
    height: 2.75rem;
  }
}

/* Compact mark crop: show left W portion of lockup */
.wh-logo-mark {
  display: inline-block;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.wh-logo-mark img {
  height: 100%;
  width: auto;
  max-width: none;
  margin-left: 0;
  display: block;
}
