/* blog-style.css: shared stylesheet for new blog posts */
html {
  font-size: 16px;
}

.container {
  width: min(88%, 1000px);
  margin: auto;
}


body {
    color: #2a2a2a;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    line-height: 1.8;
    background-color: transparent;
    font-size: 17px;
}

.wrapper {
    display: block;
    min-height: 100vh;
    padding-bottom: 50px;
}

.content {
    padding-top: 20px;
    text-align: center;
}

.post-title {
    font-size: 32px;
    margin: 10px 0;
}

.post-subheader {
    margin-top: 10px;
    margin-bottom: 25px;
    text-align: center;
    color: #444;
    font-size: 17px;
    font-style: italic;
}

.post-date {
    font-size: 18px;
    color: #888;
    margin-bottom: 20px;
}

.post-content {
    text-align: left;
}

.post-content h1 {
  color: #111;
  font-weight: bold;
}

.post-content h2 {
  margin-top: 40px;
  font-size: 24px;
  color: #222;
  font-weight: bold
}

.post-content h3 {
  color: #333;
  font-weight: bold;
}

.post-content h4 {
  color: #444;
  font-weight: bold;
}

.post-content h5,
.post-content h6 {
  color: #555;
  font-weight: bold;
}

.post-content p {
    margin-bottom: 20px;
}

footer {
    color: #555;
    text-align: center;
    padding: 10px 20px;
    background-color: transparent;
}

p:last-of-type {
    margin-bottom: 100px;
}

blockquote {
    font-family: 'Cambria', 'Georgia', serif;
    font-style: italic;
    font-size: 17px;
    margin: 40px auto 30px auto;
    padding: 0 20px;
    max-width: 750px;
    text-align: center;
    line-height: 1.6;
}

.reference {
    margin-bottom: 10px;
}

.highlight {
    background-color: #ADD8E6; /* Light blue highlight */
    transition: background-color 1s ease-out;
}

.image-block {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.image-block img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 0 0 0 transparent; /* might help with some browser rendering engines? */
  overflow: hidden; /* radius clips if needed */
}

.image-caption {
  font-size: 15px;
  color: #666;
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}

.image-wrapper {
  width: 100%;
  max-width: 700px;
}

.pdf-embed {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 auto 2rem auto;
}

.pdf-embed iframe {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}

@media screen and (max-width: 768px) {
  .pdf-embed {
    max-height: 300px;
    padding-bottom: 0;
    height: 300px;
  }

  .pdf-embed iframe {
    position: static;
    width: 100%;
    height: 100%;
  }
}

body.light-mode nav a {
  color: #555 !important;
}

body.light-mode nav a:hover {
  color: #1c2541 !important;
}

.poem-collection {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.poem {
    margin-bottom: 3rem;
    text-align: left;
}

.poem h2 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 1rem;
    text-align: left;
}

.poem pre {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.75;
  font-size: 1.02rem;
  background: transparent;
  padding: 0.5rem 0;
  border-radius: 6px;
}

/* --------------------------------------------------
   References
-------------------------------------------------- */

.references {
    list-style: none;
    padding-left: 0;
}

.reference {
    margin-bottom: 10px;
}

.ref-backlink {
  margin-right: 0.25em;
}

.highlight {
  background-color: #ADD8E6;
  transition: background-color 1s ease-out;
}