/* Grooming guides — article + landing styles. Inherits palette from /css/style.css */

/* ---------- Article shell ---------- */
.article {
  max-width: 780px;
  margin: 60px auto 80px;
  padding: 0 var(--gutter);
}

.article-header { margin-bottom: 40px; text-align: center; }
.article-eyebrow {
  display: inline-block;
  background: var(--rust-100);
  color: var(--rust-500);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.article-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.article-deck {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 20px;
}
.article-meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.article-meta span::before { content: '·'; margin-right: 18px; color: var(--brown-500); }
.article-meta span:first-child::before { content: ''; margin-right: 0; }

/* ---------- Hero banner ---------- */
.article-hero {
  background: linear-gradient(135deg, var(--rust-100) 0%, var(--cream-200) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  margin: 20px 0 40px;
  text-align: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(232, 123, 58, 0.18), transparent 50%);
}

/* ---------- Body content ---------- */
.article-body { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-size: 1.7rem;
  margin: 48px 0 18px;
  color: var(--brown-900);
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--brown-800);
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 24px;
}
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--brown-900); }
.article-body a { color: var(--rust-500); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--brown-800); }

/* ---------- Callout boxes ---------- */
.callout {
  background: var(--cream-200);
  border-left: 4px solid var(--rust-500);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}
.callout .callout-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout p:last-child { margin-bottom: 0; }
.callout.vet {
  background: #EAF3EC;
  border-left-color: var(--green-500);
}

/* ---------- Product callout ---------- */
.product-callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.product-callout-icon { font-size: 2.2rem; flex-shrink: 0; }
.product-callout-body { flex: 1; }
.product-callout-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust-500);
  font-weight: 700;
  margin-bottom: 4px;
}
.product-callout-title { font-family: var(--serif); font-weight: 600; color: var(--brown-900); font-size: 1.05rem; }
.product-callout .btn { flex-shrink: 0; }

/* ---------- TOC ---------- */
.article-toc {
  background: var(--cream-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.article-toc-title {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brown-700); font-weight: 700; margin-bottom: 10px;
}
.article-toc ol { margin: 0 0 0 20px; }
.article-toc li { margin-bottom: 6px; font-size: 0.95rem; }
.article-toc a { color: var(--brown-800); }

/* ---------- Article footer ---------- */
.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.article-disclosure {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.related-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.related-guides h3 { font-size: 1.2rem; margin-bottom: 8px; }
.related-guides a {
  background: var(--cream-200);
  padding: 20px;
  border-radius: var(--radius-md);
  display: block;
  color: var(--brown-800);
  transition: background .2s, transform .2s;
}
.related-guides a:hover { background: var(--rust-100); transform: translateY(-2px); }
.related-guides a h4 { font-family: var(--serif); font-size: 1.02rem; margin-bottom: 6px; color: var(--brown-900); }
.related-guides a p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.back-to-guides {
  text-align: center; margin-top: 40px;
}

/* ---------- Guides landing ---------- */
.guides-landing {
  max-width: var(--container);
  margin: 60px auto;
  padding: 0 var(--gutter);
}
.guides-landing .article-header { margin-bottom: 60px; }
.guides-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ---------- Make guide cards on homepage proper links ---------- */
.guide-card { display: block; color: inherit; }
.guide-card:hover { color: inherit; }
.guide-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--rust-500);
  font-weight: 600;
  font-size: 0.92rem;
}
.guides-footnote {
  text-align: center; margin-top: 32px;
}
.guides-footnote a { font-weight: 600; }
