/* Navbar styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #18181b;
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-title {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar-title-amply {
  color: #444;
  font-weight: bold;
}

.navbar-title-green {
  color: #8cc63f;
  font-weight: bold;
}
.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex: 1 1 auto;
}
.navbar-menu li a {
  color: #18181b;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.2s;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.navbar-menu li a.active,
.navbar-menu li a[aria-current="page"] {
  font-weight: 700;
  color: #18181b;
  background: #f3f4f6;
}
.navbar-menu li a:hover {
  color: #38bdf8;
  background: #f1f5f9;
}
.navbar-access {
  background: #ef4444;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  margin-left: 1rem;
  font-size: 1rem;
}
.navbar-access:hover {
  background: #dc2626;
}

/* Post grid styles */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}

/* Post card styles */
.post-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 420px;
}
.post-card:hover {
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
  transform: translateY(-4px) scale(1.01);
}
.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f3f4f6;
}
.post-meta {
  margin: 1rem 1.5rem 0.5rem 1.5rem;
}
.post-category {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
  border-radius: 4px;
  padding: 0 0.4em;
}
.post-category,
.post-category-academic {
  color: #14b8a6;
}
.post-category-hugo {
  color: #22c55e;
}
.post-title {
  margin: 0 1.5rem 0.5rem 1.5rem;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.post-title a {
  color: #18181b;
  text-decoration: none;
  transition: color 0.2s;
}
.post-title a:hover {
  color: #38bdf8;
}
.post-summary {
  margin: 0 1.5rem 1rem 1.5rem;
  color: #52525b;
  font-size: 1.08rem;
  flex: 1 1 auto;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1.5rem 1.2rem 1.5rem;
  font-size: 1.01rem;
  color: #71717a;
}
.author-avatar {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  background: #f3f4f6;
}
.author-name {
  font-weight: 500;
  color: #18181b;
}
.post-date {
  margin-left: 0.7rem;
  font-size: 0.98rem;
  color: #a1a1aa;
  position: relative;
}
.post-date::before {
  content: "•";
  color: #d1d5db;
  margin-right: 0.6rem;
  font-size: 1.1em;
  vertical-align: middle;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .post-image {
    height: 170px;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .post-card {
    min-height: 340px;
  }
  .post-image {
    height: 140px;
  }
}
body {
  background: #f8fafc;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
