/* Custom admonition: persona */

:root {
  --md-admonition-icon--persona: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

/* Border and background */
.md-typeset .admonition.persona,
.md-typeset details.persona {
  border-color: #F06292;
}

.md-typeset .persona > .admonition-title,
.md-typeset .persona > summary {
  background-color: rgba(240, 98, 146, 0.1);
}

/* Icon mask */
.md-typeset .persona > .admonition-title::before,
.md-typeset .persona > summary::before {
  background-color: #F06292;
  -webkit-mask-image: var(--md-admonition-icon--persona);
  mask-image: var(--md-admonition-icon--persona);
}
