/* =========================================================================
   CMS BRIDGE
   -------------------------------------------------------------------------
   The ONE place where CMS-generated markup is reconciled with the approved
   design. Nothing else may contain a rule whose only job is to undo something
   the CMS emits.

   WHY THIS FILE EXISTS
   --------------------
   The design was drawn as static HTML with its own class names (.prose,
   .sidenav, .fx-aside, .card ...). The CMS emits something different: 60-odd
   component controls wrapped in Bootstrap-ish grid classes
   (.col-md-9, .singlewindow, .dualwindow_left, .divComponentContainer) that
   the mockups never had to deal with.

   Those two vocabularies have to meet somewhere. If that happens inside
   core.css, the design file stops matching the design repo and the next
   person to re-copy it silently reverts the CMS fixes. If it happens inside
   each .ascx, the fixes scatter across 60 files and nobody can see the whole
   picture. So it happens here, and only here.

   LOAD ORDER (Content.aspx / protected/ProtectedPage.master)
       brand.css     tokens, per-building colours   [data-brand]
       core.css      layout and components
       enhance.css   motion, texture, polish
       cms.css       THIS FILE - the bridge
       Custom.css    the ih-* rich-text components the editor inserts
   This file beats the three design sheets by source order at equal
   specificity. Prefer that over !important; if you need !important, say why on
   the line above it.

   Custom.css loads AFTER this one, so a component an author dropped into a
   text window wins over the generic rich-text rules in section 8. That is the
   intended order: section 8 is the floor for untouched CMS content, and the
   ih-* components are a deliberate opt-in on top of it.

   RULES FOR EDITING
   -----------------
   1. Every rule gets a comment naming the control or component that emits the
      markup it is correcting. A rule nobody can trace is a rule nobody can
      delete.
   2. Do not re-style the design. If a component looks wrong in a way the
      design already answers, map it onto the design's class instead of
      inventing a new look here.
   3. Specificity collisions with the legacy sheets get resolved by DELETING
      the legacy rule once the surface it covers has been migrated - not by
      stacking a stronger selector on top. Most of that is done: normalize,
      responsive and MegaMenuMobile were deleted on 25 Oct 2026, and Custom
      was cut from 1,897 lines to the component layer it is now. What is left
      is Styles.css (2,350 lines), which no page in the design loads - only the
      standalone print and popup pages under protected/ still link it - and
      protected-pages.css, which still styles the calendar internals.

   THE FIRST MOVE IS ALWAYS "GIVE IT THE DESIGN'S CLASS"
   The CMS panels now carry the design's own class names alongside their
   Bootstrap ones - ucLeftNav's panel is `sidenav col-md-3 col-xs-12`,
   ContentPage's single window is `prose col-md-9 ...`, and its right-hand
   window is `fx-aside col-md-5 ...`. So core.css styles them directly and
   this file only has to handle what is genuinely CMS-specific. Reach for that
   before writing a rule here.
   ========================================================================= */

/* =========================================================================
   1. INTERIOR LAYOUT
   Content.aspx emits the design's .page-cols grid, but its children are the
   CMS's own panels with Bootstrap-ish grid classes. Those classes carry no
   width here - the grid assigns the columns - so they only need neutralising.
   ========================================================================= */

/* The sticky rail and the prose measure come from core.css via .sidenav
   and .prose. What is left is the one thing a CSS grid gets wrong by default:
   a grid item's min-width is min-content, so a wide table, a long URL or an
   oversized image inside a component pushes its column open and shoves the
   rail off the page. This was the overlap on every interior page. */
.page-cols > * { min-width: 0; }

/* Bootstrap column classes ride along on the same panels. They carry no width
   here - the grid assigns the columns - but they would fight it if any legacy
   sheet were ever loaded alongside this one.

   This rule used to zero padding-left/right as well, to kill Bootstrap's
   gutters. That was wrong: the SAME element carries both "col-md-9" and
   "prose", and the design gives .prose its card padding
   (padding: var(--s4) var(--s5) var(--s5)). Zeroing the horizontal padding
   stripped it, so body text sat flush against the edges of its white card on
   every interior page. No Bootstrap stylesheet is loaded on this site, so
   those classes contribute no padding to remove in the first place. */
.page-cols > [class*="col-md-"],
.page-cols > [class*="col-xs-"] {
    float: none;
    width: auto;
}

/* .prose caps itself at 72ch for readability, which is right for a one-column
   page. In the CMS the grid already sets the measure, and a 72ch cap inside a
   712px column leaves a ragged gap on the right. */
:is(.page-cols .prose, .cms-inline-surface.prose) { max-width: none; }

/* Two-window pages. Content.aspx asks for fx-3col (rail | prose | aside), but
   ContentPage.ascx wraps both windows in #dualWindow, so the wrapper took the
   middle track and the 300px aside track stayed empty: the left window was
   squeezed into the middle and the right window fell under it, outside its
   card, on ~280 pages. `display: contents` lets the two windows be the grid's
   own items, which is what enhance.css's fx-3col rules (and their 1150px /
   900px breakpoints) were written for. */
.page-cols.fx-3col > #ucContentPage_dualWindow { display: contents; }
/* ...which makes the windows grid items that `.page-cols > * { min-width: 0 }`
   no longer reaches (they are grandchildren), and the aside is itself a grid
   whose one implicit column grows to its widest unbreakable line - an
   xx-large "Information Technology" heading pushed ACTC's STAMM page 360px
   past the screen. Both get the guard back; the column rule stays above
   1150px so enhance.css's two-cards-across tablet layout is untouched. */
