/* Living literature review: additions on top of florian.css (which is kept
   identical to the copy on florianjehn.github.io, so it can be synced as is). */

/* Navbar logo: square picture cropped to a regular octagon, with a mauve hairline
   octagon echo drawn behind it on exactly the same centre */
.navbar-custom .navbar-brand-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 4px;
  line-height: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='29.3,0.5 70.7,0.5 99.5,29.3 99.5,70.7 70.7,99.5 29.3,99.5 0.5,70.7 0.5,29.3' fill='none' stroke='%23C9B1BD' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.navbar-custom .navbar-brand-logo img {
  display: block;
  flex: none;
  width: auto;
  aspect-ratio: 1 / 1;
  clip-path: var(--octagon);
  padding: 0;
  box-sizing: content-box;
}

/* Language button: separated from the section links by a hairline */
@media (min-width: 1200px) {
  .navbar-custom .nav-lang { margin-left: 0.3rem; padding-left: 0.3rem; border-left: 1px solid var(--hairline); }
}
.navbar-custom .nav-lang .nav-link { color: var(--berry); }

/* Post thumbnails in the feed: plain rectangles, no frames */
.post-preview .post-image img { border: 0; }

/* Eight nav links: keep each on one line on desktop */
@media (min-width: 1200px) {
  .navbar-custom .navbar-nav .nav-link {
    white-space: nowrap;
    letter-spacing: 0.1em;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* --- German translations --- */
/* Link to the translation on an English post: small spaced-caps label */
.lang-switch { margin: 0 0 1.5rem; }
.lang-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Notice on top of every German translation: tinted panel, one chamfered corner */
.translation-note {
  background: var(--tint);
  clip-path: var(--chamfer);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.translation-note p { margin: 0 0 0.5rem; }
.translation-note p:last-child { margin-bottom: 0; }
.translation-note .label { color: var(--aubergine); }

/* German overview page: plain hairline-separated list */
.de-list > li { padding: 0.55rem 0; border-bottom: 1px solid var(--hairline); }
.de-list > li::before { top: calc(0.55rem + 0.68em); }
.de-list .post-meta {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* --- Author byline at the top of each post (inside <article>) --- */
/* Same look as the "Posted on" line in the post header */
.blog-post .post-byline {
  font-family: "Century Gothic", "Didact Gothic", "URW Gothic", "Questrial", sans-serif;
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.blog-post .post-byline a { text-decoration: none; }
