/* wpgdata pkgdown custom styles
   Mirrors the colour palette and feel of myominnoo.github.io
   Place this file at: pkgdown/extra.css
*/

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Hero / home page ────────────────────────────────────────────────────── */
.jumbotron, .template-home .contents > p:first-child {
  text-align: center;
}

/* ── Headings ────────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 700;
}

h2 {
  border-bottom: 2px solid #C0392B;
  padding-bottom: 0.25rem;
  margin-top: 2rem;
}

/* ── Reference page cards ────────────────────────────────────────────────── */
.ref-index h2 {
  color: #2C3E50;
}

.ref-index .desc {
  color: #555;
}

/* ── Code blocks ─────────────────────────────────────────────────────────── */
pre, code {
  border-radius: 4px;
}

pre.sourceCode {
  border-left: 3px solid #C0392B;
}

/* ── Sidebar links ───────────────────────────────────────────────────────── */
.sidebar .links a {
  color: #C0392B;
  font-weight: 500;
}

.sidebar .links a:hover {
  color: #962d22;
  text-decoration: underline;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
  color: #6c757d;
  font-size: 0.875rem;
}