.page-cols .dualwindow_left, .page-cols .dualwindow_right { min-width: 0; }
@media (min-width: 1151px) {
    .page-cols.fx-3col .dualwindow_right { grid-template-columns: minmax(0, 1fr); }
}
/* The design's aside is a short "at a glance" panel; a CMS right window can be
   an agenda archive. A sticky column taller than the screen hides its own
   bottom, so it scrolls with the page. Its components take the aside's card. */
.page-cols .dualwindow_right { position: static; }
.page-cols .dualwindow_right > .divComponentContainer {
    background: var(--surface); border-radius: var(--fx-r); box-shadow: var(--fx-shadow);
    border-top: 4px solid var(--brand); padding: var(--s3); margin: 0;
}

/* =========================================================================
   2. LEFT RAIL
   Moved here from the 527-line <style> block inside
   Controls/LeftSideNav/DynamicNav.ascx. That block was written against
   --red, --black and --link: tokens this design does not define, so every
   rule fell back to a hardcoded hex of the OLD palette and the rail stayed
   district red on a blue school. Rewritten against the real tokens so it
   matches .sidenav in core.css.
   ========================================================================= */

.DynamicNav { width: 100%; margin-bottom: var(--s4); font-family: var(--font-body); }
/* The brand header bar runs to the card's edge, so the card has to clip
   it at the rounded corners. */
.page-cols .sidenav { overflow: hidden; }

/* The design's rail is a white card with a BRAND-FILLED header bar
   (.sidenav-h in enhance.css), not an underlined heading. DynamicNav
   emits .dyn-nav-header instead, so the look is mapped across here. The card
   itself carries no horizontal padding - the header bar is full-bleed and the
   links supply their own inset - which is why .sidenav is left alone. */
.dyn-nav-header {
    margin: 0 0 var(--s1);
    padding: var(--s2) var(--s3);
    background: var(--brand);
}
/* .sidenav a in core.css is (0,2,0) and sets color:var(--ink), which beat
   a plain .dyn-nav-section-link (0,1,0) and painted dark text on the brand
   bar. Scoped through .sidenav here so it wins on specificity rather than
   !important. --on-brand, not white: Billingsley's bar is gold and needs dark
   ink, which that token already carries per school. */
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link,
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link:link,
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link:visited,
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link:hover {
    color: var(--on-brand);
}
/* The same .sidenav a rule also gives every rail link a 44px row, padding, a
   left rule and a grey hover fill - which painted a grey box inside the
   brand bar on hover. The header keeps the row's size but drops the fill
   and the rule: hover is just an underline in the school's on-brand ink. */
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link {
    border-left: 0;
    background: none;
}
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link:hover,
.page-cols .sidenav .dyn-nav-header .dyn-nav-section-link:focus-visible {
    background: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* The way back to the building, above the section title when the menu is
   scoped to one section (DynamicNav). Small and quiet: the section is the
   heading. Undoes the same .sidenav a row styling as the title above. */
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link,
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link:link,
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link:visited {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    margin: 0 0 2px;
    padding: 0 var(--s2) 0 var(--s3);     /* the title's own inset, so the two line up */
    border: 0;
    background: none;
    font-family: var(--font-body);
    font-size: .78rem;
    line-height: 1.3;
    color: var(--on-brand);
    opacity: .85;
    text-decoration: none;
}
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link::before { content: "\2039"; font-size: 1.25em; line-height: 1; }
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link:hover,
.page-cols .sidenav .dyn-nav-header .dyn-nav-root-link:focus-visible {
    background: none;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dyn-nav-section-link,
.dyn-nav-section-link:visited {
    display: block;
    font-family: var(--font-head);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--on-brand);
    text-decoration: none;
    line-height: 1.3;
}
.dyn-nav-section-link:hover,
.dyn-nav-section-link:focus-visible { text-decoration: underline; }

.dyn-nav-list,
.dyn-nav-sublist { list-style: none; margin: 0; padding: 0; }

.dyn-nav-item-row { display: flex; align-items: stretch; }

/* Matches .sidenav a in core.css: a 3px rule down the left that picks up
   the brand colour on hover and on the current page. 44px is the minimum
   comfortable tap target. */
.dyn-nav-item-row > a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-height: 44px;
    /* padding-left matches .sidenav a in the design: the card has no side
       padding, so the link provides the inset. */
    padding: 9px var(--s2) 9px var(--s3);
    color: var(--ink);
    text-decoration: none;
    font-size: var(--t-small);
    line-height: 1.3;
    border-left: 3px solid var(--line);
    transition: border-color .16s, background .16s, color .16s;
}
.dyn-nav-item-row > a:hover,
.dyn-nav-item-row > a:focus-visible {
    border-left-color: var(--brand);
    background: var(--ev-bg);
}
/* DynamicNav marks the current page with .DynamicNav_currentpage_link - set
   server-side when it can, and by initDynNav from the URL when it cannot. */
.dyn-nav-item-row > a.DynamicNav_currentpage_link,
.dyn-nav-item-row > a[aria-current="page"] {
    border-left-color: var(--brand);
    background: var(--ev-bg);
    color: var(--brand-ink);
    font-weight: 600;
}

