.language-switch {
  position: relative;
  flex: 0 0 auto;
  border: 0;
}

.language-switch > summary {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .18rem .32rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.language-switch > summary::-webkit-details-marker { display: none; }
.language-switch > summary::after {
  content: "";
  width: .3rem;
  height: .3rem;
  border-inline-end: 1px solid;
  border-block-end: 1px solid;
  transform: translateY(-.12rem) rotate(45deg);
}
.language-switch[open] > summary::after {
  content: "";
  transform: translateY(.1rem) rotate(225deg);
}

.language-options {
  position: absolute;
  z-index: 5;
  inset-block-start: 100%;
  inset-inline-end: 0;
  min-width: 8.5rem;
  margin: 0;
  padding: .25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 .35rem .8rem #0002;
  list-style: none;
}

.language-options a {
  display: block;
  padding: .39rem .65rem;
  line-height: 1.45;
  text-decoration: none;
}

.language-options a:hover, .language-options a[aria-current="page"] {
  background: var(--linen);
}

@media (max-width: 30rem) {
  :is(html[lang="de"], html[lang="ru"]) .guestbook-heading {
    flex-wrap: wrap;
  }

  :is(html[lang="de"], html[lang="ru"]) .guestbook-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
  }
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

