/* HeroHouse™ PEDIATRICS wordmark — nav + footer */

.hh-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hh-wordmark {
  display: block;
  white-space: nowrap;
}

.hh-hero {
  color: #3d2c8d;
  font-weight: 700;
}

.hh-house {
  color: #8f84c6;
  font-weight: 700;
}

.hh-tm {
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  position: relative;
  top: -0.1em;
}

.hh-sub {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.32em;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #c4a44a;
  margin-top: 0.14em;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hh-logo--md {
  font-size: 2.45rem;
}

/* Beats inline `.nav-logo .hh-logo { font-size: 0.7rem }` (higher specificity) */
.nav-logo .hh-logo.hh-logo--md {
  font-size: 2.45rem;
}

/* Footer / dark background — hh-logo--dark variant */
.hh-logo--dark .hh-hero {
  color: #ffffff;
}

.hh-logo--dark .hh-house,
.hh-logo--dark .hh-tm {
  color: #8f84c6;
}

.hh-logo--dark .hh-sub {
  color: #c4a44a;
}

@media (max-width: 767px) {
  .hh-logo--md,
  .nav-logo .hh-logo.hh-logo--md {
    font-size: 1.85rem;
  }
}