/* Expand/collapse control for a branch with children. Hidden when the item
   has no submenu - the control markup renders the button unconditionally. */
.dyn-nav-toggle {
    flex: 0 0 auto;
    width: 40px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted);
    transition: transform .16s, color .16s;
}
.dyn-nav-toggle:hover { color: var(--brand-ink); }
.dyn-nav-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
.dyn-nav-toggle i { transition: transform .16s; }
.dyn-nav-item-row > a:only-child + .dyn-nav-toggle,
.dyn-nav-item:not(:has(.dyn-nav-sublist)) .dyn-nav-toggle { visibility: hidden; }

.dyn-nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* Collapsed until its own <li> is .open. The collapse rule used to live in
   Styles.css, which the design does not load - so every branch rendered
   expanded and the toggle only spun its chevron. initDynNav opens the
   current page's ancestor chain. Scoped through .DynamicNav because
   .sidenav ul { margin: 0 } in core.css (0,1,1) beat a bare .dyn-nav-sublist,
   so nested levels were never indented. */
.DynamicNav .dyn-nav-sublist {
    display: none;
    margin: 0 0 4px var(--s3);
    border-left: 1px solid var(--line);
}
.DynamicNav .dyn-nav-item.open > .dyn-nav-sublist,
.DynamicNav .dyn-nav-subitem.open > .dyn-nav-sublist { display: block; }

/* Only the top level draws the grey rail. Nested links each drawing their
   own 3px rule at a deeper indent made the rails stagger, and the active
   bar floated in the middle of the list. The sublist's 1px line is the
   guide; a nested link shows a bar only on hover or when it is current. */
.dyn-nav-subitem > .dyn-nav-item-row > a {
    font-size: .86rem;
    min-height: 38px;
    padding-left: var(--s2);
    border-left-color: transparent;
    margin-left: -2px;
}
.dyn-nav-subitem > .dyn-nav-item-row > a:hover,
.dyn-nav-subitem > .dyn-nav-item-row > a:focus-visible,
.dyn-nav-subitem > .dyn-nav-item-row > a.DynamicNav_currentpage_link { border-left-color: var(--brand); }

/* The path down to the current page reads as ink, not muted, so the
   trail is visible without competing with the current page itself. */
.dyn-nav-item.open > .dyn-nav-item-row > a,
.dyn-nav-subitem.open > .dyn-nav-item-row > a { font-weight: 600; color: var(--ink); }
.dyn-nav-item.open > .dyn-nav-item-row > a.DynamicNav_currentpage_link,
.dyn-nav-subitem.open > .dyn-nav-item-row > a.DynamicNav_currentpage_link { color: var(--brand-ink); }

/* The mobile menu is a checkbox hack: the label is the button and the
   checkbox is never shown. Above the breakpoint neither appears. */
.DynamicNav > input[type="checkbox"] { display: none; }
.DynamicNav_show-menu { display: none; }

@media (max-width: 900px) {
    .DynamicNav_show-menu {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 10px var(--s3);
        cursor: pointer;
        font-family: var(--font-head);
        text-transform: uppercase;
        letter-spacing: .02em;
        color: var(--on-brand);
        background: var(--brand);
        border-radius: var(--r);
    }
    .DynamicNav_show-menu::after { content: "Menu"; }
    .DynamicNav > #menu { display: none; }
    .DynamicNav > input[type="checkbox"]:checked ~ #menu { display: block; }
}

/* ------------------------------------------------------------- breadcrumb
   DynamicNav builds this and mounts it inside .fx-ph-in, so .pagehead .crumbs
   in core.css already sizes and colours it. Only the pieces the design
   had no equivalent for are set here. The "ih-" prefix is inherited from
   Indian Hill and kept: the names are cosmetic and renaming them means
   touching the control's JavaScript for no behavioural gain. */
.ih-crumb-sep { margin: 0 6px; color: var(--line); }
.ih-crumb-current { color: var(--ink); font-weight: 600; }

/* =========================================================================
   3. COMPONENTS
   Every CMS component renders inside .divComponentContainer. Give the whole
   family the design's prose measure and rhythm, then correct individuals
   only where they genuinely differ.

   THE CMS EDITOR READS THESE TOO. The inline editor draws a Text Window in a
   frame of its own: the content in a document whose <html> is
   .cms-inline-surface, the title in a page whose <html> is .cms-inline. No
   .page-cols exists there, so a rule scoped only to .page-cols .prose left
   tables, quotes, rules, pictures and the window title looking different
   while editing than on the page. Hence :is(.page-cols .prose,
   .cms-inline-surface.prose): the editor stamps the column's own classes on
   that <html>, so .prose is there exactly when the column has it (the left
   or single column, not the right-hand aside) - and the specificity on the
   site is what it was.
   ========================================================================= */

.divComponentContainer { margin-bottom: var(--s4); }

:is(.page-cols .prose, .cms-inline-surface.prose) h2,
.divComponentContainer h2 {
    font-size: 1.5rem;
    margin: var(--s4) 0 var(--s2);
    color: var(--mast-name-ink);
}
:is(.page-cols .prose, .cms-inline-surface.prose) h3,
.divComponentContainer h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin: var(--s3) 0 var(--s1);
    letter-spacing: 0;
}
:is(.page-cols .prose, .cms-inline-surface.prose) ul { padding-left: var(--s3); }
:is(.page-cols .prose, .cms-inline-surface.prose) li { margin-bottom: 6px; }
:is(.page-cols .prose, .cms-inline-surface.prose) a { color: var(--brand-ink); }
:is(.page-cols .prose, .cms-inline-surface.prose) img { max-width: 100%; height: auto; border-radius: var(--r); }

