.dh-site .dh-group-logo {
  flex-shrink: 0;
  object-fit: contain;
}

.dh-site .dh-gold-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* The top 330px of the 512px-wide source contain the triangle alone. */
.dh-site-body .dh-site img.dh-group-logo--symbol {
  height: auto;
  aspect-ratio: 512 / 330;
  object-fit: cover;
  object-position: center top;
}

.dh-site-body .dh-site [data-dh-brand-hero] {
  --dh-brand-inset: 16px;
  padding-block-start: 13px;
  padding-inline: var(--dh-brand-inset);
}

.dh-site .dh-brand-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  color: #fff2d5;
}

.dh-site .dh-brand-row-back {
  display: grid;
  align-items: center;
  justify-items: start;
  flex: 0 0 44px;
  box-sizing: border-box;
  height: 44px;
  /* Keep the hit area 44px wide without indenting the visible arrow. */
  margin-inline-start: calc(0px - var(--dh-brand-inset, 16px));
  margin-inline-end: -8px;
  padding-inline-start: var(--dh-brand-inset, 16px);
  color: inherit;
}

.dh-site .dh-brand-row-back svg {
  display: block;
  width: 15px;
  height: 15px;
}

.dh-site .dh-brand-row-back:focus-visible {
  outline: 2px solid #ffdb8d;
  outline-offset: -3px;
  border-radius: 6px;
}

.dh-site .dh-brand-row-logo {
  width: var(--dh-brand-width, 119px);
}

.dh-site :is(.fd-hero, .pc-hero) .dh-brand-row {
  margin-bottom: 12px;
}

.dh-site .pc-hero .dh-brand-row { min-height: 36px; }
.dh-site .dr-hero .dr-brand { width: 119px; height: auto; }

.dh-site-body .dh-site .dh-inner-top[data-dh-brand-hero] {
  padding-block: 2px;
  background: linear-gradient(100deg, #7e080e, #a00e15);
  border-bottom: 1px solid #e7b76e50;
}

/* Cover the legacy artwork's baked-in arrow and logo, keeping the headline and lion. */
:is(.dashi-equity-page, .dashi-equity-trade) .dh-site {
  --dh-equity-gutter: 10px;
}

@media (max-width: 359px) {
  :is(.dashi-equity-page, .dashi-equity-trade) .dh-site {
    --dh-equity-gutter: 8px;
  }
}

.dh-site :is(.eq-main, .trade-main) {
  padding-inline: var(--dh-equity-gutter);
}

.dh-site .eq-hero {
  container-type: inline-size;
}

.dh-site .eq-live-brand {
  --dh-brand-inset: var(--dh-equity-gutter);
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  padding-inline-start: var(--dh-brand-inset);
}

.dh-site .eq-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 36%;
  background: linear-gradient(100deg, #630605 0%, #660606 76%, transparent 100%);
  mask-image: linear-gradient(#000 85%, transparent);
  pointer-events: none;
}

.dh-site .eq-live-brand .dh-brand-row {
  --dh-brand-width: clamp(76px, 25cqi, 119px);
  height: 7.6cqi;
  min-height: 0;
  gap: 3px;
}

.dh-site .eq-live-brand .dh-brand-row-back { margin-inline-end: -13px; }
