/**
 * Digirhino navbar brand — single source for public site + customer portal.
 */
.site-brand.navbar-brand,
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: #294786;
}

.site-brand:hover,
.site-brand:focus {
  color: #294786;
  text-decoration: none;
}

.site-brand--split {
  gap: 0.7rem;
}

.site-brand--image {
  gap: 0;
}

.site-brand__icon,
.site-brand__mascot {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.site-brand__icon--official {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center center;
}

.site-brand__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(260px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.05;
  min-width: 0;
  flex: 1 1 auto;
}

.site-brand__name {
  font-family: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #00061b;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.site-brand__tagline {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.pub-topnav__brand {
  flex: 0 1 auto;
  max-width: min(320px, 48vw);
}

.pub-topnav__brand .site-brand {
  width: auto;
}

@media (max-width: 480px) {
  .pub-topnav__brand {
    max-width: min(210px, 54vw);
  }

  .site-brand__icon,
  .site-brand__icon--official {
    width: 44px;
    height: 44px;
  }

  .site-brand__name {
    font-size: 1.05rem;
  }

  .site-brand__tagline {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }
}