/* A Text Window's title is the heading of its section ("FY27 Budget
   Documents", "Login Help"), but it rendered as a body-size inline span, so it
   read as one more line of text. The <br> TextWindow.ascx puts after it is a
   blank line once the title is a block - or on every untitled window. */
:is(.page-cols, .cms-inline) span[id$="lblTextWindowTitle"]:not(:empty) {
    display: block; font-family: var(--font-head); font-weight: 600;
    font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em;
    color: var(--mast-name-ink, var(--ink));
}
.page-cols span[id$="lblTextWindowTitle"] + br { display: none; }

/* Imported "picture, then its caption link" lists were quick-link card grids
   on the old sites; one per line they made pages 3,500px tall, with a bullet
   stranded at the foot of each picture. They go back to a grid of cards. */
.page-cols .prose ul:has(> li > a:first-child > img),
.cms-inline-surface.prose ul:not(.ih-cards, .ih-cards-compact):has(> li > a:first-child > img) {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--s3); padding-left: 0;
}
.page-cols .prose ul:has(> li > a:first-child > img) > li,
.cms-inline-surface.prose ul:not(.ih-cards, .ih-cards-compact):has(> li > a:first-child > img) > li {
    list-style: none; margin: 0; text-align: center;
    font-size: var(--t-small); line-height: 1.35;
}
.page-cols .prose ul:has(> li > a:first-child > img) > li > a:first-child,
.cms-inline-surface.prose ul:not(.ih-cards, .ih-cards-compact):has(> li > a:first-child > img) > li > a:first-child { display: block; }
/* core.css resets every img to display:block, which is right for the design's
   own cards but not for imported rich text: a picture in a centred paragraph
   sat at the left edge under its centred caption, and pictures written side
   by side stacked. In CMS text they are inline again, as on the old sites. */
:is(.page-cols .prose, .cms-inline-surface.prose) img { display: inline-block; vertical-align: middle; }

/* The importer turned the old sites' 4-column rows (col-sm-3 x4) into
   ih-grid-3, so the fourth tile wrapped onto a row of its own. Four children
   share the row; the 680px rule in Custom.css still stacks them on phones. */
/* A flex column's min-width is its content: an imported fixed-width table
   (MMS cafeteria, width: 373px) held its column open and the whole page
   scrolled sideways on a phone. The table's own overflow wrapper scrolls it. */
:is(.page-cols, .cms-inline-surface) :is(.ih-grid-2, .ih-grid-3) > * { min-width: 0; }
@media (min-width: 681px) {
    :is(.page-cols, .cms-inline-surface) .ih-grid-3:has(> :nth-child(4):last-child) > * {
        flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px;
    }
}

/* the imported <img> carries an inline margin: 5px */
.page-cols .prose ul:has(> li > a:first-child > img) > li > a:first-child > img,
.cms-inline-surface.prose ul:not(.ih-cards, .ih-cards-compact):has(> li > a:first-child > img) > li > a:first-child > img { margin: 0 auto 6px !important; }

/* "This page is currently not available." - a real state, not an error. */
.page-cols .singlewindow:empty,
.page-cols [id$="pnlPageNotAvailable"] {
    padding: var(--s4);
    background: var(--ev-bg);
    border-radius: var(--r);
    color: var(--muted);
}

/* =========================================================================
   4. SITE SEARCH
   The modal and its typeahead are CMS features the design never drew - its
   magnifying glass was decorative - so there is nothing in core.css to
   inherit. Written against the design's tokens so it belongs to the same
   site. Behaviour lives in jquery/js/search.js.
   ========================================================================= */

.search-modal[hidden] { display: none; }
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 400;            /* above both overlays (.mega and .switch, 300) */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--s5) var(--s3);
}
.search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 20, .72);
}
.search-modal__panel {
    position: relative;
    width: min(680px, 100%);
    max-height: 86vh;
    overflow: auto;
    background: var(--surface);
    border-radius: var(--r);
    border-top: 5px solid var(--brand);
    padding: var(--s4);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}
/* Scroll lock. The modal scrolls internally, so the page behind it must not. */
body.search-modal-open { overflow: hidden; }

.search-modal__close {
    position: absolute;
    top: var(--s2);
    right: var(--s2);
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
}
.search-modal__close:hover { color: var(--brand-ink); }

.search-modal__eyebrow {
    font-family: var(--font-head);
    font-size: var(--t-micro);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand-ink);
    margin: 0 0 4px;
}
.search-modal__title { font-size: 1.6rem; margin: 0 0 4px; }
.search-modal__subtitle { color: var(--muted); margin: 0 0 var(--s3); }

.search-modal__form { display: flex; gap: var(--s2); align-items: stretch; }
.search-modal__field { position: relative; flex: 1 1 auto; display: flex; }
.search-modal__field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.search-modal__input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px 10px 40px;
    font: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: var(--r);
}
.search-modal__input:focus { outline: none; border-color: var(--brand); }

.search-modal__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 var(--s3);
    background: var(--brand);
    color: var(--on-brand);
    border-radius: var(--r);
    text-decoration: none;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}
.search-modal__submit:hover { background: var(--brand-dk); }

