/* Greater Bay Area logo at the right end of the first-screen stats strip.
   Transparent artwork sits on the white band. v1. */

.d-stats-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  width: 100%;
  box-sizing: border-box;
  /* Keep the logo clear of the desktop chat bubble (bottom-right). */
  padding-right: calc(96px + env(safe-area-inset-right, 0px));
}

.d-stats-inner .d-stats-row{
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  max-width: none;
}

.d-stats-gba{
  flex: 0 0 auto;
  display: block;
  height: 52px;
  width: auto;
  line-height: 0;
}
.d-stats-gba img{
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1279px){
  .d-stats-gba,
  .d-stats-gba img{ height: 46px; }
}

/* Phones: smaller logo on a row below the three stats so the numbers
   stay legible. Chat and Book Today already sit above the strip. */
@media (max-width: 799px){
  .d-stats-inner{
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-right: 0;
  }
  .d-stats-gba,
  .d-stats-gba img{ height: 32px; }
  .d-stats{ padding-bottom: 12px; }

  /* Strip is taller with the logo row; lift the floats to match. */
  html:not(.is-past-hero) .d-sticky-reg:not(.is-custom):not(.is-dragging),
  html:not(.is-past-hero) .d-sticky-reg.is-on:not(.is-custom):not(.is-dragging){
    bottom: calc(168px + env(safe-area-inset-bottom, 0px));
  }
  html:not(.is-past-hero) .bo-chat-btn,
  html:not(.is-past-hero) .bo-chat-panel{
    bottom: calc(248px + env(safe-area-inset-bottom, 0px));
  }
}
