/* Final responsive typography and navigation consistency layer. */

button.nav-link-services.nav-link,
button.nav-link-resources.nav-link {
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Oldschoolgrotesk, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 26px;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

button.nav-link-services.nav-link .text-block-2,
button.nav-link-resources.nav-link .text-block-2 {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.how-author-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  width: 100%;
}

/* Switch to the existing mobile navigation before the desktop links can collide. */
@media screen and (min-width: 992px) and (max-width: 1120px) {
  .div-block-5.navbars {
    justify-content: space-between;
    padding-left: 40px;
    padding-right: 40px;
  }

  .div-block-6 {
    height: auto;
    left: auto;
    position: static;
    transform: none;
    width: clamp(140px, 18vw, 180px);
  }

  .div-block-7,
  .button.v323 {
    display: none;
  }

  .menu-btn {
    display: flex;
  }
}