/* --------------------------------------------------------- filter chips */
.search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.search-filter-chip {
    min-height: 34px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: var(--t-small);
    color: var(--ink);
    background: var(--ev-bg);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.search-filter-chip:hover { border-color: var(--brand); }
.search-filter-chip.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand);
}

/* ---------------------------------------------------------- suggestions */
.search-suggest[hidden] { display: none; }
.search-suggest { margin-top: var(--s3); border-top: 1px solid var(--line); }
.search-suggest__list { list-style: none; margin: 0; padding: 0; }
.search-suggest__status { padding: var(--s3) 0; color: var(--muted); font-size: var(--t-small); }
.search-suggest__item {
    display: flex;
    align-items: baseline;
    gap: var(--s2);
    padding: 10px 8px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.search-suggest__item:hover,
.search-suggest__item.is-active { background: var(--ev-bg); }
.search-suggest__item-body { flex: 1 1 auto; min-width: 0; }
.search-suggest__title { display: block; font-weight: 600; }
.search-suggest__snippet {
    display: block;
    font-size: var(--t-small);
    color: var(--muted);
    /* One line: the panel is a shortlist, not a results page. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-suggest__bundle { font-size: var(--t-micro); color: var(--muted); }
.search-suggest__type {
    flex: 0 0 auto;
    font-size: var(--t-micro);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}
.search-suggest mark { background: transparent; color: var(--brand-ink); font-weight: 700; }
.search-suggest__seeall {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--brand-ink);
    text-decoration: none;
}
.search-suggest__seeall:hover,
.search-suggest__seeall.is-active { background: var(--ev-bg); }

@media (max-width: 600px) {
    .search-modal { padding: var(--s3) var(--s2); }
    .search-modal__form { flex-direction: column; }
}

/* =========================================================================
   5. GOOGLE TRANSLATE
   The widget builds its own markup inside #google_translate_element, so it is
   dressed from outside. With InlineLayout.SIMPLE that markup is:

       div.goog-te-gadget
         div.goog-te-gadget-simple
           img.goog-te-gadget-icon
           span > a > span "Select Language" ... span "&#9660;"

   NOT a <select>. An earlier version of this file styled .goog-te-combo,
   which only exists for the HORIZONTAL and VERTICAL layouts, and set
   font-size:0 on the gadget to suppress Google's "Powered by" text - which
   also suppressed the only label the SIMPLE layout has, leaving a bare arrow
   in the utility bar.

   Google's own class names are stable for these two (goog-te-*); the hashed
   ones on the inner anchor are not, so nothing here targets them.
   ========================================================================= */

.util-translate { display: inline-flex; align-items: center; gap: 6px; }

.util-translate .goog-te-gadget {
    font-family: var(--font-head) !important;
    font-size: var(--t-micro) !important;
    color: var(--topbar-ink) !important;
    line-height: 1;
}

/* The control itself: Google ships it with a border and a white background. */
.util-translate .goog-te-gadget-simple {
    display: inline-flex;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: var(--t-micro) !important;
    line-height: 1;
    cursor: pointer;
}

/* Google's own globe sprite - the utility bar already has one next to it. */
.util-translate .goog-te-gadget-icon { display: none !important; }

.util-translate .goog-te-gadget-simple a,
.util-translate .goog-te-gadget-simple a:link,
.util-translate .goog-te-gadget-simple a:visited {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--topbar-ink) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.util-translate .goog-te-gadget-simple a:hover { text-decoration: underline !important; }
/* Google draws a "|" rule between the label and the arrow with a border on
   one of its spacer spans. */
.util-translate .goog-te-gadget-simple a span {
    color: inherit !important;
    /* The longhand, not "border: 0": Google sets border-left inline, and the
       shorthand was not winning against it. Overriding the same longhand it
       writes is both more reliable and easier to trace back to the cause. */
    border-left: 0 !important;
    border-right: 0 !important;
}
/* The spacer images between the label and the arrow. */
.util-translate .goog-te-gadget-simple a img { display: none !important; }

/* On a phone the utility bar has room for five icons and little else. The
   label "Select Language" pushed the search icon onto a second row and made
   the bar twice as tall, so below the breakpoint it collapses to the globe
   already sitting beside it plus Google's arrow. The control still opens the
   same picker. */
@media (max-width: 700px) {
    .util-translate .goog-te-gadget-simple a span:first-child { display: none !important; }
    .util-translate { gap: 2px; }
}

/* ------------------------------------------------- Google's injected banner
   Once a language is chosen Google inserts a fixed iframe at the top of the
   document and sets body{top:40px}, which pushes the whole design down and
   leaves a white bar above the header. The picker itself stays, so a visitor
   can still switch back to English. */
body { top: 0 !important; }
.goog-te-banner-frame { display: none !important; }

/* Translated runs get a highlight that fights the brand colours. */
font[style*="background"] { background: none !important; box-shadow: none !important; }

/* =========================================================================
   6. CALENDAR COLOUR KEY
   MasterCalendar prints a colour swatch in front of each event in the month
   grid. One event can belong to many schools, so beyond three distinct
   colours it collapses to a "Multi" chip - see BuildColorCodes().
   ========================================================================= */

.ev-code {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    vertical-align: baseline;
    /* The swatch is decoration; its meaning is in the title tooltip. */
    overflow: hidden;
    text-indent: -999px;
}
.ev-code-multi {
    width: auto;
    height: auto;
    padding: 1px 6px;
    text-indent: 0;
    overflow: visible;
    font-family: var(--font-head);
    font-size: var(--t-micro);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--on-brand);
    background: var(--muted);
    cursor: help;
}

/* =========================================================================
   7. LEGAL BAR - vertical centring
   .legal .u-wrap is a flex row with default align-items (stretch), so both
   children become 40px tall. The links are inline-flex with align-items:center
   so their text centres; the copyright is a plain span, so its text renders at
   the TOP of its stretched box. The two then sit on visibly different lines.

   Corrected here rather than in core.css so that file stays byte-identical
   to the design repo it is copied from - but the same line belongs upstream in
   css/core.css whenever the design is next revised.
   ========================================================================= */
.legal .u-wrap { align-items: center; }

/* =========================================================================
   8. RICH TEXT INSIDE A COMPONENT
   TextWindow content is authored in the CMS editor, so it arrives as whatever
   HTML an editor produced - tables, blockquotes, horizontal rules. The design
   never drew these (its pages were hand-written prose), so without this they
   fall back to browser defaults: a table renders with 1990s grey bevelled
   borders in the middle of the page.
   ========================================================================= */

:is(.page-cols .prose, .cms-inline-surface.prose) table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--s3) 0;
    font-size: var(--t-small);
}
:is(.page-cols .prose, .cms-inline-surface.prose) th,
:is(.page-cols .prose, .cms-inline-surface.prose) td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
:is(.page-cols .prose, .cms-inline-surface.prose) th {
    background: var(--ev-bg);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--brand-ink);
}
:is(.page-cols .prose, .cms-inline-surface.prose) tbody tr:nth-child(even) { background: rgba(0, 0, 0, .02); }

