﻿/* ============================================================
   Overlay Menu Prototype
   Standalone CSS — not run through gulp; iterate freely.
   ============================================================ */

/* Prototype shell width — the centered max-width cap shared by every horizontal
   band (header/menu, breadcrumb, hero, content, footer, university footer) so
   their edges line up while scrolling. Hybrid: the large-screen cap stays at the
   4x setting (1800px at/below 1080p → ~60px margins; 2000px above 1080p) so wide
   screens keep a full content column, while the 2.1vw gutter (a 2.5x reduction of
   the original 5.25vw) governs small/medium screens for more breathing room.
   Consumers reference `var(--ovp-shell-max, 1800px)` so contexts that load a
   prototype sheet without this file (editor preview, style-guide iframe) still
   get the 1800 base. */
:root { --ovp-shell-max: 1800px; }
@media (min-width: 1921px) { :root { --ovp-shell-max: 2000px; } }

/* Page-wide font for the prototype layout. Only loaded by _LayoutOverlayMenu.cshtml,
   so this scope is naturally limited to Index2 / overlay-menu prototype pages.
   !important is used to override font-family rules baked into site.min.css for
   .navbar-default and the heading tags. Safe because the stylesheet itself only
   loads on prototype pages. */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
body .navbar-default,
body .navbar-default .navbar-nav > li > a,
body button, body input, body select, body textarea {
    font-family: 'Source Sans Pro', sans-serif !important;
}

/* Defensive: hide #thirdNav anywhere within an Index2 page even if a cached/legacy
   render emits one. The Razor gate already suppresses it for home pages. */
.index2-content ~ #thirdNav,
body:has(.index2-content) #thirdNav {
    display: none !important;
}

/* ============================================================
   Top banner — university-standard scroll-morphing header
   ============================================================
   - Fixed 63px bar always, with an 8px orange top border, 1px gray bottom border.
   - Block-I tab (44×51, Illini-blue) anchored at top:-8 so it OVERLAPS the orange
     border and visually hangs from the top of the viewport (matches the live
     ilw-header on brand.illinois.edu — measured dimensions verbatim).
   - Three CSS custom properties drive everything, all purely scroll-position-
     based (no curves, no snaps, no rate multipliers — position = f(scrollY)).
     See wireOvmHeaderScroll in overlay-menu-prototype.js for the staged ranges.

        --ovm-pair-top     Stage A (scrollY 0..40): held at 9.5 (wordmark centered
                           on the hanging portion of the Block-I — brand-compliant).
                           Stage B (scrollY 40..45): drops 9.5 → 4.5 at 1:1, so the
                           wordmark scrolls up 5px in lock-step with the user's
                           next 5px of scroll. Stage C (scrollY ≥ 45): pinned 4.5.
        --ovm-unit-offset  Stage A (scrollY 0..40): drops 60 → 20 at 1:1, so the
                           unit slides up to touch the wordmark. Stage B/C: pinned 20.
        --ovm-bg-buffer    Stages A+B (scrollY 0..45): held at 20. The white bg
                           follows the unit (which is sliding/settling), keeping
                           a constant 20px space below it.
                           Stage C (scrollY 45..65): drops 20 → 0 at 1:1, so the
                           bg keeps shrinking AFTER the pair locks. Staging it
                           sequentially (not concurrent with stages A/B) keeps
                           the bg's total shrink rate at exactly 1:1 with scroll
                           — which matches the body content's rise rate, so the
                           gray border on the bg's outer edge stays flush with
                           the body content's top throughout the morph.

     The unit name's top is calc(var(--ovm-pair-top) + var(--ovm-unit-offset)),
     so it tracks the wordmark in stage B automatically. The bg's height also
     reads --ovm-pair-top and --ovm-unit-offset so it always wraps the unit name
     correctly regardless of which stage you're in.
     JS updates --ovm-unit-offset each frame on scroll (60 → 20), so the unit
     name slides UP from below the bar until it kisses the wordmark's bottom,
     then locks. Single-stage motion — no wordmark animation, no "settle" step.

   - The bar's WHITE background and BOTTOM BORDER both live on #mainNav::before,
     whose height also tracks --ovm-unit-offset. So the white header zone
     expands to cover the unit name's full extent in expanded state (and the
     gray border sits BELOW the unit name, not between names). As the user
     scrolls, the ::before shrinks back to a flat 63px bar with its border at
     vp y=63. Unit name has z-index 2 so it visibly rides on top of the white
     background as it moves. */
:root {
    --ovm-bar-h: 63px;                  /* total bar height (border-box: 8px border + 55px content) */
    --ovm-expanded-h: 133px;            /* body padding-top = bg max extent (vp y=132) + 1 tolerance, so the gray border on the bg's outer edge sits flush with body content top — no white "padding gap" below the border */
    --ovm-pair-top: 12px;               /* wordmark top — moves 12 → 4.5 over scrollY 45..52.5 (stage B). 12 centers the 11-tall brand SVG on the hanging Block-I (vp y=8..43, center 25.5). */
    --ovm-unit-offset: 60px;            /* unit name's offset below the wordmark; 60 → 15 over scrollY 0..45 (stage A) */
    --ovm-bg-buffer: 28px;              /* white bg extends N px past unit-bottom; 28 → 0 over scrollY 52.5..80.5 (stage C). Bumped from 20 → 28 after the wordmark text→SVG conversion: the 11px SVG eats the inline line-height the text had, so the visual bottom padding under the unit name shrank — this restores symmetry with the wordmark's top spacing. */
}

#mainNav {
    height: var(--ovm-bar-h);
    min-height: var(--ovm-bar-h);
    /* Match the screen-margin convention used by .ovp-body, .ovp-hero, and
       .ovs-breadcrumb-band (all 2.1vw). */
    padding: 0 2.1vw;
    border-top: 8px solid var(--il-orange, #FF5F05) !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;          /* white fill is on ::before so unit name can render OVER it */
    box-shadow: none !important;
    overflow: visible;                  /* let the Block-I tab extend UP into the orange border and let the unit name float DOWN below the bar in expanded state */
}
/* White header background. Height tracks --ovm-pair-top, --ovm-unit-offset, AND
   --ovm-bg-buffer so the white area shrinks gracefully with scroll past the
   point where the pair has already locked. The gray bottom border lives on
   ::before's own border-bottom — i.e. at the outer edge of the white bg —
   so it tracks the buffer-shrink automatically. Math:
     ::before starts at #mainNav's padding-box top (vp y=8, after orange border)
     unit name's vp bottom = 8 + pair-top + offset + 24 (line-height) = 32 + pair-top + offset
     ::before bottom = unit-bottom + bg-buffer
     ::before height  = ::before-bottom − 8 = 24 + pair-top + offset + bg-buffer
   At load (pair-top=9.5, offset=60, buffer=20) → height 113.5 → bg-bottom vp y=121.5.
   At lock (pair-top=4.5, offset=20, buffer≈6.15 at scrollY=45) → height 54.65 → bg-bottom vp y=62.65.
   At scrollY=65 (buffer=0) → height 48.5 → bg-bottom vp y=56.5 (flush with unit bottom).
   z-index 0 keeps the white fill behind the absolutely-positioned children
   (.ovm-brand-*, .ovm-nav-right) so the unit name visibly rides on top of it
   during the scroll motion. `display: block` overrides Bootstrap's
   .navbar::before clearfix (display:table), which would otherwise collapse
   this to a 0x0 box and erase the entire background. */
#mainNav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(24px + var(--ovm-pair-top, 9.5px) + var(--ovm-unit-offset, 60px) + var(--ovm-bg-buffer, 20px));
    background: #fff;
    border-bottom: 1px solid #ddd;      /* on ::before so it sits at the white bg's outer edge, tracks the buffer-shrink */
    display: block;
    z-index: 0;
}
#mainNav::after { display: none; }      /* kill Bootstrap's .navbar::after clearfix (stray 0px box) */

#mainNav > .container-fluid {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    /* max-width 1440 + margin: 0 auto matches .ovp-body-inner exactly so the brand
       on the left and the icon cluster on the right line up with body content. */
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    z-index: 1;                         /* above the white-bar ::before */
}

/* Body clearance reserves the full expanded header area (bar + room for the
   unit name floating below it in stage 0). Stays constant — JS moves elements
   within this space; the reserved height itself never changes, so content
   never bounces. */
body {
    padding-top: var(--ovm-expanded-h) !important;
}

/* main.css sets #pageBody { padding-top: 80px } and #pageBody#homePage { padding-top: 40px }
   — both end up in site.min.css and cause a visible gap above the hero. The Index2 layout
   renders <div id="pageBody homePage">, so match on attribute too. */
#pageBody,
#pageBody#homePage,
[id="pageBody homePage"] {
    padding-top: 0 !important;
}

/* ---- Brand area: Block-I tab + wordmark + unit name, all absolutely positioned
        inside .ovm-brand. Wordmark and unit are scroll-driven via two CSS vars. ---- */
.ovm-brand {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}

/* Block-I: 44×51 anchored at top:-8 of the bar's content area, so its top edge
   sits at viewport y=0 (overlapping the 8px orange border). Identical dimensions
   to the live ilw-header on brand.illinois.edu. */
