:root {
  --yadilo-horse: url("./assets/brand/source-manual-20261021/yadilo-horse-charcoal.png");
}

.yadilo-brand-lockup {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.yadilo-brand-horse {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 28px;
  object-fit: contain;
}

.yadilo-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.yadilo-brand-copy b,
.yadilo-brand-copy strong {
  display: block;
  font: 600 15px/1 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: .18em;
  white-space: nowrap;
}

.yadilo-brand-copy small {
  display: block;
  margin-top: 4px;
  font: 500 6px/1 "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: .3em;
  opacity: .64;
  white-space: nowrap;
}

.product-menu-wordmark.yadilo-brand-lockup {
  justify-self: center;
  letter-spacing: 0;
}

.site-header:not(.is-solid) .yadilo-brand-horse,
.glb-header .yadilo-brand-horse,
.series-header .yadilo-brand-horse,
.login-view .yadilo-brand-horse {
  filter: brightness(0) invert(1);
}

.dealer-shell .wordmark.yadilo-brand-lockup {
  flex-direction: row !important;
  align-items: center;
  letter-spacing: 0;
}

.dealer-shell .wordmark .yadilo-brand-horse {
  width: 30px;
  height: 35px;
}

.dealer-shell .wordmark .yadilo-brand-copy span {
  font: 700 30px/1 "Songti SC", "STSong", serif;
  letter-spacing: .08em;
}

.dealer-shell .wordmark .yadilo-brand-copy small {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .28em;
}

.series-brand .yadilo-brand-horse {
  width: 30px;
  height: 34px;
}

.yadilo-search-brand .yadilo-brand-horse {
  width: 26px;
  height: 30px;
}

.yadilo-search-brand .yadilo-brand-copy b {
  font-size: 14px;
}

/* The compiled admin shell uses a square text placeholder for both the login
   and signed-in sidebar. Keep its layout, but use the verified horse mark. */
.admin-brand-shell .login-brand > span,
.admin-brand-shell .brand > span {
  color: transparent !important;
  background-color: transparent !important;
  background-image: var(--yadilo-horse) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border-radius: 0 !important;
}

@media (max-width: 760px) {
  .yadilo-brand-lockup { gap: 7px; }
  .yadilo-brand-horse { width: 22px; height: 25px; }
  .yadilo-brand-copy b,
  .yadilo-brand-copy strong { font-size: 13px; }
  .dealer-shell .wordmark .yadilo-brand-horse { width: 28px; height: 32px; }
  .series-brand .yadilo-brand-horse { width: 27px; height: 30px; }
}
