/*
 * itolma.ch additions to the imported blog (blog/, from tolmachevfamily-com):
 * a one-line header in place of that site's navigation, and tags as plain words.
 */
.itl-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 6vw, 8rem);
  background: var(--tf-paper, #fff);
  border-bottom: 1px solid var(--tf-hair, #dde1e4);
  font-family: var(--tf-serif, Georgia, serif);
}
.itl-bar a {
  color: var(--tf-ink, #1f2428);
  text-decoration: none;
}
.itl-bar a:hover {
  color: var(--tf-accent, #2b6a55);
}
.itl-bar__name {
  font-size: 1.3rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
}
.itl-bar__link {
  font-size: 0.95rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
}
.blog-tags span {
  font-family: var(--tf-serif, Georgia, serif);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  color: var(--tf-slate, #5a636a);
}
.blog-tags span:not(:last-child)::after {
  content: "·";
  margin: 0 0.6em;
}

/* The forwarding home page and the 404 page. */
.itl-note {
  max-width: 34rem;
  margin: clamp(5rem, 22vh, 12rem) auto 6rem;
  padding: 0 1.25rem;
  font-family: var(--tf-serif, Georgia, serif);
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: center;
  color: var(--tf-ink, #1f2428);
}
.itl-note a {
  color: var(--tf-accent, #2b6a55);
}
.itl-note__kicker {
  margin: 0 0 1rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--tf-slate, #5a636a);
}
html:has(.itl-note) body {
  margin: 0;
  background: var(--tf-paper, #fff);
}
.itl-bar nav {
  display: flex;
  gap: 1.4rem;
}
@media (max-width: 480px) {
  .itl-bar {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }
  .itl-bar__name {
    font-size: 1.15rem;
  }
}

/* The language note on a chapter's title page: a translation says so and
   links to the original; an original links to its translation. */
.itl-lang {
  margin: 1.4rem auto 0;
  font-family: var(--tf-serif, Georgia, serif);
  font-size: 1rem;
  color: var(--tf-slate, #5a636a);
  text-align: center;
}
.itl-lang span { font-style: italic; }
.itl-lang a {
  color: var(--tf-accent, #2b6a55);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  font-size: 1.1em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
