/* Scoped styles: no global layout/theme overrides. */
.glads-slot{box-sizing:border-box;display:block;position:relative;width:100%;max-width:100%;min-width:0;margin:22px 0 30px;overflow:visible;clear:both}
.glads-slot *{box-sizing:border-box}
.glads-slot--top{margin:24px 0 34px}
.glads-slot--bottom{margin:24px 0 38px}
.glads-slot--sidebar{margin:26px 0 35px}
.glads-slot__label{display:block;text-align:center;font-family:inherit;font-weight:600;font-size:10px;letter-spacing:.1em;color:#8e99a6;text-transform:uppercase;line-height:18px;margin-bottom:7px}
.glads-slot__content{display:block;position:relative;max-width:100%;margin:0 auto;text-align:center;min-height:var(--glads-min-height,0px)}
.glads-slot--image .glads-slot__content{min-height:0}
.glads-slot__content>ins,.glads-slot__content>iframe,.glads-slot__content>div{max-width:100%}
.glads-slot__image-link{display:inline-block;line-height:0;max-width:100%;text-decoration:none;border:0}
.glads-slot__image{display:block;width:auto;height:auto;max-width:100%;max-height:none;object-fit:contain;border:0;border-radius:4px;margin:0 auto}
.glads-slot--sidebar .glads-slot__image{width:100%;height:auto}
.glads-slot--debug{outline:2px dashed #0671e5!important;outline-offset:5px}
.glads-debug-panel{position:fixed;z-index:2147483600;left:16px;bottom:16px;max-width:min(480px,calc(100vw - 32px));max-height:40vh;overflow:auto;border-radius:10px;box-shadow:0 7px 40px #0003;color:#18202a;background:white;padding:13px 15px;font:12px/1.6 system-ui,sans-serif}
.glads-debug-panel strong{display:block;margin-bottom:5px;font-size:13px}
.glads-debug-panel div{padding:3px 0}
.glads-debug-panel .glads-ok{color:#146f3b}
.glads-debug-panel .glads-warn{color:#c2580a}
@media(max-width:767px){.glads-slot{margin:19px 0 27px}.glads-slot__content{min-height:0!important}.glads-slot--sidebar{max-width:100%}}

/* Paired desktop bottom + sidebar ads: the small banner is bottom-aligned with
   the main banner instead of extending the entire feed/newsletter row.
   Enabled only after the JS collision check against Popular Stories. */
@media (min-width:901px) {
  .page-home .gl-latest-home .feed-layout.glads-feed--paired { position:relative; }
  .page-home .gl-latest-home .feed-layout.glads-feed--paired > .gl-home-sidebar > .glads-slot--sidebar {
    position:absolute;
    inset-inline-end:0;
    inset-block-end:var(--glads-pair-bottom,38px);
    width:var(--glads-rail-width,290px);
    max-width:100%;
    margin:0;
    clear:none;
    z-index:1;
  }
}
