/* V2 screenshot corrections. Load after the original page styles.
   Only FAQ owns the #models reset; the accepted homepage product rail stays intact. */

/* .page-cta previously replaced .container's auto inline margins with zero. */
main .page-cta.container{margin-inline:auto}

/* Keep the existing CTA module and its content, centered as requested. */
main .page-cta,
.inner-page .product-summary .page-cta{display:block;text-align:center}
main .page-cta :is(h2,h3,p){margin-inline:auto}
main .page-cta>div{margin-inline:auto;text-align:center}
main .page-cta>.page-actions,
main .page-cta .page-actions{justify-content:center;flex-wrap:wrap}
main .page-cta :is(.button,.rep-btn){margin:5px 6px;max-width:100%;white-space:normal}
main .page-cta h2{max-width:min(100%,760px)}
main .page-cta p{max-width:78ch}

/* The FAQ topic strip is navigation, so retain a wrapping horizontal row. */
main nav.page-cta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
main nav.page-cta .button{margin:0;min-width:0;flex:0 1 auto}

/* Homepage #models rules also matched the legacy FAQ topic ID. Restore normal
   vertical document flow here rather than hiding the overflow they caused. */
body[data-page-key="faq"] #models{display:block;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:none;gap:0}
body[data-page-key="faq"] main :is(#models,#camera-options,#samples,#oem,#website){min-width:0}
body[data-page-key="faq"] main :is(#models,#samples,#website)>:is(.overline,h2){display:block;width:100%;min-width:0}
body[data-page-key="faq"] main details.panel{display:block;width:100%;max-width:100%;min-width:0;margin:14px 0;padding:20px 24px;overflow-wrap:anywhere}
body[data-page-key="faq"] main details.panel>summary{display:block;position:relative;min-height:44px;padding:4px 32px 4px 0;list-style:none;color:var(--heading);font-size:18px;font-weight:500;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}
body[data-page-key="faq"] main details.panel>summary::after{content:"+";position:absolute;right:2px;top:2px;font-size:24px;line-height:1.6;font-weight:300;color:var(--primary)}
body[data-page-key="faq"] main details.panel[open]>summary{margin-bottom:14px}
body[data-page-key="faq"] main details.panel[open]>summary::after{content:"−"}
body[data-page-key="faq"] main details.panel>:is(p,ul,ol){max-width:78ch}
body[data-page-key="faq"] main details.panel>p:last-child{margin-bottom:0}
body[data-page-key="faq"] main details.panel a{max-width:100%;overflow-wrap:anywhere}

@media(max-width:768px){
  main .page-cta :is(.button,.rep-btn){margin:5px 4px}
  main nav.page-cta{gap:10px}
  body[data-page-key="faq"] main details.panel{padding:16px 18px}
  body[data-page-key="faq"] main details.panel>summary{font-size:16px;line-height:1.65;padding-right:28px}
}
@media(max-width:390px){
  main .page-cta{padding-inline:18px}
  main nav.page-cta .button{flex-basis:100%;margin:0}
  body[data-page-key="faq"] main details.panel{padding:15px 16px}
}
