@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Open+Sans&display=swap');

* {
  box-sizing: border-box;
}
body {
  font: 100%/1.5 "Open Sans", sans-serif;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Bree Serif", "Open Sans", sans-serif;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 3em;
  font-weight: bold;
}
h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.25em;
  margin-bottom: 1em;
}
h4 {
  font-size: 1.125em;
  margin-bottom: 0.5em;
}
p,
hr,
ul,
ol {
  margin-bottom: 1em;
}
a {
  color: #000;
  text-decoration: underline;
  transition: color 200ms ease;
}
a:hover {
  color: #fc0;
}
.plain {
  text-decoration: none;
}
sup {
  font-size: 0.875em;
  vertical-align: super;
}
sup a {
  background: none;
}
hr {
  border: 0;
  border-bottom: 1px solid #ccc;
}
ul,
ol {
  margin-left: 40px;
  margin-bottom: 1em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
figure {
  margin: 0;
}
pre {
  max-width: 100%;
  overflow: scroll;
  padding: 1em;
  margin-bottom: 1em;
}
header {
  text-align: center;
  margin-bottom: 2em;
}
header a {
  text-decoration: none;
}
header,
#content,
footer {
  width: 100%;
  min-width: 300px;
  max-width: 600px;
  padding: 0 20px;
  margin: 0 auto;
}
.post {
  margin-bottom: 8em;
}
.post .top {
  margin-bottom: 1em;
}
.post .top h2,
.post .top .permalink {
  text-decoration: none;
}
.post .top h2 {
  display: inline;
}
.post .top h3 {
  border-bottom: 1px solid #ccc;
}
.post .top .permalink {
  display: none;
  color: #ccc;
}
.post .top .permalink:hover {
  color: #fc0;
}
.post .top:hover .permalink {
  display: inline;
}
.post .top .date {
  color: #ccc;
  text-decoration: none;
}
.post img {
  max-width: 100%;
}
.post .image-small {
  max-width: 40%;
  margin-right: 5%;
}
.post blockquote {
  border-left: 1px solid #f90;
  padding-left: 29px;
}
.post .footnotes {
  font-size: 0.875em;
  list-style-type: decimal;
  margin-left: 25px;
}
footer {
  margin-bottom: 3em;
}
footer #profile {
  float: left;
  width: 64px;
  border-radius: 10px;
}
footer #about {
  margin-left: 64px;
  padding-left: 1em;
}
footer #about h3 {
  margin-bottom: 5px;
}
footer #about h3 a {
  text-decoration: none;
}
footer #about p {
  margin-bottom: 1.5em;
}
footer #contact {
  margin: 0;
  list-style-type: none;
}
footer #contact li {
  display: inline-block;
  margin-right: 1em;
}
footer #contact a {
  background: #eee;
  text-decoration: none;
  padding: 0.5em;
  border-radius: 8px;
  transition: background 200ms ease;
}
footer #contact a:hover {
  background: #fc0;
  color: #000;
}
/* Shiki code blocks */
.astro-code {
  border-radius: 4px;
}

/* Links that no longer resolve: kept as text, not clickable */
.dead-link {
  color: #999;
  text-decoration: line-through;
}
.dead-link::after {
  content: " (dead link)";
  display: inline-block;
  font-size: 0.8em;
  text-decoration: none;
}
