body { line-height: 1.7; }

.page-header {
  text-align: center; padding: 2.5rem 1.5rem 1rem;
}
.page-header h1 { font-family: "Instrument Serif", Georgia, serif; font-size: 2rem; font-weight: 400; margin-bottom: 0.25rem; color: var(--navy); letter-spacing: -0.02em; }
.page-header p { color: var(--muted); font-size: 1rem; }
.container { max-width: 1120px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.search-box {
  width: 100%; padding: 0.75rem 1rem; font-size: 1rem;
  font-family: "Geist", sans-serif;
  border: 1px solid rgba(124, 58, 237, 0.12); border-radius: 10px; outline: none;
  margin-bottom: 2rem; transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.search-box:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08); }
.search-status {
  margin: -1.25rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.5rem;
}
.post-card {
  border: 1px solid rgba(124, 58, 237, 0.08); border-radius: 14px; padding: 0.9rem;
  margin-bottom: 1.25rem; background: white;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.post-card:hover {
  box-shadow: 0 8px 28px -12px rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
}
.post-card a {
  text-decoration: none; color: inherit; display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.35rem; align-items: center;
}
.post-card-image {
  width: 220px; height: 116px; object-fit: cover;
  border-radius: 10px; display: block; background: var(--lavender-deep);
}
.post-card-copy { min-width: 0; padding: 0.1rem 0.15rem 0.1rem 0; }
.post-card h2 {
  font-family: "Instrument Serif", serif; font-size: 1.55rem; font-weight: 400;
  color: var(--navy); margin-bottom: 0.35rem; letter-spacing: -0.01em; line-height: 1.2;
}
.post-card .meta { font-size: 1rem; color: var(--violet); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.post-card .excerpt {
  color: var(--muted); font-size: 1.05rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 1280px) {
  .container { max-width: 1240px; }
}
.no-results {
  text-align: center; color: var(--muted-soft); padding: 2rem 0;
  display: none; font-size: 1.05rem;
}

@media (max-width: 700px) {
  .page-header h1 { font-size: 1.5rem; }
  .container { padding: 1.5rem 1rem 2.5rem; }
  .search-status { margin: -1.1rem 0 1.1rem; font-size: 0.9rem; }
  .post-card { padding: 0.8rem; }
  .post-card a { grid-template-columns: 1fr; gap: 0.8rem; align-items: start; }
  .post-card-image { width: 100%; height: auto; aspect-ratio: 1200 / 630; }
  .post-card h2 { font-size: 1.08rem; }
  .post-card .meta { font-size: 0.88rem; margin-bottom: 0.25rem; }
  .post-card .excerpt { font-size: 0.92rem; -webkit-line-clamp: 3; }
  .post-card-copy { padding: 0; }
}
