/*!
 * RezepteChef Child — Font Awesome intégré (sous-ensemble)
 * Icônes : Font Awesome Free 7.1.0 by @fontawesome — https://fontawesome.com
 * Licence des icônes : CC BY 4.0 (https://fontawesome.com/license/free). Copyright 2025 Fonticons, Inc.
 *
 * Seules les icônes réellement utilisées sur le site sont incluses (inventaire du 05/10/2026) :
 *   fab fa-pinterest-p · fab fa-youtube · fab fa-facebook-f  (widgets du pied de page)
 * Rendu : chaque <i class="fab fa-…"> affiche l'icône officielle en SVG, à la couleur du texte
 * (currentColor) et à la taille de la police (1em), comme la police Font Awesome.
 * Chargé UNIQUEMENT si l'extension Font Awesome est désactivée (pas de double chargement).
 * Ajouter une icône : voir LISEZ-MOI.md (section Font Awesome).
 */

:is(.fab, .fa-brands):is(.fa-pinterest-p, .fa-youtube, .fa-facebook-f) {
  display: inline-block;
  width: var(--rcc-fa-w, 1em);
  height: 1em;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  vertical-align: -0.125em;
}

:is(.fab, .fa-brands):is(.fa-pinterest-p, .fa-youtube, .fa-facebook-f)::before {
  content: "" !important;
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Bloc d'icônes de largeur fixe (équivalent de .fa-fw) */
.fa-fw:is(.fab, .fa-brands) { width: 1.25em; }

/* fa-pinterest-p — viewBox 384x512 */
:is(.fab, .fa-brands).fa-pinterest-p { --rcc-fa-w: 0.75em; }
:is(.fab, .fa-brands).fa-pinterest-p::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5'/%3E%3C/svg%3E"); }

/* fa-youtube — viewBox 576x512 */
:is(.fab, .fa-brands).fa-youtube { --rcc-fa-w: 1.125em; }
:is(.fab, .fa-brands).fa-youtube::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.2-23.7-24.8-42.3-48.3-48.6C458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5c-23.5 6.3-42 24.9-48.3 48.6C15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8C117.3 448 288.1 448 288.1 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.7 81.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.2-23.7-24.8-42.3-48.3-48.6C458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5c-23.5 6.3-42 24.9-48.3 48.6C15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8C117.3 448 288.1 448 288.1 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.7 81.2z'/%3E%3C/svg%3E"); }

/* fa-facebook-f — viewBox 320x512 */
:is(.fab, .fa-brands).fa-facebook-f { --rcc-fa-w: 0.625em; }
:is(.fab, .fa-brands).fa-facebook-f::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M80 299.3V512h116V299.3h86.5l18-97.8H196v-34.6c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4.4 37 1.2V7.9C291.4 4 256.4 0 236.2 0 129.3 0 80 50.5 80 159.4v42.1H14v97.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M80 299.3V512h116V299.3h86.5l18-97.8H196v-34.6c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4.4 37 1.2V7.9C291.4 4 256.4 0 236.2 0 129.3 0 80 50.5 80 159.4v42.1H14v97.8z'/%3E%3C/svg%3E"); }

/* Pied de page : l'ancienne ombre de texte (text-shadow) ne s'applique pas à une icône SVG ;
   même ombre reproduite avec un filtre. */
.rc-simple-footer .rc-footer-socials a i:is(.fab, .fa-brands) {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
