/* ============================================
   BLOG POST STYLES — The Cat Whisperer
   ============================================ */

.post-article { padding-top: 70px; }

/* ---- Hero ---- */
.post-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #FAF0EC 0%, #F5E8E0 100%);
  overflow: hidden;
}
.post-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,131,122,0.12) 0%, transparent 70%);
}
.post-hero-content { position: relative; z-index: 2; max-width: 820px; }
.post-category-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 50px;
  color: #fff; margin-bottom: 1.2rem;
}
.tag-health     { background: var(--rose); }
.tag-behavior   { background: var(--mauve); }
.tag-nutrition  { background: var(--sage); }
.tag-grief      { background: #6B4F5E; }
.tag-stories    { background: var(--gold); }

.post-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.post-meta-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201,131,122,0.2);
}
.post-author-mini {
  display: flex; align-items: center; gap: 0.8rem;
}
.post-author-mini img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--blush);
}
.post-author-mini strong { display: block; font-size: 0.9rem; color: var(--charcoal); }
.post-author-mini span  { font-size: 0.75rem; color: var(--soft-gray); }
.post-meta-right {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--soft-gray);
}

/* ---- Body Layout ---- */
.post-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 4rem 0 6rem;
  align-items: start;
}
.post-content { max-width: 720px; }
.post-featured-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-med);
  /* No forced aspect-ratio — each image displays at its natural proportions */
}
.post-featured-img img {
  width: 100%;
  height: auto;
  display: block;
  /* Natural height — no cropping, no cutting off cats */
}

/* ---- Typography ---- */
.post-lead {
  font-size: 1.18rem;
  line-height: 1.85;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--rose);
}
.post-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--soft-gray);
  margin-bottom: 1.3rem;
}
.post-content p em { color: var(--charcoal); font-style: italic; }
.post-content p strong { color: var(--charcoal); }
.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--light-gray);
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--deep-rose);
  margin: 1.8rem 0 0.6rem;
}
.post-content ul, .post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.post-content li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--soft-gray);
}
.post-content blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose);
  border-left: 3px solid var(--rose);
  padding: 0.8rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,131,122,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}

/* ---- Lynne's Tip Box ---- */
.lynne-tip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(201,131,122,0.08), rgba(155,123,138,0.06));
  border: 1.5px solid rgba(201,131,122,0.2);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
}
.tip-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.lynne-tip div { font-size: 0.92rem; color: var(--charcoal); line-height: 1.75; }
.lynne-tip strong { color: var(--rose); display: block; margin-bottom: 0.3rem; }

/* ---- Fun Fact Box ---- */
.fun-fact {
  background: linear-gradient(135deg, rgba(143,175,138,0.1), rgba(92,122,87,0.06));
  border: 1.5px solid rgba(143,175,138,0.3);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
  display: flex; gap: 1rem; align-items: flex-start;
}
.fun-fact .fact-icon { font-size: 1.6rem; flex-shrink: 0; }
.fun-fact div { font-size: 0.92rem; color: var(--charcoal); line-height: 1.75; }
.fun-fact strong { color: var(--deep-sage); display: block; margin-bottom: 0.3rem; }

/* ---- Story Box ---- */
.story-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(201,131,122,0.15);
  position: relative;
}
.story-box::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(201,131,122,0.15);
  position: absolute;
  top: -0.5rem; left: 1rem;
  line-height: 1;
}
.story-box p {
  font-style: italic;
  color: var(--charcoal) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  position: relative; z-index: 1;
}
.story-box .story-credit {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--rose);
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
}

/* ---- Divider ---- */
.post-divider {
  text-align: center;
  font-size: 1.5rem;
  margin: 2.5rem 0;
  opacity: 0.4;
  letter-spacing: 0.5rem;
}

/* ---- Closing ---- */
.post-closing {
  background: linear-gradient(135deg, var(--deep-mauve) 0%, #4A3040 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 2.5rem 0;
}
.post-closing h2 { color: #fff; margin-bottom: 1rem; font-size: 1.4rem; border: none; padding: 0; }
.post-closing p { color: rgba(255,255,255,0.85) !important; line-height: 1.85 !important; }
.post-sign {
  font-family: var(--font-script) !important;
  font-size: 1.5rem !important;
  color: var(--blush) !important;
  margin-top: 1rem !important;
}

/* ---- Tags ---- */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}
.post-tags span {
  background: var(--cream);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  color: var(--soft-gray);
}

/* ---- Sidebar ---- */
.post-sidebar { position: static; }
.sidebar-widget {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,131,122,0.08);
}
.sidebar-widget h4 {
  font-size: 1rem; color: var(--charcoal);
  margin-bottom: 1rem; padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--light-gray);
}
.about-widget { text-align: center; }
.about-widget-img {
  width: 80px; height: 80px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--blush);
}
.about-widget-img img { width: 100%; height: 100%; object-fit: cover; }
.about-widget p { font-size: 0.85rem; color: var(--soft-gray); line-height: 1.7; margin-bottom: 1rem; }

/* ---- Inline image ---- */
.post-inline-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}
.post-inline-img img { width: 100%; height: auto; display: block; }
.post-inline-img figcaption {
  font-size: 0.78rem; color: var(--soft-gray);
  text-align: center; padding: 0.6rem 1rem;
  background: var(--cream); font-style: italic;
}

@media (max-width: 900px) {
  .post-body { grid-template-columns: 1fr; gap: 2rem; }
  .post-sidebar { position: static; }
}