:root{
  --max: 980px;
  --pad: 20px;
  --text: #111;
  --muted: #555;
  --border: #e6e6e6;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
}
a{ color: inherit; text-underline-offset: 3px; }
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

header{
  border-bottom: 1px solid var(--border);
  position: sticky;
  top:0;
  background: #fff;
}
.nav{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.nav a.brand{
  font-weight: 700;
  text-decoration:none;
}
.nav .links{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}
.nav .links a{
  text-decoration:none;
  padding: 6px 10px;
  border-radius: 10px;
}
.nav .links a:hover{
  background:#f4f4f4;
}

.hero{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 28px 0;
  align-items:center;
}
.hero img{
  width:160px; height:160px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.hero h1{ margin:0 0 6px; font-size: 28px; }
.hero p{ margin: 10px 0; color: var(--muted); }

.badges{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 10px;
}
.badges a{
  display:inline-flex;
  gap:8px;
  align-items:center;
  text-decoration:none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 14px;
}
.badges img{ width:18px; height:18px; object-fit:contain; }

.section{ padding: 10px 0 30px; }
.section h2{ margin: 0 0 10px; font-size: 20px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border:1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
}
.card img{
  width:100%;
  height:150px;
  object-fit: cover;
  display:block;
}
.card .content{ padding: 12px; }
.card .title{ font-weight: 650; margin:0 0 4px; }
.card .meta{ margin:0; color: var(--muted); font-size: 14px; }

footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px){
  .hero{ grid-template-columns: 1fr; }
  .hero img{ width:140px; height:140px; }
  .grid{ grid-template-columns: 1fr; }
}
