/* Therapist starter — blog stylesheet (scoped under body.starter-therapist). */
/* Loaded only on blog contexts (is_home / is_single / is_archive / is_search) */
/* AFTER site.css. Tokens, body font, and chrome live in site.css. */

/* --- Container / shell ----------------------------------------------- */
body.starter-therapist .bp-blog { color: var(--t-ink); background: var(--t-cream); }
body.starter-therapist .bp-container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
body.starter-therapist .bp-container--narrow { max-width: 760px; }

/* --- Blog hero (home.php / archive.php / search.php) ----------------- */
body.starter-therapist .bp-blog-hero {
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--t-cream);
  text-align: center;
}
body.starter-therapist .bp-blog-hero .bp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-terra);
  margin: 0;
  opacity: 0;
  animation: bp-th-fade .9s var(--t-ease) .05s forwards;
}
body.starter-therapist .bp-blog-hero .bp-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  transform-origin: left;
  animation: bp-th-rule-in .9s var(--t-ease) .05s both;
}
body.starter-therapist .bp-blog-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: var(--t-ink);
  margin: 1.5rem 0 0;
  font-optical-sizing: auto;
  opacity: 0;
  text-wrap: balance;
  animation: bp-th-fade .9s var(--t-ease) .2s forwards;
}
body.starter-therapist .bp-blog-lede {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--t-muted);
  max-width: 44ch;
  margin: 1.75rem auto 0;
  font-optical-sizing: auto;
  opacity: 0;
  animation: bp-th-fade .9s var(--t-ease) .35s forwards;
}
body.starter-therapist .bp-search-query {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-style: italic;
  color: var(--t-terra);
}

@keyframes bp-th-fade { to { opacity: 1; } }
@keyframes bp-th-rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Article list section (archive page) ---------------------------- */
body.starter-therapist .bp-article-list-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--t-cream);
}
body.starter-therapist .bp-article-list { display: grid; gap: 0; }

/* Editorial row: full-width hairline rule, big Newsreader title, terracotta hover arrow */
body.starter-therapist .bp-article-card {
  border-top: 1px solid var(--t-border);
  background: transparent;
  transition: padding-left .4s var(--t-ease);
}
body.starter-therapist .bp-article-card:first-of-type { border-top: 0; }
body.starter-therapist .bp-article-card:last-of-type { border-bottom: 1px solid var(--t-border); }

body.starter-therapist .bp-article-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta    more"
    "title   more"
    "excerpt more";
  column-gap: clamp(1rem, 3vw, 2.5rem);
  row-gap: 0;
  align-items: start;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  text-decoration: none;
  color: inherit;
}
body.starter-therapist .bp-article-card-link .bp-article-meta    { grid-area: meta; }
body.starter-therapist .bp-article-card-link .bp-article-title   { grid-area: title; }
body.starter-therapist .bp-article-card-link .bp-article-excerpt { grid-area: excerpt; }
body.starter-therapist .bp-article-card-link .bp-article-more    { grid-area: more; align-self: center; }
@media (max-width: 720px) {
  body.starter-therapist .bp-article-card-link {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "excerpt"
      "more";
    row-gap: .25rem;
  }
  body.starter-therapist .bp-article-card-link .bp-article-more { align-self: start; }
}

body.starter-therapist .bp-article-card:hover { padding-left: .5rem; }
body.starter-therapist .bp-article-card:hover .bp-article-title { color: var(--t-terra); }
body.starter-therapist .bp-article-card:hover .bp-article-more { color: var(--t-terra); }
body.starter-therapist .bp-article-card:hover .bp-article-more .bp-arrow { transform: translateX(4px); }

body.starter-therapist .bp-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 .75rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-subtle);
}
body.starter-therapist .bp-article-cat { color: var(--t-terra); }
body.starter-therapist .bp-meta-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: .5;
}
body.starter-therapist .bp-article-date,
body.starter-therapist .bp-article-read { color: var(--t-subtle); }

