/* SPDX-FileCopyrightText: 2026 Martin Heriban */
/* SPDX-License-Identifier: AGPL-3.0-only */

body {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

.site-header,
.site-footer {
  padding: 1rem 0;
}

.site-header {
  border-bottom: 1px solid currentColor;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid currentColor;
}

.site-title {
  margin: 0 0 .75rem;
  font-size: 1.45rem;
  font-weight: 700;
}

.site-title a {
  font-size: 1.7rem;
  font-weight: 800;
}

.site-title span {
  font-weight: 700;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

main {
  padding: 1rem 0;
}

section + section {
  margin-top: 2rem;
}

figure.table-scroll {
  margin: 1rem 0;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  margin-bottom: .4rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: .4rem .5rem;
  border: 1px solid currentColor;
  text-align: left;
  vertical-align: top;
}

pre {
  overflow-x: auto;
  padding: .75rem;
  border: 1px solid currentColor;
}

.hash {
  overflow-wrap: anywhere;
}

.notice {
  padding-left: .75rem;
  border-left: .25rem solid currentColor;
}

.skip-link {
  position: absolute;
  left: -10000px;
}

.skip-link:focus {
  position: static;
}

a:focus-visible {
  outline: .15rem solid currentColor;
  outline-offset: .15rem;
}
