/* ============================================================
   LAYOUT & STRUCTURE
   ============================================================ */

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
html,
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Shell ── */
.shell {
  position: relative;
  z-index: 1;
  padding-top: var(--topbar-h);
}

/* ── Container ── */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

@media (max-width: 860px) {
  .main-wrap {
    grid-template-columns: 1fr;
  }
}

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + 52px);
  height: fit-content;
}

/* ── Buttons ── */
.btn {
  padding: 0.45rem 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-decoration: none;
  display: inline-block;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover {
  background: var(--gold-l);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink3);
  border: 1px solid #ccc;
}
.btn-outline-dark:hover {
  border-color: #888;
  color: var(--ink);
}

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#no-results {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}