* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202124; background: #fff; }
body { margin: 0; line-height: 1.65; }
a { color: #2857a4; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid #ddd; padding: 18px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-title { font-weight: 700; color: inherit; }
nav { display: flex; gap: 20px; }
main { padding: 42px 0 70px; }
h1 { line-height: 1.15; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 16px; }
h2 { line-height: 1.25; margin-top: 42px; }
h3 { margin-bottom: 6px; }
.lead { font-size: 1.2rem; color: #555; max-width: 800px; }
.breadcrumbs { font-size: .9rem; color: #666; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { border: 1px solid #ddd; border-radius: 10px; padding: 22px; background: #fafafa; }
.card h2, .card h3 { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 28px 0; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { background: #eee; border-radius: 999px; padding: 4px 11px; font-size: .85rem; }
.empty { color: #777; font-style: italic; }
.site-footer { border-top: 1px solid #ddd; padding: 28px 0; color: #666; font-size: .9rem; }
@media (max-width: 650px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  nav { gap: 14px; }
  .container { width: min(100% - 28px, 1080px); }
}
