/* Minimal, clean blog styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 19px; overflow-y: scroll; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  color: #161616;
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dark mode disabled: always use light theme */

.container { max-width: 720px; padding: 0 18px; margin: 0 auto; }

.site-header { position: relative; top: auto; z-index: 1; background: transparent; border: 0; box-shadow: none; }
.site-header .container.narrow { max-width: 720px; }
.site-hero-link { display: block; color: inherit; text-decoration: none; }
.site-hero-bleed { position: relative; width: 100%; height: 260px; background-size: cover; background-position: center; }
.site-hero-bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.25)); }
.site-hero-bleed .container { position: relative; height: 100%; }
.site-hero-title { position: absolute; left: 0; bottom: 16px; color: #fff; text-decoration: none; font-weight: 800; font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 2px 6px rgba(0,0,0,.35); }

.site-footer { margin: 48px 0 24px; color: #666; font-size: .9rem; }

main.container { padding: 24px 0; }

/* Home list */
.post-list { display: block; }

.post-row { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.post-row .thumb { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 10px; overflow: hidden; background: #f0f0f0; display: block; }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row .post-row-body { min-width: 0; }
.post-row .post-title { margin: 0; font-size: 1.3rem; line-height: 1.25; display: block; }
.post-row .post-title a { color: inherit; text-decoration: none; }
.post-row .post-title a:hover { text-decoration: underline; }
.post-row .post-date { margin-top: 4px; }
@media (max-width: 560px) {
  .post-row { align-items: flex-start; }
  .post-row .thumb { width: 72px; height: 72px; flex-basis: 72px; border-radius: 8px; }
  .post-row .post-title { font-size: 1.2rem; }
}

.muted { color: #555; font-size: .95rem; }

article.post header { margin-bottom: 20px; }
article.post h1 { font-size: 2.35rem; line-height: 1.15; margin: 0 0 10px; }
.content h2 { font-size: 1.6rem; line-height: 1.25; }
.content h3 { font-size: 1.3rem; line-height: 1.3; }

/* Content */
.content img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 12px auto; }
.content p { margin: 1.15em 0; }
.content h2, .content h3, .content h4 { margin-top: 1.6em; }
.content pre { background: #0b0b0b; color: #e6e6e6; padding: 14px; border-radius: 8px; overflow: auto; font-size: .95rem; }
.content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: .95rem; }

/* Reading width is governed by outer .container; keep inner blocks fluid */
article.post { max-width: 720px; margin-left: auto; margin-right: auto; }
article.post header, article.post .content { max-width: 100%; }
article.post img { max-width: 100%; height: auto; }
article.post .content img { width: 100%; }
article.post .content figure { margin: 1.2em 0; }

/* Larger, more readable body text on posts */
article.post .content {
  font-size: 1.12rem;
  line-height: 1.86; /* slightly increased */
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

blockquote { margin: 1em 0; padding-left: 1em; border-left: 3px solid #ddd; color: #555; }

a { color: #0645ad; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.2em; }
