/* Extrait automatiquement de main.css lignes 2161-2344 — ARTICLE INDIVIDUEL (post.njk) */
/* =============================================
   ARTICLE INDIVIDUEL (post.njk)
   ============================================= */
.post { background: var(--creme); }

/* Fil d'ariane */
.post__breadcrumb {
  padding-top: 1.75rem;
  font-size: .78rem;
  color: var(--gris);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.post__breadcrumb a { color: var(--gris); transition: color var(--transition); }
.post__breadcrumb a:hover { color: var(--noir); }
.post__breadcrumb-sep { opacity: .5; }

/* En-tête article */
.post__header { padding-top: 2rem; padding-bottom: 2.25rem; max-width: 900px; }

.post__cat-badge {
  display: inline-block;
  background: var(--noir);
  color: var(--creme);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .32rem .85rem;
  margin-bottom: 1.25rem;
}

.post__title {
  font-family: var(--font-titre);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .8rem;
  color: var(--gris);
}
.post__meta-date::before { content: '📅 '; font-size: .75rem; }

/* Image de couverture */
.post__cover {
  max-height: 540px;
  overflow: hidden;
}
.post__cover img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
}

/* Corps de l'article */
.post__body {
  max-width: 740px;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
.post__body > *:first-child { margin-top: 0; }
.post__body p { margin-bottom: 1.35rem; font-size: 1rem; line-height: 1.8; }
.post__body h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 3rem 0 1rem; }
.post__body h3 { font-size: 1.3rem; margin: 2.25rem 0 .75rem; }
.post__body ul, .post__body ol { margin: 1rem 0 1.5rem 1.5rem; font-size: 1rem; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin-bottom: .6rem; line-height: 1.7; }
.post__img-duo {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  width: min(calc(100vw - 4rem), calc(var(--container) - 4rem));
  margin-left: 50%;
  transform: translateX(-50%);
}
.post__img-duo img { flex: 1; min-width: 0; height: 420px; object-fit: cover; border-radius: 4px; }
.post__cta { margin: 2.5rem 0; text-align: center; }
.post__gallery {
  display: flex;
  gap: .75rem;
  margin: 2rem 0;
  width: min(calc(100vw - 4rem), calc(var(--container) - 4rem));
  margin-left: 50%;
  transform: translateX(-50%);
  align-items: flex-start;
}
.post__gallery__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.post__gallery__col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
@media (max-width: 600px) {
  .post__gallery { flex-wrap: wrap; }
  .post__gallery__col { flex: 1 1 calc(50% - .4rem); }
}
.post__body strong { font-weight: 600; }
.post__body a { text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.post__body a:hover { opacity: 1; }
.post__body .btn { text-decoration: none; opacity: 1; }
.post__body hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.post__body blockquote {
  border-left: 2px solid var(--rouge);
  margin: 2rem 0;
  padding: .75rem 0 .75rem 1.5rem;
}
.post__body blockquote p {
  margin-bottom: .5rem;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
}
.post__body blockquote p:last-child {
  margin-bottom: 0;
  font-style: normal;
  font-size: .875rem;
  color: var(--gris);
}

/* Grille BD "L'immo pour de vrai !" */
.bd-comic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 2rem 0;
}
.bd-comic__panel {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .2rem;
  border: 5px solid #fff;
}
.bd-comic__panel--full {
  grid-column: 1 / -1;
}
@media (max-width: 480px) {
  .bd-comic { grid-template-columns: 1fr; }
  .bd-comic__panel--full { grid-column: 1; }
}

/* Retour blog */
.post__back {
  padding-bottom: 5rem;
}
.post__back-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--gris);
  transition: color var(--transition);
}
.post__back-link:hover { color: var(--noir); }
.post__bio { margin-top: 0; }

/* Responsive blog */
@media (max-width: 960px) {
  .blog-header__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .blog-header__right { border-left: none; padding-left: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .blog-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-header { padding: 3rem 0 2.5rem; }
}

