/*
  The CSS in this style tag is based off of Bear Blog's default CSS.
  https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css
  License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/exo-2-v26-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/exo-2-v26-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/exo-2-v26-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/exo-2-v26-latin-700.woff2") format("woff2");
}

:root {
  --accent: #56949f;
  --accent-dark: #907aa9;
  --black: 15, 18, 25;
  --gray: 96, 115, 159;
  --gray-light: 229, 233, 240;
  --gray-dark: 34, 41, 57;
  --gray-gradient: rgba(var(--gray-light), 50%), #fff;
  --box-shadow:
    0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
    0 16px 32px rgba(var(--gray), 33%);
}
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
  background: #faf4ed;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: rgb(var(--gray-dark));
  font-size: 20px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  width: 720px;
  max-width: calc(100% - 2em);
  margin: auto;
  padding: 3em 1em;
  flex: 1;
}
h1,
h2,
h3,
h4 {
  font-family: "Exo 2", sans-serif;
  margin: 0 0 0.5rem 0;
  color: rgb(var(--black));
  line-height: 1.2;
}
h1 {
  font-size: 1.563em;
}
h2,
h3 {
  color: var(--accent-dark);
}
h2 {
  font-size: 1.4em;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.1em;
}
strong,
b {
  font-weight: 700;
}
a {
  color: var(--accent);
  font-weight: 500;
}
a:hover {
  color: var(--accent);
}
p {
  margin-bottom: 1em;
}
.prose p {
  margin-bottom: 2em;
}
textarea {
  width: 100%;
  font-size: 16px;
}
input {
  font-size: 16px;
}
table {
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
code {
  padding: 2px 5px;
  background-color: rgb(var(--gray-light));
  border-radius: 2px;
}
pre {
  padding: 1.5em;
  border-radius: 8px;
}
pre > code {
  all: unset;
}
.giallo-l {
  display: inline-block;
  min-height: 1lh;
  width: 100%;
}
.giallo-ln {
  display: inline-block;
  user-select: none;
  margin-right: 0.4em;
  padding: 0.4em;
  min-width: 3ch;
  text-align: right;
  opacity: 0.8;
}
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0 0 0 20px;
  margin: 0;
  font-size: 1em;
}
hr {
  border: none;
  border-top: 1px solid rgb(var(--gray-light));
}
@media (max-width: 720px) {
  body {
    font-size: 18px;
  }
  main {
    padding: 1em;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
  padding: 0 1em;
  background: #faf4ed;
  box-shadow: 0 2px 8px rgba(var(--black), 5%);
}
.site-title {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.2;
}
.site-title a,
.site-title a.active {
  text-decoration: none;
}
header .site-logo {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
  margin-right: 0.3em;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header nav a {
  font-family: "Exo 2", sans-serif;
  padding: 1em 1em;
  color: rgb(var(--black));
  border-bottom: 4px solid transparent;
  text-decoration: none;
}
header nav a.active {
  text-decoration: none;
  border-bottom-color: var(--accent);
}
header .social-links,
header .social-links a {
  display: flex;
}
@media (max-width: 720px) {
  header .social-links {
    display: none;
  }
}

.subtitle {
  margin-top: 0;
  color: rgb(var(--gray));
  font-size: 0.9em;
}

.eyebrow {
  margin: 0 0 0.25em 0;
  font-family: "Exo 2", sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow a {
  color: rgb(var(--gray));
  text-decoration: none;
}
.eyebrow a:hover {
  color: var(--accent);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 0.9em;
  margin: 0 0 1.75em 0;
}
.post-meta .date {
  color: rgb(var(--gray-dark));
  font-size: 0.8em;
}
.post-meta .tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
a.tag-pill {
  display: inline-block;
  padding: 0.1em 0.7em;
  background: rgb(var(--gray-light));
  color: rgb(var(--gray-dark));
  border-radius: 999px;
  font-size: 0.8em;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.6;
}
a.tag-pill:hover {
  background: var(--accent);
  color: #fff;
}

.tagline {
  margin: 0;
  padding: 0.75em 1em 0.6em 2em;
  color: rgb(var(--gray-dark));
  font-family: "Exo 2", sans-serif;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  padding: 2em 1em;
  margin-bottom: 1.5em;
  background: #faf4ed;
  color: rgb(var(--gray));
  text-align: center;
}

.sr-only {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
  clip: rect(1px 1px 1px 1px);
  /* maybe deprecated but we need to support legacy browsers */
  clip: rect(1px, 1px, 1px, 1px);
  /* modern browsers, clip-path works inwards from each corner */
  clip-path: inset(50%);
  /* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
  white-space: nowrap;
}
