/* Shared layout styles for /notes/ project pages */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.back-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
}

.hero {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 48px);
  margin-bottom: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-button,
.ghost-button {
  font-size: 13px;
  border-radius: 999px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid var(--border);
  text-decoration: none;
  font-family: inherit;
}

main {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

section h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.muted {
  color: var(--muted);
}

ul {
  margin: 10px 0 0 18px;
  color: var(--muted);
}
