/*
Theme Name: Mon grenier, mon atelier — Retouches en essai
Template: mon-grenier-mon-atelier-v3-4
Version: 1.0.0
Requires PHP: 7.4
Text Domain: mgma-retouches
*/
/* WordPress ajoute « single » au body : la règle du parent destinée
   à la section de lecture ne doit pas réduire tout le document. */
body.single{max-width:none;padding:0}
.mgma-card-meta{font:700 11px/1.6 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#79592f;margin-bottom:8px}
.mgma-card-read{display:inline-block;padding:10px 0;font-weight:700;text-decoration:underline;text-underline-offset:3px;color:#79592f}
.mgma-sharing{border-top:1px solid var(--line);margin-top:40px;padding-top:24px}
.mgma-sharing h2,.mgma-related h2{font-size:26px;line-height:1.2;margin:0 0 18px}
.mgma-share-actions{display:flex;flex-wrap:wrap;gap:12px}
.mgma-share-actions button{background:var(--card);color:var(--ink);border:1px solid #79592f;border-radius:6px;padding:11px 16px;font:15px/1.4 Arial,sans-serif;min-height:44px;cursor:pointer}
.mgma-share-actions button:focus-visible,.mgma-card-read:focus-visible,.mgma-related a:focus-visible{outline:2px solid #79592f;outline-offset:4px}
.mgma-share-status{font:14px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
.mgma-related{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.mgma-related h3{font-size:23px;line-height:1.2;margin:8px 0}
.mgma-related ul{list-style:none;padding:0;margin:0}
.mgma-related li+li{margin-top:22px}
.mgma-share-fallback{width:100%;font:16px Arial,sans-serif;padding:10px;margin-top:12px}

/* Icône Facebook des liens de suivi */
footer a[href*="facebook.com/"][href$="id=61596168067335"]::before,
.mgma-sharing a[href*="facebook.com/"][href$="id=61596168067335"]::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-inline-end: 0.35em;
  vertical-align: -0.12em;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231877F2'/%3E%3Cpath fill='white' d='M13.9 24v-9.3H17l.5-3.6h-3.6V8.8c0-1 .28-1.8 1.8-1.8h1.9V3.8c-.32-.04-1.46-.14-2.77-.14-2.75 0-4.63 1.68-4.63 4.76v2.66H7.1v3.6h3.1V24z'/%3E%3C/svg%3E");
}
