/* The caption belongs to the brand lockup, apart from navigation and contact links. */
.wiele-brand-caption {
  display: inline-block;
  flex: 0 0 auto;
  padding-inline-start: .9em;
  border-inline-start: 1px solid #c8aa7866;
  color: #dfc6a0;
  font: 600 .8125rem/1.45 var(--font-inter, Inter), Arial, sans-serif;
  letter-spacing: .055em;
  text-align: start;
  max-inline-size: 16ch;
  text-wrap: balance;
}

.site-header .brand:has(.wiele-brand-caption),
.site-footer .brand:has(.wiele-brand-caption),
.wiele-standalone-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.15vw, 18px);
}

.site-footer .brand-footer > .brand-integrated {
  min-inline-size: 0;
  max-inline-size: calc(100% - 8.75rem);
  height: auto;
}

.wiele-standalone-lockup .brand { flex: 0 0 auto; }
.foot .wiele-brand-caption { color: #dfc6a0; }
.foot .wiele-standalone-name { color: var(--ink); }

@media (max-width: 640px) {
  .wiele-brand-caption {
    font-size: .75rem;
    letter-spacing: .045em;
  }

  .site-header .header-inner { gap: 12px; }
  .site-header .brand:has(.wiele-brand-caption) {
    flex: 0 1 auto;
    min-inline-size: 0;
  }
  .site-header .brand-integrated { flex: 0 0 auto; }
  .site-header .wiele-brand-caption { flex: 0 1 auto; }

  .site-footer .brand-footer > .brand-integrated {
    max-inline-size: calc(100% - 7.875rem);
  }

  .bar:has(.wiele-standalone-lockup) { gap: 6px 14px; }
  .bar:has(.wiele-standalone-lockup) nav { column-gap: 13px; }
  footer .wiele-standalone-lockup,
  .brand.wiele-standalone-lockup {
    max-inline-size: 100%;
    flex-wrap: wrap;
    row-gap: 5px;
  }
}

@media print {
  .wiele-brand-caption { color: #26211a; border-color: #aaa094; }
}
