/* style.css — layout, colors, responsive rules */

:root{
  --accent:#2b6cb0;
  --muted:#6b7280;
  --bg:#f7f9fc;
  --card:#ffffff;
  --radius:10px;
}

/* Reset-ish */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#111827;
  line-height:1.45;
}

/* Header */
header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,0.95);
  border-bottom:1px solid rgba(16,24,40,0.06);
  backdrop-filter: blur(6px);
  z-index:20;
}
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:44px; height:44px; border-radius:10px;
  background:linear-gradient(135deg,#2b6cb0,#9f7aea);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:700; box-shadow:0 6px 18px rgba(43,108,176,0.12);
}
.site-name{ font-weight:700; }
.site-sub{ font-size:13px; }

/* Nav */
.nav-list{ list-style:none; margin:0; padding:0; display:flex; gap:8px; align-items:center; }
.nav-list a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 12px;
  border-radius:8px;
  font-weight:600;
}
.nav-list a:hover{ color:var(--accent); background:rgba(43,108,176,0.04); }
.nav-list a.active{ background:var(--accent); color:#fff; box-shadow:0 8px 20px rgba(43,108,176,0.12); }

/* Layout */
main{
  max-width:1100px;
  margin:26px auto;
  padding:0 18px 80px;
  display:grid;
  grid-template-columns: 1fr 300px;
  gap:22px;
}
.main-column{}
.sidebar{}
.panel{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 20px rgba(16,24,40,0.04);
}

/* Hero / home */
.hero{
  padding:28px;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(43,108,176,0.06), rgba(159,122,234,0.03));
}

/* Text */
.muted{ color:var(--muted); font-size:14px; }

/* Artwork grid */
.art-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}
.thumb{
  background:linear-gradient(180deg,#fff,#f7f9ff);
  border-radius:8px;
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:700;
  border:1px solid rgba(15,23,42,0.04);
  overflow:hidden;
}
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Sidebar content */
.card-title{ margin:0 0 8px 0; font-weight:700; color:#0f172a; }
.links{ margin:8px 0 0 0; padding:0; list-style:none; }
.links li{ margin:8px 0; }
.host-img{ width:100%; border-radius:8px; border:1px solid rgba(16,24,40,0.04); }

/* Footer */
footer{ margin:28px auto 40px; }
.footer-wrap{ padding:12px 18px; max-width:1100px; margin:0 auto; text-align:center; color:var(--muted); }

/* Utilities */
.spacer{ height:16px; }

/* Responsive */
@media (max-width:920px){
  main{ grid-template-columns: 1fr; }
  .art-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width:520px){
  .nav-list a{ padding:8px 10px; font-size:14px; }
  .thumb{ height:96px; }
}