/* per-site fixes */
/* Header */
.site-header { border-bottom: 1px solid #eee; padding-bottom: 12px !important; margin-bottom: 24px; }
/* Theme page title duplicates the H1 at the top of the content: hide the visual duplicate */
.page-header:has(+ .page-content > h1:first-child) { display: none; }
/* Readable content */
.site-main .page-content { max-width: 820px; }
.site-main .page-content p { line-height: 1.85; }
.site-main .page-content img { height: auto; max-width: 100%; }
.site-main .page-content h2, .site-main .page-content h3 { margin-top: 1.6em; }
/* Blog archive */
.page-content article.post { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #eee; }
.page-content article.post h2.entry-title { font-size: 24px; line-height: 1.45; margin: 0 0 12px; }
.page-content article.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.page-content article.post p { font-size: 16px; }
@media (max-width: 767px) {
  .site-header .site-title { font-size: 26px !important; }
  .site-header .site-navigation ul.menu { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 8px 0 0; }
  .site-header .site-navigation ul.menu li a { display: inline-block; padding: 8px 0 !important; }
  .site-main h1 { font-size: 28px !important; line-height: 1.35 !important; }
  .site-main .page-content h2 { font-size: 22px; }
  .site-main .page-content h3 { font-size: 20px; }
  .page-content article.post h2.entry-title { font-size: 20px; }
}
/* Footer contact line */
.site-footer .site-fix-contact { border-top: 1px solid #eee; margin-top: 40px; padding: 20px 0 28px; font-size: 15px; color: #555; }
.site-footer .site-fix-contact p { margin: 0; }
.site-footer .site-fix-contact a { color: inherit; text-decoration: underline; }
