html, body { min-height: 100%; }
.home-link { position: absolute; inset: 0 0 38px; z-index: 2; }
.art-nav { z-index: 20; }
.art-hmenu { position: relative; z-index: 21; }
.art-hmenu li span { display: block; height: 34px; padding: 0 12px; color: #4e2d22; cursor: default; font: 15px/34px 'Palatino Linotype', Georgia, 'Times New Roman', serif; text-transform: uppercase; }
.art-layout-wrapper { min-height: 180px; }
.art-postcontent { overflow-wrap: anywhere; }
.art-postcontent img { max-width: calc(100% - 14px); height: auto; }
.art-postcontent table { max-width: 100%; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  body { min-width: 320px; }
  #art-main { overflow: visible; }
  .art-sheet { width: min(950px, 100%); }
  .art-header { height: auto; min-height: 300px; aspect-ratio: 950 / 454; background-size: cover; }
  .art-nav { display: none; }
  .home-link { inset: 0; }
  .mobile-nav { display: block; position: absolute; right: 14px; bottom: 14px; z-index: 40; }
  .mobile-nav > summary { display: grid; place-items: center; box-sizing: border-box; width: 48px; height: 44px; list-style: none; cursor: pointer; color: #fff8ec; background: #4e2d22; border: 1px solid rgba(255,248,236,.32); border-radius: 4px; box-shadow: 0 2px 8px rgba(50,25,15,.28); }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav-icon, .mobile-nav-icon::before, .mobile-nav-icon::after { display: block; width: 24px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
  .mobile-nav-icon { position: relative; }
  .mobile-nav-icon::before, .mobile-nav-icon::after { content: ""; position: absolute; left: 0; }
  .mobile-nav-icon::before { top: -8px; }
  .mobile-nav-icon::after { top: 8px; }
  .mobile-nav[open] .mobile-nav-icon { background: transparent; }
  .mobile-nav[open] .mobile-nav-icon::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] .mobile-nav-icon::after { top: 0; transform: rotate(-45deg); }
  .mobile-nav-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .mobile-nav > div { position: absolute; right: 0; width: min(340px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; padding: 8px; background: #f8dfc4; border: 1px solid #b7895a; box-shadow: 0 8px 22px rgba(50,25,15,.3); }
  .mobile-nav a, .mobile-nav summary { display: block; padding: 8px 10px; color: #4e2d22; text-decoration: none; }
  .mobile-nav details > div { padding-left: 14px; border-left: 2px solid #dfb372; }
  .art-layout-wrapper { margin-top: 22px; }
  .art-post { padding: 12px; }
  .art-postcontent { text-align: left; }
  .art-postcontent table { display: block; overflow-x: auto; }
}

@media (max-width: 600px) {
  .art-header { min-height: 210px; }
  .art-postcontent { font-size: 15px; }
}

