.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

ul > li:last-child {
  margin-right: 1em;
}

.codebase .episode-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.codebase .episode-list li {
  box-shadow: 7px 7px 5px 0px var(--shadow);
  border: 1px solid #ccc;
  padding: 1em;
  max-width: 600px;
  margin: 1em;
}

.codebase .intro {
  max-width: 120ch;
}

.software-gallery {
  display: flex;
  flex-wrap: wrap;
}

.software-gallery > div {
  flex-basis: 400px;
  flex-grow: 1;
  max-width: 600px;
  margin: 1em;
  box-shadow: 7px 7px 5px 0px var(--shadow);
  border: 1px solid #ccc;
}

.software-gallery img {
  max-width: 100%;
}

.software-gallery > div > div {
  padding: 1em;
}

code:not([class*="language-"]) {
  font-family: monospace;
  background: var(--brand);
  color: var(--color-background-primary);
  padding: 0.2em 0.5em 0.2em 0.5em;
  border-radius: 10%;
  box-shadow: 3px 3px 2px #5d5d5d;
  margin-right: 0.5em;
}

code > a {
  color: white;
  font-family: monospace;
}

figure {
  margin-bottom: 1em;
}

figcaption {
  text-align: center;
  font-style: italic;
  font-weight: 300;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 2em 0;
  width: 100%;
}

table thead {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
  font-weight: 900;
}

table tbody tr {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left: 0;
  border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
  color: white;
  background-color: var(--brand);
}

table tbody tr:nth-child(2n + 1) a {
  color: white;
}

body[data-theme="dark"] table tbody tr:nth-child(2n + 1) {
  background-color: black;
}

table td {
  padding: 0.75em 0.75em;
}

#post blockquote p:last-child {
  margin-bottom: 0;
}

div.code-toolbar {
  margin-bottom: 2em;
}

.guides--card {
  border: 1px solid #ccc;
  box-shadow: 7px 7px 5px 0px var(--shadow);
  margin-bottom: 2em;
}

hr {
  border: 0;
  border-bottom: solid 1px rgba(210, 215, 217, 0.75);
  margin: 2em 0;
}

.pixelart-gallery {
  list-style: none;
}

.pixelart-gallery figure {
  display: flex;
  flex-direction: column-reverse;
  max-width: 600px;
}

.pixelart-gallery figure figcaption {
  text-transform: uppercase;
  font-family: monospace;
}

.Workshop--card {
  max-width: 900px;
  margin: 2em auto;
  border: 1px solid #ccc;
  box-shadow: 7px 7px 5px 0px var(--shadow);
}

.Workshop--content {
  padding: 1em;
  width: 80%;
  margin: auto;
}

.Workshop--trusted {
  height: 100%;
  width: 92%;
  margin: auto;
}

.Workshop--card img {
  width: 100%;
}

.Workshop--logos {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin: 1em 0;
}

.Workshop--logos img {
  height: 100px;
  width: 200px;
}

.Workshop--card .nutshell {
  text-align: center;
  padding: 1em;
  font-weight: 600;
}

.Workshop--card :is(h1, h2, h3, h4) {
  text-align: center;
}

.guides--card-content {
  padding: 2em;
}

.guide img {
  margin: 2em;
}

.weeklies {
  max-width: min(90ch, 100%);
}

path#mastodon-cutout {
  fill: var(--color-background-primary);
}

#tweet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#tweet-list > li {
  flex-basis: 45%;
}

.work-categories,
.work-intro {
  max-width: 100ch;
  border-bottom: 1px solid #ccc;
  margin-top: 1em;
}

.work-categories :is(h2, h3) {
  margin-bottom: 0.5em;
}

ul.work-sub-categories {
  list-style: none;
}

.work-sub-categories p:has(+ ul) {
  margin-bottom: 0em;
}

.work-sub-categories ul {
  margin-bottom: 1em;
}

div.blogroll-intro {
  max-width: 80ch;
}

ul.blogroll {
  margin-bottom: 1em;
  max-width: 80ch;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

ul.blogroll li {
  border: 1px solid black;
  max-width: 35ch;
  min-width: 35ch;
}

div.blogroll-in-post {
  max-width: 35ch;
}

ul.blogroll li div:first-child {
  background: var(--brand);
  font-weight: 900;
  padding: 0.75em;
}

ul.blogroll li div:last-child {
  padding: 1em;
}

ul.blogroll li div:first-child a {
  color: var(--color-background-primary);
}

#blogroll-display div.author {
  padding-bottom: 1em;
  font-weight: 600;
}

.colophon,
.contact {
  max-width: min(90ch, 100%);
}

.colophon li,
.contact li {
  padding-top: 0.5em;
}

.post-date-mastodon svg {
  width: 15px;
  height: auto;
  margin: 0 0.25em;
}

#page :is(ul, ol) {
  margin-bottom: 1em;
}

@media screen and (min-width: 600px) {
  .hive-tiles {
    & li {
      display: flex;
      gap: 1em;
      margin-bottom: 1em;

      & div {
        display: flex;
        flex-direction: column;
      }
    }
  }
}

.software-versions span {
  border: 1px solid #ccc;
  padding: 0.2em;
  border-radius: 5px;
}
