.block-post-header {
  padding-block: 48px 36px;
}

.block-post-header__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 880px;
}

.block-post-header--center .block-post-header__box {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.block-post-header__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.block-post-header__term {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ib-accent-soft);
  color: var(--ib-accent);
  font-family: var(--ib-font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--ib-motion) var(--ib-ease), color var(--ib-motion) var(--ib-ease);
}

.block-post-header__term:hover {
  background: var(--ib-accent);
  color: var(--ib-accent-contrast);
}

.block-post-header__title {
  overflow-wrap: anywhere;
}

.block-post-header--lg .block-post-header__title {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
}

.block-post-header__lead {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.6;
}

.block-post-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 4px;
  color: var(--ib-muted);
  font-size: 14px;
}

.block-post-header--center .block-post-header__meta {
  justify-content: center;
}

.block-post-header__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ib-fg);
  font-weight: 500;
}

.block-post-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ib-accent);
  color: var(--ib-accent-contrast);
  font-family: var(--ib-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.block-post-header__fact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.block-post-header__glyph {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ib-accent);
}

@media (max-width: 640px) {
  .block-post-header {
    padding-block: 28px 24px;
  }

  .block-post-header__box {
    gap: 14px;
  }

  .block-post-header__lead {
    font-size: 17px;
  }
}
