/* One control row for the site's quote, card and photo carousels. */
body .cgp-nav {
    --cgp-ink:#0e3a5d;
    --cgp-blue:#107ac2;
    --cgp-gold:#dfb034;
    --cgp-line:#c7d6df;
    --cgp-surface:#fff;
    display:grid;
    grid-template-columns:44px minmax(0,1fr) 44px;
    align-items:center;
    gap:6px;
    position:relative;
    container-type:inline-size;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    margin:14px 0 0;
    padding:9px 0 0;
    border-top:1px solid var(--cgp-line);
    color:var(--cgp-ink);
}
body .cgp-nav::before {
    content:"";
    position:absolute;
    left:0;
    top:-1px;
    width:28px;
    height:2px;
    background:var(--cgp-gold);
}
body .cgp-nav.cgp-dark {
    --cgp-ink:#fff;
    --cgp-blue:#84d4f4;
    --cgp-line:#68869a;
    --cgp-surface:#0e3a5d;
}
body .cgp-nav[hidden],body .cgp-nav [hidden],body [data-cgp-original] {display:none!important}
body .cgm-controls:has(.cgp-nav) {display:block;width:100%}
body .cgm-controls:has(.cgp-nav) .cgm-all {display:block;margin:4px 0 0 auto}
body .cgp-center,body .cgp-marks {display:flex;align-items:center;justify-content:center;min-width:0}
body .cgp-center {gap:clamp(4px,1vw,14px)}
body .cgp-count {
    color:var(--cgp-ink);
    font:700 12px/1.2 var(--cg-text,"Noto Sans",Arial,sans-serif);
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
    letter-spacing:.06em;
}
body .cgp-nav button {
    appearance:none;
    display:grid;
    place-items:center;
    box-sizing:border-box;
    height:44px;
    min-height:44px;
    padding:0!important;
    margin:0;
    line-height:1;
    background:none;
    box-shadow:none;
    transform:none;
    color:var(--cgp-ink);
    cursor:pointer;
    touch-action:manipulation;
}
body .cgp-nav :is(.cgp-prev,.cgp-next) {
    width:44px;
    border:1px solid var(--cgp-line);
    border-radius:50%;
    background:var(--cgp-surface);
}
body .cgp-nav :is(.cgp-prev,.cgp-next)::before {
    content:"";
    display:block;
    width:8px;height:8px;
    box-sizing:content-box;
    border:solid currentColor;
    border-width:0 2px 2px 0;
    transform:translateX(-2px) rotate(-45deg);
}
body .cgp-nav .cgp-prev::before {transform:translateX(2px) rotate(135deg)}
body .cgp-nav button[aria-disabled=true] {opacity:.42;cursor:default}
body .cgp-nav .cgp-dot {
    width:clamp(26px,3vw,42px);
    max-width:none;
    border:0;
    border-radius:6px;
    background:none;
}
body .cgp-nav .cgp-dot::before {
    content:"";
    display:block;
    box-sizing:border-box;
    width:8px;height:8px;
    border:1.5px solid var(--cgp-blue);
    border-radius:8px;
    background:none;
}
body .cgp-nav .cgp-dot[aria-current=true]::before {
    width:21px;
    border:2px solid var(--cgp-ink);
    background:var(--cgp-gold);
}
body .cgp-nav .cgp-meter {
    width:clamp(52px,11vw,90px);
    height:5px;
    overflow:hidden;
    border-radius:5px;
    background:var(--cgp-line);
}
body .cgp-meter::after {content:"";display:block;width:var(--cgp-progress);height:100%;background:var(--cgp-blue)}
body .cgp-nav button:focus-visible {outline:3px solid var(--cgp-gold)!important;outline-offset:2px!important}
@media(hover:hover) {
    body .cgp-nav :is(.cgp-prev,.cgp-next):hover:not([aria-disabled=true]) {color:#fff;background:#0e3a5d;border-color:#0e3a5d}
    body .cgp-nav.cgp-dark :is(.cgp-prev,.cgp-next):hover:not([aria-disabled=true]) {color:#0e3a5d;background:#fff;border-color:#fff}
    body .cgp-nav .cgp-dot:hover:not([aria-current=true])::before {background:var(--cgp-blue)}
}
@media(prefers-reduced-motion:no-preference) {
    body .cgp-nav button {transition:background-color .14s,color .14s,border-color .14s}
    body .cgp-nav .cgp-dot::before {transition:width .16s,background-color .16s}
}
body .cgp-sr,body .cgr-quote-controls.cgp-status-only:not([hidden]) {
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip-path:inset(50%);white-space:nowrap;border:0!important;
}
body dialog .cgp-nav {width:calc(100% - 24px);margin:0 12px 8px;padding-top:6px}
body #cgr-event-gallery.cgp-home-gallery .cgr-gallery-bar {justify-content:flex-end}
body #faculty-lightbox .cgp-nav button,body #cgr-event-gallery .cgp-nav button {
    position:static;
    inset:auto;
    color:var(--cgp-ink);
    min-width:0;
}
body #faculty-lightbox .cgp-nav :is(.cgp-prev,.cgp-next),body #cgr-event-gallery .cgp-nav :is(.cgp-prev,.cgp-next) {
    width:44px;height:44px;border-radius:50%;background:var(--cgp-surface);border:1px solid var(--cgp-line);
}
body #faculty-lightbox .cgp-nav .cgp-dot,body #cgr-event-gallery .cgp-nav .cgp-dot {
    width:clamp(26px,3vw,42px);height:44px;border:0;background:none;
}
@media(max-width:359px) {
    body .cgp-center {gap:2px}
    body .cgp-nav {gap:2px}
    body .cgp-nav .cgp-dot {width:24px}
    body .cgp-count {font-size:11px;letter-spacing:0}
}
@container (max-width:315px) {
    .cgp-center:has(.cgp-marks:not([hidden])) {flex-direction:column;gap:0}
    .cgp-center .cgp-marks .cgp-dot {width:24px;min-height:30px;height:30px}
}
@media(forced-colors:active) {
    body .cgp-nav .cgp-dot[aria-current=true]::before {background:Highlight}
    body .cgp-nav button[aria-disabled=true] {color:GrayText;opacity:1}
}
