/* Correção restrita ao painel de publicações do Instagram. */
.ig-expanded,.ig-expanded-heading,#ig-official-post{min-width:0;box-sizing:border-box}
#ig-official-post{width:100%;max-width:100%}
#ig-official-post .instagram-media,#ig-official-post iframe{min-width:0!important;width:100%!important;max-width:540px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
.ig-expanded-heading h3{min-width:0;flex:1;overflow-wrap:anywhere}
.ig-expanded-heading #ig-close{flex:0 0 auto;white-space:nowrap;min-width:44px}
.ig-small-preview{display:none;color:inherit;text-decoration:none;border:1px solid #dce3eb;border-radius:10px;overflow:hidden;background:#fff}
.ig-small-preview img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#f5f7fa}
.ig-small-preview span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;box-sizing:border-box;font:600 15px/1.4 system-ui,sans-serif;color:#315b96;text-align:center;text-decoration:underline;text-underline-offset:3px}
.ig-small-preview:focus-visible{outline:3px solid #3863a5;outline-offset:3px}
#ig-official-post.ig-compact .instagram-media,#ig-official-post.ig-compact iframe{display:none!important}
#ig-official-post.ig-compact .ig-small-preview{display:block}
@media(max-width:600px){.ig-expanded{padding:16px 0}.ig-expanded-heading,.ig-expanded>a,.ig-expanded>p{margin-left:12px;margin-right:12px}.ig-expanded-heading{gap:12px}.ig-expanded-heading h3{font-size:18px;line-height:1.4}}
.ig-expanded-heading{align-items:center}
#ig-official-post.ig-compact + #ig-full,#ig-official-post.ig-compact ~ p{display:none}
/* Conter também a largura provisória inserida pelo provedor durante a carga. */
#ig-official-post{overflow:hidden}
.ig-small-preview:focus-visible{outline-offset:-3px}
