/* ═══════════════════════════════════════
   PAWFORMANCE VICTORIA — BLOG (2026-07-15)
   Uses theme.css brand tokens (--forest, --orange, --cream, etc.)
   ═══════════════════════════════════════ */

/* ── INDEX ───────────────────────────────── */
.blog-index {
  background: var(--cream);
  max-width: 1080px;
  margin: 0 auto 80px;
  padding: 48px 48px 0;
}

.blog-index h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.blog-list {}

.blog-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.blog-row:last-child { border-bottom: none; }

.blog-row-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
}

.blog-row-body {}

.blog-row h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
.blog-row h2 a {
  color: var(--text);
  transition: color 0.2s;
}
.blog-row:hover h2 a { color: var(--orange); }

.blog-row-excerpt {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 64ch;
}

.blog-row-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-row-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.blog-cta:hover { background: #d66a18; }

.blog-empty {
  padding: 48px 0 24px;
  text-align: center;
  color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.blog-newsletter {
  background: var(--black);
  color: var(--cream);
  margin: 56px 0 0;
  padding: 28px 32px;
  border-top: 3px solid var(--orange);
  border-radius: 16px;
}
.blog-newsletter-status {
  margin: 0 0 0;
  padding: 0 32px;
  background: var(--black);
  border-radius: 0 0 16px 16px;
}

/* ── SINGLE POST ─────────────────────────── */
.blog-post {
  background: var(--cream);
  max-width: 720px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.blog-post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.blog-post-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.blog-post-hero {
  margin: 40px 0;
}
.blog-post-hero img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
}

.blog-post-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
}
.blog-post-body p {
  margin: 0 0 1.4em;
}
.blog-post-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 2em 0 0.6em;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.blog-post-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 1.6em 0 0.5em;
  color: var(--forest);
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 1.4em 1.4em;
}
.blog-post-body ul { list-style: disc; }
.blog-post-body ol { list-style: decimal; }
.blog-post-body li {
  margin-bottom: 0.5em;
  padding-left: 4px;
}
.blog-post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 8px 0 8px 20px;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.blog-post-body img {
  width: 100%;
  border-radius: 12px;
  margin: 1.6em 0;
  border: 1px solid var(--border);
}
.blog-post-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.blog-post-body a:hover { color: #d66a18; }

.blog-rainy-day-checklist {
  margin-top: 48px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--forest);
  border-radius: 12px;
  color: var(--text);
}
.blog-rainy-day-checklist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.blog-rainy-day-checklist .section-label { margin-bottom: 8px; }
.blog-rainy-day-checklist h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--forest);
}
.blog-rainy-day-checklist-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.blog-rainy-day-checklist-print {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  background: var(--cream);
  color: var(--forest);
  font: 600 0.86rem 'DM Sans', sans-serif;
  cursor: pointer;
}
.blog-rainy-day-checklist-print:hover {
  background: var(--forest);
  color: #fff;
}
.blog-rainy-day-checklist-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-rainy-day-checklist-list label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
}
.blog-rainy-day-checklist-list input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.16rem;
  accent-color: var(--forest);
}
.blog-rainy-day-checklist-list input:focus-visible,
.blog-rainy-day-checklist-print:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.blog-back-link {
  display: inline-block;
  margin-top: 48px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-back-link:hover { color: var(--orange); }

.blog-post-cta-block {
  background: var(--black);
  color: var(--cream);
  padding: 56px 32px;
  border-radius: 16px;
  margin-top: 64px;
  text-align: center;
}
.blog-post-cta-block h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.blog-post-cta-block p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247,247,245,0.65);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ── MOBILE ───────────────────────────────── */
@media (max-width: 768px) {
  .blog-index {
    margin: 100px auto 60px;
    padding: 0 24px;
  }
  .blog-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .blog-row-date { padding-top: 0; }
  .blog-row h2 { font-size: 1.35rem; }
  .blog-row-excerpt { font-size: 0.95rem; }

  .blog-post {
    margin: 100px auto 60px;
    padding: 0 20px;
  }
  .blog-post-body { font-size: 1.05rem; line-height: 1.7; }
  .blog-post-cta-block { padding: 40px 24px; margin-top: 48px; border-radius: 12px; }
  .blog-newsletter { margin-top: 40px; padding: 24px 20px; border-radius: 12px; }
  .blog-newsletter-status { padding: 0 20px; border-radius: 0 0 12px 12px; }
  .blog-newsletter-row { flex-direction: column; }
  .blog-newsletter button { padding: 12px 18px; }
  .blog-rainy-day-checklist { margin-top: 40px; padding: 20px; }
  .blog-rainy-day-checklist-head { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .blog-index { padding: 0 20px; }
  .blog-post { padding: 0 16px; }
  .blog-row-meta { gap: 12px; }
}

/* ── V2 — TOPIC CHIPS, INDEX HERO, INLINE CTA ─
   Appended 2026-07-17 — pre-launch /blog section. */

/* Index hero strip — dark (#111111) per brand spec; sits ABOVE cream body. */
.blog-index-hero {
  background: var(--black);
  color: var(--cream);
  padding: 120px 48px 72px;
  margin-top: 0;
}
.blog-index-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.blog-index-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 14px 0 18px;
}
.blog-index-hero h1 em {
  font-style: italic;
  color: var(--orange);
}
.blog-index-lede {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(247, 247, 245, 0.78);
  max-width: 64ch;
  margin-top: 12px;
}
.section-label--inverse {
  color: var(--orange);
}
.section-divider--inverse {
  background: var(--forest);
  width: 64px;
  height: 3px;
  margin: 18px 0 8px;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(247, 247, 245, 0.28);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.topic-chip:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.topic-chip--active,
.topic-chip--active:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.topic-chip-count {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.7rem;
  font-weight: 700;
}
.topic-chip--active .topic-chip-count {
  background: rgba(0, 0, 0, 0.2);
}

.blog-index-topic-context {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 8px 0 18px;
}
.blog-index-clear {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}
.blog-index-clear:hover { text-decoration: underline; }

/* Above-the-fold waitlist strip on single post — mirrors .blog-post-cta-block. */
.blog-post-cta-inline {
  background: #fff;
  border-left: 4px solid var(--orange);
  padding: 22px 26px;
  margin: 32px 0 8px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.blog-post-cta-inline p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  color: var(--text);
  flex: 1 1 320px;
}
.blog-post-cta-inline .hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.blog-post-cta-inline .hero-cta:hover { background: #d66a18; }

.blog-post-readtime {
  display: inline-block;
  margin-left: 4px;
}
.blog-post-tags {
  display: inline-block;
  margin-left: 4px;
}
.blog-post-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.08);
  margin-right: 6px;
  transition: background 0.2s, color 0.2s;
}
.blog-post-tag:hover {
  background: var(--forest);
  color: var(--cream);
}
.blog-post-tag-sep { display: none; }