body.starter-therapist .bp-article-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--t-ink);
  margin: 0 0 .65rem;
  font-optical-sizing: auto;
  text-wrap: balance;
  transition: color .3s var(--t-ease);
}
body.starter-therapist .bp-article-excerpt {
  max-width: 60ch;
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-muted);
}
body.starter-therapist .bp-article-more {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--t-ink);
  white-space: nowrap;
  transition: color .3s var(--t-ease);
}
body.starter-therapist .bp-article-more .bp-arrow {
  color: var(--t-terra);
  transition: transform .4s var(--t-ease);
  display: inline-block;
}

/* --- Pagination ------------------------------------------------------- */
body.starter-therapist .bp-pagination {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
}
body.starter-therapist .bp-pagination .nav-links,
body.starter-therapist .bp-pagination > div {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
body.starter-therapist .bp-pagination a,
body.starter-therapist .bp-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .65rem;
  border-radius: 999px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--t-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: color .3s var(--t-ease), background .3s var(--t-ease), border-color .3s var(--t-ease);
}
body.starter-therapist .bp-pagination a:hover {
  color: var(--t-terra);
  border-color: var(--t-border);
}
body.starter-therapist .bp-pagination .current {
  color: var(--t-cream);
  background: var(--t-terra);
  border-color: var(--t-terra);
}
body.starter-therapist .bp-pagination .prev,
body.starter-therapist .bp-pagination .next {
  color: var(--t-terra);
  font-weight: 600;
  padding: 0 1rem;
}
body.starter-therapist .bp-pagination .bp-arrow { font-style: normal; }

/* --- Empty state ------------------------------------------------------ */
body.starter-therapist .bp-empty-state {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
}
body.starter-therapist .bp-empty-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.018em;
  color: var(--t-ink);
  margin: 1.25rem 0 .75rem;
  font-optical-sizing: auto;
}
body.starter-therapist .bp-empty-body {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--t-muted);
  margin: 0;
  font-optical-sizing: auto;
}

/* --- Single post hero ------------------------------------------------- */
body.starter-therapist .bp-single { background: var(--t-cream); }
body.starter-therapist .bp-single-hero {
  padding: clamp(4rem, 9vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--t-cream);
}
body.starter-therapist .bp-back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--t-terra);
  margin: 0 0 2.25rem;
  transition: gap .3s var(--t-ease);
}
body.starter-therapist .bp-back-link:hover { gap: .65rem; }
body.starter-therapist .bp-back-link .bp-arrow { display: inline-block; }

body.starter-therapist .bp-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-subtle);
}
body.starter-therapist .bp-single-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  letter-spacing: -0.022em;
  line-height: 1.06;
  color: var(--t-ink);
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
  opacity: 0;
  animation: bp-th-fade .9s var(--t-ease) .2s forwards;
}

body.starter-therapist .bp-single-featured {
  padding: clamp(1rem, 3vw, 2rem) 0 0;
}
body.starter-therapist .bp-single-featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow:
    0 1px 2px rgba(31, 27, 23, 0.05),
    0 30px 60px -25px rgba(31, 27, 23, 0.28);
}

