:root { --ink:#222; --muted:#666; --accent:#7a2e1c; --panel:rgba(255,255,255,.88); }
* { box-sizing: border-box; }
html { background: #556 url(/images/site_design/background.jpg) no-repeat center center fixed; background-size: cover; }
body { margin: 0; font: 17px/1.6 Georgia, "Times New Roman", serif; color: var(--ink); }
.wrap { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
header, .layout, footer { background: var(--panel); border-radius: 6px; padding: 16px 24px; margin-bottom: 12px; }
.brand { font-family: "Special Elite", monospace; font-size: 2rem; color: var(--ink); text-decoration: none; }
h1, h2, h3 { font-family: "Special Elite", monospace; font-weight: normal; line-height: 1.25; }
a { color: var(--accent); }
.layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { padding-left: 30px; background: url(/images/site_design/prop-bullet.svg) no-repeat 0 .5em; background-size: 20px; line-height: 30px; }
.menu li.active a { font-weight: bold; }
.menu a { text-decoration: none; }
main img { max-width: 100%; height: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 1em 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 3px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cards a { display: block; text-decoration: none; color: var(--ink); }
.cards img, .cards .noimg { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; display: block; background: #ccc; }
.cards span { display: block; padding-top: 4px; font-family: "Special Elite", monospace; }
.list { list-style: none; padding: 0; } .list li { margin-bottom: 1em; } .list p { margin: .2em 0; color: var(--muted); }
.pager { display: flex; justify-content: space-between; margin-top: 2em; }
.todo { color: var(--muted); font-style: italic; }
footer { display: flex; justify-content: space-between; font-size: .9rem; }
@media (max-width: 720px) { .layout { grid-template-columns: 1fr; gap: 8px; } .menu { display: flex; flex-wrap: wrap; gap: 0 16px; } }
.gallery a.is-video { position: relative; display: block; }
.gallery a.is-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
