/* Canonical VoxTera identity. Loaded after page-specific styles. */
@import url("voxtera-tokens.css?v=6");

.sample-account-badge {
  display: inline-flex;
  align-items: center;
  margin-left: .5rem;
  padding: .18rem .48rem;
  border: 1px solid #cbd8f5;
  border-radius: 999px;
  background: #f4f7ff;
  color: #496282;
  font: 600 .68rem/1.2 Inter, sans-serif;
  vertical-align: middle;
  letter-spacing: .01em;
}

.urban-scout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: .3rem;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 1.15rem/1 sans-serif;
  vertical-align: middle;
  white-space: nowrap;
}

.urban-scout-badge .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: #2563eb;
  stroke-width: 1.8;
}

.text-size-control {
  position: relative;
  display: inline-flex;
}

.text-size-menu[hidden] { display: none !important; }
.text-size-menu {
  position: absolute;
  z-index: 190;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  padding: 9px;
  border: 1px solid #dce6f3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(18, 47, 75, .2);
}

.text-size-menu > strong {
  display: block;
  padding: 5px 7px 8px;
  color: #60728b;
  font-size: 11px;
}

.text-size-choice {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 9px;
  color: #344b64;
  text-align: left;
  font-size: 11px;
}

.text-size-choice > span {
  width: 30px;
  color: #2563eb;
  font-weight: 600;
  text-align: center;
}

.text-size-choice:first-of-type > span { font-size: 12px; }
.text-size-choice:nth-of-type(2) > span { font-size: 15px; }
.text-size-choice:nth-of-type(3) > span { font-size: 18px; }
.text-size-choice:hover,
.text-size-choice.active { background: #eaf2ff; color: #1d4ed8; }

.author-link small .urban-scout-badge,
.production-post-head small .urban-scout-badge {
  margin-left: .24rem;
}

@media (max-width: 760px) {
  .urban-scout-badge {
    font-size: 1.08rem;
  }
}

img[src*="/voxtera-wordmark-solid.png"],
img[src$="/voxtera-wordmark-solid-light.png"] {
  display: block;
  width: 126px !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
}

.brand,
.account-brand,
.auth-brand {
  min-width: 0;
}

.auth-brand img[src*="/voxtera-wordmark-solid.png"],
.auth-brand img[src$="/voxtera-wordmark-solid-light.png"] {
  width: 168px !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  filter: none;
}

.auth-brand.is-light img[src$="/voxtera-wordmark-solid-light.png"] {
  /* The supplied dark-area wordmark already contains its right-side shadow. */
  filter: none;
}

.auth-brand > span:empty,
.brand > span:empty,
.account-brand > span:empty {
  display: none;
}

.mobile-brand img[src*="/voxtera-wordmark-solid.png"] {
  width: 112px !important;
  height: auto !important;
}

/* The desktop already owns a full-size wordmark in the sidebar. */
@media (min-width: 761px) {
  .topbar > .mobile-brand {
    display: none !important;
  }
}

.sidebar .voxtera-brand-lockup {
  width: 100%;
  padding: 0;
}

.sidebar .voxtera-brand-lockup .brand-wordmark {
  width: 100% !important;
  max-width: none;
}

.story-logo[src$="/voxtera-mark.png"] {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px;
}

@media (max-width: 760px) {
  .auth-brand img[src*="/voxtera-wordmark-solid.png"],
  .auth-brand img[src$="/voxtera-wordmark-solid-light.png"] {
    width: 148px !important;
    height: auto !important;
  }

  .mobile-brand img[src*="/voxtera-wordmark-solid.png"] {
    width: 120px !important;
  }

  html[data-large="true"] .topbar > .mobile-brand img[src*="/voxtera-wordmark-solid.png"] {
    width: 120px !important;
    height: auto !important;
    max-width: none;
  }

}

@media (max-width: 370px) {
  .mobile-brand img[src*="/voxtera-wordmark-solid.png"] {
    width: 112px !important;
  }

}
