/* ibm-plex-mono-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/IBMPlexMono-Bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/IBMPlexMono-Italic.woff2') format('woff2');
}

:root {
  --bg: #c0c0c0;
  --fg: #333333;
  --link: #333333;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  line-height: 1.35;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

::-moz-selection {
  background: var(--fg);
  color: var(--bg);
}

.page {
  width: min(800px, calc(100vw - 48px));
  margin: 58px auto 50px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.home-link {
  text-decoration: none;
}
.home-desc {
  font-style: italic;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
}

.post-list {
  margin-top: 0;
}

.post-row {
  margin: 0;
}
.post-list-title {
  text-decoration: none;
}
.post-list-title:hover,
.post-list-title:focus {
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
}


img {
  border: 1px solid var(--fg);
}

details {
  margin: 0;
}

summary {
  display: flex;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  width: fit-content;
}

summary::-webkit-details-marker {
  display: none;
}

.marker::before {
  content: '>';
}

details[open] > summary .marker::before {
  content: 'v';
}

.summary-body {
  margin: 2px 0 0 17px;
  max-width: 670px;
}

.summary-body p {
  margin: 0 0 0 0;
  padding-left: 19px;
  text-indent: -19px;
}

.summary-body p::before {
  content: '↳ ';
}

.read-more {
  font-style: italic;
}

.single-post {
  margin-top: 0;
}

.post-title-line {
  margin: 0 0 22px 0;
}

.post-content {
  margin-left: 17px;
  max-width: 690px;
}

.post-content > p:first-child {
  margin-top: 0;
}

.post-content p {
  margin: 0 0 18px;
}

/* .post-content > p:first-child::before {
  content: '↳ ';
} */

.post-content img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  border: 1px solid var(--fg);
}

.post-content-attribution {
  margin-top: 0.75rem;
  padding-left: 2ch;
  text-indent: -2ch;
  line-height: 1.35;
}

.post-image {
  margin: 26px 0;
}

.post-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
}

.listen-links {
  margin-top: 26px;
}

.contact-block {
  margin-top: 0;
}

.contact-block p {
  margin: 0 0 18px;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 1px solid var(--fg);
  font-style: italic;
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.discography-item {
  display: block;
  line-height: 0;
}

.discography-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--fg);
}

.discography-item:hover img,
.discography-item:focus img {
  filter: invert(1);
}

td, th {
  border: none;
  text-align: left;
  vertical-align: top;
}
th {
  padding-top: 20px;
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .page {
    width: calc(100vw - 32px);
    margin-top: 32px;
  }

  .site-header {
    display: block;
    margin-bottom: 36px;
  }

  .top-nav {
    margin-top: 18px;
  }
  .postbox {
        margin: 2.3em 0 0 0;
  }
}

.postbox {
    position: relative;
    border: 1px solid var(--fg);
    padding: 1em;
    margin: 2em 0 0 0;
}

.postbox-name {
    position: absolute;
    top: -0.75em;
    margin-left: -5px;
    width: fit-content;
    padding: 0 5px;
    background: var(--bg);
}

.postbox-link {
    position: absolute;
    right: 1em;
    bottom: -0.65em;
    margin-right: -5px;
    padding: 0 5px;
    background: var(--bg);
    text-decoration: none;
}

.postbox-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-gap: 10px;
}