.ovm-brand-iblock {
    position: absolute;
    top: -8px;                          /* overlap the orange border */
    left: 0;
    width: 44px;
    height: 51px;
    background: var(--il-blue, #13294B);
    display: block;
    text-decoration: none;
    z-index: 2;                         /* above the white-bar ::before */
}
.ovm-brand-iblock svg {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 31px;
}
.ovm-brand-iblock svg .block-i .outline { fill: var(--il-white, #fff); }
.ovm-brand-iblock svg .block-i .fill    { fill: var(--il-orange, #FF5F05); }
.ovm-brand-iblock:hover { outline: 2px dotted var(--il-white, #fff); outline-offset: -4px; }

/* Wordmark — top is driven by --ovm-pair-top, which JS sets to one of two values
   via threshold (no gradual interpolation, just a single-frame snap at scrollY=40):
     9.5px expanded (vp y=17.5, centered on hanging Block-I — brand-compliant)
     4.5px condensed (vp y=12.5, pair sits tight to Block-I bottom)
   Because the snap is one frame, browser smooth-scrolling can't drag the wordmark
   gradually — at the threshold it just appears in the new position. */
.ovm-brand-university {
    position: absolute;
    top: var(--ovm-pair-top, 9.5px);
    left: 55px;                         /* block-I (44) + 11px breathing room */
    line-height: 1;
    color: var(--il-blue, #13294B);     /* SVG wordmark inherits via fill:currentColor; brand uses Illini Blue */
    font-size: 12px;                    /* governs only the .ovm-brand-text-short fallback at <=850px */
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Source Sans Pro', sans-serif;
    z-index: 2;                         /* above the white-bar ::before */
    /* site.min.css applies `a { transition: all 0.25s }` site-wide. That makes
       the wordmark's `top` animate over 250ms every time --ovm-pair-top updates,
       which manifests as the wordmark visibly "sliding up after scroll ended"
       (the browser is still running the easing). Restrict the transition to
       color only so hover tint eases but `top` (and SVG fill) snap with scroll. */
    transition: color 0.2s ease;
}
.ovm-brand-university:hover { color: var(--il-altgeld, #C84113); text-decoration: none; } /* Altgeld over Orange — darker, AA-contrast on white */
/* Condensed lockpoint — wordmark switches Illini Blue → Storm so it visually
   differentiates from the unit name (which stays Illini Blue) when the two
   lines are stacked close together. JS toggles body.ovm-condensed at scrollY ≥ T2. */
body.ovm-condensed .ovm-brand-university { color: var(--il-storm, #707372); }
/* Condensed hover needs matching specificity (0,2,1) to beat the rule above —
   otherwise body.ovm-condensed wins over the plain .ovm-brand-university:hover
   (0,2,0) and the hover stays Storm instead of going Altgeld. */
body.ovm-condensed .ovm-brand-university:hover { color: var(--il-altgeld, #C84113); }
/* Wordmark SVG (copied from brand.illinois.edu's <ilw-header> shadow DOM).
   Height 11 matches the brand site's rendered wordmark dimensions exactly
   (measured 379×11 from their shadow DOM). pair-top default updated to 12 so
   the 11-tall SVG centers vertically on the hanging Block-I (vp y=8..43,
   center 25.5 → wordmark top 20 vp → top 12 within .ovm-brand). fill picks
   up the parent's color, so the hover orange-tint reaches the SVG too. */
/* Explicit 379x11 (not aspect-from-viewBox) — brand.illinois.edu's <ilw-header>
   hardcodes its .wordmark container to 379x11 even though the viewBox aspect
   (378.6/10.1 ≈ 37.5) would render to 412x11 at auto-width. The SVG
   default preserveAspectRatio (xMidYMid meet) fits within the smaller box,
   visibly horizontally compressing the glyphs to match their exact render. */
.ovm-brand-university svg.ovm-brand-text-full {
    display: block;
    width: 379px;
    height: 11px;
    /* Path geometry extends to viewBox y=10.2 but viewBox declares 0..10.1
       (the rounded bottoms of 'O','o','C','c' overshoot by 0.1 unit). SVG default
       overflow:hidden clips that sliver — visible matches brand's .wordmark. */
    overflow: visible;
    fill: currentColor;
}

/* Unit name (canonical site h1) — top = wordmark's pair-top + scroll-driven offset.
   JS shrinks --ovm-unit-offset from 60 → 20 over scrollY 0..40: the unit slides
   UP from below the bar (vp y ≈ 77.5) until it kisses the wordmark's bottom
   (offset 20 = wordmark line-height 16 + 4px gap). At scrollY=40 the wordmark
   snap fires too, so the entire pair clicks down 5px together in one frame.
   The #mainNav::before white background extends downward in lock-step so the
   bottom border always sits BELOW the unit name. */
.ovm-brand-unit {
    position: absolute;
    top: calc(var(--ovm-pair-top, 9.5px) + var(--ovm-unit-offset, 60px));
    left: 55px;                         /* same indent as the wordmark */
    /* Optical nudge to match the wordmark SVG's perceived left/baseline.
       Source Sans Pro at 22/700 sits 1px right of and 1px above the SVG's
       glyph bbox — these margins pull it back into alignment. Applies in
       expanded, condensed, and both mobile breakpoints (no media-query
       override below, so it's inherited). */
    margin: 1px 0 0 -1px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--il-blue, #13294B);
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 55px - 320px); /* reserve ~320 on the right for the absolute-positioned button cluster (which is no longer flex-constraining .ovm-brand's width) */
    z-index: 2;                         /* above the white-bar ::before — visibly slides OVER it */
}
.ovm-brand-unit a { color: inherit; text-decoration: none; }
.ovm-brand-unit a:hover { color: var(--il-altgeld, #C84113); } /* Altgeld for AA-contrast on white */

/* CSS-only label swap: full text at desktop, short label at narrow widths.
   Swaps at 850px (not 768) because the full SVG wordmark (379px) collides with
   the right-hand Resources button cluster before the old 768 breakpoint. */
.ovm-brand-text-short { display: none; }
@media (max-width: 850px) {
    .ovm-brand-text-full  { display: none; }
    /* SVG selector — higher specificity than .ovm-brand-text-full alone, which
       is needed to defeat the base rule `.ovm-brand-university svg.ovm-brand-text-full
       { display: block }` (specificity 0,2,1 vs 0,1,0). */
    .ovm-brand-university svg.ovm-brand-text-full { display: none; }
    .ovm-brand-text-short { display: inline; }
    .ovm-brand-unit {
        font-size: 18px;
        /* The desktop max-width (`100% - 55 - 320`) reserves room for the right
           button cluster, but on mobile the cluster is icon-only and much narrower,
           so the calc collapses to ~0 and the short label "Research Safety" gets
           ellipsis-truncated to "Res…". Reset so the short label can render in full. */
        max-width: none;
        overflow: visible;
        text-overflow: clip;
    }
}
@media (max-width: 480px) {
    /* Per brand spec the wordmark hides below 480px. With no wordmark to track,
       drop the unit name up to the wordmark's spot so it doesn't float below
       an empty space. */
    .ovm-brand-university { display: none; }
    .ovm-brand-unit {
        top: var(--ovm-pair-top, 9.5px);
        font-size: 16px;
    }
}

/* Mobile screen-margin: track .ovp-body / .ovs-breadcrumb-band's 5vw at the
   same 880px breakpoint they use, so the nav, breadcrumb, hero, and body
   content all share one screen-margin value at every viewport size. */
@media (max-width: 880px) {
    #mainNav { padding-left: 5vw; padding-right: 5vw; }
}

/* Right-side nav controls — absolute-positioned so they sit at a FIXED vertical
   spot regardless of scroll state. top: 3.5 centers the 43px-tall button row
   inside the CONDENSED bar's visible area (vp y=8 after orange border, to y=58
   at the gray bottom border; center y=33):
     button top vp = 8 + 3.5 = 11.5;  button bottom vp = 54.5;
     padding above buttons = 3.5px ;  padding below to border = 3.5px  (symmetric).
   In expanded state the visible header is taller (border drops to y=103), so the
   buttons read as top-aligned inside that — matches the brand reference where
   the button cluster lives in the top of the bar. The buttons themselves never
   move; only the header background extends/contracts around them. */
.ovm-nav-right {
    position: absolute !important;      /* Bootstrap's .navbar-nav sets position; override */
    top: 7px;                           /* 7px above the 36-tall row inside #mainNav (8px border-top) → button at vp 15..51. Condensed bar's BG_BUFFER_MIN is set to 7 to match → bar runs vp 8..58.5, so 7 above / ~7.5 below for both the button and the Block-I tab (which ends at vp 51). */
    right: 8px;
    display: flex !important;
    align-items: center;
    height: 36px;
    margin: 0 !important;
    z-index: 2;                         /* above the white-bar ::before */
    flex-wrap: nowrap;
}
.ovm-nav-right > li {
    float: none !important;
    display: flex;
    align-items: center;
    height: 36px;
}
.ovm-nav-right > li > a {
    display: inline-flex !important;
    align-items: center;
    height: 36px;
    padding: 0 11px !important;
    line-height: 1 !important;
    border: 0 !important;
    font-size: .95rem !important;
    border-radius: 10px;                /* rounded rectangle — softer than stadium */
    color: var(--il-storm-10, #252525) !important;  /* brand Storm-10 — near-black for AAA readability; hover only adds an inset Arches border (color unchanged) */
}
/* theme.css adds `border-top: 5px solid #137ce6; padding-top: 8px; padding-bottom: 0`
   on hover for #mainNav nav items — kills it on the prototype bar. Hover now
   paints a 1px Arches outline INSIDE the button (box-shadow inset, not border) so
   the button's box doesn't grow on hover and neighbors don't shift. The inherited
   site-wide `a { transition: all 0.25s }` fades it in. */
#mainNav.navbar-default .ovm-nav-right > li > a:hover,
#mainNav.navbar-default .ovm-nav-right > li > a:focus,
#mainNav.navbar-default .ovm-nav-right > li > a:focus:hover {
    border: 0 !important;
    background: transparent !important;
    padding: 0 11px !important;
    box-shadow: inset 0 0 0 1px var(--il-arches, #009FD4) !important;
    color: var(--il-storm-10, #252525) !important;   /* defends against theme.css's orange #mainNav a:hover — keep the base color, only the border appears */
}

/* ---- Username link: clicks open the user-mode overlay (data-open-mode="user"). ---- */
.ovm-username-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 11px !important;
    color: var(--il-storm-10, #252525) !important;  /* brand Storm-10 — matches the rest of the right cluster; hover keeps the color, only the border appears */
    text-decoration: none !important;
    overflow: hidden;
    min-width: 0;
    max-width: 32vw;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: 10px;                /* rounded rect — match nav buttons */
}
.ovm-username-link i { font-size: 1.4em; flex: 0 0 auto; }
.ovm-username-link .ovm-username-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.ovm-username-link:hover,
.ovm-username-link:focus {
    color: var(--il-storm-10, #252525) !important;
    background: transparent !important;
    box-shadow: inset 0 0 0 1px var(--il-arches, #009FD4);    /* inset so the box doesn't grow; color unchanged from base */
}

/* ---- Admin trigger (fa-user-secret) in the main top bar — purple ----
   Base/hover/focus selectors split so the hover background pill from the general
   .ovm-nav-right > li > a:hover rule (gray 6%) can apply. Border-radius 22 from
   the same general rule turns the 43×48 box into a near-round pill. */
.ovm-nav-right > li > a.ovm-admin-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 32px;
    padding: 0 !important;
    color: #6f42c1 !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* padding: 0 !important here is REQUIRED — without it the general .ovm-nav-right
   > li > a:hover rule (padding: 0 11px !important) wins on specificity and grows
   the button 22px wider on hover, shifting the rest of the cluster sideways. */
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-admin-trigger:hover,
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-admin-trigger:focus,
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-admin-trigger:focus:hover {
    color: #5a32a3 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: inset 0 0 0 1px var(--il-arches, #009FD4) !important;   /* match the other buttons — color stays purple, only the border appears */
}

/* ---- Search trigger (fa-search) in the main top bar ---- */
.ovm-nav-right > li > a.ovm-search-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 32px;
    padding: 0 !important;
    color: var(--il-storm-10, #252525) !important;  /* brand Storm-10 — near-black for AAA readability; hover keeps the same color and only adds an inset Arches border */
    background: transparent !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* padding: 0 !important here defends against the general hover-padding rule —
   see note on the admin-trigger hover above. Inset box-shadow paints the 1px
   Arches outline without growing the box. */
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-search-trigger:hover,
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-search-trigger:focus,
#mainNav.navbar-default .ovm-nav-right > li > a.ovm-search-trigger:focus:hover {
    color: var(--il-storm-10, #252525) !important;          /* unchanged from base — hover shows only the border */
    background: transparent !important;
    padding: 0 !important;
    box-shadow: inset 0 0 0 1px var(--il-arches, #009FD4) !important;
}

/* ---- Impersonating: replace the user-circle icon with a purple-filled
        circle wrapping a white user-secret. The <i> tag itself becomes the circle. ---- */
.ovm-impersonating-icon {
    background: #6f42c1;
    color: #fff !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem !important;
    line-height: 1;
}
.ovm-username-link.is-impersonating .ovm-impersonating-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem !important;
}
.ovm-mode-tab.is-impersonating .ovm-impersonating-icon {
    width: 22px;
    height: 22px;
    font-size: 0.78rem !important;
}

/* ---- Admin mode-tab in the overlay header (purple-tinted) ---- */
.ovm-mode-tab--admin {
    background: rgba(111, 66, 193, 0.18);
    border-color: rgba(111, 66, 193, 0.4);
}
.ovm-mode-tab--admin:hover {
    background: rgba(111, 66, 193, 0.32);
    border-color: rgba(111, 66, 193, 0.6);
}
.ovm-mode-tab--admin.is-active {
    background: #6f42c1 !important;
    border-color: #6f42c1 !important;
    color: #fff !important;
}

/* ---- Admin pane (data-mode-pane="admin") ----
   Condensed top bar (impersonate/override controls) + side-tabs section
   below for admin links. The "True User..." status row only renders when
   actively impersonating. */
.ovm-admin-pane {
    flex: 1 1 auto;
    min-height: 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}
.ovm-admin-bar {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}
.ovm-admin-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #444;
    padding: 6px 10px;
    background: #fff5ef;
    border-left: 3px solid #6f42c1;
    border-radius: 3px;
}
.ovm-admin-status strong { color: #13294b; }
.ovm-admin-status .fa-user-secret { color: #6f42c1; }
.ovm-admin-bar-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ovm-admin-bar-controls > #OverlayImpersonateUserId,
.ovm-admin-bar-controls .k-widget,
.ovm-admin-bar-controls .k-dropdown {
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 180px;
}
.ovm-admin-stop-link {
    margin-left: auto;
    color: #C84113 !important;        /* Altgeld — AA on white admin bar */
    font-weight: 600;
    text-decoration: none !important;
    font-size: 12px;
    white-space: nowrap;
}
.ovm-admin-stop-link:hover { color: #a23510 !important; text-decoration: underline !important; }
.ovm-admin-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
}
.ovm-admin-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #6f42c1;
    margin: 0;
}
.ovm-admin-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #6f42c1;
    color: #fff !important;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
}
.ovm-admin-save:hover,
.ovm-admin-save:focus { background: #5a32a3; }
/* The nested side-tabs need to fill the remaining height under the bar
   so the rail aligns left and the pane scrolls — same behavior as the
   reference/user side-tabs. */
.ovm-admin-pane > .ovm-admin-tabs {
    flex: 1 1 auto;
    min-height: 0;
}

/* Sign-out / Sign-in link sitting next to the user (or Resources, when logged out)
   mode-tab inside the overlay panel header (dark blue background). Plain text —
   only a subtle hover background. Same slot, swapped by the auth branch in the
   .cshtml: Sign Out when authenticated, Login when not. */
.ovm-signout-link,
.ovm-signin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-left: 4px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    flex: 0 0 auto;
}
.ovm-signout-link:hover,
.ovm-signout-link:focus,
.ovm-signin-link:hover,
.ovm-signin-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .ovm-username-link .ovm-username-text { display: none; }
    .ovm-username-link { max-width: none; padding: 0 12px !important; }
}

/* ---- Trigger button in the navbar ---- */
.overlay-menu-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 0 16px !important;
    color: #13294b !important;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none !important;
    height: 43px;
}
.overlay-menu-trigger:hover,
.overlay-menu-trigger:focus {
    background: transparent;
    color: #C84113 !important;       /* Altgeld — AA on white main bar */
}
.overlay-menu-trigger .fa-bars { font-size: 1.2em; }
.overlay-menu-trigger-label { letter-spacing: 0.02em; }

@media (max-width: 600px) {
    .overlay-menu-trigger-label { display: none; }
}

/* ============================================================
   Backdrop
   ============================================================ */
.overlay-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(19, 41, 75, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1060;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.overlay-menu-backdrop[hidden] { display: none !important; }
body.overlay-menu-open .overlay-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   The sliding panel
   ============================================================ */
.overlay-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50vw;
    min-width: 420px;
    max-width: 900px;
    background: #fff;
    box-shadow: none;
    z-index: 1070;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
body.overlay-menu-open .overlay-menu-panel {
    transform: translateX(0);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .overlay-menu-panel { width: 100vw; min-width: 0; }
}

/* ---- Panel header — sized to match the main banner's white-bar portion (--ovm-bar-h)
        and its 8px orange line so the bottom edges align when the panel slides in. ---- */
.overlay-menu-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--ovm-bar-h);
    min-height: var(--ovm-bar-h);
    padding: 0 18px;
    background: #13294b;
    color: #fff;
    border-top: 8px solid var(--il-orange, #FF5F05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}
.overlay-menu-panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex: 1 1 auto;
    color: #fff;
}

/* ---- Mode switcher (Reference / Account square buttons inside the panel header) ---- */
.ovm-mode-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
}
.ovm-mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    min-width: 0;
    max-width: 240px;
}
.ovm-mode-tab + .ovm-mode-tab { border-left: none; }
.ovm-mode-tab i { font-size: 0.95em; flex: 0 0 auto; }
.ovm-mode-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ovm-mode-tab:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
}
.ovm-mode-tab.is-active {
    background: #C84113;             /* Altgeld — AA for white text */
    border-color: #C84113;
    color: #fff;
}
.ovm-mode-tab-fallback { display: none; }
.ovm-mode-tab .ovm-mode-tab-username:empty + .ovm-mode-tab-fallback { display: inline; }
@media (max-width: 600px) {
    .ovm-mode-tab { padding: 6px 10px; font-size: 12px; }
    .ovm-mode-tab .ovm-mode-tab-username { display: none; }
    .ovm-mode-tab .ovm-mode-tab-fallback { display: inline; }
}

.overlay-menu-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    flex: 0 0 auto;
}
.overlay-menu-close:hover { background: rgba(255, 255, 255, 0.12); }

/* ---- Panel body (scrolls) ---- */
.overlay-menu-panel-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

.overlay-menu-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    flex: 0 0 auto;
    flex-wrap: wrap;
}
.overlay-menu-search-row .fa-search { color: #999; }
.overlay-menu-search-input-wrap {
    flex: 1 1 200px;
    min-width: 0;
    position: relative;
    display: flex;
}
.overlay-menu-search-row input {
    flex: 1 1 auto;
    border: 1px solid transparent;
    background: #f1f1f1;
    border-radius: 6px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    outline: none;
    transition: background 0.15s, border-color 0.15s;
    min-width: 0;
}
.overlay-menu-search-row input:focus {
    background: #fff;
    border: 2px solid #FF5F05;
    padding: 7px 35px 7px 11px;
    box-shadow: 0 0 0 2px rgba(255, 95, 5, 0.15);
}
.overlay-menu-search-clear {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 4px 8px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.overlay-menu-search-clear:hover,
.overlay-menu-search-clear:focus {
    color: #13294b;
    background: #ececec;
    outline: 0;
}
.overlay-menu-quick-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #13294b;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}
.overlay-menu-quick-link:hover { background: #eef2f8; color: #C84113; }    /* Altgeld — AA on #eef2f8 */


/* ============================================================
   Side Tabs layout (left rail + right pane)
   ============================================================ */
.ovm-side-tabs {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}
.ovm-side-tabs-rail {
    flex: 0 0 30%;
    max-width: 240px;
    background: #fff;
    border-right: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}
/* .ovm-side-tab-link is a rail entry that NAVIGATES rather than switching a pane:
   a link-only menu's header, or the indented "overview" row under a menu with a Url.
   It shares this box so the rail keeps one rhythm, but it deliberately does NOT carry
   .ovm-side-tab -- overlay-menu-prototype.js binds section switching to that class and
   a click carrying no data-section-target would deactivate every tab in the rail. */
.ovm-side-tab,
.ovm-side-tab-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ovm-side-tab-link { text-decoration: none; }
.ovm-side-tab i,
.ovm-side-tab-link i {
    color: #999;
    width: 18px;
    text-align: center;
    transition: color 0.15s;
}
.ovm-side-tab:hover,
.ovm-side-tab-link:hover,
.ovm-side-tab-link:focus {
    background: #f6f6f6;
    color: #13294b;
    text-decoration: none;
}
.ovm-side-tab.is-active {
    background: linear-gradient(90deg, #fff5ef 0%, #fff 100%);
    color: #C84113;                  /* Altgeld — AA on the soft peach bg */
    border-left-color: #FF5F05;      /* decorative bar stays brand orange */
}
.ovm-side-tab.is-active i { color: #C84113; }
.ovm-side-tab > span:not(.ovm-side-tab-count),
.ovm-side-tab-link > span:not(.ovm-side-tab-count) {
    flex: 1 1 auto;
}
.ovm-side-tab-count {
    margin-left: auto;
    background: #C84113;             /* Altgeld — AA for white text */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}

/* --- The overview row -------------------------------------------------------
   One indented link under a menu's rail tab, pointing at the section's own landing
   page (Menu.Url). Matches the .ovm-side-tab box model -- same 18px side padding,
   same 3px left border gutter -- so it shares one left edge with the tabs, then
   insets its text and lightens itself so it reads as a child destination rather
   than another tab. No active state: following it leaves the overlay. */
.ovm-side-tab-link--nested {
    position: relative;
    /* 18px rail padding + 18px icon + 12px gap = 48px, so the row's text lines up
       with the TEXT of the tab above it rather than with that tab's icon. */
    padding-left: 48px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-weight: 500;
    font-size: 13.5px;
    color: #555;
}
/* Hairline down the indent, tying the row to the tab above it. Sits in the padding
   so it never shifts the text. */
.ovm-side-tab-link--nested::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e6e6e6;
}
.ovm-side-tab-link--nested:hover { color: #C84113; }

.ovm-side-tabs-pane {
    flex: 1 1 auto;
    padding: 24px 28px;
    overflow-y: auto;
}
.ovm-side-section[hidden] { display: none; }
.ovm-side-section h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #777;
}
.ovm-side-section-hint {
    color: #777;
    font-size: 13px;
    margin: 0 0 16px;
}
/* MenuItemContainer.Description: explanatory copy between a container's heading and
   its links. Sits tighter to the heading than .ovm-side-section-hint does to the pane,
   because it belongs to the heading directly above it rather than to the whole panel. */
.ovm-side-section-text {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px;
}
/* A container with copy but no links owns the gap under itself instead. */
.ovm-side-section-text:last-child { margin-bottom: 0; }
.ovm-side-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ovm-side-link-list li { margin: 0; }
.ovm-side-link-list a {
    display: block;
    padding: 8px 10px;
    margin: 2px -10px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.ovm-side-link-list a:hover {
    background: #fff5ef;
    color: #C84113;                  /* Altgeld — AA on the soft peach hover bg */
}
.ovm-side-link-list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
/* Per-container 2-column layout. The Razor view sets `--rows` inline based on
   the item count (ceil(n/2)) so items fill column 1 top-to-bottom, then column
   2 — e.g. 7 items → 4 + 3. grid-auto-flow: column produces the vertical fill;
   without an explicit row count the grid would create extra columns instead of
   wrapping into the second column. */
.ovm-side-link-list--columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(var(--rows, 1), auto);
    grid-auto-flow: column;
    column-gap: 24px;
    align-content: start;
}
/* Containers stack vertically — never side by side. The MenuItemContainer.Column
   field is used purely to ORDER containers (column-then-ordinal) within the
   pane; horizontal layout is the per-container link-list job above. */
.ovm-side-section-subgroups {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ovm-side-section-subgroups h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #777;
    margin: 0 0 6px;
}
.ovm-side-section-subgroups h3 { color: #13294b; }

/* Both rail-entry classes set display:flex, which outranks the UA sheet's [hidden]
   rule. Nothing in the rail is hidden today, but a rule that loses to display:flex
   is a trap worth keeping closed. */
.ovm-side-tab[hidden],
.ovm-side-tab-link[hidden] { display: none; }

/* --- Cards layout (MenuType.DisplayStyle = Cards) ----------------------------
   One equal card per top-level Menu, --cols across (MenuType.ColumnCount).
   Public mode: .ovm-cards-panel IS the whole panel (no rail). Signed-in mode:
   the grid is the pane of a single "Menu" rail tab. grid-auto-rows: 1fr keeps
   every card the same height whatever its tagline length. */
.ovm-cards-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 2.1vw 28px;
}
.ovm-side-cards {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
}
.ovm-side-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(19, 41, 75, 0.14);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
a.ovm-side-card:hover,
a.ovm-side-card:focus-visible {
    border-color: var(--il-orange, #FF5F05);
    box-shadow: 0 6px 18px rgba(19, 41, 75, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.ovm-side-card--nolink { opacity: 0.7; }
.ovm-side-card-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff1e8;
    color: var(--il-orange-40, #A72F10);
    font-size: 1.1rem;
}
.ovm-side-card-body { min-width: 0; }
.ovm-side-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.ovm-side-card-name {
    color: var(--il-blue, #13294B);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.3;
}
.ovm-side-card-tagline {
    display: block;
    margin-top: 5px;
    color: #4a5263;
    font-size: 0.9rem;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .ovm-side-cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .ovm-side-card { transition: none; }
    a.ovm-side-card:hover, a.ovm-side-card:focus-visible { transform: none; }
}

/* --- Showcase variant: horizontal tabs --------------------------------------
   TEMPORARY, see above. The group's containers leave the rail and become a tab
   strip across the top of the pane, each switching the block beneath it. The
   active treatment is the vertical tab's, rotated a quarter turn: the 3px orange
   bar moves from the left edge to the top, and the peach-to-white gradient runs
   top-to-bottom instead of left-to-right. */
.ovm-side-htabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: -4px 0 20px;
    border-bottom: 1px solid #e6e6e6;
}
.ovm-side-htab {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Overlaps the strip's hairline so the active tab can paint over it. */
    margin-bottom: -1px;
    padding: 9px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-top-width: 3px;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    color: #555;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ovm-side-htab:hover {
    background: #f6f6f6;
    color: #13294b;
}
.ovm-side-htab.is-active {
    background: linear-gradient(180deg, #fff5ef 0%, #fff 100%);
    color: #C84113;                  /* Altgeld — AA on the soft peach bg */
    border-top-color: #FF5F05;       /* decorative bar stays brand orange */
    border-left-color: #e6e6e6;
    border-right-color: #e6e6e6;
    box-shadow: 0 1px 0 0 #fff;      /* hides the strip hairline under the active tab */
}
.ovm-side-htab-panel[hidden] { display: none; }

@media (max-width: 768px) {
    .ovm-side-tabs { flex-direction: column; }
    /* Mobile: bump horizontal padding on the panel header, search row,
       horizontal tab rail, and pane content so they don't crowd the
       screen edge. */
    .overlay-menu-panel-header { padding: 0 22px; }
    .overlay-menu-search-row { padding: 12px 22px; }
    .ovm-side-tabs-pane { padding: 22px 16px 22px 28px; }
    /* Wrap the tabs across multiple rows instead of letting them
       overflow into a horizontal scroller. */
    .ovm-side-tabs-rail {
        flex: 0 0 auto;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        overflow: visible;
        padding: 8px 10px 8px 22px;
        gap: 6px;
        border-right: none;
        border-bottom: 1px solid #e6e6e6;
        background: #fff;
    }
    .ovm-side-tab,
    .ovm-side-tab-link {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        padding: 10px 12px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px;
        font-size: 13px;
        white-space: nowrap;
    }
    .ovm-side-tab i,
    .ovm-side-tab-link i { width: auto; }
    .ovm-side-tab.is-active {
        border-left-color: transparent;
        border-bottom-color: #FF5F05;
    }
    /* Rail is a wrapping row of chips here, so the overview row sits as an ordinary
       chip -- a 48px inset and an indent guide would just squeeze the labels. */
    .ovm-side-tab-link--nested {
        padding-left: 12px;
        font-size: 13px;
    }
    .ovm-side-tab-link--nested::before { display: none; }
    .ovm-side-htab {
        flex: 1 1 auto;
        justify-content: center;
        padding: 9px 12px;
        font-size: 13px;
    }
    .ovm-side-link-list--two-col,
    .ovm-side-link-list--columns { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

/* ============================================================
   Menu tag pills (New / Beta / Staff / Testing) — prototype scope.
   The site-wide rules in main.css render these as boxy rectangles
   which (a) look dated next to the rest of the overlay UI and
   (b) wrap to a new line under each block-level <a> in the link
   list because they're trailing siblings. We override both here
   under the .ovm-side-tabs scope so non-prototype pages keep
   their existing tag look.
   ============================================================ */
.ovm-side-tabs .new-menu-tag,
.ovm-side-tabs .beta-menu-tag,
.ovm-side-tabs .staff-menu-tag,
.ovm-side-tabs .testing-menu-tag {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 1px 8px 2px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
}
.ovm-side-tabs .new-menu-tag     { background-color: #2f9e44; }
.ovm-side-tabs .beta-menu-tag    { background-color: #FF5F05; }
.ovm-side-tabs .staff-menu-tag   { background-color: #5c479b; }
.ovm-side-tabs .testing-menu-tag { background-color: #a59a12; }

/* Link-list rows: <a> is display:block (with negative horizontal
   margin for the wide hover bg), so trailing tag <span>s wrap to
   a new line. Flex on <li> puts everything on one baseline; wrap
   is allowed only as a fallback when the link content is genuinely
   wider than the column. flex-shrink on the link lets it ellipsize
   before pushing pills to a second row. */
.ovm-side-tabs .ovm-side-link-list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 2px;
}
.ovm-side-tabs .ovm-side-link-list li > a {
    flex: 0 1 auto;
    min-width: 0;
}
/* Section h3 headings render tag pills as inline children of <h3>
   (see OverlaySideTabs.cshtml). The h3's uppercase + letter-spacing
   inherits down to the pill, but the pill already sets its own
   text-transform/letter-spacing so this is a no-op — left explicit
   here so the alignment doesn't drift if the h3 changes later. */
.ovm-side-tabs .ovm-side-section h3 .new-menu-tag,
.ovm-side-tabs .ovm-side-section h3 .beta-menu-tag,
.ovm-side-tabs .ovm-side-section h3 .staff-menu-tag,
.ovm-side-tabs .ovm-side-section h3 .testing-menu-tag {
    margin-left: 6px;
    position: relative;
    top: -1px;
}

/* ============================================================
   Dual-mode panes (reference / user) — only the active one shows.
   ============================================================ */
[data-mode-pane] { display: none; }
.overlay-menu-panel-body > [data-mode-pane] {
    flex: 1 1 auto;
    min-height: 0;
    display: none;
    flex-direction: column;
}
#overlayMenuPanel[data-mode="reference"] [data-mode-pane="reference"],
#overlayMenuPanel[data-mode="user"]      [data-mode-pane="user"],
#overlayMenuPanel[data-mode="admin"]     [data-mode-pane="admin"] {
    display: flex;
}

/* The .ovm-side-tabs container inside each pane needs to fill remaining space. */
[data-mode-pane] > .ovm-side-tabs { flex: 1 1 auto; }

/* ============================================================
   Search results pane — replaces the side-tabs+pane layout
   while the search input has text.
   ============================================================ */
.ovm-search-results {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 24px 18px;
    background: #fafafa;
}
#overlayMenuPanel[data-search-active="true"] .overlay-menu-panel-body > [data-mode-pane] {
    display: none !important;
}
#overlayMenuPanel[data-search-active="true"] .ovm-search-results {
    display: flex;
    flex-direction: column;
}
/* "Can't find what you're looking for?" callout pinned at the top of the
   search-results panel. Points users at the full Google Site Search when
   the in-menu match list isn't enough. */
.ovm-search-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 6px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 3px solid #FF5F05;
    border-radius: 6px;
}
.ovm-search-cta-text {
    font-size: 13px;
    color: #13294b;
    font-weight: 600;
}
.ovm-search-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: #13294b;
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    border-radius: 3px;
    transition: background 0.15s;
    white-space: nowrap;
}
.ovm-search-cta-button:hover,
.ovm-search-cta-button:focus { background: #FF5F05; color: #fff !important; }
.ovm-search-cta-button .fab { font-size: 10px; }

.ovm-search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ovm-search-result {
    margin: 0 0 6px;
}
.ovm-search-result a {
    display: block;
    position: relative;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.ovm-search-result a:hover,
.ovm-search-result a:focus {
    background: #fff5ef;
    border-color: #FF5F05;
    box-shadow: 0 1px 4px rgba(255, 95, 5, 0.12);
}
.ovm-search-result-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #13294b;
}
.ovm-search-result-breadcrumb {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #777;
}
.ovm-search-result-breadcrumb .ovm-crumb-sep {
    margin: 0 6px;
    color: #bbb;
}
.ovm-search-result mark {
    background: #ffe7d6;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}
/* Authenticated (user/admin pane) results: tinted row + Illinois-navy accent
   so they read as a category cue without looking like a button state. */
.ovm-search-result--auth a {
    background: #e8edf5;
    border-left: 3px solid #13294b;
    padding-left: 10px;
}
.ovm-search-result--auth a:hover {
    background: #d8e0ed;
}
/* Meta-description snippet (truncated at 180 chars) shown below the
   breadcrumb so the searcher can confirm relevance at a glance. */
.ovm-search-result-meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #000;
    line-height: 1.4;
}

/* Tag row beneath meta description: small colored dot + tag name (no
   category prefix). Page-linked entries only. */
.ovm-search-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 6px;
}
.ovm-search-result-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #555;
    line-height: 1.2;
}
.ovm-search-result-tag-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    margin-right: 4px;
    border: 1px solid rgba(0,0,0,0.15);
}

/* Match-score badge (top-left of result card). Staff/admin only — JS gates
   emission via data-staff-admin on the panel. */
.ovm-search-result-score {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 18px;
    padding: 0 5px;
    background: #5c479b; /* admin purple — matches .staff-menu-tag */
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    z-index: 1;
}
.ovm-search-empty {
    color: #777;
    font-size: 13px;
    margin: 0;
    padding: 16px 4px;
    text-align: center;
}

/* ---- Sign-out button in user-mode pane ---- */
.ovm-signout-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #FF5F05;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    border-radius: 6px;
    margin-top: 12px;
    transition: background 0.15s;
}
.ovm-signout-button:hover { background: #a23510; color: #fff !important; }


/* ============================================================
   Index2 — home page layout
   Wrapper: <div class="index2-content">
   ============================================================ */

/* Establish a stacking context above the footer so flair squares
   that overflow below sections (orange dropper at programs/footer
   boundary) render on top of footer where they overlap. */
.index2-content {
    position: relative;
    z-index: 1;
}

/* ---- Hero (shared baseline) ---- */
.i2-hero {
    position: relative;
    overflow: hidden;
    background-color: #13294b;
    color: #fff;
}
.i2-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.i2-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 0 2.1vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.i2-hero-overlay .i2-hero-logo {
    width: 80px;
    height: auto;
    margin: 0 auto 14px;
    display: block;
}
.i2-hero-overlay .i2-hero-unit {
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: 0;
    line-height: 1.05;
}
.i2-hero-overlay .i2-hero-tagline {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 14px;
}
.i2-hero-overlay .i2-hero-mission {
    font-size: 19px;
    font-weight: 500;
    max-width: 760px;
    margin: 16px auto 0;
    line-height: 1.4;
}
.i2-hero-overlay .i2-hero-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 14px auto 0;
}
.i2-hero-overlay .i2-hero-icons > i,
.i2-hero-overlay .i2-hero-icons > svg {
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    line-height: 1;
    color: var(--il-altgeld, #C84113);
}
.i2-hero-overlay .i2-hero-icons > svg {
    /* SVG starburst is drawn with currentColor so it picks up the
       same orange. Slight padding so the strokes don't crop at the
       65x65 viewport corners. */
    padding: 4px;
    box-sizing: border-box;
}
.i2-hero-overlay .i2-hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.i2-hero-overlay .i2-hero-buttons a {
    background: rgba(255, 255, 255, 0.92);
    color: #13294b;
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
/* ============================================================
   SEARCH BAND — orange full-width strip directly below the hero.
   Clicking opens the overlay menu in search mode and forwards the
   typed query so results render immediately.
   ============================================================ */
.index2-content .i2-search-band {
    background: #FF5F05;
    padding: 28px 2.1vw;
    position: relative;
    z-index: 2;
}
.index2-content .i2-search-form {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.index2-content .i2-search-label {
    display: block;
    margin: 0;
    color: #fff;
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.005em;
    text-align: center;
    cursor: text;
}
.index2-content .i2-search-input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.index2-content .i2-search-input-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px 0 18px;
    color: #888;
    font-size: 16px;
}
.index2-content .i2-search-input {
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    padding: 14px 14px 14px 0;
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #13294b;
    background: transparent;
    min-width: 0;
}
.index2-content .i2-search-input::placeholder {
    color: #888;
    font-style: italic;
}
.index2-content .i2-search-input:focus {
    background: #fff8f3;
}
.index2-content .i2-search-clear {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #888;
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}
.index2-content .i2-search-clear:hover,
.index2-content .i2-search-clear:focus {
    color: #13294b;
    outline: 0;
}
.index2-content .i2-search-submit {
    flex: 0 0 auto;
    border: 0;
    background: #13294b;
    color: #fff;
    padding: 0 22px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.index2-content .i2-search-submit:hover,
.index2-content .i2-search-submit:focus {
    background: #1f3b6c;
    outline: 0;
}

@media (max-width: 700px) {
    .index2-content .i2-search-band { padding: 20px 5vw; }
    .index2-content .i2-search-form { gap: 10px; }
    .index2-content .i2-search-label { font-size: 18px; }
    .index2-content .i2-search-input-icon { padding: 0 10px 0 14px; }
    .index2-content .i2-search-input { padding: 12px 10px 12px 0; font-size: 15px; }
}

/* ============================================================
   QUICK LINKS — white-background row of solid-color rectangular
   buttons sitting between the search band and the news bento.
   Three dark-blue buttons + one red button for "Report an Incident"
   so urgent action is visually distinct from routine destinations.
   Icons render bare (no circular plate) on top of the solid button
   colour. Hover lifts the button and reveals an orange accent bar
   along the bottom — same orange used by news eyebrows / program
   arrows so the accent ties back to the page palette.
   ============================================================ */
.index2-content .i2-quick-links {
    background: #fff;
    padding: 36px 2.1vw;
    position: relative;
}
.index2-content .i2-quick-links-grid {
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    align-items: stretch;
}
.index2-content .i2-quick-link {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 22px 26px 20px 26px;
    min-height: 92px;
    background: #13294b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 4px 14px rgba(19, 41, 75, 0.14);
    transition: transform 0.22s ease, background 0.22s ease,
                box-shadow 0.22s ease;
}
.index2-content .i2-quick-link:hover,
.index2-content .i2-quick-link:focus {
    background: #1a3360;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 12px 28px rgba(19, 41, 75, 0.28);
}
/* Persistent orange left edge bar — brands the button immediately
   rather than only hinting on hover. Stays a constant 4px (no hover
   width change) so the bar feels like a fixed brand mark, not an
   animating control. */
.index2-content .i2-quick-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FF5F05;
}
/* Action affordance — small arrow in the top-right corner that
   nudges right + colors orange on hover. Rendered via FA glyph so
   no markup change is needed. */
.index2-content .i2-quick-link::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.22s ease, transform 0.22s ease;
}
.index2-content .i2-quick-link:hover::after,
.index2-content .i2-quick-link:focus::after {
    color: #FF5F05;
    transform: translateX(3px);
}
/* Bare icon — no plate, just the glyph in white. */
.index2-content .i2-quick-link-icon {
    color: #fff;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2px;
}
.index2-content .i2-quick-link-label {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.005em;
    text-align: left;
    color: #fff;
}
/* Alert variant — Report an Incident: medium blue button. Hover and
   left-bar colors stay in the same hue family — lighter blue for
   the bar, slightly brighter blue on hover. */
.index2-content .i2-quick-link--alert {
    background: #1D58A7;
}
.index2-content .i2-quick-link--alert:hover,
.index2-content .i2-quick-link--alert:focus {
    background: #2A6BC0;
}
.index2-content .i2-quick-link--alert::before {
    background: #7BA3D8;
}
.index2-content .i2-quick-link--alert:hover::after,
.index2-content .i2-quick-link--alert:focus::after {
    color: #d4e3f5;
}

/* Six across needs ~233px of card to keep every label on one line ("Request Waste
   Pickup" is the widest at 181px). Below roughly 1530px wide the cards drop under
   that and the labels start wrapping, so fall back to two tidy rows of three
   rather than six cramped columns. Must stay ABOVE the 700px block so the
   narrower rule still wins on phones. */
@media (max-width: 1530px) {
    .index2-content .i2-quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .index2-content .i2-quick-links { padding: 28px 5vw; }
    .index2-content .i2-quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .index2-content .i2-quick-link {
        padding: 18px 22px 16px 22px;
        gap: 4px;
        min-height: 80px;
    }
    .index2-content .i2-quick-link::after { top: 14px; right: 16px; font-size: 12px; }
    .index2-content .i2-quick-link-icon { font-size: 30px; }
    .index2-content .i2-quick-link-label { font-size: 18px; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.index2-content .i2-stats-section {
    display: block;
    position: relative;
    padding: 56px 12px;
    background:
        linear-gradient(180deg, rgba(19, 41, 75, 0.93) 0%, rgba(19, 41, 75, 0.75) 50%, rgba(19, 41, 75, 0.93) 100%),
        url('/images/finial-blue.svg') 0 0 / 56px 56px repeat,
        #1f3a66;
    color: #fff;
    overflow: hidden;
}
.index2-content .i2-stats-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF5F05 0%, #FF5F05 25%, transparent 25%, transparent 100%);
}
.index2-content .i2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    align-items: stretch;
}
.index2-content .i2-stat {
    text-align: center;
    padding: 18px 16px;
    position: relative;
}
.index2-content .i2-stat + .i2-stat::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}
.index2-content .i2-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 95, 5, 0.18);
    border: 2px solid #FF5F05;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.index2-content .i2-stat:hover .i2-stat-icon {
    transform: translateY(-3px);
    background: rgba(255, 95, 5, 0.42);
}
.index2-content .i2-stat-number {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 800;
    font-weight: 800;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
}
.index2-content .i2-stat-unit {
    font-size: 36px;
    font-weight: 700;
    color: #FF5F05;
    margin-left: 2px;
    vertical-align: top;
    line-height: 1;
}
.index2-content .i2-stat-label {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
}

/* Hero height is budgeted so the first quick-link row lands just above the fold.
   Everything stacked with it is a fixed pixel cost, measured at 1920 wide:
       body padding-top (--ovm-expanded-h)  133px
       .i2-search-band                      152px
       .i2-quick-links                      206px
                                          = 491px
   plus 20px of breathing room under the buttons -> 511px. Using calc against
   100vh rather than a flat 50vh keeps the buttons at the fold on any viewport
   height instead of only at one. min-height floors it at 360px: the overlay's
   content is 246px tall on top of its 5vw padding, so below ~342px the hero
   starts clipping its own text (overflow is hidden). */
.index2-content[data-layout="B"] .i2-hero { height: calc(100vh - 511px); min-height: 360px; }
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-logo,
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-unit,
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-buttons { display: none; }
.index2-content[data-layout="B"] .i2-hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    width: auto;
    text-align: left;
    padding: 5vw;
    align-items: flex-start;
    justify-content: flex-start;
}
.index2-content[data-layout="B"] .i2-hero-overlay > * { text-align: left; color: #fff; }

/* Visual order: tagline (eyebrow) → mission (statement) → icons (footer flair).
   Icons no longer split the two text elements. */
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-tagline {
    order: 1;
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 600;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.85;
    margin: 0 0 18px;
}
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-mission {
    order: 2;
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 24px;
    max-width: 600px;
}
.index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-icons {
    order: 3;
    margin: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.index2-content[data-layout="B"] .i2-hero-video { width: 50%; left: 0; right: auto; }
.index2-content[data-layout="B"] .i2-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 50%; right: 0; bottom: 0;
    background: linear-gradient(135deg, #13294b 0%, #1f3b6c 100%);
    z-index: 1;
}
/* Brand "ascending lines" pattern as a vertical accent at the video /
   blue-box seam. Sits centered horizontally between the video block (left 50%)
   and the text blurb (right 50%), and vertically centered in the hero — reads
   as a slim divider rather than a corner flair. Mobile (`@media max-width: 880px`)
   already sets `display: none` on this `::after`, so the pattern hides there. */
.index2-content[data-layout="B"] .i2-hero::after {
    content: "";
    position: absolute;
    left: calc(50% - 17.5px);    /* center the 35px-wide pattern on the 50% seam */
    top: 50%;
    transform: translateY(-50%); /* vertically centered → "equally between" video and text blurb */
    width: 35px;
    height: 165px;
    /* Hard-edge stripes: transparent-end and #fff-start share a position so there's
       no gradient blend. Pattern: 0→6 transparent, 6→9 solid white, 9px period —
       3px stripes with 6px gaps. */
    background: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 6px,
        #fff 6px,
        #fff 9px
    );
    z-index: 3;
    pointer-events: none;
}

/* News — three uniquely-styled cards arranged in an asymmetric bento.
   Each card has its own visual treatment (editorial cover, bulletin poster,
   side-by-side spotlight) so the section reads as curated content rather
   than a repeating feed. Section padding/max-width match the featured-lab
   and programs sections so they share a contained rhythm. */
.index2-content[data-layout="B"] .i2-news-section {
    background: #fff;
    padding: 28px 2.1vw 70px;
    position: relative;
}
.index2-content[data-layout="B"] .i2-news-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* minmax(..., auto) gives each row a baseline height but lets it grow
       when news copy is long, so text expands upward into unused card
       space instead of being truncated. */
    grid-template-rows: minmax(380px, auto) minmax(280px, auto);
    gap: 18px;
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    padding: 0;
    position: relative;
}
/* Drop the legacy standalone placeholder image — header-2.jpg is now baked
   into card 1 as its background. */
.index2-content[data-layout="B"] .i2-news-list::before { content: none; }

.index2-content[data-layout="B"] .i2-news-card {
    border: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.index2-content[data-layout="B"] .i2-news-card-img-wrap { display: none; }
/* Curated layout: only the first three news items render */
.index2-content[data-layout="B"] .i2-news-card:nth-child(n+4) { display: none; }

/* ---- Card 1: Editorial cover ----
   Full-bleed header-2.jpg with a dark-blue gradient panel sweeping in from
   the bottom-left and an orange-underlined eyebrow above the title. */
.index2-content[data-layout="B"] .i2-news-card:nth-child(1) {
    grid-column: 1 / span 8;
    grid-row: 1;
    /* Gradient-map duotone: a deep-blue ramp sits above header-2.jpg and blends
       with `color` mode — the gradient supplies hue+saturation while the photo
       supplies luminance. Result is a navy/Illinois-blue tinted version of the
       image. The `#13294b` base under the image keeps any transparent pixels
       on-brand. */
    background:
        linear-gradient(135deg, #0a1d3d 0%, #13294b 45%, #2c4a7a 100%),
        url('/images/header-2.jpg') center/cover no-repeat,
        #13294b;
    background-blend-mode: color, normal;
    color: #fff;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(1)::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Two stacked gradients: a strong vertical dark band along the bottom
       (where the text sits — bottom-anchored via flex-end) keeps copy and
       inline links readable regardless of horizontal position; the diagonal
       layered above adds left-side weight for editorial drama without
       dropping off too early on the right. */
    background:
        linear-gradient(to top,
            rgba(19, 41, 75, 0.94) 0%,
            rgba(19, 41, 75, 0.74) 38%,
            rgba(19, 41, 75, 0) 72%),
        linear-gradient(115deg,
            rgba(19, 41, 75, 0.88) 0%,
            rgba(19, 41, 75, 0.48) 60%,
            rgba(19, 41, 75, 0) 100%);
    z-index: 1;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(1) .i2-news-card-content {
    position: relative;
    z-index: 2;
    padding: 36px 44px;
    max-width: 64%;
    justify-content: flex-end;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(1) .i2-news-card-content::before {
    content: "Latest";
    align-self: flex-start;
    display: inline-block;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #FF5F05;
    padding-bottom: 6px;
    border-bottom: 2px solid #FF5F05;
    margin-bottom: 4px;
}

/* ---- Card 2: Bulletin poster ----
   Solid orange with two geometric ornaments: a small white horizontal
   bar in the top-right and a large rotated translucent square anchored
   to the bottom-left corner. Eyebrow + title + body sit on top. */
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) {
    grid-column: 9 / span 4;
    grid-row: 1;
    /* Bright Illini orange. White on #FF5F05 is 3.05:1 — it clears WCAG's 3:1
       LARGE-text bar but not the 4.5:1 normal bar, so the title and blurb are
       sized up to qualify as large text (>=24px normal / >=18.66px bold) and the
       small eyebrow is navy (#13294B = 4.76:1, passes at any size) instead. */
    background: var(--il-orange, #FF5F05);
    color: #fff;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 26px;
    right: 26px;
    width: 56px;
    height: 6px;
    background: #fff;
    z-index: 1;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2)::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.10);
    transform: rotate(45deg);
    z-index: 1;
    pointer-events: none;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-content {
    position: relative;
    z-index: 2;
    padding: 32px 30px;
    justify-content: flex-end;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-content::before {
    content: "DRS Newsletter";
    align-self: flex-start;
    display: inline-block;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 800;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    /* Navy, not white: white at this small size fails AA on #FF5F05 (3.05:1).
       Navy is 4.76:1 and reads as an on-brand accent against the orange. */
    color: var(--il-blue, #13294B);
    opacity: 1;
    margin-bottom: 6px;
}
/* Card 2 CTA — wireframe button linking to the current newsletter. Mirrors the
   featured-lab button's size/typography (uppercase, 700, 16px, square corners,
   inline trailing arrow) but as an outline: white fill with a deepened-orange
   border + label. The white fill defines the shape against the orange card.
   Accessibility: the label/border use #BF4D00 (deepened orange) — 4.9:1 on
   white, clearing AA for normal text. The brand orange #FF5F05 would only reach
   3.05:1 and fail at this 16px size. Hover inverts to a solid #BF4D00 fill with
   white text (4.9:1), staying AA-compliant, with the same 2px nudge as the
   featured-lab button. */
.index2-content[data-layout="B"] .i2-news-card--newsletter .i2-news-card-cta {
    align-self: flex-start;
    margin-top: 16px;
    padding: 11px 20px;
    background: #fff;
    /* Brand token --il-orange-40 (#A72F10): clears AA on white at 6.9:1. The
       bright --il-orange (#FF5F05) would only manage 3.05:1 for this 16px label.
       Label + border share it for the wireframe look. */
    color: var(--il-orange-40, #A72F10);
    border: 2px solid var(--il-orange-40, #A72F10);
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.index2-content[data-layout="B"] .i2-news-card--newsletter .i2-news-card-cta i { margin-left: 8px; }
.index2-content[data-layout="B"] .i2-news-card--newsletter .i2-news-card-cta:hover,
.index2-content[data-layout="B"] .i2-news-card--newsletter .i2-news-card-cta:focus {
    transform: translateX(2px);
    /* Hover: a light-orange wash. illinois.css has no light-orange token (its
       oranges are all saturated), so this is a derived pale tint of --il-orange.
       The --il-orange-40 label/border stay on it at ~5.7:1, well above AA. */
    background: #FFE6D5;
    color: var(--il-orange-40, #A72F10);
    border-color: var(--il-orange-40, #A72F10);
    text-decoration: none;
}

/* ---- Card 3: Side-by-side spotlight ----
   Two-column layout inside a single card: header-5.jpg on the left, dark
   blue text panel on the right with a 4px orange seam between them. */
.index2-content[data-layout="B"] .i2-news-card:nth-child(3) {
    grid-column: 1 / span 12;
    grid-row: 2;
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: #13294b;
    color: #fff;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(3)::before {
    content: "";
    background: url('/images/header-5.jpg') center/cover no-repeat;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(3) .i2-news-card-content {
    padding: 36px 44px;
    justify-content: center;
    border-left: 4px solid #FF5F05;
    background: #13294b;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(3) .i2-news-card-content::before {
    content: "Spotlight";
    align-self: flex-start;
    display: inline-block;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #FF5F05;
    margin-bottom: 4px;
}

/* ---- Shared content / title / body typography ---- */
.index2-content[data-layout="B"] .i2-news-card-content {
    padding: 28px 36px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.index2-content[data-layout="B"] .i2-news-card-title {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 800;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.18;
    margin: 0;
    letter-spacing: -0.01em;
    color: inherit;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(1) .i2-news-card-title {
    font-size: clamp(26px, 2.4vw, 34px);
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-title {
    /* Sized up so white-on-orange qualifies as large text (3:1 bar). 30px/800
       is comfortably above the 18.66px-bold threshold. */
    font-size: 30px;
    line-height: 1.1;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(3) .i2-news-card-title {
    font-size: clamp(22px, 2vw, 28px);
}

/* No line-clamp here — cards 1 & 2 are bottom-anchored (justify-content:
   flex-end) so copy grows upward, and card 3's row will grow via the
   minmax row-track. */
.index2-content[data-layout="B"] .i2-news-card-body {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    flex: 0 1 auto;
    color: inherit;
    opacity: 0.92;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-body {
    /* 24px = 18pt: the exact WCAG large-text threshold for normal weight, so
       white-on-orange (3.05:1) passes. opacity must stay 1 — dimming the white
       would drop it back under the 3:1 bar. Keep the blurb short so it fits. */
    font-size: 24px;
    line-height: 1.35;
    opacity: 1;
}
.index2-content[data-layout="B"] .i2-news-card:nth-child(3) .i2-news-card-body {
    font-size: 16px;
}

/* ---- Inline links inside news copy ----
   The body markup comes from a CMS (PageContent), so anchors arrive with
   site-wide link styling — typically dark orange — which dies on the
   orange card and floats off the dark-blue gradient. Force per-card colors
   that pass WCAG AA against each background, plus an underline so they
   remain identifiable as links. */
.index2-content[data-layout="B"] .i2-news-card-body a,
.index2-content[data-layout="B"] .i2-news-card-body a:visited {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: text-decoration-thickness 0.15s ease, color 0.15s ease;
}
.index2-content[data-layout="B"] .i2-news-card-body a:hover,
.index2-content[data-layout="B"] .i2-news-card-body a:focus {
    color: inherit;
    text-decoration-thickness: 2.5px;
}
/* Card 2 (bright orange #FF5F05): navy links read cleanly (~4.76:1); white
   would only manage 3.05:1 and fail at normal link size. */
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-body a,
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-body a:visited,
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-body a:hover,
.index2-content[data-layout="B"] .i2-news-card:nth-child(2) .i2-news-card-body a:focus {
    color: var(--il-blue, #13294b);
}

/* Featured Lab — only renders inside Layout B. White base with a hard
   diagonal orange splash creating a solid-shape backdrop. Side-by-side
   text + image. */
.i2-featured-section { display: none; }
.index2-content[data-layout="B"] .i2-featured-section {
    display: block;
    position: relative;
    padding: 70px 2.1vw;
    background: linear-gradient(127deg, #FF5F05 0%, #FF5F05 57%, #fff 57%, #fff 100%);
    overflow: hidden;
}
.index2-content[data-layout="B"] .i2-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
}
.index2-content[data-layout="B"] .i2-featured-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Accessibility note: white on `#FF5F05` is ~3.05:1, which only passes AA
   large-text (3:1). Eyebrow must therefore qualify as large text — 14pt bold
   ≈ 18.66px / 700 minimum. Bumped 13px → 19px. Opacity .9 dropped to 1.0 —
   blending white with the orange background brought effective contrast under
   3:1 at the old setting. */
.index2-content[data-layout="B"] .i2-featured-eyebrow {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    opacity: 1;
}
.index2-content[data-layout="B"] .i2-featured-title {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-variation-settings: "wght" 800;
    font-weight: 800;
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.15;
    margin: 0;
    color: #fff;
    letter-spacing: -0.01em;
}
/* Accessibility: 16px / 400 / .95 opacity rendered at ~2.94:1 on the orange
   bg, failing AA large-text (3:1). Bumped to 19px / 700 (≈14pt bold) and full
   opacity so the body paragraph qualifies as AA large-text. Reads as a lede
   paragraph rather than fine body — appropriate for a featured-lab callout. */
.index2-content[data-layout="B"] .i2-featured-body {
    font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: #fff;
    opacity: 1;
    max-width: 52ch;
}
/* Featured-lab CTA: Illini Blue background + white text clears WCAG AAA
   (~12.6:1) at all sizes — previous white-bg + orange-text was ~3.05:1 and
   failed at 14px/700 (large-text bold threshold is 14pt = 18.66px bold).
   Bumped to 16px so the type also clears AA normal-text on top of the
   already-passing background contrast. */
.index2-content[data-layout="B"] .i2-featured-link {
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 20px;
    background: var(--il-blue, #13294B);
    color: #fff;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease;
}
.index2-content[data-layout="B"] .i2-featured-link i { margin-left: 8px; }
.index2-content[data-layout="B"] .i2-featured-link:hover {
    transform: translateX(2px);
    background: var(--il-industrial-darker-2, #1F3D7B);
    color: #fff;
    text-decoration: none;
}
.index2-content[data-layout="B"] .i2-featured-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(19, 41, 75, 0.18);
    /* Rotate the wrapper as a unit on hover (frame + shadow + image tilt
       together), so there's no triangular gap between the rotated image
       and its clipping container. */
    transform-origin: center center;
    transition: box-shadow 0.45s ease,
                transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.index2-content[data-layout="B"] .i2-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.index2-content[data-layout="B"] .i2-featured-img-wrap:hover {
    transform: rotate(-1.5deg);
    box-shadow: 0 22px 60px rgba(19, 41, 75, 0.28);
}
.index2-content[data-layout="B"] .i2-featured-img-wrap:hover img {
    transform: scale(1.04);
}

/* Programs — asymmetric editorial bento that reuses the news/featured-lab
   visual language: image-led tiles, bottom-anchored dark-blue gradient
   panels for legibility, orange circular arrow CTA. The Laser tile is the
   hero (cols 1–7, both rows) and gets the full editorial treatment with
   an orange-underlined eyebrow, oversized title, and a larger arrow. The
   three secondary tiles share a compact horizontal overlay (title + arrow)
   so they read as a coherent set rather than four separate experiments. */
.index2-content[data-layout="B"] .i2-programs-section {
    background: #f4f4f4;
    padding: 70px 2.1vw;
    position: relative;
    overflow: hidden;
}
/* Subtle background shape variance — same rotated-square vocabulary as
   the news bulletin card, recomposed for the programs section. A large
   outlined square anchors the top-right and a smaller filled orange-tint
   square sits off the bottom-left, giving the gray field a quiet
   asymmetry without competing with the tiles. */
.index2-content[data-layout="B"] .i2-programs-section::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: rgba(19, 41, 75, 0.07);
    transform: rotate(18deg);
    pointer-events: none;
    z-index: 0;
}
.index2-content[data-layout="B"] .i2-programs-section::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 95, 5, 0.07);
    transform: rotate(-12deg);
    pointer-events: none;
    z-index: 0;
}
/* "Featured Programs" header above the grid — same orange-underlined
   eyebrow vocabulary used by the news editorial cover, matching the
   page's existing section-eyebrow language. */
.index2-content[data-layout="B"] .i2-programs-header {
    position: relative;
    z-index: 1;
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto 28px;
    padding: 0;
}
/* Accessibility: `#FF5F05` orange on `#f4f4f4` gray ≈ 2.77:1 — fails AA at
   every size (large-text floor is 3:1). Size alone can't fix it, so the color
   shifts to Altgeld `#C84113` on the same gray ≈ 4.61:1 (passes AA normal-text
   4.5:1). Size unified at 19px to match `.i2-featured-eyebrow` and
   `.i2-featured-body` for consistency across the home-page accessibility pass. */
.index2-content[data-layout="B"] .i2-programs-eyebrow {
    display: inline-block;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--il-altgeld, #C84113);
}
/* At a Glance uses the eyebrow as its actual <h2>, so drop the margins the browser
   puts on a heading — .i2-programs-header already owns the 28px gap to the grid. */
.index2-content[data-layout="B"] .i2-at-a-glance .i2-programs-eyebrow {
    margin: 0;
}
.index2-content[data-layout="B"] .i2-programs-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 380px;
    gap: 18px;
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    padding: 0;
    background: transparent;
}
/* Reflow: 2-up on tablets, 1-up on phones. */
@media (max-width: 1024px) {
    .index2-content[data-layout="B"] .i2-programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .index2-content[data-layout="B"] .i2-programs-grid { grid-template-columns: 1fr; }
}

/* ---- Card: the whole <a> is one button. A solid color "head" (title + arrow)
   sits ABOVE a plain photo — no gradient, no duotone, no overlay on the image.
   Flex column: head is content-sized, the media fills the rest so all four
   cards stay equal height. ---- */
.index2-content[data-layout="B"] .i2-program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(19, 41, 75, 0.08);
    transition: box-shadow 0.3s ease;
}
.index2-content[data-layout="B"] .i2-program-card:hover,
.index2-content[data-layout="B"] .i2-program-card:focus-visible {
    box-shadow: 0 14px 34px rgba(19, 41, 75, 0.20);
}

/* ---- Head: title + trailing arrow, the button band ---- */
.index2-content[data-layout="B"] .i2-program-card-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 24px;
}
.index2-content[data-layout="B"] .i2-program-card-title {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    /* 20px/700: white-on-orange (3.05:1) clears WCAG's large-text bar
       (>=18.66px bold = 3:1). White-on-navy is far above AA at any size. */
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #fff;
}
.index2-content[data-layout="B"] .i2-program-card-arrow {
    flex: 0 0 auto;
    font-size: 16px;
    color: #fff;
    transition: transform 0.25s ease;
}
.index2-content[data-layout="B"] .i2-program-card:hover .i2-program-card-arrow,
.index2-content[data-layout="B"] .i2-program-card:focus-visible .i2-program-card-arrow {
    transform: translateX(4px);
}

/* ---- Theme: two navy heads, two orange heads ---- */
.index2-content[data-layout="B"] .i2-program-card--blue .i2-program-card-head {
    background: var(--il-blue, #13294B);
}
.index2-content[data-layout="B"] .i2-program-card--orange .i2-program-card-head {
    background: var(--il-orange, #FF5F05);
}

/* ---- Media: plain photo filling the rest of the card, zoom on hover ---- */
.index2-content[data-layout="B"] .i2-program-card-media {
    flex: 1 1 auto;
    overflow: hidden;
}
.index2-content[data-layout="B"] .i2-program-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.index2-content[data-layout="B"] .i2-program-card:hover .i2-program-card-media img,
.index2-content[data-layout="B"] .i2-program-card:focus-visible .i2-program-card-media img {
    transform: scale(1.06);
}

/* ---- Optional blurb band ----
   Placement is purely DOM order: put the blurb before .i2-program-card-media to
   sit BETWEEN title and image, or after it to sit UNDER the image. The media
   stays flex:1 so the card height is unchanged either way. Background is an
   official illinois.css lighter tint with dark, regular-weight text. */
.index2-content[data-layout="B"] .i2-program-card-blurb {
    flex: 0 0 auto;
    padding: 13px 24px;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.38;
}
/* Blue theme: --il-blue-90 (#E1E7F1) light-blue tint, dark navy text (~12:1). */
.index2-content[data-layout="B"] .i2-program-card--blue .i2-program-card-blurb {
    background: var(--il-blue-90, #E1E7F1);
    color: var(--il-blue, #13294B);
}
/* Orange theme: illinois.css has no light-orange token, so this is a derived
   pale tint of --il-orange (#FFDFC9) at the same lightness as --il-blue-90 —
   clearly warm rather than the off-looking neutral gray. Dark --il-earth
   (#7D3E13, official brand brown) text reads at ~6.5:1. */
.index2-content[data-layout="B"] .i2-program-card--orange .i2-program-card-blurb {
    background: #FFDFC9;
    color: var(--il-earth, #7D3E13);
}


/* ---- News section heading common look ---- */
.i2-news-section, .i2-programs-section {
    padding: 50px 0;
    background: #fff;
}
.i2-news-section { background: #fafafa; }
.i2-section-heading {
    text-align: center;
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #13294b;
    margin: 0 0 28px;
    letter-spacing: 0;
}
.i2-section-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FF5F05;
    margin: 12px auto 0;
}

/* ---- Section heading: hidden entirely on the home page ---- */
.index2-content .i2-section-heading { display: none; }

/* ============================================================
   FOOTER — driven by body[data-index2-layout="B"] set on Index2.
   The attribute is absent on every other page, so the global
   footer styling stays untouched elsewhere.
   ============================================================ */

/* Theme.css ships footer { margin-top: 20px }. Kill it on Index2
   so the programs bento butts directly into the footer. */
body[data-index2-layout="B"] footer { margin-top: 0; }

/* Same fix, broader scope: any prototype page (.ovp-page = Index2 / Save2 /
   Page2 / future) suppresses the 20px footer margin so the sticky action
   bar (or the last content element on pages without a bar) sits flush
   against the layout footer's top edge. Uses :has() — modern evergreen
   browsers only, matching the rest of the prototype CSS. */
body:has(.ovp-page) > footer { margin-top: 0; }
/* Aside fills the page width with the dark blue base; the inner row is
   constrained to the same var(--ovp-shell-max) / 2.1vw side padding used by
   every other page section, so the three colored columns sit centered
   on the same margins as the news, programs, and featured-lab content. */
body[data-index2-layout="B"] footer aside {
    background: var(--il-storm-darker-1, #4A4C4B);
    padding: 0 2.1vw;
}
body[data-index2-layout="B"] footer aside .container {
    width: 100%;          /* override Bootstrap's fixed .container width (1170px) so the inner
                             box fills the same 1440-max / 2.1vw band as the university footer */
    max-width: var(--ovp-shell-max, 1800px);
    padding: 0;
    margin: 0 auto;
}
body[data-index2-layout="B"] footer aside .row {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;          /* mobile: stacked (matches the university footer) */
    align-items: stretch;                /* equal-height color blocks, tops aligned */
}
/* Bootstrap's .row clearfix ::before/::after would each take a grid cell and shove
   the real columns over — neutralize them in this grid context. */
body[data-index2-layout="B"] footer aside .row::before,
body[data-index2-layout="B"] footer aside .row::after {
    display: none;
}
@media (min-width: 960px) {
    body[data-index2-layout="B"] footer aside .row {
        grid-template-columns: 1fr 1fr 1fr;   /* 3 equal columns, mirroring .ovp-uf-cols */
        column-gap: 1.25rem;                  /* same gap as .ovp-uf-cols so cells line up exactly */
    }
}
body[data-index2-layout="B"] footer aside .row > [class*="col-"] {
    padding: 40px 0;      /* vertical only; text sits at the cell edge so it lines up with the
                             university footer columns (which have no horizontal padding) */
    margin: 0;
    width: auto;          /* override Bootstrap's col-md-4 33.33% so each fills its 1fr grid cell */
    min-width: 0;         /* let content wrap normally instead of forcing column width */
    color: #fff;
}
/* Three touching color regions on the storm band: col 1 = the dark band itself,
   col 2 = medium storm, col 3 = orange. Each colored block's background extends 1.5rem
   LEFT (negative margin) to cover the grid gap so the regions touch, while an equal
   padding-left puts the text back at the cell edge — so text stays aligned with the
   university footer columns AND sits inset within its color (not jammed at the edge). */
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(2) {
    background: var(--il-storm, #707372);
    margin-left: -1.5rem;
    padding-left: 1.5rem;
}
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) {
    background: var(--il-orange, #FF5F05);
    margin-left: -1.5rem;
    padding-left: 1.5rem;
}
/* --- Mobile (stacked): full-width color bands with aligned text ---
   The desktop bg-extension trick (negative margin + asymmetric padding) only makes sense
   when the 3 columns sit side by side. Once they stack, reset it: drop the aside's side
   gutters so each block spans edge-to-edge, and give EVERY column the same padding so the
   stacked text lines up (col 1 had 0 left padding, col 2/3 had 1.5rem -> misaligned). */
@media (max-width: 959.98px) {
    body[data-index2-layout="B"] footer aside { padding: 0; }
    body[data-index2-layout="B"] footer aside .row > [class*="col-"],
    body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(2),
    body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) {
        margin-left: 0;
        padding: 2rem 2.1vw;
    }
}
/* Unified column header for all three aside cols. Matches `.ovp-aside-brand`
   (col 1) so col 2 "Related Units on Campus" and col 3 "Quick Links" render
   identically. Also: 19px / 700 white-on-orange ≈ 3.05:1 clears WCAG AA
   large-text (3:1); the prior 16px / 800 uppercase fell below that since 16px
   bold is 12pt bold, under the 14pt-bold large-text bar. Per user request,
   uppercase + letter-spacing dropped. */
body[data-index2-layout="B"] footer aside p {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #fff;
}
body[data-index2-layout="B"] footer aside a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
body[data-index2-layout="B"] footer aside a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
body[data-index2-layout="B"] footer .footer-content {
    background-color: #0e1f38 !important;
    background-image: none !important;
    padding: 12px 2.1vw !important;
    color: #cfd5e0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-top: 3px solid #FF5F05;
}
body[data-index2-layout="B"] footer .footer-content > .text-center {
    max-width: var(--ovp-shell-max, 1800px);
    margin: 0 auto;
    text-align: center !important;
}
body[data-index2-layout="B"] footer .footer-content a {
    color: #fff;
    text-decoration: underline;
}

/* ===== University-standard footer (recreated from the ilw-footer web component's
   shadow CSS, scoped to .ovp-uf*). Markup lives in _LayoutOverlayMenu.cshtml, below
   the unit <aside>. Brand values reference illinois.css tokens (var(--il-*)) with
   hardcoded fallbacks so it stays correct if that CDN stylesheet fails to load.
   @container (min-width:960px) in the source is a plain @media here since this footer
   is full-width (viewport == container). ===== */
/* Reset the global `section { padding: 100px 0 }` (site.min.css) that would otherwise
   add 100px gaps above/below this footer <section>; spacing belongs on the bands. */
.ovp-uf { margin: 0; padding: 0; font-family: var(--il-font-sans, 'Source Sans 3', 'Source Sans Pro', sans-serif); }

.ovp-uf-campus { background: var(--il-blue, #13294B); color: var(--il-white, #fff); border-top: .5rem solid var(--il-orange, #FF5F05); padding: 1.875rem 2.1vw; }
.ovp-uf-legal  { background: var(--il-blue, #13294B); color: var(--il-white, #fff); border-top: .5rem solid var(--il-industrial-darker-2, #1F3D7B); padding: 1.875rem 2.1vw; }
.ovp-uf-inner  { max-width: var(--ovp-shell-max, 1800px); margin: 0 auto; }

.ovp-uf-logo   { margin: 0; padding: .75rem .25rem 3.75rem; }
.ovp-uf-logo a { display: block; width: 9.4375rem; height: 1.5625rem; }
.ovp-uf-logo a:hover { outline: dotted 2px; }
.ovp-uf-logo svg { display: block; width: 100%; height: 100%; }
.ovp-uf-logo svg .illinois { fill: var(--il-white, #fff); }
.ovp-uf-logo svg .block-i .fill { fill: var(--il-orange, #FF5F05); }
.ovp-uf-logo svg .block-i .outline { fill: var(--il-white, #fff); }

.ovp-uf-cols { display: grid; grid-template-columns: 1fr; gap: 2rem 1.25rem; }
.ovp-uf-col h3 { margin: 0 0 .5rem; padding: 0; font: 600 1.5rem/1.5 inherit; }
.ovp-uf-col ul { margin: 0; padding: 0; list-style: none; }
.ovp-uf-col li { margin: 0; padding: .5rem 0; list-style: none; }
.ovp-uf-col a  { color: var(--il-white, #fff); font: 400 1.125rem/1.5rem inherit; text-decoration: none; }
.ovp-uf-col a:hover, .ovp-uf-col a:focus { text-decoration: underline; }

.ovp-uf-legal .ovp-uf-inner { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.ovp-uf-legal a { display: block; padding: .3125rem; color: var(--il-white, #fff); font: 400 1rem/1 inherit; text-decoration: underline; }
.ovp-uf-legal a:hover { outline: dotted 2px; }
/* "About Cookies" opens the Illinois Cookie Notice slide-out (_IlaCookieNotice.cshtml); styled as a legal link. */
.ovp-uf-legal button { display: block; padding: .3125rem; background: none; border: 0; color: var(--il-white, #fff); font: 400 1rem/1 inherit; text-decoration: underline; cursor: pointer; }
.ovp-uf-legal button:hover, .ovp-uf-legal button:focus { outline: dotted 2px; }

/* Hover/focus must NOT recolor links — a global `footer a:hover { color: #C84113 }`
   (site.min.css) would turn them orange. Brand behavior is underline / dotted outline
   only, text stays white. (The dotted outlines use currentColor, so this also keeps
   them white.) */
.ovp-uf a:hover, .ovp-uf a:focus { color: var(--il-white, #fff); }

@media (min-width: 960px) {
    .ovp-uf-cols { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---- Mobile: collapse to single column ---- */
@media (max-width: 880px) {
    .index2-content .i2-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .index2-content .i2-stat + .i2-stat::before { display: none; }
    .index2-content .i2-stat-number { font-size: 44px; }
    .index2-content .i2-stats-section { padding: 40px 20px; }
    /* Release the desktop 50vh / 420px lock so the hero shrinks to the
       overlay's natural content height on mobile — no empty video space
       trailing under the icons. */
    .index2-content[data-layout="B"] .i2-hero { height: auto; min-height: 0; }
    .index2-content[data-layout="B"] .i2-hero-overlay {
        position: relative;
        left: auto;
        right: auto;
        width: 100%;
        /* Keep the 2.1vw padding inside the 100% so the box can't overflow
           the hero (which has overflow:hidden, clipping text right up to the
           screen edge if the padding lives outside the width). */
        box-sizing: border-box;
        background: rgba(19, 41, 75, 0.7);
        padding: 24px 2.1vw;
    }
    /* On mobile reveal the full unit name (hidden in layout B at desktop, where
       the right-half overlay is busy enough without the headline). Order 0
       places it at the top — reads as the headline above the tagline eyebrow,
       mission, then icons. */
    .index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-unit {
        display: block;
        order: 0;
        color: #fff;
        font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
        font-variation-settings: "wght" 700;
        font-weight: 700;
        font-size: clamp(24px, 6.5vw, 32px);
        line-height: 1.1;
        letter-spacing: -0.01em;
        margin: 0 0 12px;
    }
    /* Letter-spacing 0 on mobile — at narrow widths the trailing space after
       the last character of a wrapped line was the second source of bleed. */
    .index2-content[data-layout="B"] .i2-hero-overlay .i2-hero-tagline {
        letter-spacing: 0.06em;
        padding-right: 0;
        font-size: 14px;
    }
    .index2-content[data-layout="B"] .i2-hero-video { width: 100%; }
    .index2-content[data-layout="B"] .i2-hero::before { display: none; }
    .index2-content[data-layout="B"] .i2-hero::after { display: none; }
    .i2-hero-overlay .i2-hero-icons { gap: 12px; }
    .i2-hero-overlay .i2-hero-icons > i,
    .i2-hero-overlay .i2-hero-icons > svg { width: 48px; height: 48px; font-size: 38px; }
    .index2-content[data-layout="B"] .i2-news-section { padding: 20px 24px 48px; }
    .index2-content[data-layout="B"] .i2-news-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-rows: auto;
        gap: 14px;
    }
    .index2-content[data-layout="B"] .i2-news-card:nth-child(1),
    .index2-content[data-layout="B"] .i2-news-card:nth-child(2),
    .index2-content[data-layout="B"] .i2-news-card:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
        min-height: 260px;
    }
    /* Card 1: ease the 64% width cap so the editorial text uses the
       full mobile column. */
    .index2-content[data-layout="B"] .i2-news-card:nth-child(1) .i2-news-card-content {
        max-width: 100%;
    }
    /* Card 3: switch from horizontal split back to a stacked image-then-text
       block — the 5fr/7fr grid is too tight at narrow widths. */
    .index2-content[data-layout="B"] .i2-news-card:nth-child(3) {
        display: flex;
        flex-direction: column;
    }
    .index2-content[data-layout="B"] .i2-news-card:nth-child(3)::before {
        min-height: 180px;
    }
    .index2-content[data-layout="B"] .i2-news-card:nth-child(3) .i2-news-card-content {
        border-left: 0;
        border-top: 4px solid #FF5F05;
    }
    .index2-content[data-layout="B"] .i2-featured-section { padding: 48px 24px; }
    .index2-content[data-layout="B"] .i2-featured-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .index2-content[data-layout="B"] .i2-programs-section { padding: 48px 24px; }
    .index2-content[data-layout="B"] .i2-programs-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 14px;
    }
    .index2-content[data-layout="B"] .i2-program-tile,
    .index2-content[data-layout="B"] .i2-program-tile:nth-child(1),
    .index2-content[data-layout="B"] .i2-program-tile:nth-child(2),
    .index2-content[data-layout="B"] .i2-program-tile:nth-child(3),
    .index2-content[data-layout="B"] .i2-program-tile:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
    .index2-content[data-layout="B"] .i2-program-tile:nth-child(1) { height: 300px; }
    body[data-index2-layout="B"] footer aside .row { flex-direction: column; }
    body[data-index2-layout="B"] footer aside .row > [class*="col-"] { width: 100%; padding: 28px 24px; }
    .i2-hero-overlay .i2-hero-unit { font-size: 30px; }
}

/* ============================================================
   FOOTER REFINEMENTS — Round 7
   ============================================================ */

/* ---- OVCR link rendered as text in a white box (drop the sprite image) ---- */
body[data-index2-layout="B"] footer .ovcr-link {
    background-image: none !important;
    background-color: #fff;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    font-family: "Source Sans 3", "Source Sans Variable", "Source Sans Pro", sans-serif;
    font-variation-settings: "wght" 700;
    font-weight: 700;
    color: #13294b;
    line-height: 1.2;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-size: 13px !important;
    letter-spacing: 0.02em;
}
body[data-index2-layout="B"] footer .ovcr-link:hover {
    color: #13294b;
    background-color: #fff;
    text-decoration: none;
}

/* ---- Footer links: no underline at rest, underline on hover ----
   (Round-8: brand pattern is hover-revealed underline as the affordance —
   matches `.ovp-uf-col a` behavior on the university-standard footer below.
   Email `.mail-link` keeps its always-on underline, defined separately.) */
body[data-index2-layout="B"] footer aside a,
body[data-index2-layout="B"] footer .footer-content a {
    text-decoration: none;
}
body[data-index2-layout="B"] footer aside a:hover,
body[data-index2-layout="B"] footer .footer-content a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
body[data-index2-layout="B"] footer aside a.mail-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
body[data-index2-layout="B"] footer aside a.mail-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* ---- First aside column: stacked contact-info blocks ----
   Modeled on art.illinois.edu's `.footer-complex__content` first column:
   brand (24-32px below) → address (16px below) → phone/email (tight) → parent-unit (extra gap above).
   Each block carries its own typography so it does NOT inherit the uppercase-800 heading
   style from `aside p` (which is for col 2 & 3 section labels). */
body[data-index2-layout="B"] footer aside .ovp-aside-brand,
body[data-index2-layout="B"] footer aside .ovp-aside-address,
body[data-index2-layout="B"] footer aside .ovp-aside-contact,
body[data-index2-layout="B"] footer aside .ovp-aside-parent {
    text-transform: none;
    letter-spacing: normal;
    color: #fff;
}
body[data-index2-layout="B"] footer aside .ovp-aside-brand {
    font-size: 19px;            /* ≈1.2 × 16 base */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}
body[data-index2-layout="B"] footer aside .ovp-aside-address {
    font-size: 14px;            /* ≈.9 × 16 — matches the prior inline .9em */
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;        /* same as art.illinois.edu's address → contact gap */
}
body[data-index2-layout="B"] footer aside .ovp-aside-contact {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;           /* slightly looser so the icon + text rows breathe */
    margin-bottom: 0;
}
/* Extra breathing room above the parent-unit OVCR link — user explicitly asked for
   more spacing here since it's a separate organizational designation, not part of
   the DRS contact block. */
body[data-index2-layout="B"] footer aside .ovp-aside-parent {
    margin-top: 28px;
}
/* Parent-unit OVCR link renders as plain text matching the brand block above
   (19px / 700 / white) — overrides the `.ovcr-link` white-pill chip styling
   inherited from the Round-7 footer refinements. Still a link (hover underlines). */
body[data-index2-layout="B"] footer aside .ovp-aside-parent .ovcr-link,
body[data-index2-layout="B"] footer aside .ovp-aside-parent .ovcr-link:hover {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #fff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    text-decoration: none;
    display: inline;
}
body[data-index2-layout="B"] footer aside .ovp-aside-parent .ovcr-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* ============================================================
   FOOTER REFINEMENTS — Round 8: Quick Links (3rd col, orange band)

   - Icon alignment: every Quick Links link uses the same `.ovp-ql-icon`
     fixed-width slot so labels start at the same x regardless of glyph
     width (fa-users is wider than fa-user-circle; glyphicon-search is
     narrower than glyphicon-log-out). Without this, the text column
     drifted by 4–6px between rows.
   - WCAG AA contrast: white #fff on `--il-orange` #FF5F05 ≈ 3.05:1.
     That FAILS normal-text (4.5:1 required) but PASSES large-text (3:1)
     when text is ≥14pt bold (≈18.66px / 700). Bumping Quick Links to
     19px / 700 clears the bar with the smallest legible change.
   ============================================================ */
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) ul.list-unstyled {
    margin-top: 4px;
}
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) ul.list-unstyled li {
    margin-bottom: 8px;
}
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) ul.list-unstyled a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;        /* 14pt — meets WCAG AA large-text threshold (3:1) at 700 weight */
    font-weight: 700;
    line-height: 1.3;
}
/* Fixed-width icon column — every glyph centers in the same 22px slot, so the
   first character of each label sits at exactly the same x across all rows. */
body[data-index2-layout="B"] footer aside .row > [class*="col-"]:nth-child(3) ul.list-unstyled a > .ovp-ql-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
    font-size: 1.05em;      /* slight icon-vs-text scale parity; well inside the 22px box */
    line-height: 1;
}

   Kendo widgets render their popups (filter menus, dropdown lists, calendar
   pop-outs, dialogs) at the END of <body>, OUTSIDE `.ovp-page`. That puts
   them beyond reach of any page-prototype/index-prototype/save-prototype
   selector. Without these rules, popup chrome (filter menu labels, button
   text, dropdown list items, dialog text) would render in Kendo's stylesheet
   default font instead of Source Sans like the rest of the page.

   Scope: `body[data-index2-layout="B"]` — set by overlay-menu-prototype.js
   whenever an `.index2-content` or `.ovp-page` is on the page, so this
   targets only prototype views.
   ============================================================ */
body[data-index2-layout="B"] .k-animation-container,
body[data-index2-layout="B"] .k-popup,
body[data-index2-layout="B"] .k-filter-menu,
body[data-index2-layout="B"] .k-list-container,
body[data-index2-layout="B"] .k-window,
body[data-index2-layout="B"] .k-tooltip {
    font-family: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* Native form controls don't inherit font-family by default — force it so
   the input boxes inside filter popups (and any dropdown's type-ahead) use
   Source Sans rather than the browser default. */
body[data-index2-layout="B"] .k-animation-container input,
body[data-index2-layout="B"] .k-animation-container button,
body[data-index2-layout="B"] .k-animation-container select,
body[data-index2-layout="B"] .k-animation-container textarea,
body[data-index2-layout="B"] .k-animation-container .k-button,
body[data-index2-layout="B"] .k-animation-container .k-input,
body[data-index2-layout="B"] .k-animation-container .k-textbox,
body[data-index2-layout="B"] .k-window input,
body[data-index2-layout="B"] .k-window button,
body[data-index2-layout="B"] .k-window select,
body[data-index2-layout="B"] .k-window textarea {
    font-family: inherit;
}

