/* ══════════════════════════════════════════════════
   BLOG PAGE STYLES — blog.css
   ShapedAI · The Beauty Edit
══════════════════════════════════════════════════ */

/* ── Blog Hero ── */
.blog-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 72px;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.blog-hero:hover .blog-hero-bg { transform: scale(1.08); }
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(44,24,16,.92) 0%,
    rgba(81,51,29,.80) 50%,
    rgba(154,122,58,.65) 100%
  );
  z-index: 1;
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
  max-width: 740px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(201,168,76,.9);
  margin-bottom: 18px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(201,168,76,.5);
}
.blog-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.blog-hero-title em {
  color: #d4b96a;
  font-style: italic;
  font-weight: 300;
}
.blog-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

/* ── Blog Main ── */
.blog-main {
  padding: 80px 0 96px;
  background: #f7f4f0;
}
.blog-main .container {
  max-width: 800px;
}

/* ── Blog Article ── */
.blog-post {
  background: #fff;
  border: 1px solid rgba(139,90,43,.12);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 2px 20px rgba(60,30,15,.06);
  margin-bottom: 0;
}

.post-header { margin-bottom: 32px; }
.post-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: #2c1810;
  line-height: 1.22;
  margin: 14px 0 12px;
  letter-spacing: -.01em;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: rgba(60,30,15,.45);
  letter-spacing: .04em;
}
.post-meta time { font-weight: 600; color: rgba(60,30,15,.55); }

/* ── Blog Tag (shared with index) ── */
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9a7a3a;
  background: rgba(154,122,58,.1);
  border: 1px solid rgba(154,122,58,.25);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Post Body ── */
.post-body {
  line-height: 1.85;
  color: #5c3d2c;
  font-size: .95rem;
}
.post-body p { margin-bottom: 20px; }
.post-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: #2c1810;
  margin: 40px 0 16px;
  letter-spacing: -.01em;
  border-left: 3px solid #c9a84c;
  padding-left: 16px;
}
.post-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: #6d4325;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-body h4::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #c9a84c;
  flex-shrink: 0;
}
.post-body ul,
.post-body ol {
  padding-left: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.post-body ul li {
  padding-left: 22px;
  position: relative;
}
.post-body ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-size: .55rem;
  top: 7px;
}
.post-body ol { counter-reset: post-counter; }
.post-body ol li {
  padding-left: 32px;
  position: relative;
  counter-increment: post-counter;
}
.post-body ol li::before {
  content: counter(post-counter);
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #6d4325, #9a7a3a);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 2px;
}
.post-body strong { color: #2c1810; font-weight: 700; }

/* ── Block Quote ── */
.post-quote {
  border-left: 4px solid #c9a84c;
  background: linear-gradient(135deg, #fdf8f2, #f5efe4);
  padding: 28px 32px;
  border-radius: 0 12px 12px 0;
  margin: 36px 0;
  box-shadow: 0 2px 12px rgba(60,30,15,.07);
}
.post-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #2c1810;
  margin-bottom: 14px;
  line-height: 1.65;
}
.post-quote p::before { content: '\201C'; }
.post-quote p::after  { content: '\201D'; }
.post-quote footer {
  font-size: .76rem;
  font-weight: 700;
  color: #9a7a3a;
  letter-spacing: .06em;
  font-style: normal;
}
.post-quote footer::before { content: '— '; }

/* ── Post CTA ── */
.post-cta {
  background: linear-gradient(135deg, #2c1810, #6d4325);
  border-radius: 14px;
  padding: 36px 40px;
  text-align: center;
  margin: 44px 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,.15), transparent 70%);
  pointer-events: none;
}
.post-cta p {
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
.post-cta .btn {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Divider ── */
.post-divider {
  border: none;
  border-top: 1px solid rgba(139,90,43,.12);
  margin: 56px 0;
}

/* ── Blog Footer CTA ── */
.blog-footer-cta {
  background: linear-gradient(145deg, #2c1810 0%, #5c3018 55%, #9a7a3a 100%);
  padding: 96px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.blog-footer-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 65%);
  pointer-events: none;
}
.blog-footer-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 18px;
  color: #fff;
  position: relative;
}
.blog-footer-cta p {
  font-size: .98rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
}
.blog-footer-cta .btn { position: relative; }

/* ── Blog Footer ── */
.footer .footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
}
.footer-brand p {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer-links h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  transition: color .2s ease;
  text-decoration: none;
}
.footer-links a:hover { color: #c9a84c; }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #c9a84c; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .blog-hero { height: 420px; }
  .blog-main { padding: 48px 0 64px; }
  .blog-post { padding: 32px 24px; }
  .post-header h2 { font-size: 1.55rem; }
  .post-cta { padding: 28px 24px; }
  .post-quote { padding: 20px 22px; }
  .blog-footer-cta { padding: 72px 20px; }
  .footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
}
@media (max-width: 480px) {
  .blog-post { padding: 28px 18px; }
  .post-body { font-size: .9rem; }
  .footer .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
