/* SayBoot blog — minimal typography layered on top of main landing styles.css
 * Expects --cyan, --amber, and base body colors from styles.css. */

.blog-nav {
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-nav .brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cyan, #06b6d4);
}

.blog-nav .blog-back {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-nav .blog-back:hover { color: var(--cyan, #06b6d4); }

/* ─── Post page ───────────────────────────── */

.blog-post article {
  max-width: 720px;
  margin: 3.5rem auto 6rem;
  padding: 0 1.5rem;
}

.blog-post .post-header time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

.blog-post .post-header h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.blog-post .post-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 2.5rem;
}

.blog-post .post-body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.015em;
}

.blog-post .post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.blog-post .post-body p,
.blog-post .post-body li {
  line-height: 1.72;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.blog-post .post-body ul,
.blog-post .post-body ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.blog-post .post-body li { margin: 0.35rem 0; }

.blog-post .post-body a {
  color: var(--cyan, #06b6d4);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-post .post-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
}

.blog-post .post-body pre {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.25rem 0;
}

.blog-post .post-body pre code {
  background: transparent;
  padding: 0;
}

.blog-post .post-body strong { color: #fff; font-weight: 600; }

.blog-post .post-body table {
  border-collapse: collapse;
  margin: 1.25rem 0;
  width: 100%;
}

.blog-post .post-body th,
.blog-post .post-body td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.98rem;
}

.blog-post .post-body th { background: rgba(255, 255, 255, 0.05); font-weight: 600; }

.blog-post .post-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding-top: 2rem;
  text-align: center;
}

.blog-post .post-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.blog-post .cta-btn {
  display: inline-block;
  background: var(--cyan, #06b6d4);
  color: #000;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.blog-post .cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* ─── Index page ──────────────────────────── */

.blog-index .index-header {
  max-width: 720px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}

.blog-index .index-header h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
}

.blog-index .index-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0.75rem 0 0;
}

.blog-index .post-list {
  max-width: 720px;
  margin: 1.5rem auto 6rem;
  padding: 0 1.5rem;
  list-style: none;
}

.blog-index .post-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-index .post-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-index .post-list a:hover { color: var(--cyan, #06b6d4); }

.blog-index .post-list time {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
