.blog-main {
  --blog-accent: #d8aa75;
  --blog-accent-hover: #f3d0a2;
  color: #eee;
  margin: 0 auto;
  max-width: 920px;
  padding: 2rem 1rem 8rem;
}

.blog-panel {
  background: rgba(23, 23, 23, 0.94);
  border-top: 3px solid var(--blog-accent);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.25), 0 0.4em 1.25em rgba(0, 0, 0, 0.15);
  padding: clamp(1.25rem, 5vw, 3rem);
}

.blog-main a {
  color: var(--blog-accent);
  overflow-wrap: anywhere;
}

.blog-main a:hover {
  color: var(--blog-accent-hover);
}

.blog-main a:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: 3px;
}

.blog-main h1 {
  color: #eee;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}

.blog-intro {
  color: #c5c5c5;
  line-height: 1.6;
  margin-top: 1rem;
}

.post-list {
  margin-top: 2rem;
}

.post-list li + li {
  border-top: 1px solid #454545;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.post-list h2 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-list h2 a {
  text-decoration: none;
}

.post-list h2 a:hover {
  text-decoration: underline;
}

.post-list p {
  color: #d3d3d3;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.post-meta {
  color: #b7b7b7;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.75rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.blog-post {
  line-height: 1.7;
  overflow-wrap: break-word;
}

.blog-post h2,
.blog-post h3 {
  color: #eee;
  font-weight: 700;
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 1rem;
}

.blog-post h2 {
  font-size: 1.8rem;
}

.blog-post h3 {
  font-size: 1.3rem;
}

.blog-post p,
.blog-post ul,
.blog-post ol,
.blog-post figure,
.blog-post pre,
.blog-post .table-wrap {
  margin: 1rem 0;
}

.blog-post ul,
.blog-post ol {
  padding-left: 1.5rem;
}

.blog-post ul {
  list-style: disc;
}

.blog-post ol {
  list-style: decimal;
}

.blog-post figure {
  margin-top: 1.75rem;
}

.blog-post figure img {
  border-radius: 4px;
  display: block;
  width: 100%;
}

.blog-post figcaption {
  color: #b7b7b7;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.blog-post code {
  background: #292929;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.3em;
}

.blog-post pre {
  background: #0c0c0c;
  border: 1px solid #444;
  border-radius: 4px;
  line-height: 1.5;
  overflow-x: auto;
  padding: 1rem;
  tab-size: 2;
}

.blog-post pre code {
  background: none;
  padding: 0;
}

.blog-post .table-wrap {
  overflow-x: auto;
}

.blog-post table {
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: max-content;
  width: 100%;
}

.blog-post th,
.blog-post td {
  border: 1px solid #4d4d4d;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.blog-post th {
  background: #303030;
  font-weight: 700;
}

.blog-post hr {
  border: 0;
  border-top: 1px solid #454545;
  margin: 2rem 0;
}