/* Most imported tables are LAYOUT tables - an address, a phone and fax line,
   a FAQ box - written border="0" or with no border attribute, and the old
   sites drew them without lines. Ruled, they read as empty grids. Only a
   table that asked for borders (border="1") keeps them; border="0" also
   drops the zebra, which on a one-cell table is just a grey box. */
:is(.page-cols .prose, .cms-inline-surface.prose) table:not([border]) td, :is(.page-cols .prose, .cms-inline-surface.prose) table:not([border]) th,
:is(.page-cols .prose, .cms-inline-surface.prose) table[border="0"] td, :is(.page-cols .prose, .cms-inline-surface.prose) table[border="0"] th {
    border: none; padding: 4px 8px;
}
:is(.page-cols .prose, .cms-inline-surface.prose) table[border="0"] tbody tr:nth-child(even) { background: none; }

/* A wide table must not push the grid column open and shove the rail off the
   page - the same failure the layout rules above guard against. */
:is(.page-cols .prose, .cms-inline-surface.prose) table { display: block; overflow-x: auto; }

:is(.page-cols .prose, .cms-inline-surface.prose) blockquote {
    margin: var(--s3) 0;
    padding: var(--s2) var(--s3);
    border-left: 4px solid var(--brand);
    background: var(--ev-bg);
    color: var(--muted);
}
:is(.page-cols .prose, .cms-inline-surface.prose) hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: var(--s4) 0;
}


/* =========================================================================
   9. CMS COMPONENT DETAILS

   Moved here from Custom.css on 25 Oct 2026. These style markup that
   PageControls/Component/*.ascx emits, which is exactly what this file is
   for; they were sitting in Custom.css, which the public pages did not load
   at all, so none of it was reaching the site. The event meta row in
   particular is built in EventComponent.ascx.cs and was rendering as
   undifferentiated inline text.
   ========================================================================= */

/* ═════════════════════════════════════════════════════════════════
   Event component — whole-panel clickable + meta row (time/location)
   ═════════════════════════════════════════════════════════════════
   Clicking anywhere on an event row triggers the event-view link
   (not just the title text). Uses the "stretched link" pattern:
   make the item position-relative, then expand the existing <a>'s
   click area to fill the panel via an absolutely-positioned ::after.
*/
.eventcomponent_item {
    position: relative;
    cursor: pointer;
    transition: background-color .15s ease;
}
.eventcomponent_item:hover {
    background-color: rgba(0, 0, 0, .02);
}
.eventcomponent_item .eventcomponent_linktext::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* Lift the title above the stretched click area so its hover state still works */
.eventcomponent_item .eventcomponent_linktext {
    position: relative;
    z-index: 2;
}

/* Time + location meta row (added by EventComponent.ascx.cs) */
.eventcomponent_addldetails {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--gray, #6b7280);
    line-height: 1.5;
}
.eventcomponent_addldetails .eventcomponent_meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 14px;
    white-space: nowrap;
}
/* Meta icons stay neutral — same dark as body text with reduced opacity
   so they read as secondary. Not red, not yellow. */
