/* Small additions on top of Bulma. */
.is-breakable {
  overflow-wrap: anywhere;
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bulma-primary);
  color: var(--bulma-primary-invert);
  font-size: 2.5rem;
  font-weight: 700;
}

.login-box {
  max-width: 26rem;
  margin: 0 auto;
}

/* The navbar keeps title, user name and sign-out in one row, down to 360 px. */
.navbar-user {
  margin-left: auto;
  gap: 0.75rem;
  min-width: 0;
}
.navbar-user .user-name {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar-full {
  width: 100%;
}

/* Account fields: label above value on phones, side by side from tablet up. */
.account-fields dt {
  margin-top: 0.75rem;
}
.account-fields dt:first-child {
  margin-top: 0;
}
@media screen and (min-width: 769px) {
  .account-fields {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1.5rem;
    row-gap: 0.75rem;
  }
  .account-fields dt {
    margin-top: 0;
  }
}
.media-content {
  min-width: 0;
}
