@layer components {
  /* Facebook box. Default state: a static card, no third-party request.
     After consent the body may be replaced by the page widget (336 x 500): .c-facebook--widget. */
  .c-facebook { background: var(--surface-alt); }
  /* the engine replaces [data-js=facebook-body] with the page plugin: padding sits on an inner wrapper that goes away with the card, so the plugin gets the full 336 px */
  .c-facebook__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding: var(--space-5); }
  .c-facebook__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
  .c-facebook__mark { display: grid; place-items: center; flex: none; inline-size: 2.5rem; block-size: 2.5rem; background: var(--ink); color: var(--on-inverse); }
  .c-facebook__name { margin: 0; overflow-wrap: anywhere; min-inline-size: 0; font-size: 1.0625rem; font-weight: var(--fw-medium); }
  .c-facebook__text { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); }
  .c-facebook--widget { padding: 0; background: none; }
  .c-facebook__widget { inline-size: 100%; max-inline-size: var(--rail); block-size: 31.25rem; background: var(--surface-alt); overflow: hidden; }
  .c-facebook__widget iframe { inline-size: 100%; block-size: 100%; border: 0; }
}
