/* Native same-origin document navigation; unsupported browsers keep normal routing. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    /* Keep the real header live: captured elements cannot receive pointer events. */
    :root { view-transition-name: none; }
    #main-content { view-transition-name: cg-content; }
    ::view-transition-group(cg-content) { animation: none; }
    ::view-transition-old(cg-content), ::view-transition-new(cg-content) {
        animation-duration: 220ms;
        animation-fill-mode: both;
        animation-timing-function: ease-out;
        height: 100%;
        object-fit: none;
        object-position: top left;
    }
    ::view-transition { pointer-events: none; }
    @media (min-width: 992px) {
        #siteHeader .nav-indicator-ready .nav-active-indicator { view-transition-name: cg-nav-pill; }
        ::view-transition-group(cg-nav-pill) {
            animation-duration: 300ms;
            animation-timing-function: cubic-bezier(.22, 1, .36, 1);
        }
        ::view-transition-old(cg-nav-pill) { display: none; }
        ::view-transition-new(cg-nav-pill) { animation: none; }
    }
}
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}
@media print {
    @view-transition { navigation: none; }
}
