/* Progress.tz v3.1.1.17 — mobile/tablet sidebar + Progress Brief spacing, Back to Top */

/* Back-to-top control: hidden until the runtime activates it. */
.pz-back-to-top-v31117{
  position:fixed;
  right:22px;
  bottom:24px;
  z-index:950;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid var(--pz-line,var(--line,#dbe3ec));
  border-radius:999px;
  background:var(--pz-surface,var(--panel,#fff));
  color:var(--pz-text-strong,var(--text,#102033));
  box-shadow:0 10px 28px rgba(10,25,45,.18);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease,background-color .2s ease;
}
.pz-back-to-top-v31117.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.pz-back-to-top-v31117:hover{background:var(--pz-surface-2,var(--panel2,#f3f6f9))}
.pz-back-to-top-v31117:focus-visible{outline:3px solid color-mix(in srgb,var(--pz-blue,#2472c8) 35%,transparent);outline-offset:3px}
.pz-back-to-top-v31117 svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* Tablet/mobile: supporting content should read as one controlled stack. */
@media (max-width:900px){
  .pz-home-layout{gap:20px!important}
  .pz-home-sidebar{margin-top:0!important}
  .pz-home-sidebar .pz-sidebar-sticky{display:grid;gap:16px!important}
  .pz-home-sidebar .pz-sidebar-card{margin:0!important}
  .pz-home-sidebar .pz-sidebar-ad:empty{display:none!important}
  .pz-home-layout + .newsletter-box{margin-top:20px!important}
  .newsletter-box{margin-bottom:24px!important}
}

@media (max-width:680px){
  .pz-home-layout{gap:16px!important}
  .pz-home-sidebar .pz-sidebar-sticky{gap:12px!important}
  .pz-home-sidebar .pz-sidebar-card{padding:14px!important;border-radius:16px!important}
  .pz-sidebar-head{margin-bottom:9px!important}
  .pz-sidebar-discussed a{padding:9px 0!important}
  .pz-sidebar-categories a{padding:8px 0!important}
  .pz-home-layout + .newsletter-box{
    margin-top:16px!important;
    margin-bottom:20px!important;
    padding:20px 18px!important;
    border-radius:18px!important;
    gap:16px!important;
  }
  .newsletter-box .eyebrow{margin-bottom:6px}
  .newsletter-box h2{margin-bottom:10px!important;line-height:1.12}
  .newsletter-box p{line-height:1.5!important}
  .newsletter-form{gap:10px!important}

  /* Keep the button above the sticky mobile advertisement. */
  .pz-back-to-top-v31117{right:16px;bottom:88px;width:44px;height:44px}
}

@media (max-width:420px){
  .pz-home-sidebar .pz-sidebar-sticky{gap:10px!important}
  .pz-home-layout + .newsletter-box{margin-top:14px!important;padding:18px 16px!important}
  .pz-back-to-top-v31117{right:14px;bottom:84px}
}

@media (prefers-reduced-motion:reduce){
  .pz-back-to-top-v31117{transition:none}
}
