*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: #232b33;
  background: #f9f8f5;
}
a { color: #1d5f86; }
a:hover { color: #0d3a55; }
img, video { display: block; width: 100%; height: auto; border-radius: 8px; background: #dde3e6; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid #dfddd5; padding: 16px 0; }
header .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a { text-decoration: none; }
main { padding-top: 16px; padding-bottom: 40px; }
h1 { line-height: 1.2; font-size: 2rem; margin-bottom: 8px; }
h2 { line-height: 1.3; font-size: 1.35rem; margin-top: 32px; }
article { max-width: 760px; margin: 0 auto; }
.intro { font-size: 1.1rem; }
.meta { color: #66727c; font-size: 0.9rem; }
figure { margin: 24px 0; }
figcaption { font-size: 0.8rem; color: #66727c; margin-top: 4px; overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 0; list-style: none; }
.cards li { background: #fff; border: 1px solid #e4e2da; border-radius: 10px; overflow: hidden; }
.cards img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.cards div { padding: 12px 14px; }
.cards h3 { margin: 0 0 4px; font-size: 1.1rem; line-height: 1.3; }
.cards p { margin: 6px 0 0; font-size: 0.95rem; }
.note { background: #eaf1f3; border-radius: 8px; padding: 4px 16px; }
.more { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; }
footer { border-top: 1px solid #dfddd5; padding: 16px 0 32px; font-size: 0.9rem; color: #66727c; }
@media (max-width: 560px) {
  h1 { font-size: 1.6rem; }
  .cards { grid-template-columns: 1fr; }
}
