/* original styles */
header {
  margin: 2rem auto;
}
header > .text-2xl {
  font-family: "Times New Roman", "Droid Serif", Times, "Source Serif Pro",
    serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 2.5rem;
  letter-spacing: -0.15rem;
  line-height: 2.25rem;
  text-align: center;
  padding-top: 1rem;
}

#blog header > .text-2xl {
  font-size: 4rem;
}

header > p.font-bold {
  font-weight: normal;
  font-style: italic;
  letter-spacing: -0.05rem;
  opacity: 0.8;
  text-align: center;
  padding-top: 0.5rem;
}

code,
kbd,
samp,
pre {
  font-size: 0.9rem;
}

.post-date {
  font-family: monospace;
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.8;
  padding-top: 0.1rem;
  letter-spacing: -0.02rem;
  width: 108px;
}

footer {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 0.2rem;
}

blockquote > p {
  margin: 1rem 0;
}

/* Link styles to support light/dark mode dynamically */

a {
  text-decoration: underline;
  transition: color 0.3s ease, outline 0.3s ease;
}

@media (prefers-color-scheme: light) {
  a {
    color: #1a0dab;
  }
  a:hover,
  a:focus {
    color: #d43f3a;
    outline: 2px solid #d43f3a;
    outline-offset: 2px;
    text-decoration: underline;
  }
}

@media (prefers-color-scheme: dark) {
  a {
    color: #4ea1ff;
  }
  a:hover,
  a:focus {
    color: #ff7f7f;
    outline: 2px solid #ff7f7f;
    outline-offset: 2px;
    text-decoration: underline;
  }
}

a:focus:not(:focus-visible) {
  outline: none;
}
