/**
 * Styles des blocs spéciaux d'article : citation et conseil (bulle Perce-Neige).
 * Partagé entre l'éditeur Quill (publier/modifier) et l'affichage (article/blog).
 *
 * Pour fonctionner dans l'éditeur, préfixer le conteneur avec .ql-editor ;
 * pour l'affichage, avec .article-content / .blog-article-content.
 * On cible donc les classes directement, sans préfixe — chaque page les
 * inclut dans son propre conteneur.
 */

/* --- Citation --- */
.art-quote {
  border-left: 4px solid #7c3aed;
  background: #f8f5ff;
  margin: 20px 0;
  padding: 14px 20px;
  color: #4b2e83;
  font-style: italic;
  font-size: 1.05em;
  border-radius: 0 8px 8px 0;
}

/* --- Conseil (bulle de Perce-Neige) --- */
.art-conseil {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
  padding: 4px 0;
}

.art-conseil-perso {
  width: 80px;
  min-width: 80px;
  height: auto;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-self: flex-end;
}

.art-conseil-bulle {
  position: relative;
  background: #ecfdf5;
  border: 2px solid #6ee7b7;
  border-radius: 14px;
  padding: 14px 18px;
  color: #065f46;
  font-size: 0.98em;
  line-height: 1.5;
  flex: 1;
}

/* Petite flèche de la bulle pointant vers le personnage */
.art-conseil-bulle::before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: 18px;
  border-width: 8px 12px 8px 0;
  border-style: solid;
  border-color: transparent #6ee7b7 transparent transparent;
}
.art-conseil-bulle::after {
  content: "";
  position: absolute;
  left: -9px;
  bottom: 18px;
  border-width: 8px 12px 8px 0;
  border-style: solid;
  border-color: transparent #ecfdf5 transparent transparent;
}

/* --- Iframe intégrée (présentation, ressource) --- */
.art-iframe {
  margin: 24px 0;
}
.art-iframe iframe {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

@media (max-width: 600px) {
  .art-conseil-perso { width: 56px; min-width: 56px; }
  .art-conseil-bulle { font-size: 0.92em; padding: 12px 14px; }
  .art-iframe iframe { height: 400px; }
}
