:root {
  --rk-accent: #0d6efd;
  --rk-text: #1f2937;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--rk-text);
  background-color: #fafafa;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.navbar {
  border-bottom: 3px solid var(--rk-accent);
}

/* Hero on home / about */
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.hero img {
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* Post grid cards */
.post-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}
.post-card .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef2f5;
}
.post-card .card-title a {
  color: inherit;
  text-decoration: none;
}
.post-card .card-title a:hover {
  color: var(--rk-accent);
}

/* Post detail prose */
.prose {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 65ch;
  color: var(--rk-text);
}
.prose p { margin-bottom: 1.25rem; }
.prose img { max-width: 100%; border-radius: 0.5rem; }

.post-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.post-meta {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Pagination tweaks */
.pagination .page-link { color: var(--rk-accent); }
.pagination .page-item.active .page-link {
  background-color: var(--rk-accent);
  border-color: var(--rk-accent);
}
