/* Static rebuild of the legacy amg-popups "button" trigger popups (settings from wp_amg_popups). */
.bio-icon,[data-amg-trigger]{cursor:pointer}
.amg-popup{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease}
.amg-popup[hidden]{display:none}
.amg-popup.is-open{opacity:1}
.amg-popup-overlay{position:absolute;inset:0}
.amg-popup-box{position:relative;box-sizing:border-box;max-height:calc(100vh - 40px);overflow:auto;color:#fff;border-radius:10px}
.amg-popup-content{overflow:hidden}
.amg-popup-content h1,.amg-popup-content h2,.amg-popup-content h3,.amg-popup-content p,.amg-popup-content div{color:#fff}
.amg-popup-content a{color:#3da9e0}
.amg-popup-content img{float:left;margin:0 30px 20px 0;max-width:35%;height:auto;border-radius:10px}
.amg-popup-close{position:sticky;top:0;float:right;margin:-28px -24px 0 0;z-index:1;background:none;border:0;color:#fff;font-size:34px;line-height:1;cursor:pointer;padding:4px 8px}
html.amg-popup-lock,html.amg-popup-lock body{overflow:hidden}
@media (max-width:767px){.amg-popup-close{margin:-22px -12px 0 0}.amg-popup-box{padding:30px 20px!important}.amg-popup-content img{float:none;display:block;margin:0 auto 20px;max-width:60%}}
