* { box-sizing: border-box; }
body { margin: 0; background: #000 url('media/dragonskin.jpg') repeat; color: #bbb; font: 13.333px Verdana, Helvetica, Arial, sans-serif; }
a { color: #a00000; text-decoration: none; }
a:hover, a:focus-visible { color: #d33; text-decoration: underline; }
.site-header { margin: 0 1%; min-height: 202px; text-align: center; }
.site-header h1 { margin: 0; font: bold 53.333px/1.35 Garamond, 'Palatino Linotype', 'Book Antiqua', Georgia, serif; }
.site-header h1 a { color: #aaa; }
.site-header h1 a:hover { text-decoration: none; color: #ddd; }
.site-header p { margin: 13px 0 25px; }
#search-form { display: flex; justify-content: center; gap: 5px; }
#search-form input { width: min(348px, 70vw); height: 15px; padding: 0 3px; border: 0; background: #ccc; color: #000; font: 11px Arial, sans-serif; }
#search-form button { height: 15px; padding: 0 5px; border: 0; background: #ccc; color: #000; font: 10px Arial, sans-serif; cursor: pointer; }
.mobile-menu-input, .mobile-menu-toggle { display: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 72%) minmax(0, 25%); justify-content: space-between; margin: 0 .5%; padding: 15px 1.3% 30px; background: #000; border-top: 12px solid #340608; }
#journal-content { min-width: 0; }
.entry { display: flow-root; margin: 0 0 65px; }
.entry h2, .section-heading h1, .empty h1, .empty h2 { margin: 0 0 22px; color: #aaa; font: 28px/1.1 'Palatino Linotype', 'Book Antiqua', Georgia, serif; }
.entry h2 a { color: #a00000; }
.author { color: #888; font-size: 12px; margin: 0 0 14px; }
.prose { line-height: 1.2; overflow-wrap: anywhere; }
.prose p { margin: 0 0 13px; }
.prose a { text-decoration: underline; }
.prose img { max-width: 100%; height: auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose .alignleft { float: left; margin: 5px 10px 10px; }
.prose .alignright { float: right; margin: 5px 10px 10px; }
.prose .aligncenter { display: block; margin: 5px auto; text-align: center; }
.prose .wp-caption { max-width: 100%; padding: 5px; background: #ccc; color: #000; border-radius: 3px; text-align: center; }
.prose .wp-caption p { margin: 0; font-size: 10px; }
.post-comments { margin: 13px 0 0; font-weight: bold; }
.page-content { line-height: 1.4; }
.pagination { display: flex; justify-content: space-between; gap: 10px; margin: 25px 0; }
.pagination span { color: #888; }
.empty { padding: 10px 0; }
.sidebar { min-width: 0; padding: 3px 5px 0 10px; color: #888; }
.sidebar section { margin: 0 0 28px; }
.sidebar h2 { padding: 10px 0; margin: 0; color: #aaa; font: 18.667px 'Palatino Linotype', 'Book Antiqua', Georgia, serif; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { line-height: 1.2; }
footer { margin: 0 .5%; padding: 20px; background: #000; text-align: center; color: #888; }
.editor-header { min-height: 150px; }
.editor-content { margin: 0 .5%; padding: 20px 2% 40px; background: #000; border-top: 12px solid #340608; }
.editor-content h2, .editor-content h3 { color: #aaa; font-family: 'Palatino Linotype', 'Book Antiqua', Georgia, serif; font-weight: normal; }
.editor-content h2 { font-size: 28px; }
.editor-content h3 { font-size: 20px; }
.editor-content section { max-width: 900px; margin: 30px 0; }
.editor-content label { display: block; margin: 12px 0; color: #bbb; }
.editor-content input, .editor-content textarea { display: block; width: 100%; margin-top: 5px; padding: 8px; border: 1px solid #666; background: #171717; color: #eee; font: inherit; }
.editor-content textarea { resize: vertical; }
.editor-content button { padding: 7px 12px; border: 1px solid #888; background: #ccc; color: #111; font: inherit; cursor: pointer; }
.editor-content button:disabled { opacity: .5; cursor: wait; }
.editor-account, .editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.editor-account { justify-content: space-between; max-width: 900px; }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: end; gap: 10px; }
.link-row button { margin-bottom: 12px; }
#editor-status.error { color: #ff9a9a; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
    .site-header { min-height: 0; padding: 15px 8px 20px; }
    .site-header h1 { font-size: 36px; line-height: 1.1; }
    .site-header p { margin: 14px 0 20px; }
    .content-layout { display: flex; flex-direction: column; padding: 20px 15px; }
    .mobile-menu-input { display: block; }
    .mobile-menu-toggle { display: flex; width: fit-content; min-width: 106px; min-height: 40px; align-items: center; justify-content: center; gap: 9px; margin: 16px auto 0; padding: 0 16px; border: 1px solid #92504b; border-radius: 2px; background: #35100f; color: #f0dfda; font: bold 13px Verdana, Helvetica, Arial, sans-serif; cursor: pointer; }
    .mobile-menu-toggle::before { content: '\2630'; font-size: 15px; line-height: 1; }
    .mobile-menu-input:checked ~ .site-header .mobile-menu-toggle::before { content: '\00d7'; font-size: 21px; }
    .mobile-menu-input:focus-visible ~ .site-header .mobile-menu-toggle { outline: 2px solid #ddd; outline-offset: 2px; }
    .sidebar { display: none; order: -1; padding: 18px 16px 22px; margin: 0 0 24px; border-top: 2px solid #8e2924; border-bottom: 1px solid #46201f; background: #110d0d; }
    .mobile-menu-input:checked ~ .content-layout .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
    .sidebar section { min-width: 0; margin: 0; }
    .sidebar section:last-child { grid-column: 1 / -1; }
    .sidebar h2 { margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid #4a2a28; color: #eee1dc; font-size: 19px; }
    .sidebar li { line-height: 1.35; }
    .sidebar li a { display: block; min-height: 36px; padding: 8px 0; color: #e4a8a0; overflow-wrap: anywhere; }
    .sidebar li a:hover, .sidebar li a:focus-visible { color: #fff; }
    #recent-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .prose .alignleft, .prose .alignright { float: none; display: block; margin: 10px 0; }
    .link-row { grid-template-columns: 1fr; gap: 0; padding-bottom: 10px; border-bottom: 1px solid #444; }
    .link-row button { justify-self: start; }
}