.eventcomponent_addldetails .eventcomponent_meta i {
    color: var(--black, #111111);
    font-size: 0.78rem;
    opacity: 0.55;
}

span[id$="lblTextWindowTitle"], span[id$="lblComponentHeaderText"] {
    margin-bottom: 10px !important;
}

/* =========================================================================
   SUB-PAGE CARDS (App_Code/SubpageCards.cs)
   A group page's list of its sub-pages, rendered as cards. The district
   asked for these pages to be "more inviting & to have real pictures"
   (Website Tweaks, Nov 2026) and showed two layouts, both here:
     --icon   a light tile, a large icon, an underlined label and a brand
              bar along the bottom ("How Can We Help?")
     --photo  the linked page's own picture over a white label bar with an
              arrow (their Departments example)
   Selectors go through .ih-subpages a.ih-sp so they outrank the content
   link rule (.page-cols .prose a) instead of fighting it with !important.
   ========================================================================= */
.ih-subpages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: var(--s3);
    margin: var(--s2) 0;
}
.ih-subpages a.ih-sp,
.ih-subpages a.ih-sp:visited {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    color: var(--ink);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--fx-r, 12px);
    overflow: hidden;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.ih-subpages a.ih-sp:hover,
.ih-subpages a.ih-sp:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--fx-shadow-up);
    border-color: var(--brand);
}
.ih-subpages a.ih-sp:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ih-sp-label { font-weight: 600; line-height: 1.3; }

/* icon tiles */
.ih-subpages--icon a.ih-sp {
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    padding: var(--s4) var(--s3) var(--s3);
    text-align: center;
    background: var(--surface-2);
    border-bottom: 6px solid var(--brand);
}
.ih-subpages--icon .ih-sp-media { font-size: 2.6rem; line-height: 1; color: var(--brand-ink); }
.ih-subpages--icon .ih-sp-label {
    color: var(--brand-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.ih-subpages--icon .ih-sp-go { display: none; }

/* photo tiles */
.ih-subpages--photo a.ih-sp { box-shadow: var(--fx-shadow); }
.ih-subpages--photo .ih-sp-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-2);
}
.ih-subpages--photo .ih-sp-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;          /* content pictures get a margin and rounded corners; */
    border-radius: 0;   /* not inside a card, which has its own */
    float: none;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.ih-subpages--photo a.ih-sp:hover .ih-sp-media img { transform: scale(1.05); }
.ih-subpages--photo .ih-sp-media img.is-contain { object-fit: contain; padding: var(--s2); background: var(--surface); }
.ih-subpages--photo a.ih-sp:hover .ih-sp-media img.is-contain { transform: none; }
.ih-subpages--photo .ih-sp-media--icon {
    display: grid;
    place-items: center;
    font-size: 3rem;
    background: var(--brand);
    color: var(--on-brand);
}
.ih-subpages--photo .ih-sp-label { flex: 1 1 auto; padding: 14px 58px 14px var(--s3); }
.ih-subpages--photo .ih-sp-go {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid var(--line);
    border-radius: 50%;
    font-size: 12px;
    color: var(--brand-ink);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.ih-subpages--photo a.ih-sp:hover .ih-sp-go { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
/* compact: a two-column list of links, each with a brand circle icon - the
   "Quick Links" groups of their Families example. Used by marking a list
   ih-cards-compact (the district Families page). */
.ih-subpages--compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px var(--s3);
    margin: var(--s2) 0 var(--s4);
    padding: var(--s3);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--fx-r, 12px);
}
.ih-subpages--compact a.ih-sp,
.ih-subpages--compact a.ih-sp:visited {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 6px;
    background: none;
    border: 0;
    border-radius: 8px;
    color: var(--brand-ink);
}
.ih-subpages--compact a.ih-sp:hover,
.ih-subpages--compact a.ih-sp:focus-visible {
    transform: none;
    box-shadow: none;
    background: var(--surface);
}
.ih-subpages--compact .ih-sp-media {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--on-brand);
    font-size: 15px;
}
.ih-subpages--compact .ih-sp-label { font-size: .95rem; }
.ih-subpages--compact a.ih-sp:hover .ih-sp-label { text-decoration: underline; text-underline-offset: 3px; }
.ih-subpages--compact .ih-sp-go { display: none; }
/* phones: two cards a row, not one tall card each */
@media (max-width: 560px) {
    .ih-subpages--icon, .ih-subpages--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
    .ih-subpages--icon a.ih-sp { padding: var(--s3) var(--s2) var(--s2); }
    .ih-subpages--icon .ih-sp-media { font-size: 2rem; }
    .ih-subpages .ih-sp-label { font-size: .9rem; }
    .ih-subpages--photo .ih-sp-label { padding: 10px 44px 10px 12px; }
    .ih-subpages--photo .ih-sp-go { right: 10px; bottom: 9px; width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .ih-subpages a.ih-sp, .ih-subpages--photo .ih-sp-media img { transition: none; }
    .ih-subpages a.ih-sp:hover, .ih-subpages--photo a.ih-sp:hover .ih-sp-media img { transform: none; }
}

/* Cards without a link (a tile an editor has not linked yet) do not lift. */
.ih-subpages a.ih-sp:not([href]) { cursor: default; }
.ih-subpages a.ih-sp:not([href]):hover { transform: none; box-shadow: none; border-color: var(--line); }
/* a picture chosen for a compact link sits in the round badge */
.ih-subpages--compact .ih-sp-media { overflow: hidden; }
.ih-subpages--compact .ih-sp-media img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }

/* The same cards in the CMS editor. The editor edits the list itself -
       <li><a href="..."><i class="fa-solid fa-users"></i>School Board</a></li>
   - so these rules draw that list the way SubpageCards draws the page: a
   tile per item with its icon, a photo tile when the list has a picture, the
   default icon (folder-open) where an item has neither. They go by the list's
   class and the item's own icon/picture only, so they hold for every marked
   list on every page. html.cms-inline-surface is stamped on the editor frame
   only (EditTextWindowModern); nothing on the site matches it. !important
   where Custom.css styles .fr-element .ih-link-list as a plain list. */
