:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #767676;
  --light: color-mix(in srgb, var(--muted) 30%, white);
  --accent: #0040ff;
  --width: 850px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  padding: 0 1.5rem;
}

header, main, footer {
  max-width: var(--width);
  margin: 0 auto;
}

header {
  padding: 1.25rem 0 0;
  margin-bottom: 1.5rem;
}

nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav-top {
  display: none;
}

.nav-toggle {
  display: none;
}

.site-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
  width: 100%;
  text-align: center;
}
@media (max-width: 600px) {
  .site-title {
    text-align: right;
  }
}

.site-title-desktop {
  display: block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-left: auto;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--text);
}
.lang-switch .lang-active {
  color: var(--text);
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
nav a:hover, nav a.active {
  color: var(--text);
}

.colophon {
  margin: 1rem 0 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--light);
  border-radius: 1rem;
  font-size: 0.875rem;
}

.site-description {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 0.875rem;
}

.year-group {
  margin-bottom: 2.5rem;
}

.year-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.post-list {
  list-style: none;
}
.post-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
}
.post-list .post-icon {
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text);
}
.post-list a {
  color: var(--text);
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.post-list a:hover {
  color: var(--accent);
}
.post-list time {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: monospace;
  margin-left: auto;
}

.location {
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid currentColor;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.post header {
  margin-bottom: 1.5rem;
}
.post header h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.post header time {
  color: var(--muted);
  font-size: 0.9rem;
}
.post .tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.875rem;
}
.post .tags li {
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid currentColor;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.post-content iframe, .page-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  display: block;
  margin: 0 0 1.5em;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  margin: 1.75em 0 0.5em;
  line-height: 1.3;
}
.post-content h2, .page-content h2 {
  font-size: 1.25rem;
}
.post-content h3, .page-content h3 {
  font-size: 1.05rem;
}
.post-content p, .page-content p {
  margin-bottom: 1.1em;
}
.post-content a, .page-content a {
  color: var(--accent);
}
.post-content ul, .post-content ol, .page-content ul, .page-content ol {
  margin: 0 0 1em 1.5em;
}
.post-content ul li, .post-content ol li, .page-content ul li, .page-content ol li {
  margin-bottom: 0.25em;
}
.post-content blockquote, .page-content blockquote {
  margin: 1.5em 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-style: italic;
}
.post-content pre, .page-content pre {
  background: #f5f5f5;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1em;
}
.post-content code, .page-content code {
  font-size: 0.875em;
  background: #f5f5f5;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.post-content pre code, .page-content pre code {
  background: none;
  padding: 0;
}
.post-content img, .page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}
.post-content hr, .page-content hr {
  border: none;
  margin: 2em 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}
.post-nav a {
  color: var(--muted);
  text-decoration: none;
  max-width: 45%;
}
.post-nav a:hover {
  color: var(--text);
}
.post-nav .next {
  margin-left: auto;
  text-align: right;
}

.page header {
  margin-bottom: 0;
}
.page header h1 {
  font-size: 1.75rem;
  text-align: center;
}

footer {
  margin-top: 4rem;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 0 1rem;
  }
  header {
    margin-bottom: 0;
  }
  nav {
    display: block;
  }
  .nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
  }
  .site-title-desktop,
  .site-description {
    display: none;
  }
  .nav-top .site-title {
    display: block;
    /*width: auto;*/
    font-size: 1.25rem;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0;
    list-style: none;
  }
  .nav-links a {
    font-size: 1rem;
  }
  #main-nav.nav-open .nav-links {
    display: flex;
  }
  .post-list li {
    padding: 0.6rem 0;
  }
  .post-list time {
    font-size: 0.8rem;
  }
  .post-icon {
    display: none;
  }
  .post-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
  .post-nav a {
    max-width: 100%;
  }
  .post-nav .next {
    margin-left: 0;
    text-align: left;
  }
}

/*# sourceMappingURL=style.css.map */