/* --- Single post body / reading column ------------------------------- */
body.starter-therapist .bp-single-body {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
body.starter-therapist .bp-single-body .bp-container {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--t-muted);
}
body.starter-therapist .bp-single-body p {
  margin: 0 0 1.4rem;
  color: var(--t-muted);
}
body.starter-therapist .bp-single-body p:first-of-type {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--t-muted);
  font-optical-sizing: auto;
  margin: 0 0 2rem;
}
body.starter-therapist .bp-single-body h2 {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--t-ink);
  margin: 2.5rem 0 1rem;
  font-optical-sizing: auto;
  text-wrap: balance;
}
body.starter-therapist .bp-single-body h3 {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--t-ink);
  margin: 2rem 0 .75rem;
  font-optical-sizing: auto;
}
body.starter-therapist .bp-single-body a {
  color: var(--t-terra);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 84, 58, 0.35);
  transition: border-color .3s var(--t-ease);
}
body.starter-therapist .bp-single-body a:hover { border-bottom-color: var(--t-terra); }
body.starter-therapist .bp-single-body strong { color: var(--t-ink); font-weight: 600; }
body.starter-therapist .bp-single-body em { font-style: italic; color: var(--t-ink); }
body.starter-therapist .bp-single-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 2rem;
  border-left: 1px solid var(--t-terra);
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--t-ink);
  font-optical-sizing: auto;
}
body.starter-therapist .bp-single-body blockquote p { color: var(--t-ink); margin: 0; }
body.starter-therapist .bp-single-body code {
  background: var(--t-cream-alt);
  padding: .15em .4em;
  border-radius: 3px;
  font-size: .92em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
body.starter-therapist .bp-single-body pre {
  background: var(--t-ink);
  color: var(--t-cream);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: .9rem;
  line-height: 1.6;
}
body.starter-therapist .bp-single-body pre code { background: transparent; padding: 0; color: inherit; }
body.starter-therapist .bp-single-body ul,
body.starter-therapist .bp-single-body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
body.starter-therapist .bp-single-body li { margin-bottom: .5rem; }
body.starter-therapist .bp-single-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.75rem 0;
}
body.starter-therapist .bp-single-body hr {
  border: 0;
  height: 1px;
  background: var(--t-terra);
  width: 48px;
  margin: 2.5rem 0;
}

/* --- Tag pills -------------------------------------------------------- */
body.starter-therapist .bp-single-tags {
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}
body.starter-therapist .bp-single-tags .bp-container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
body.starter-therapist .bp-tag {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: var(--t-muted);
  text-decoration: none;
  padding: .4rem .85rem;
  border: 1px solid var(--t-border);
  border-radius: 999px;
  transition: border-color .3s var(--t-ease), color .3s var(--t-ease);
}
body.starter-therapist .bp-tag:hover {
  color: var(--t-terra);
  border-color: rgba(176, 84, 58, 0.4);
}

/* --- Related posts (single.php) -------------------------------------- */
body.starter-therapist .bp-related {
  background: var(--t-cream-alt);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--t-border);
}
body.starter-therapist .bp-related-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
}
body.starter-therapist .bp-related-header .bp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-terra);
  margin: 0 0 .9rem;
}
body.starter-therapist .bp-related-header .bp-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
body.starter-therapist .bp-related-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--t-ink);
  margin: 0;
  font-optical-sizing: auto;
  max-width: 18ch;
  text-wrap: balance;
}
body.starter-therapist .bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
@media (max-width: 880px) { body.starter-therapist .bp-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { body.starter-therapist .bp-related-grid { grid-template-columns: 1fr; } }

body.starter-therapist .bp-related-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--t-cream);
  border: 1px solid var(--t-border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color .4s var(--t-ease), transform .5s var(--t-ease);
}
body.starter-therapist .bp-related-card:hover {
  border-color: rgba(176, 84, 58, 0.35);
  transform: translateY(-2px);
}
body.starter-therapist .bp-related-card .bp-article-meta {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-terra);
}
body.starter-therapist .bp-related-card-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-weight: 450;
  font-size: 1.4rem;
  letter-spacing: -0.014em;
  line-height: 1.22;
  margin: 0;
  color: var(--t-ink);
  font-optical-sizing: auto;
  text-wrap: balance;
  transition: color .3s var(--t-ease);
}
body.starter-therapist .bp-related-card:hover .bp-related-card-title { color: var(--t-terra); }
body.starter-therapist .bp-related-card-excerpt {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--t-muted);
  margin: 0;
}

/* --- Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.starter-therapist .bp-blog-title,
  body.starter-therapist .bp-blog-lede,
  body.starter-therapist .bp-blog-hero .bp-eyebrow,
  body.starter-therapist .bp-single-title {
    opacity: 1 !important;
    animation: none !important;
  }
  body.starter-therapist .bp-article-card,
  body.starter-therapist .bp-article-title,
  body.starter-therapist .bp-related-card,
  body.starter-therapist .bp-related-card-title,
  body.starter-therapist .bp-back-link,
  body.starter-therapist .bp-tag {
    transition: none !important;
  }
  body.starter-therapist .bp-blog-hero .bp-eyebrow::before {
    animation: none !important;
  }
}
