/* =========================================================
   BLOG SINGLE (Blocksy header WP + contenu Elementor)
   Scope: uniquement les articles
   ========================================================= */

:root{
  --cc-accent:#B03A3A;
  --cc-ink:#1b1b1b;
  --cc-muted:rgba(0,0,0,.62);
  --cc-line:rgba(0,0,0,.08);
}

/* Fond global plus clean (pas de "carte" qui casse ton header WP) */
body.single-post{
  background:#fff;
}

/* Container page : évite les décalages bizarres */
body.single-post .ct-container{
  max-width: 1180px;
}

/* =========================
   HERO WP (image + titre + meta)
   ========================= */

/* Centre le header post et le rend plus premium */
body.single-post .entry-header{
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 18px 8px;
  text-align: center;
}

/* Image à la une : centrée + arrondis + ombre subtile */
body.single-post .post-featured-image,
body.single-post .ct-featured-image,
body.single-post .entry-featured-image{
  max-width: 980px;
  margin: 22px auto 0;
  padding: 0 18px;
}

body.single-post .post-featured-image img,
body.single-post .ct-featured-image img,
body.single-post .entry-featured-image img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0,0,0,.10);
  object-fit: cover;
}

/* Titre : net + hiérarchie */
body.single-post .entry-title{
  margin: 18px 0 10px !important;
  color: var(--cc-ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(28px, 3.2vw, 44px);
}

/* Meta : petit, chic, accent discret */
body.single-post .entry-meta{
  display:flex;
  gap: 10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

body.single-post .entry-meta a{
  color: rgba(0,0,0,.60);
  text-decoration:none;
}

body.single-post .entry-meta a:hover{
  color: var(--cc-accent);
}

/* Petit séparateur accent sous le hero */
body.single-post .entry-header::after{
  content:"";
  display:block;
  width: 72px;
  height: 2px;
  background: rgba(176,58,58,.85);
  border-radius: 99px;
  margin: 16px auto 0;
}

/* =========================
   CONTENU (Elementor dans l’article)
   ========================= */

/* Force une vraie largeur de lecture pour Elementor */
body.single-post .entry-content .elementor,
body.single-post .entry-content .elementor-section-wrap,
body.single-post .entry-content .elementor-section{
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Padding horizontal (mobile friendly) */
body.single-post .entry-content{
  padding: 18px 18px 46px;
}

/* Typo premium dans l’article (s’applique aussi au texte Elementor) */
body.single-post .entry-content{
  color: var(--cc-muted);
  font-size: 16.5px;
  line-height: 1.85;
}

body.single-post .entry-content p{
  margin: 0 0 18px;
}

/* Titres */
body.single-post .entry-content h2{
  color: var(--cc-ink);
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: 26px;
  margin: 34px 0 14px;
}

body.single-post .entry-content h3{
  color: var(--cc-ink);
  font-weight: 800;
  line-height: 1.35;
  font-size: 20px;
  margin: 26px 0 10px;
}

/* Liens : soulignement accent "bijou" */
body.single-post .entry-content a{
  color: var(--cc-ink);
  text-decoration: none;
  background-image: linear-gradient(to right, rgba(176,58,58,.25), rgba(176,58,58,.25));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size .18s ease, color .18s ease;
}
body.single-post .entry-content a:hover{
  color: var(--cc-accent);
  background-size: 100% 100%;
}

/* Quotes / encarts */
body.single-post .entry-content blockquote{
  margin: 26px 0;
  padding: 16px 16px;
  border-left: 3px solid rgba(176,58,58,.55);
  background: rgba(176,58,58,.05);
  border-radius: 14px;
  color: rgba(0,0,0,.72);
}

/* Images dans Elementor ou WP : arrondis + ombre légère */
body.single-post .entry-content img{
  border-radius: 16px;
}
body.single-post .entry-content figure img{
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px){
  body.single-post .entry-header{
    padding-top: 24px;
  }
  body.single-post .entry-content{
    font-size: 16px;
    line-height: 1.8;
  }
}