@charset "UTF-8";
/* ===========================================================================
   PAGER CONTROLS — shared by the faculty list and the student reviews
   ---------------------------------------------------------------------------
   Both sections show a fixed number of items and slide to the rest, and the
   owner asked for the controls ABOVE the list in both. Keeping one stylesheet
   means they cannot drift apart.

   The row is the position dots and the two arrows, right-aligned above the
   list. A "1-4 of 6" counter sat on the left of it until the owner asked for
   the numbers to go; the dots carry the position on their own.

   static/js/section-pager.js builds this markup; below 62rem it removes
   .is-paged and hides the nav, and every item is simply on the page.
   =========================================================================== */

.ryp-pager__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;   /* the "1-4 of 6" counter that used to hold the
                                    left end of this row was removed at the
                                    owner's request, so the controls close up */
    gap: 1rem;
    margin-bottom: clamp(.75rem, .6rem + .5vw, 1.125rem);
    padding-bottom: clamp(.625rem, .5rem + .4vw, .875rem);
    border-bottom: 1px solid rgba(222, 42, 29, .13);
}
.ryp-pager__nav[hidden] { display: none; }


.ryp-pager__controls {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ryp-pager__dots {
    display: flex;
    align-items: center;
    gap: .375rem;
}
.ryp-pager__dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(222, 42, 29, .22);
    cursor: pointer;
    transition: background-color 260ms ease, width 260ms ease;
}
.ryp-pager__dot.is-active {
    width: 38px;
    background: var(--ryp-red);
}
.ryp-pager__dot:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
}

.ryp-pager__arrow {
    width: 36px;
    height: 36px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: 1px solid rgba(222, 42, 29, .25);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}
.ryp-pager__arrow span {
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--ryp-red);
    border-bottom: 2px solid var(--ryp-red);
    transition: border-color 220ms ease;
}
.ryp-pager__arrow[data-dir="-1"] span { transform: rotate(-135deg) translate(-2px, -2px); }
.ryp-pager__arrow[data-dir="1"] span  { transform: rotate(45deg) translate(-2px, -2px); }

.ryp-pager__arrow:hover:not(:disabled),
.ryp-pager__arrow:focus-visible:not(:disabled) {
    background: var(--ryp-red);
    border-color: var(--ryp-red);
}
.ryp-pager__arrow:hover:not(:disabled) span,
.ryp-pager__arrow:focus-visible:not(:disabled) span {
    border-right-color: #fff;
    border-bottom-color: #fff;
}
.ryp-pager__arrow:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
}
.ryp-pager__arrow:disabled {
    opacity: .28;
    cursor: default;
}

.ryp-pager__viewport.is-paged { overflow: hidden; }
.ryp-pager__viewport.is-paged > * {
    transition: transform 460ms cubic-bezier(.33, 1, .68, 1);
    will-change: transform;
}

/* ---------------------------------------------------------------------------
   THE HORIZONTAL AXIS
   ---------------------------------------------------------------------------
   Below 62rem the slider runs left to right and is swiped. The track becomes
   a single row of full-width cards; section-pager.js then moves it on X
   instead of Y and the same arrows and dots drive it.

   `touch-action: pan-y` is what lets both gestures live together: the browser
   keeps vertical scrolling for itself, and hands us the sideways ones. Without
   it a reader would either be unable to scroll past the slider or unable to
   swipe it.
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .ryp-pager__viewport.is-paged {
        touch-action: pan-y;
    }
    .ryp-pager__viewport.is-paged > * {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        align-items: start;
    }

    /* the chevrons point the way the cards now move */
    .ryp-pager__arrow[data-dir="-1"] span { transform: rotate(135deg) translate(-2px, -2px); }
    .ryp-pager__arrow[data-dir="1"] span  { transform: rotate(-45deg) translate(-2px, -2px); }
}

@media (prefers-reduced-motion: reduce) {
    .ryp-pager__viewport.is-paged > * { transition: none; }
}