html.cms-inline-surface ul.ih-link-list.ih-cards,
html.cms-inline-surface ul.ih-link-list.ih-cards-compact {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: var(--s3) !important;
    margin: var(--s2) 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
/* icon tiles */
html.cms-inline-surface ul.ih-link-list.ih-cards > li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    margin: 0 !important;
    padding: var(--s4) var(--s3) var(--s3) !important;
    text-align: center;
    background: var(--surface-2);
    border: 1px solid var(--line) !important;
    border-bottom: 6px solid var(--brand) !important;
    border-radius: var(--fx-r, 12px);
    overflow: hidden;
}
html.cms-inline-surface ul.ih-link-list.ih-cards > li > a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: var(--s2);
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
    color: var(--brand-ink) !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px;
}
html.cms-inline-surface ul.ih-link-list.ih-cards > li i[class*="fa-"] {
    order: -1;
    display: block;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--brand-ink);
    text-decoration: none;
}
/* an item with no icon or picture shows the default icon, as on the page */
html.cms-inline-surface ul.ih-link-list.ih-cards > li:not(:has(i[class*="fa-"], img))::before,
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li:not(:has(i[class*="fa-"], img))::before {
    content: "\00f07c";
    font: var(--fa-font-solid, normal 900 1em/1 "Font Awesome 6 Pro");
    font-size: 2.6rem;
    line-height: 1;
    color: var(--brand-ink);
}
/* photo tiles: a list with any picture */
html.cms-inline-surface ul.ih-link-list.ih-cards:has(img) > li {
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 !important;
    text-align: left;
    background: var(--surface);
    border-bottom: 1px solid var(--line) !important;
    box-shadow: var(--fx-shadow);
}
html.cms-inline-surface ul.ih-link-list.ih-cards:has(img) > li > a {
    align-items: stretch;
    gap: 0;
    padding: 0 var(--s3) 14px !important;
    color: var(--ink) !important;
    text-decoration: none !important;
}
html.cms-inline-surface ul.ih-link-list.ih-cards:has(img) > li img {
    order: -1;
    display: block;
    width: calc(100% + 2 * var(--s3)) !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 calc(-1 * var(--s3)) 14px !important;
    border-radius: 0 !important;
    float: none !important;
}
html.cms-inline-surface ul.ih-link-list.ih-cards:has(img) > li i[class*="fa-"] {
    /* flex, not grid: the <wbr> the editor keeps inside an icon would be a second grid row */
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 2 * var(--s3));
    margin: 0 calc(-1 * var(--s3)) 14px;
    aspect-ratio: 4 / 3;
    font-size: 3rem;
    background: var(--brand);
    color: var(--on-brand);
}
html.cms-inline-surface ul.ih-link-list.ih-cards:has(img) > li:not(:has(i[class*="fa-"], img))::before {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    font-size: 3rem;
    background: var(--brand);
    color: var(--on-brand);
}
/* compact: a panel of links, each with a round badge */
html.cms-inline-surface ul.ih-link-list.ih-cards-compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 6px var(--s3) !important;
    margin: var(--s2) 0 var(--s4) !important;
    padding: var(--s3) !important;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--fx-r, 12px);
}
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 8px 6px !important;
    border: 0 !important;
}
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li > a {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    color: var(--brand-ink) !important;
    text-decoration: none !important;
}
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li i[class*="fa-"],
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li img,
html.cms-inline-surface ul.ih-link-list.ih-cards-compact > li:not(:has(i[class*="fa-"], img))::before {
    order: -1;
    flex: 0 0 auto;
    width: 36px !important;
    height: 36px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 50% !important;
    font-size: 15px;
    background: var(--brand);
    color: var(--on-brand);
    object-fit: cover;
}

/* =========================================================================
   TEAM TABS (DynamicNav: a sport under Athletics with pages of its own)
   "Football | ROSTER SCHEDULE COACHES NEWS" - the team-page bar the district
   pointed at (Website Tweaks, Nov 2026). Sits at the top of the content.
   ========================================================================= */
.team-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px var(--s3);
    margin: 0 0 var(--s4);
    padding: 10px var(--s3);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--fx-r, 12px);
}
.team-tabs-name {
    font-family: var(--font-head);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--ink);
    padding-right: var(--s3);
    border-right: 1px solid var(--line);
}
.team-tabs ul { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; padding: 0; list-style: none; }
.team-tabs li { margin: 0; padding: 0; }
.team-tabs li::marker { content: none; }
:is(.page-cols .prose, .cms-inline-surface.prose) .team-tabs a,
:is(.page-cols .prose, .cms-inline-surface.prose) .team-tabs a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 10px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}
:is(.page-cols .prose, .cms-inline-surface.prose) .team-tabs a:hover,
:is(.page-cols .prose, .cms-inline-surface.prose) .team-tabs a:focus-visible { color: var(--brand-ink); border-bottom-color: var(--line); }
:is(.page-cols .prose, .cms-inline-surface.prose) .team-tabs a[aria-current="page"] { color: var(--brand-ink); border-bottom-color: var(--brand); }
@media (max-width: 720px) {
    .team-tabs-name { flex: 1 0 100%; border-right: 0; padding-right: 0; }
}
