.pma-ad{display:block;box-sizing:border-box;inline-size:min(100%,62rem);margin:1.2rem auto;padding:.55rem .8rem;border:1px solid #d9dfe8;border-radius:.7rem;background:#fff;color:#24344a;text-align:center;overflow-wrap:anywhere;}
.pma-ad-label{display:block;margin:0 0 .25rem;font:600 .74rem/1.5 Tahoma,Arial,sans-serif;color:#556375;}
.pma-ad-creative,.pma-ad-creative>*{max-inline-size:100%}.pma-ad-creative img{display:block;max-inline-size:100%;block-size:auto;margin-inline:auto}.pma-ad-creative a{display:inline-block;max-inline-size:100%}.pma-ad-creative a:focus-visible{outline:3px solid #334fae;outline-offset:2px}
body.pma-screen{margin:0;padding:0;max-width:none;background:#fff}.pma-screen-main{height:100vh;height:100dvh;width:100%;max-width:none;margin:0;padding:0;display:flex;flex-direction:column}
.pma-screen-main>iframe{display:block;flex:1 1 0;min-height:0;width:100%;border:0}.pma-screen-main>.pma-ad{flex:0 1 auto;max-block-size:24vh;overflow:auto;margin:0 auto;border-radius:0}.pma-screen-main>.pma-ad img{max-height:17vh;object-fit:contain}.pma-screen-main .pma-ad-creative iframe{max-height:18vh}
.pma-ad[hidden],.pma-consent[hidden]{display:none!important}.pma-consent{background:#eff3fa;color:#182b48;padding:16px 5%;border-top:1px solid #cfdaeb}.pma-consent>div{max-width:990px;margin:auto}.pma-preferences button,.pma-contact button{font:inherit;padding:6px 16px;background:#233fb4;color:white;border:0;border-radius:6px;cursor:pointer}.pma-preferences button{margin-inline-end:5px}.pma-publisher,.pma-contact{direction:rtl}.pma-story-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}.pma-story-grid article{border:1px solid #d9e0ea;padding:12px;border-radius:12px}.pma-story-grid h2{font-size:1.2rem;line-height:1.55}.pma-story-grid img,.pma-story-cover img{width:100%;max-height:410px;object-fit:cover;border-radius:10px}.pma-story-grid img{aspect-ratio:1.8}.pma-story-pager{display:flex;gap:15px;margin:16px 0}.pma-story-cover{margin:0 0 22px}.pma-story-cover figcaption{font-size:.85rem}.pma-contact{display:grid;gap:12px}.pma-contact label{display:block}.pma-contact input:not([type=checkbox]),.pma-contact textarea{font:inherit;display:block;width:100%;padding:8px;border:1px solid #8794ad;border-radius:6px}.pma-contact button{justify-self:start}

@media(max-width:850px) {
  body.pma-screen{min-inline-size:0}
  body.pma-screen .pma-screen-main{height:100svh;max-height:100dvh}
  body.pma-screen .pma-screen-main>iframe{min-inline-size:0}
  body.pma-screen>.pv-float{display:none}
  .pma-story-cover,.pma-story-grid,.pma-contact,.pma-preferences,.pma-consent{min-inline-size:0;overflow-wrap:anywhere}
  .pma-story-grid{grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))}
  .pma-story-grid h2,.pma-story-grid p,.pma-story-cover figcaption,.pma-contact label,.pma-preferences button{white-space:normal;line-height:1.8}
  .pma-story-pager,.pma-consent .pv-buttons{flex-wrap:wrap}
}
