/* Article YBC : styles locaux, indépendants du thème et des autres articles. */
:root { --citeamup-ybc-accent: #dc1024; }
body.single-post :is(h1,h2,h3,h4,h5,h6).citeamup-ybc-heading,
.editor-styles-wrapper :is(h1,h2,h3,h4,h5,h6).citeamup-ybc-heading {
  color: var(--citeamup-ybc-accent) !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em;
  text-transform: none !important;
  margin-block: 1.75em .65em !important;
}
body.single-post h2.citeamup-ybc-heading,
.editor-styles-wrapper h2.citeamup-ybc-heading {
  font-size: clamp(1.4rem, 2vw, 1.7rem) !important;
}
body.single-post h3.citeamup-ybc-heading,
.editor-styles-wrapper h3.citeamup-ybc-heading {
  font-size: clamp(1.2rem, 1.7vw, 1.42rem) !important;
}
body.single-post blockquote.citeamup-ybc-quote,
.editor-styles-wrapper blockquote.citeamup-ybc-quote {
  background: #fff5f6 !important;
  border: 0 !important;
  border-left: 4px solid var(--citeamup-ybc-accent) !important;
  border-radius: 8px !important;
  padding: 1rem 1.4rem !important;
  margin-block: 1.5rem 1.8rem !important;
  box-shadow: 0 2px 12px rgb(32 26 36 / 5%);
  color: inherit;
  font-style: normal !important;
}
body.single-post blockquote.citeamup-ybc-quote p,
.editor-styles-wrapper blockquote.citeamup-ybc-quote p {
  margin: 0 !important;
  font-style: normal !important;
  font-size: inherit !important;
  line-height: 1.6;
}
body.single-post blockquote.citeamup-ybc-quote a,
.editor-styles-wrapper blockquote.citeamup-ybc-quote a {
  color: var(--citeamup-ybc-accent) !important;
  font-weight: 600;
}

/* Les balises de gras réellement présentes dans les sources restent visibles
   même si le thème applique une graisse faible par défaut aux contenus. */
body.single-post :is(.entry-content,.post-content,.wp-block-post-content,.elementor-widget-theme-post-content) :is(strong,b),
.editor-styles-wrapper :is(.wp-block-paragraph,.wp-block-html,.wp-block-quote) :is(strong,b) {
  font-weight: 700 !important;
}
