/* ============================================================
   ALPHA.B — ARTICLES BLOG
   Design system "Soleil méditerranéen" appliqué aux articles
   Sélecteur racine : .single-post .entry-content
   Dépend de alphab.css (tokens :root)
   ============================================================ */

/* ----- 1. FOND PAGE ARTICLE ----- */
.single-post #page {
  background-color: var(--ab-creme);
}

/* ----- 2. TYPOGRAPHIE CORPS ----- */
.single-post .entry-content {
  font-family: var(--ab-sans);
  font-size: var(--ab-fs-body);
  font-weight: 500;
  color: var(--ab-encre-70);
  line-height: 1.65;
}

/* ----- 3. TITRES ----- */
.single-post .entry-content h2.wp-block-heading {
  font-family: var(--ab-disp);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ab-encre);
  margin-top: 1.6em;
  margin-bottom: .4em;
}

.single-post .entry-content h3.wp-block-heading {
  font-family: var(--ab-disp);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ab-encre);
  margin-top: 1.4em;
  margin-bottom: .3em;
}

/* ----- 4. LIENS ----- */
.single-post .entry-content a {
  color: var(--ab-terra);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ab-soleil);
  transition: background var(--ab-ease), color var(--ab-ease);
}
.single-post .entry-content a:hover {
  background: var(--ab-soleil);
  color: var(--ab-encre);
  border-bottom-color: transparent;
}

/* ----- 5. LISTES ----- */
.single-post .entry-content .wp-block-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1em 0;
}
.single-post .entry-content .wp-block-list li {
  position: relative;
  padding-left: 30px;
  font-family: var(--ab-sans);
  font-weight: 500;
}
.single-post .entry-content .wp-block-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 11px;
  height: 11px;
  background: var(--ab-terra);
  border: 2px solid var(--ab-encre);
  border-radius: 50%;
}

/* ----- 6. IMAGES ----- */
.single-post .entry-content .wp-block-image.aligncenter {
  max-width: 560px;
  margin: var(--ab-s4) auto;
}
.single-post .entry-content .wp-block-image img {
  border: var(--ab-bord);
  border-radius: var(--ab-rad);
  box-shadow: none;
  display: block;
  width: 100%;
}

/* ----- 7. BOUTON CTA — dernier paragraphe de l'article ----- */
.single-post .entry-content .wp-block-paragraph:last-of-type a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ab-disp);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--ab-rad-pill);
  border: 2.5px solid var(--ab-encre);
  background: var(--ab-encre);
  color: var(--ab-soleil);
  box-shadow: none;
  text-decoration: none;
  border-bottom: 2.5px solid var(--ab-encre);
  transition: transform var(--ab-ease), box-shadow var(--ab-ease);
}
.single-post .entry-content .wp-block-paragraph:last-of-type a:hover {
  transform: none;
  box-shadow: none;
}

/* ----- SANS OMBRE (2026-10-13) — le bouton de fin d'article ----------- */
/* Il ne changeait que d'ombre au survol : il passe en terracotta foncé. */
.single-post .entry-content .wp-block-paragraph:last-of-type a:hover{
  background:var(--ab-terra-deep);color:#fff;
}
