/* ============================================
   LES VOLETS BLEUS — Blog (Carnet de Catherine)
   Police corps : Lora (serif chaleureuse, carnet)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

.post-content,
.post-content p,
.post-content li,
.blog-card-excerpt,
.blog-index-hero p {
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif;
}

/* ============== POST HERO ============== */
.post-hero {
  position: relative;
  min-height: 60vh;
  min-height: 60svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px 0 0;
  background: var(--ink);
}
.post-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.post-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0) 0%, rgba(20, 17, 13, 0.85) 100%);
  padding: 120px 0 56px;
  color: var(--cream);
}
.post-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--cream);
  max-width: 880px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.post-meta-top {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.85);
  margin: 0 0 16px;
  font-weight: 500;
}
.post-meta-top a {
  color: rgba(250, 246, 238, 0.85);
  text-decoration: none;
}
.post-meta-top a:hover { color: var(--cream); }
.post-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
  color: var(--cream);
  opacity: 0.96;
}

/* ============== POST CONTENT ============== */
.post-content {
  max-width: 760px !important;
  padding: clamp(56px, 8vw, 88px) 24px;
}
.post-intro {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 48px;
  font-weight: 500;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 56px 0 20px;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.post-content h2:first-of-type { margin-top: 0; }
.post-content h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 12px;
  line-height: 1.25;
}
.post-content p {
  font-family: 'Lora', Georgia, serif;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 24px;
  font-weight: 400;
}
.post-content p strong {
  color: var(--ink);
  font-weight: 600;
}
.post-content a:not(.btn):not(.post-nav-prev):not(.post-nav-next) {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}
.post-content a:not(.btn):not(.post-nav-prev):not(.post-nav-next):hover {
  color: var(--blue-shutter);
}
.post-content em {
  font-style: italic;
  color: var(--blue-deep);
}

.post-list, .post-list-ordered {
  margin: 0 0 28px;
  padding-left: 22px;
}
.post-list li, .post-list-ordered li {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 12px;
}
.post-list li::marker {
  color: var(--blue-shutter);
}
.post-list-ordered li::marker {
  color: var(--blue-shutter);
  font-family: var(--serif);
  font-weight: 600;
}

.post-meta-list {
  list-style: none;
  margin: 12px 0 24px;
  padding: 18px 22px;
  background: var(--cream-warm);
  border-left: 3px solid var(--blue-shutter);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 24px;
}
.post-meta-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.post-meta-list strong {
  font-weight: 600;
  color: var(--ink);
}

/* ============== CTA & NAV ============== */
.post-cta {
  margin: 64px 0 40px;
  padding: 40px clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, var(--lavender-mist) 0%, var(--cream-warm) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--line);
}
.post-cta h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink);
}
.post-cta p {
  margin: 0 auto 22px;
  max-width: 540px;
  color: var(--ink-soft);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-nav-prev, .post-nav-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  max-width: 360px;
}
.post-nav-next { margin-left: auto; text-align: right; }
.post-nav-prev:hover, .post-nav-next:hover {
  border-color: var(--blue-shutter);
  transform: translateY(-2px);
}
.post-nav-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-shutter);
  font-weight: 500;
}
.post-nav-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* ============== BLOG INDEX ============== */
.blog-index-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  text-align: center;
}
.blog-index-hero h1,
section.blog-index-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem) !important;
  font-weight: 500 !important;
  margin: 0 0 16px !important;
  color: #2A2620 !important;
  text-shadow: none !important;
}
.blog-index-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: #5C544A !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-shutter);
  font-weight: 600;
  margin: 0 0 10px;
}
.blog-card h2,
.blog-list a .blog-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
  color: #2A2620 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
}
.blog-card-excerpt {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.blog-card-readmore {
  font-size: 13px;
  color: var(--blue-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 720px) {
  .post-hero { padding: 100px 0 0; min-height: 50vh; }
  .post-hero-overlay { padding: 80px 0 36px; }
  .post-content { padding: 48px 20px 64px; }
  .post-content h2 { margin-top: 40px; }
  .post-meta-list { padding: 14px 16px; }
  .post-nav { flex-direction: column; }
  .post-nav-prev, .post-nav-next {
    text-align: left;
    max-width: none;
  }
  .blog-list { padding: 48px 16px 64px; gap: 22px; }
}
