*,*::before,*::after{box-sizing:border-box}
html{background:#9E070E url(/assets/img/hatch.webp)}
body{margin:0;padding-bottom:113px;min-height:100vh;font:16px/1.6 Georgia,"Times New Roman",serif;color:#222;background:url(/assets/img/top.webp) no-repeat -230px top,url(/assets/img/bottom.webp) no-repeat -230px bottom}
@media (min-width:1000px){
body{font-size:15px;background-position:center top,center bottom}
body>.page{width:956px;margin:0 auto}
}
body>.page{display:flex;flex-direction:column;min-height:calc(100vh - 113px)}
.cols{flex:1;display:flex;flex-direction:column}
.sidebar{flex:1}
.skip{position:absolute;left:8px;top:-100px;z-index:10;background:#fff;color:#9E070E;padding:8px 12px;font-weight:bold}
.skip:focus{top:8px}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
:focus-visible{outline:3px solid #fff;outline-offset:1px;box-shadow:0 0 0 5px #6f0508}

.site-header{position:relative;display:flex;flex-wrap:wrap;align-items:center;padding-top:154px;background:linear-gradient(transparent 154px,rgba(111,5,8,.92) 154px)}
.brand{position:absolute;left:0;top:0;width:325px;height:154px}
.menu ul{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.menu a{display:block;padding:12px;color:#fff;font:bold 19px/1.2 Georgia,serif;text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.menu a:hover,.menu a:focus-visible{background:#dd4d21}
.menu [aria-current=page]{text-decoration:underline;text-underline-offset:4px}
.lang{margin-left:auto;padding:12px;color:#fff;font:bold 14px Georgia,serif}
@media (min-width:700px){
.site-header{display:block;height:154px;padding:0;background:none}
.menu{position:absolute;left:325px;top:60px}
.menu a{padding:6px 12px}
.lang{position:absolute;right:12px;top:62px;padding:6px 12px;background:rgba(111,5,8,.85);border-radius:4px;text-decoration:none}
}

.content{background:#dcd5d3;padding:20px 16px 40px}
.sidebar{background:#6f0508;color:#fff;padding:24px 16px 40px}
@media (min-width:1000px){
.cols{display:grid;grid-template-columns:650px 306px}
.content{border-radius:8px 8px 0 0;padding:30px 33px 60px 0;min-height:600px}
.sidebar{margin-top:33px;border-radius:8px 8px 0 0;padding:24px 0 40px}
}

.post{display:block}
.post+.post{margin-top:48px}
.bubble{float:right;margin:0 0 8px 12px}
.bubble{display:block;width:56px;text-align:center;text-decoration:none}
.bubble .n{display:block;height:50px;background:url(/assets/img/bubble.webp) no-repeat center top;color:#fff;font:italic bold 21px/42px Georgia,serif}
.bubble .l{display:block;font:italic 12px Georgia,serif;color:#9E070E}
@media (min-width:1000px){
.post{display:grid;grid-template-columns:107px minmax(0,1fr);padding-top:15px}
.post>:not(.bubble){grid-column:2}
.bubble{float:none;margin:0;grid-column:1;grid-row:1/span 2;justify-self:center}
}

h1,.post h2{margin:0;font:italic bold 24px/1.15 Georgia,serif;color:#9E070E}
.meta{margin:2px 0 0;font:italic bold 12px Georgia,serif;color:#505050}
.entry{margin-top:22px;overflow-wrap:anywhere}
.entry p{margin:0 0 .9em}
.entry h3{margin:1.4em 0 .5em;font:italic bold 17px Georgia,serif;color:#9E070E}
.entry a,.pager a,.comments a{color:#9E070E;font-weight:bold;font-style:italic}
.entry a:hover,.pager a:hover,.comments a:hover{text-decoration-thickness:2px}
.entry img{max-width:100%;height:auto}
.note{margin:16px 0 0;padding-left:8px;border-left:3px solid #9E070E;font-style:italic;color:#505050}

.video{margin:1em 0}
.video video{display:block;width:100%;height:auto;background:#000;border-radius:4px}
.video figcaption{font-size:12px;color:#505050;margin-top:4px}

.gallery{list-style:none;margin:1em 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.gallery img{display:block;width:100%;height:auto;border:3px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.35)}

.lightbox{padding:0;border:0;background:transparent;max-width:95vw;max-height:95vh;overflow:visible}
.lightbox::backdrop{background:rgba(0,0,0,.85)}
.lightbox img{display:block;max-width:95vw;max-height:85vh;width:auto;height:auto;border:4px solid #fff}
.lightbox button{position:fixed;min-width:44px;min-height:44px;border:0;border-radius:4px;background:rgba(111,5,8,.9);color:#fff;font:bold 28px Georgia,serif;cursor:pointer}
.lightbox .close{top:12px;right:12px}
.lightbox .prev{left:12px;top:50%;translate:0 -50%}
.lightbox .next{right:12px;top:50%;translate:0 -50%}

.more summary{margin:1em 0;cursor:pointer;color:#9E070E;font:italic bold 14px Georgia,serif}

.comments{margin-top:24px;padding-top:12px;border-top:1px solid rgba(158,7,14,.25)}
.comments h3{margin:0 0 8px;font:italic bold 16px Georgia,serif;color:#9E070E}
.comments ol{list-style:none;margin:0;padding:0}
.comments li{padding:12px 0;border-bottom:1px dotted rgba(0,0,0,.2)}
.comment-meta{margin:0 0 4px;font:italic 12px Georgia,serif;color:#505050}
.comment-meta .author{font-weight:bold;color:#222}

.pager{display:flex;justify-content:space-between;gap:12px;margin-top:40px;font:italic bold 14px Georgia,serif}
@media (min-width:1000px){
.pager{margin-left:107px}
}

.iam{display:block;width:100%;max-width:307px;height:auto;margin:0 auto}
.links h2{margin:24px 0 8px;height:32px;padding:3px 0 0 22px;background:#8B060B;font:italic bold 20px/29px Georgia,serif;color:#ffd9a0}
.links ul{list-style:none;margin:0;padding:0}
.links li{padding:5px 0 5px 24px;font-size:14px}
.links a{color:#fff;text-decoration:none}
.links a:hover,.links a:focus-visible{color:#ffd9a0;text-decoration:underline}

.site-footer{height:83px;display:flex;align-items:center;justify-content:center;color:#f8f7e5;font:italic 13px Georgia,serif}
.site-footer p{margin:0}

@media (prefers-reduced-motion:no-preference){
html{scroll-behavior:smooth}
}
