/* ============================================================
   CURTAIN DESIGNS - BLOG ARTICLE STYLES
   Premium long-form reading layout. Loads on single post pages.
   ============================================================ */

/* Article hero */
.post-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; }
.post-hero-bg { position: absolute; inset: 0; z-index: 0; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,32,22,0.25) 0%, rgba(11,32,22,0.55) 60%, rgba(11,32,22,0.85) 100%); }
.post-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; width: 100%;
  padding: 0 var(--gutter) 3.5rem; color: var(--ivory); }
.post-cat { display: inline-block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--ivory); font-weight: 500;
  line-height: 1.14; max-width: 20ch; margin-bottom: 1.2rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center;
  font-size: 0.85rem; color: rgba(247,246,241,0.8); }
.post-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.post-meta .icon { width: 0.9rem; height: 0.9rem; fill: var(--gold); }

/* Breadcrumb above hero (optional, on light) */
.post-breadcrumb { max-width: 860px; margin: 0 auto; padding: 1.4rem var(--gutter) 0;
  font-size: 0.8rem; color: var(--charcoal-soft); }
.post-breadcrumb a { color: var(--gold-deep); }

/* Article body */
.post-body { max-width: 760px; margin: 0 auto; padding: 3.5rem var(--gutter) 1rem; }
.post-body .lead-para { font-size: 1.22rem; line-height: 1.7; color: var(--charcoal);
  font-weight: 300; margin-bottom: 2rem; font-family: var(--display); font-style: italic; }
.post-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.6rem 0 1rem; font-weight: 500;
  line-height: 1.2; color: var(--charcoal); }
.post-body h3 { font-size: 1.35rem; margin: 2rem 0 0.8rem; font-weight: 500; color: var(--charcoal); }
.post-body p { font-size: 1.02rem; line-height: 1.8; color: var(--charcoal-soft); margin-bottom: 1.3rem; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem 1.2rem; }
.post-body li { font-size: 1.02rem; line-height: 1.75; color: var(--charcoal-soft); margin-bottom: 0.6rem; padding-left: 0.3rem; }
.post-body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; transition: color 0.3s; }
.post-body a:hover { color: var(--green); }
.post-body strong { color: var(--charcoal); font-weight: 600; }
.post-body img { width: 100%; border-radius: 14px; margin: 2rem 0; }
.post-body figure { margin: 2rem 0; }
.post-body figcaption { font-size: 0.85rem; color: var(--charcoal-soft); text-align: center; margin-top: 0.6rem; font-style: italic; }

/* Pull quote */
.post-body blockquote { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.6rem;
  margin: 2rem 0; font-family: var(--display); font-size: 1.4rem; font-style: italic;
  color: var(--charcoal); line-height: 1.4; }

/* Key-takeaway / callout box */
.post-callout { background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.8rem; margin: 2.2rem 0; }
.post-callout h4 { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.8rem; font-weight: 600; }
.post-callout p:last-child { margin-bottom: 0; }

/* Inline price table reuse from home.css .pricing-table if needed */
.post-table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: 0.95rem; }
.post-table th, .post-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.post-table th { background: var(--cream); font-family: var(--body); font-weight: 600; color: var(--charcoal);
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.post-table td { color: var(--charcoal-soft); }

/* Author / share strip */
.post-foot { max-width: 760px; margin: 2rem auto 0; padding: 1.8rem var(--gutter);
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: center; }
.post-author { display: flex; align-items: center; gap: 0.9rem; }
.post-author .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.post-author .who small { display: block; font-size: 0.78rem; color: var(--charcoal-soft); }
.post-author .who b { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }
.post-share { display: flex; gap: 0.6rem; }
.post-share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--charcoal-soft);
  transition: all 0.3s var(--ease); }
.post-share a:hover { background: var(--green); color: var(--ivory); border-color: var(--green); }
.post-share .icon { width: 1rem; height: 1rem; fill: currentColor; }

/* In-article CTA band */
.post-cta { max-width: 760px; margin: 3rem auto; padding: 2.4rem; background: var(--green);
  border-radius: 20px; text-align: center; color: var(--ivory); }
.post-cta h3 { font-family: var(--display); color: var(--ivory); font-size: 1.7rem; margin-bottom: 0.7rem; font-weight: 500; }
.post-cta p { color: rgba(247,246,241,0.85); margin-bottom: 1.4rem; font-size: 1rem; }

/* Related posts */
.post-related { background: var(--cream); padding: 4rem 0; margin-top: 3rem; }

@media (max-width: 700px) {
  .post-hero { min-height: 52vh; }
  .post-body { padding-top: 2.5rem; }
  .post-body .lead-para { font-size: 1.1rem; }
  .post-foot { flex-direction: column; align-items: flex-start; }
}
