/* ──────────────────────────────────────────────────────────────
   Styles de blocs Gutenberg — marque Valentine Poulain
   Chargé À LA FOIS sur le front et dans l'éditeur (parité WYSIWYG).
   Prioritaire (!important) pour gagner sur le CSS du thème / défauts.
   ────────────────────────────────────────────────────────────── */

/* ── Boutons (core/button) — dégradé corail, partout, sans classe ── */
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
  background-color: transparent !important;
  background-image: linear-gradient(90deg, #b46396 0%, #f1b8a0 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 16px 38px !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 15px 35px rgba(180, 99, 150, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
/* hover/focus/visited : on force le texte blanc (sinon il repasse en bleu lien) */
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active,
.wp-block-button__link:visited {
  color: #fff !important;
  background-image: linear-gradient(90deg, #b46396 0%, #f1b8a0 100%) !important;
  text-decoration: none !important;
}
.wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(180, 99, 150, .35);
}

/* ── Liens dans le contenu d'article (corail prune, soulignés) ──
   Front : contenu rendu dans le widget theme-post-content.
   Éditeur : contenu dans .editor-styles-wrapper. */
.elementor-widget-theme-post-content a:not(.wp-block-button__link),
.editor-styles-wrapper a:not(.wp-element-button):not(.wp-block-button__link) {
  background-image: linear-gradient(90deg, #b46396 0%, #f1b8a0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #b46396 !important;            /* repli si background-clip:text non supporté */
  font-weight: 700 !important;
  text-decoration: underline;
  text-decoration-color: #b46396;       /* le soulignement reste visible (le texte est transparent) */
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity .2s ease;
}
.elementor-widget-theme-post-content a:not(.wp-block-button__link):hover,
.editor-styles-wrapper a:not(.wp-element-button):not(.wp-block-button__link):hover {
  opacity: .7;
  text-decoration-color: #f1b8a0;
}

/* Citation (core/quote) : style géré dans theme.json (styles.blocks.core/quote).
   Le <cite> garde un style typographique sobre ici (pas exprimable simplement en theme.json). */
.elementor-widget-theme-post-content blockquote.wp-block-quote cite,
.editor-styles-wrapper blockquote.wp-block-quote cite {
  display: block;
  margin-top: 8px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f1b8a0;
}
