/* Pogo */
ins.zmgad-full-width { display: flex; margin: 30px auto; justify-items: center; align-items: center; justify-content: center; }
[data-autopogo] { position: relative; }
[data-autopogo], [data-autopogo] * { content-visibility: visible !important; }
[data-autopogo] .twitter-tweet { min-height: 500px; }
.pgDsbld div[data-pogo], .pgDsbld .ad, .pgDsbld .ad__top { display: none !important; }

iframe[data-testid="amzn-nca-ad"] { position: absolute; top: 0; left: 0; }
#pogo-quickslider { position: absolute; }
body.pgDsbld div[data-pogo] { display: none; }
div[data-pogo] iframe { margin-left: auto; margin-right: auto; }
div[data-pogo="main"], div[data-pogo="incontent"], div[data-pogo="top"], div[data-pogo="sidebar"], div[data-pogo="comments"]  { display: flex; min-height: 280px; flex-direction: column; justify-items: center; align-items: center; justify-content: center; }
div[data-pogo].noAdvLabel:before { content: "" !important; display: none !important; }
div[data-pogo="incontent"] { width: 100%; }
div[data-pogo="incontent"].pgIntscrl:before { display: none; position: relative; top: -25px; }

div[data-pogo="incontent"].apscustom { min-height: 0; display: block; }
div[data-aps-custom-status="rendered"].apscustom { margin: 1rem auto; }


div.pogoPSWPR { width: 100vw !important; }
.px-4 div.pogoPSWPR { margin-left: -1rem; }
.max-w-8xl:has(.pogoPSWPR) { max-width: 100vw; }

.px-4 article ins.zmgad-full-width div.pogoPSWPR { margin-left: unset; margin-right: unset; }

/*
div[data-pogo="sidebar"]:empty { display: none; }
div[data-pogo="sidebar"] { margin-top: 10px; }
div[data-pogo="sidebar"]:before,
div[data-pogo="incontent"]:before, div[data-pogo="main"]:before { content:"ADVERTISEMENT"; font-size: 12px; display: block; text-decoration: none; color:rgb(165,165,165); margin-bottom: 10px; }
*/

div[data-pogo="outstream"] { }
div.pgOutstream { margin-top: 2rem; max-width: 720px; aspect-ratio: 16/9; }
div[data-pogo="outstream"] .pgOts { margin: 0 auto; }
div.pgOtsScrl div.pgOts { display: block; position: fixed; bottom: 10px; right: 10px; left: auto; width: 300px; height: 168px; box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1), 0px 17px 24px rgba(0, 0, 0, 0.07); }
div.pgOtsScrl .pgCloseBtn { right: 0px; }
div.pgOtsScrl .VPV, div.pgOtsScrl .VP { border-radius: 1px; overflow: hidden; }
div.pgOts span.VProgress { background-color: #4c4edd; }
div.pgOts span.VProgCnt { height: 3px !important; }


/*
body.hasPogoQS .pbs[data-pbs-position="sticky"] .pbs__player { position: relative !important; z-index: 12345678 !important; }
body.hasPogoQS.pgQsScrld:not(.pgQSFxd) .pbs[data-pbs-position="sticky"] .pbs__player { position: fixed !important; }
*/
body .bxc.bx-base.bx-type-conversioncorner .bx-slab { display: none; }
div.ziff-video-container { aspect-ratio: 16/9; }

@media (max-width: 767px) {
body:has(#pogo-adhesion.open) .pbs[data-pbs-position="sticky"] .pbs__player { position: relative !important; z-index: 12345678 !important; }
}

@media (min-width: 768px) {
  div[data-pogo="main"], div[data-pogo="incontent"], div[data-pogo="top"], div[data-pogo="comments"]  { min-height: 120px; }
  [data-autopogo] blockquote.twitter-tweet { min-height: 550px; }
}

@media (min-width: 1024px) {
  div[data-pogo="main"], div[data-pogo="incontent"], div[data-pogo="top"], div[data-pogo="comments"]  { min-height: 280px; }
  div[data-pogo="top"] { max-height: 280px; }
  div[data-pogo="top"].pgHaspgNS { max-height: unset; }
  div.pgOtsFxd.pgOtsScrl div.pgOts { position: fixed; bottom: 1rem; right: 1rem; left: unset; }
  div.pgOtsScrl .pgCloseBtn { right: -10px; }
}

@media (min-width: 1600px) {
  div.pgOtsScrl div.pgOts { width: 400px; height: 224px; }

}