/* =============================================================
   Pawsh Mobile Grooming — Article / Resource Pages
   Loaded AFTER styles.css?v=40cf4a0bea on every /articles/*.html
   All selectors prefixed with .art- to avoid collisions.
   ============================================================= */

/* ---------- Breadcrumbs (matches services pattern) ---------- */
.art-crumbs {
  padding-block: 18px 0;
  background: var(--cream);
}
.art-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .88rem;
  color: var(--muted);
}
.art-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.art-crumbs li + li::before {
  content: "›";
  color: var(--brass);
  font-weight: 600;
}
.art-crumbs a {
  color: var(--muted);
  font-weight: 500;
  transition: color .18s var(--ease);
}
.art-crumbs a:hover { color: var(--terracotta); }
.art-crumbs [aria-current="page"] {
  color: var(--espresso);
  font-weight: 600;
}

/* ---------- Article hero / banner ---------- */
.art-hero {
  padding-block: clamp(28px, 4vw, 56px) 0;
  background: var(--cream);
}
.art-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

/* ---------- Article header (eyebrow, H1, lede, byline) ---------- */
.art-head {
  background: var(--cream);
  padding-block: clamp(32px, 5vw, 56px) clamp(16px, 2vw, 24px);
}
.art-head-inner {
  max-width: 760px;
  margin-inline: auto;
}
.art-head h1 {
  font-size: clamp(2rem, 3.6vw + 1rem, 3.25rem);
  margin: 10px 0 18px;
}
.art-head .lede {
  font-size: 1.18rem;
  color: var(--muted);
  margin: 0 0 26px;
}
.art-byline {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}
.art-byline strong { color: var(--espresso); font-weight: 600; }
.art-byline .dot { color: var(--brass); }
.art-byline .art-reading { color: var(--moss); font-weight: 600; }

/* ---------- Body layout (article + sticky TOC) ---------- */
.art-body {
  background: var(--cream);
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px);
}
.art-body-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .art-body-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
    max-width: 1080px;
    margin-inline: auto;
  }
}

/* ---------- Table of contents ---------- */
.art-toc {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: .94rem;
}
.art-toc-label {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.art-toc ol {
  display: grid; gap: 10px;
  counter-reset: toc;
}
.art-toc li { counter-increment: toc; }
.art-toc a {
  display: block;
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--espresso);
  font-weight: 500;
  line-height: 1.4;
  transition: color .18s var(--ease);
}
.art-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 6px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--brass);
}
.art-toc a:hover { color: var(--terracotta); }
@media (min-width: 1000px) {
  .art-toc {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* ---------- Article prose (the long-form content) ---------- */
.art-prose {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--espresso);
}
.art-prose > * + * { margin-top: 1.1em; }
.art-prose h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  letter-spacing: -.01em;
  margin: 2.4em 0 .6em;
  scroll-margin-top: 96px;
}
.art-prose h2:first-child { margin-top: 0; }
.art-prose h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.8em 0 .4em;
  color: var(--espresso);
}
.art-prose p { margin: 0 0 1.1em; }
.art-prose a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(168,94,58,.35);
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color .18s var(--ease);
}
.art-prose a:hover { text-decoration-color: var(--terracotta); }

.art-prose ul, .art-prose ol {
  margin: 0 0 1.2em;
  padding-left: 0;
  display: grid;
  gap: .55em;
}
.art-prose ul li, .art-prose ol li {
  position: relative;
  padding-left: 28px;
}
.art-prose ul li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  position: absolute; left: 8px; top: 12px;
}
.art-prose ol { counter-reset: olist; }
.art-prose ol li {
  counter-increment: olist;
}
.art-prose ol li::before {
  content: counter(olist) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--terracotta);
  width: 22px;
  text-align: right;
}

.art-prose strong { font-weight: 700; color: var(--espresso); }
.art-prose em { font-style: italic; }

/* ---------- Inline image ---------- */
.art-figure {
  margin: 2em 0;
}
.art-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.art-figure figcaption {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* ---------- Callout boxes ---------- */
.art-callout {
  margin: 1.6em 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--terracotta);
  background: var(--cream-soft);
}
.art-callout > strong:first-child {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--espresso);
}
.art-callout.is-warning {
  border-left-color: #B85A26;
  background: #FBEFE2;
}
.art-callout.is-info {
  border-left-color: var(--moss);
  background: #ECEFE7;
}
.art-callout p:last-child { margin-bottom: 0; }
.art-callout ul, .art-callout ol { margin-bottom: 0; }

/* ---------- Pull quote ---------- */
.art-pullquote {
  margin: 2.4em -8px;
  padding: 8px 16px;
  border-left: 4px solid var(--terracotta);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.4vw + 1rem, 1.85rem);
  line-height: 1.3;
  color: var(--terracotta);
  font-style: italic;
  letter-spacing: -.01em;
}
.art-pullquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---------- Comparison table ---------- */
.art-table-wrap {
  margin: 2em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--cream-soft);
  box-shadow: var(--shadow-1);
}
.art-table {
  width: 100%;
  min-width: 560px;
  font-size: .96rem;
}
.art-table th, .art-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.art-table thead th {
  background: var(--oat);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--espresso);
}
.art-table tbody th {
  font-weight: 600;
  color: var(--espresso);
}
.art-table tr:last-child th,
.art-table tr:last-child td { border-bottom: none; }

/* ---------- Quick takeaway box ---------- */
.art-takeaway {
  margin: 2.6em 0 .4em;
  padding: 28px 30px;
  background: var(--oat);
  border-radius: var(--radius);
  border: 1px solid var(--brass);
}
.art-takeaway h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 14px;
  color: var(--espresso);
}
.art-takeaway ul {
  margin: 0;
  display: grid;
  gap: 10px;
}
.art-takeaway ul li {
  padding-left: 28px;
  position: relative;
}
.art-takeaway ul li::before {
  content: "✓";
  position: absolute; left: 4px; top: 0;
  color: var(--terracotta);
  font-weight: 700;
}

/* ---------- Author bio card ---------- */
.art-author {
  margin-top: 3em;
  padding: 28px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 540px) {
  .art-author { grid-template-columns: 100px 1fr; gap: 24px; }
}
.art-author-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-1);
}
.art-author-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.art-author-body p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
.art-author-creds {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.art-author-creds span {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--moss);
}

/* ---------- End-of-article CTA bar ---------- */
.art-cta-bar {
  margin-top: 2.4em;
  padding: 28px 30px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .art-cta-bar { grid-template-columns: 1fr auto; }
}
.art-cta-bar h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: var(--cream);
}
.art-cta-bar p {
  margin: 0;
  color: rgba(247,241,232,.78);
  font-size: .95rem;
}

/* ---------- Read next cards ---------- */
.art-readnext {
  background: var(--cream-soft);
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.art-readnext h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem);
  margin: 0 0 28px;
  text-align: center;
}
.art-readnext-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: auto;
}
@media (min-width: 700px) {
  .art-readnext-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.art-readnext-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.art-readnext-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--terracotta);
}
.art-readnext-eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.art-readnext-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--espresso);
}
.art-readnext-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.art-readnext-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: .92rem;
}

/* ---------- Final CTA (book) section ---------- */
.art-final-cta {
  background: var(--oat);
  padding-block: clamp(56px, 7vw, 88px);
  text-align: center;
}
.art-final-cta h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.6rem);
  margin: 0 0 14px;
}
.art-final-cta p {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}
