/* SiteKit ad slots (KJ FN-042, 2026-11-05). Mobile first. Every slot reserves its height (--ad-hm mobile, --ad-h desktop)
   so pages never jump when an ad loads (CLS). New filename because theme CSS is cached for 7 days (v5: sticky sidebar fixed + header offset, FN-045). */
.tbgl-ad{display:block;margin:28px auto;text-align:center;clear:both;max-width:100%}
.tbgl-ad-label{display:block;font:600 10px/1.4 Nunito,"Open Sans",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#6b778c;margin:0 0 6px}
.tbgl-ad-box{min-height:var(--ad-hm,250px);display:flex;align-items:center;justify-content:center;overflow:hidden}
@media (min-width:768px){.tbgl-ad-box{min-height:var(--ad-h,250px)}}
.tbgl-ad img{display:block;width:var(--wm,auto);max-width:100%;height:auto;margin:0 auto}
@media (min-width:768px){.tbgl-ad img{width:var(--w,auto)}}
.tbgl-ad ins.adsbygoogle{width:100%}
.tbgl-house{display:block;line-height:0;border-radius:4px;overflow:hidden}
.tbgl-house:focus-visible{outline:3px solid #1E6FD9;outline-offset:2px}

/* Header / leaderboard: 320x100 on phones, 728x90 from tablet up */
.tbgl-ad--header{margin:14px auto 0;padding:0 16px;box-sizing:border-box;max-width:1000px}

/* Between story rows: spans the whole grid */
.tbgl-grid>.tbgl-ad-row{grid-column:1/-1;margin:4px 0}

/* In-article + end of article: 300x250 centred in the text column */
.tbgl-body .tbgl-ad--in_article{margin:32px auto}
.tbgl-ad--end_article{margin:36px auto 8px}

/* Article + sticky 300x600 sidebar on desktop (>= 992px).
   FN-045: the Newspaper themes set #td-outer-wrap{overflow:hidden}, and an overflow:hidden ancestor turns position:sticky into a no-op.
   overflow-x:clip keeps the page from scrolling sideways without creating a scroll container, so sticky works again. */
.tbgl-sidebar{display:none}
@media (min-width:992px){
  #td-outer-wrap{overflow:visible;overflow-x:clip}
  .tbgl-article-layout.has-sidebar{display:grid;grid-template-columns:minmax(0,780px) 300px;gap:32px;justify-content:center;max-width:1176px;margin:0 auto;padding:0 24px;box-sizing:border-box}
  .tbgl-article-layout.has-sidebar>.tbgl-article{margin:0;padding-left:0;padding-right:0;max-width:none;min-width:0}
  .tbgl-sidebar{display:block;padding-top:56px}
  .tbgl-sidebar .tbgl-ad{margin:0}
  .tbgl-sidebar-sticky{position:sticky;top:72px}   /* Say What pins its 48 px menu bar on scroll: single.php sets the exact top (bar + 16 px) */
}
@media (min-width:1100px){
  .tbgl-article-layout.has-sidebar{gap:48px}
}

/* Mobile sticky footer 320x50, closable */
.tbgl-sticky{display:none}
@media (max-width:767px){
  .tbgl-sticky{display:block;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#EEF8FB;box-shadow:0 -2px 10px rgba(11,42,63,.18);padding:3px 0 5px}
  .tbgl-sticky .tbgl-ad{margin:0}
  .tbgl-sticky .tbgl-ad-label{margin:0 0 2px;font-size:9px}
  body.has-tbgl-sticky{padding-bottom:74px}
}
.tbgl-sticky-close{position:absolute;top:2px;right:8px;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#0B2A3F;color:#fff;font:400 20px/30px Arial,sans-serif;cursor:pointer}
.tbgl-sticky-close:focus-visible{outline:3px solid #FFC83D;outline-offset:2px}
