/* ============================================
   PluckShot — What's New Page Styles
   Inherits most layout/typography from docs.css
   Adds per-release version badges and header styling
   ============================================ */

/* Version list in sidebar uses monospace for visual alignment */
.whats-new-toc a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ============================================
   RELEASE SECTION HEADER
   ============================================ */
.whats-new-release .release-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.release-version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4A9EFF;
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.4;
}

.whats-new-release .release-header h2 {
  margin-bottom: 0;
}

/* Summary line right under the header — italic, softer color */
.whats-new-release .release-summary {
  font-size: 1rem;
  font-style: italic;
  color: #6b6b75;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Tighter section spacing than docs page — release notes are shorter */
.whats-new-release + .whats-new-release {
  margin-top: 32px;
  padding-top: 32px;
}

/* Section sub-headers (New / Improved / Fixed) — smaller, uppercase-ish */
.whats-new-release h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b75;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* First h3 after the release-summary or header — reduce top margin */
.whats-new-release .release-summary + h3,
.whats-new-release .release-header + h3 {
  margin-top: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .whats-new-release .release-header {
    gap: 10px;
  }

  .release-version {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
}
