:root { --bg: #f7fbff; --card: #ffffff; --text: #14212e; --muted: #5b6b7b; --accent: #0b7bc1; --line: #dbe7f1; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
header.site, footer.site { max-width: 1080px; margin: 0 auto; padding: 20px 16px; }
header.site { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.logo { font-weight: 700; font-size: 27px; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }
.intro { max-width: 720px; margin: 8px 0 32px; font-size: 19px; color: var(--muted); }
h1 { font-size: 36px; line-height: 1.2; margin: 12px 0; }
h2 { font-size: 24px; line-height: 1.3; margin: 36px 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.card p { margin: 0; padding: 12px 14px 14px; font-size: 15px; line-height: 1.5; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.teaser { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--text); text-decoration: none; }
.teaser:hover { border-color: var(--accent); }
.teaser strong { display: block; font-size: 19px; margin-bottom: 6px; color: var(--accent); }
article { max-width: 720px; }
article img { display: block; width: 100%; height: auto; border-radius: 12px; margin: 24px 0 6px; }
article figure { margin: 0; }
article figcaption { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.meta { color: var(--muted); font-size: 15px; }
.credits { font-size: 14px; line-height: 1.5; padding-left: 20px; }
.credits li { margin-bottom: 6px; overflow-wrap: anywhere; }
.notfound { text-align: center; padding: 40px 0; }
.notfound img { width: min(420px, 100%); height: auto; border-radius: 12px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { body { font-size: 16px; } h1 { font-size: 28px; } .card img { height: 200px; } }
