/* qiz-product-mobile-2.css: product page on phones. Overrides qiz-product-mobile.css. Each live visual gets its phone-shaped frame, so the animation switches to its phone layout. */
figure[data-qiz-live] iframe{pointer-events:none}
@media (max-width:640px){
  :is(#qiz,body) figure:has(> img.wp-image-568),:is(#qiz,body) figure:has(> img.wp-image-584),:is(#qiz,body) figure:has(> img.wp-image-586),:is(#qiz,body) figure:has(> img.wp-image-572),:is(#qiz,body) figure:has(> img.wp-image-573),:is(#qiz,body) figure:has(> img.wp-image-574){position:relative;width:100%!important;max-width:100%!important;margin:0!important}
  :is(#qiz,body) figure:has(> img.wp-image-568) img,:is(#qiz,body) figure:has(> img.wp-image-584) img,:is(#qiz,body) figure:has(> img.wp-image-586) img,:is(#qiz,body) figure:has(> img.wp-image-572) img,:is(#qiz,body) figure:has(> img.wp-image-573) img,:is(#qiz,body) figure:has(> img.wp-image-574) img{width:100%!important;height:100%!important;object-fit:cover;object-position:0 50%}
  :is(#qiz,body) figure:has(> img.wp-image-568){aspect-ratio:390/560}
  :is(#qiz,body) figure:has(> img.wp-image-584){aspect-ratio:390/740}
  :is(#qiz,body) figure:has(> img.wp-image-586){aspect-ratio:390/600}
  :is(#qiz,body) figure:has(> img.wp-image-572){aspect-ratio:390/560}
  :is(#qiz,body) figure:has(> img.wp-image-573){aspect-ratio:390/560}
  :is(#qiz,body) figure:has(> img.wp-image-574){aspect-ratio:390/640}
  :is(#qiz,body) figure.wp-block-image:has(> img) iframe{left:0!important;top:0!important;width:100%!important;height:100%!important}
  /* how it works: keeps a readable width and swipes sideways */
  :is(#qiz,body) #root-cause-remediation .qiz-product-tab__visual:has(img.wp-image-585){overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
  :is(#qiz,body) #root-cause-remediation .qiz-product-tab__visual:has(img.wp-image-585)::-webkit-scrollbar{display:none}
  :is(#qiz,body) #root-cause-remediation figure:has(> img.wp-image-585){width:1000px!important;max-width:none!important;margin:0!important}
  :is(#qiz,body) #root-cause-remediation figure:has(> img.wp-image-585) img{width:1000px!important;max-width:none!important;height:auto!important}
  /* tabs: all four visible as a 2x2 grid, full labels */
  :is(#qiz,body) #root-cause-remediation .afnb-advanced-tabs__list{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;overflow:visible!important}
  :is(#qiz,body) #root-cause-remediation .afnb-advanced-tabs__tab{max-width:none!important;width:auto!important;min-width:0!important;padding:8px 10px!important;justify-content:center;text-align:center}
  :is(#qiz,body) #root-cause-remediation .afnb-advanced-tabs__tab p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25}
}