@media (max-width: 768px) {
  .blog-index-hero { padding: 100px 24px 56px; }
  .blog-index-hero h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
  .blog-index-lede { font-size: 1rem; }
  .topic-chips { margin-top: 28px; }
  .topic-chip { font-size: 0.78rem; padding: 6px 12px; }
  .blog-post-cta-inline { padding: 18px 18px; }
  .blog-post-cta-inline p { font-size: 0.95rem; }
  .blog-post-meta { line-height: 1.55; }
}

/* ── V3 — PAGINATION (prev/next archive + range)
   Appended when /blog gained 9-per-page pagination. */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 81, 50, 0.18);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}
.blog-pagination a { color: var(--forest); font-weight: 600; text-decoration: none; }
.blog-pagination a:hover { color: var(--orange); }
.blog-pagination-range { color: rgba(17, 17, 17, 0.62); text-align: center; flex: 1; }
.blog-pagination-prev--disabled, .blog-pagination-next--disabled { opacity: 0.32; }
@media (max-width: 600px) {
  .blog-pagination { flex-direction: column; text-align: center; }
  .blog-pagination-range { order: -1; }
}

/* ── V4 — SERIES CARDS ────────────────────────────────
   Appended when /blog index gained topic-series clusters. Each
   <section class="blog-series"> wraps an existing .blog-list so
   the inner .blog-row cards keep their grid/layout untouched. */
.blog-series { margin-top: 56px; }
.blog-series:first-of-type { margin-top: 24px; }

.blog-series-head { margin-bottom: 24px; }

.blog-series-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 8px;
}

.blog-series-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 64ch;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .blog-series { margin-top: 36px; }
  .blog-series:first-of-type { margin-top: 16px; }
  .blog-series-title { font-size: 1.4rem; }
  .blog-series-head { margin-bottom: 18px; }
}

/* ── V5 — POST SHARE STRIP ────────────────────────────────
   Appended 2026-08-23 — end-of-post share affordances for
   /blog/[slug]. Tokens pulled from theme.css (--forest,
   --orange, --cream, --cream-light, --text, --text-muted,
   --border). */

.blog-post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 48px 0 8px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.blog-post-share-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-share-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.blog-share-btn--x:hover { background: var(--forest); border-color: var(--forest); }
.blog-share-btn--fb:hover { background: var(--orange); border-color: var(--orange); }
.blog-share-btn svg { display: block; }
.blog-post-share-toast {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(15, 81, 50, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .blog-post-share { gap: 10px; padding: 16px 16px; }
  .blog-share-btn { font-size: 0.85rem; padding: 8px 14px; }
}

@media print {
  @page { size: letter; margin: 0.6in; }

  html,
  body {
    background: #fff;
  }

  .blog-rainy-day-page > .nav,
  .blog-rainy-day-page > .footer {
    display: none !important;
  }

  .blog-rainy-day-page .blog-post {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .blog-rainy-day-page .blog-post > :not(.blog-rainy-day-checklist) {
    display: none !important;
  }

  .blog-rainy-day-page .blog-rainy-day-checklist {
    display: block;
    margin: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #1a1a18;
    border-top: 3px solid #0f5132;
    border-radius: 0;
    color: #1a1a18;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .blog-rainy-day-page .blog-rainy-day-checklist .section-label,
  .blog-rainy-day-page .blog-rainy-day-checklist h2,
  .blog-rainy-day-page .blog-rainy-day-checklist-note,
  .blog-rainy-day-page .blog-rainy-day-checklist-list label {
    color: #1a1a18;
  }

  .blog-rainy-day-page .blog-rainy-day-checklist-print {
    display: none;
  }
}
