/* The native player stays intact; only its outer frame is sized and rounded. */
#instagram .reels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:28px;max-width:1140px;margin-inline:auto;padding:0;overflow:visible;scroll-snap-type:none}
#instagram .reel{min-width:0;width:100%;max-width:100%;grid-column:auto;justify-self:stretch}
#instagram .reel-embed{box-sizing:border-box;position:relative;width:100%;min-width:0;min-height:0;border:1px solid #ffffff1f;border-radius:16px;overflow:hidden;clip-path:inset(0 round 16px);isolation:isolate;background:#fff;color:#1b1d20}
#instagram .instagram-embed-mount{position:relative;transform-origin:top left}
#instagram .instagram-embed-mount iframe{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important}
#instagram .reel.is-loading .reel-embed{min-height:520px;background:#25272a}
#instagram .reel.embed-failed .reel-embed{height:auto;min-height:250px;background:#25272a}
#instagram .embed-placeholder{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:24px;text-align:center;line-height:1.7;color:#c7c7cd}
#instagram .embed-placeholder[hidden]{display:none!important}
#instagram .embed-retry{min-height:44px;padding:10px 20px;cursor:pointer}
#instagram .embed-fallback-link{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:4px}
#instagram .embed-retry:focus-visible,#instagram .embed-fallback-link:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
@media(min-width:681px) and (max-width:1000px){
 #instagram .reels-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;gap:28px 24px}
 #instagram .reel:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 24px)/2);justify-self:center}
}
@media(max-width:680px){
 #instagram .reels-grid{grid-template-columns:minmax(0,1fr);max-width:360px;gap:26px}
 #instagram .reel:last-child:nth-child(odd){grid-column:auto;width:100%;justify-self:stretch}
}
