/*
 * Opportunita — Universities index V2 (Release 1.1.47).
 *
 * The public institution catalogue at /universities/: a left facet rail with
 * its own scroll container, search + sort in the results column, image-led
 * institution cards, progressive "Show more" reveal, country wiring and an
 * internal-link band. Scoped entirely to `.op-unis2` so nothing here can leak
 * into another public template.
 *
 * Theming: one role-token family (`--unx-*`) defined three times — Light on
 * the bare class, Dim and Dark-Contrast under `html[data-op-theme=…]`. The
 * values are the same ones the single-university page uses, which is what lets
 * the two pages read as one system in all three appearances (handoff spec §4).
 * Components read tokens only; no literal hex outside the theme blocks.
 *
 * Layout: container queries (`container-type: inline-size` on the root), so
 * the page responds to its own width. Breakpoints come from content, not from
 * devices: the card grid drops to one column at 980px — before a two-column
 * grid would squeeze cards under ~270px — while the rail survives to 720px.
 * Only the sticky offsets use a viewport media query, because they track the
 * site header's height.
 */

.op-unis2 {
	/* ---- Type ---- */
	--op-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

	/* ---- Light (default) — site slate family ---- */
	--unx-bg: var(--op-slate-50, #f8fafc);
	--unx-panel: var(--op-white, #ffffff);
	--unx-pop: #f1f5f9;
	--unx-ink: var(--op-slate-900, #0f172a);
	--unx-t1: var(--op-slate-700, #334155);
	--unx-t2: var(--op-slate-700, #334155);
	--unx-t3: var(--op-slate-600, #475569);
	--unx-t4: var(--op-slate-600, #475569);
	--unx-t5: var(--op-slate-500, #64748b);
	--unx-t6: var(--op-slate-500, #64748b);
	--unx-ac: var(--op-teal-700, #0f766e);
	--unx-ac2: #115e59;
	--unx-onac: #ffffff;
	--unx-acw: rgba(15, 118, 110, 0.07);
	--unx-acb: rgba(15, 118, 110, 0.25);
	--unx-rose: var(--op-rose-600, #e11d48);
	--unx-roseb: rgba(225, 29, 72, 0.22);
	--unx-amber: var(--op-amber-700, #b45309);
	--unx-amberb: rgba(180, 83, 9, 0.22);
	--unx-ind: var(--op-indigo-700, #4338ca);
	--unx-indb: rgba(67, 56, 202, 0.20);
	--unx-wa03: #ffffff;
	--unx-wa05: rgba(15, 23, 42, 0.04);
	--unx-wa06: #eef2f6;
	--unx-wa08: var(--op-slate-200, #e2e8f0);
	--unx-wa10: #d8dfe8;
	--unx-wa14: var(--op-slate-300, #cbd5e1);
	--unx-wa22: #a9b6c6;
	--unx-sh: 0 10px 28px rgba(15, 23, 42, 0.08);
	--unx-dot: rgba(15, 23, 42, 0.12);
	--unx-imgline: rgba(0, 0, 0, 0.10);

	/*
	 * Glass chips sitting on card media. They invert in light: a dark scrim
	 * chip over a bright photo is unreadable in a light page, so the light
	 * theme uses a near-white plate with navy text instead.
	 */
	--unx-chip: rgba(255, 255, 255, 0.90);
	--unx-chipbd: rgba(21, 32, 43, 0.14);
	--unx-chiptx: #15202b;

	/* Sticky chrome offsets — track the global header height. */
	--unx-top: var(--opb-header-height, 80px);

	container-type: inline-size;
	background: var(--unx-bg);
	color: var(--unx-t2);
	font-family: var(--op-font-sans);
	-webkit-font-smoothing: antialiased;
}

/* ---- Dim — site navy family ---- */
html[data-op-theme="dim"] .op-unis2 {
	--unx-bg: #020712;
	--unx-panel: #08111f;
	--unx-pop: #0c1626;
	--unx-ink: #f2f7fb;
	--unx-t1: #e0e8f0;
	--unx-t2: #c3d0dd;
	--unx-t3: #9fb2c7;
	--unx-t4: #94a8bd;
	--unx-t5: #7890aa;
	--unx-t6: #7890aa;
	--unx-ac: #2dd4bf;
	--unx-ac2: #5eead4;
	--unx-onac: #06231f;
	--unx-acw: rgba(45, 212, 191, 0.10);
	--unx-acb: rgba(45, 212, 191, 0.26);
	--unx-rose: #fb7185;
	--unx-roseb: rgba(251, 113, 133, 0.28);
	--unx-amber: #fbbf24;
	--unx-amberb: rgba(251, 191, 36, 0.26);
	--unx-ind: #a5b4fc;
	--unx-indb: rgba(165, 180, 252, 0.26);
	--unx-wa03: rgba(255, 255, 255, 0.03);
	--unx-wa05: rgba(255, 255, 255, 0.05);
	--unx-wa06: rgba(255, 255, 255, 0.06);
	--unx-wa08: rgba(255, 255, 255, 0.08);
	--unx-wa10: rgba(255, 255, 255, 0.10);
	--unx-wa14: rgba(255, 255, 255, 0.14);
	--unx-wa22: rgba(255, 255, 255, 0.22);
	--unx-sh: 0 10px 30px rgba(0, 0, 0, 0.42);
	--unx-dot: rgba(148, 163, 184, 0.16);
	--unx-imgline: rgba(255, 255, 255, 0.10);
	--unx-chip: rgba(8, 14, 24, 0.58);
	--unx-chipbd: rgba(255, 255, 255, 0.18);
	--unx-chiptx: #ffffff;
}

/* ---- Dark Contrast — site black/charcoal family ---- */
html[data-op-theme="dark-contrast"] .op-unis2 {
	--unx-bg: #000000;
	--unx-panel: #16161a;
	--unx-pop: #1d1d20;
	--unx-ink: #f9fafb;
	--unx-t1: #e5e7eb;
	--unx-t2: #d1d5db;
	--unx-t3: #c3c8cf;
	--unx-t4: #b6bcc4;
	--unx-t5: #9ca3af;
	--unx-t6: #9ca3af;
	--unx-ac: #2dd4bf;
	--unx-ac2: #5eead4;
	--unx-onac: #061412;
	--unx-acw: rgba(45, 212, 191, 0.10);
	--unx-acb: rgba(45, 212, 191, 0.28);
	--unx-rose: #fda4af;
	--unx-roseb: rgba(253, 164, 175, 0.30);
	--unx-amber: #fcd34d;
	--unx-amberb: rgba(252, 211, 77, 0.28);
	--unx-ind: #a5b4fc;
	--unx-indb: rgba(165, 180, 252, 0.28);
	--unx-wa03: rgba(255, 255, 255, 0.04);
	--unx-wa05: rgba(255, 255, 255, 0.06);
	--unx-wa06: rgba(255, 255, 255, 0.07);
	--unx-wa08: rgba(255, 255, 255, 0.10);
	--unx-wa10: rgba(255, 255, 255, 0.12);
	--unx-wa14: rgba(255, 255, 255, 0.16);
	--unx-wa22: rgba(255, 255, 255, 0.22);
	--unx-sh: 0 10px 30px rgba(0, 0, 0, 0.55);
	--unx-dot: rgba(255, 255, 255, 0.10);
	--unx-imgline: rgba(255, 255, 255, 0.10);
	--unx-chip: rgba(10, 10, 12, 0.62);
	--unx-chipbd: rgba(255, 255, 255, 0.20);
	--unx-chiptx: #ffffff;
}

/* The compact header height kicks in with the burger menu. */
@media (max-width: 1180px) {
	.op-unis2 {
		--unx-top: var(--opb-header-height-compact, 68px);
	}
}

/* ============================================================
   Base
   ============================================================ */
.op-unis2 *,
.op-unis2 *::before,
.op-unis2 *::after { box-sizing: border-box; }
.op-unis2 a { text-decoration: none; color: inherit; }
.op-unis2 a:hover { color: var(--unx-ac); }
.op-unis2 p { margin: 0; }
.op-unis2 ul { margin: 0; padding: 0; list-style: none; }
.op-unis2 button,
.op-unis2 input,
.op-unis2 select { font-family: inherit; }
.op-unis2 input::placeholder { color: var(--unx-t6); }
.op-unis2 fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.op-unis2 legend { padding: 0; }

/* The public theme sets a bare `h1,h2,h3 { color: … }` that beats an
   inherited colour, so every heading here states its own. */
.op-unis2 h1,
.op-unis2 h2,
.op-unis2 h3 { color: var(--unx-ink); margin: 0; }

/*
 * Every link that sets its own colour must also state its own hover, because
 * `.op-unis2 a:hover` above is (0,1,1) and a single-class component rule is
 * (0,2,0): the component's resting colour outranks the generic hover, so
 * without these the links here would simply never respond to the pointer.
 */
.op-unis2 .unx-crumb a:hover,
.op-unis2 .unx-card__name:hover,
.op-unis2 .unx-spot__name:hover,
.op-unis2 .unx-official:hover,
.op-unis2 .unx-ccard:hover .unx-ccard__name { color: var(--unx-ac); }
.op-unis2 .unx-seclink:hover { color: var(--unx-ac2); }

/* Press feedback on every control, not only the primary ones. */
.op-unis2 .unx-chip:active,
.op-unis2 .unx-clearall:active,
.op-unis2 .unx-filterbtn:active,
.op-unis2 .unx-reset:active,
.op-unis2 .unx-sheetfoot button:active { transform: scale(0.96); }
.op-unis2 .unx-chip,
.op-unis2 .unx-clearall,
.op-unis2 .unx-filterbtn,
.op-unis2 .unx-reset,
.op-unis2 .unx-sheetfoot button { transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, color 170ms ease; }
.op-unis2 .unx-chip:hover { background: var(--unx-acw); border-color: var(--unx-ac); }
.op-unis2 .unx-clearall:hover { color: var(--unx-t2); }
.op-unis2 .unx-filterbtn:hover { background: var(--unx-wa06); border-color: var(--unx-wa22); }
.op-unis2 .unx-reset:hover { color: var(--unx-t1); }
.op-unis2 .unx-facet:hover { background: var(--unx-wa05); color: var(--unx-t1); }
.op-unis2 .unx-facet:hover:has(input:checked) { background: var(--unx-acw); }
.op-unis2 .unx-switchrow:hover .unx-switch { background: var(--unx-wa14); }
.op-unis2 .unx-switchrow[aria-checked="true"]:hover .unx-switch { background: var(--unx-ac2); }

.op-unis2 :focus-visible {
	outline: 2px solid var(--unx-ac);
	outline-offset: 2px;
	border-radius: 6px;
}

/*
 * The page frame is deliberately the SAME box as Browse Opportunities
 * (`.opbv-container`): 1200px content, 28px side padding, 16px below 620px.
 * The two listings sit next to each other in the main navigation, so a
 * different gutter or a different content width reads as a broken page rather
 * than as a different page. The handoff's own 1240/40/26/16 numbers are
 * overridden here for that reason, and only here — every inner measurement
 * still comes from the spec.
 */
.op-unis2 .unx-pad { padding-inline: 28px; }
/*
 * 1144, not 1200. Browse Opportunities is the reference frame and its
 * `.opbv-container` is `max-width:1200` with the 28px gutter INSIDE that box,
 * so its usable content is 1144 wide and starts 148px in on a 1440 screen.
 * These pages carry the gutter on the full-bleed parent instead, so the inner
 * wrap has to be 1200 - 2x28 for the text, the breadcrumb and the headings to
 * land on exactly the same line as Browse at every width.
 */
.op-unis2 .unx-wrap { max-width: 1144px; margin-inline: auto; width: 100%; }
.op-unis2 .unx-hidden { display: none !important; }
.op-unis2 .unx-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.op-unis2 .unx-hero {
	background: var(--unx-panel);
	border-bottom: 1px solid var(--unx-wa08);
	background-image: radial-gradient(var(--unx-dot) 1px, transparent 1px);
	background-size: 32px 32px;
	background-position: -14px -14px;
	padding-block: 28px 34px;
}
.op-unis2 .unx-hero__inner { display: flex; flex-direction: column; gap: 24px; }

.op-unis2 .unx-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	color: var(--unx-t5);
}
.op-unis2 .unx-crumb [aria-current="page"] { color: var(--unx-t3); }

/* Heading beside the provenance card; one column below 720. */
.op-unis2 .unx-headrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}
.op-unis2 .unx-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; min-width: 0; }

.op-unis2 .unx-sourcecard {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	grid-template-areas: "icon title" "icon body";
	column-gap: 12px;
	row-gap: 6px;
	align-content: start;
	background: var(--unx-wa03);
	border: 1px solid var(--unx-wa08);
	border-radius: 14px;
	padding: 16px;
	/* Aligns the card's cap-height with the H1's, not with its line box. */
	margin-top: 30px;
}
.op-unis2 .unx-sourcecard__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--unx-acw);
	border: 1px solid var(--unx-acb);
	color: var(--unx-ac);
}
.op-unis2 .unx-sourcecard__title {
	grid-area: title;
	align-self: center;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--unx-ink);
	letter-spacing: -0.01em;
}
.op-unis2 .unx-sourcecard__body {
	grid-area: body;
	font-size: 12.3px;
	line-height: 1.6;
	color: var(--unx-t5);
	text-wrap: pretty;
}
.op-unis2 .unx-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--unx-ac);
}
.op-unis2 .unx-h1 {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.03em;
	text-wrap: pretty;
}
.op-unis2 .unx-lead {
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--unx-t4);
	text-wrap: pretty;
}

.op-unis2 .unx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.op-unis2 .unx-stat {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: var(--unx-wa03);
	border: 1px solid var(--unx-wa08);
	border-radius: 14px;
	padding: 14px 16px;
}
.op-unis2 .unx-stat__num {
	font-size: 26px;
	font-weight: 700;
	color: var(--unx-ink);
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.op-unis2 .unx-stat__num--ac { color: var(--unx-ac); }
.op-unis2 .unx-stat__label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--unx-t6);
}

.op-unis2 .unx-jump { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.op-unis2 .unx-jump__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--unx-t6);
}
/* The one intentional scroller on the page: it hides its scrollbar and lets
   the next pill peek past the edge so the overflow is legible. */
.op-unis2 .unx-jump__row {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
	min-width: 0;
}
.op-unis2 .unx-jump__row::-webkit-scrollbar { display: none; }
.op-unis2 .unx-cpill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	background: var(--unx-wa05);
	border: 1px solid var(--unx-wa08);
	border-radius: 999px;
	padding: 8px 13px;
	min-height: 40px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--unx-t2);
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.op-unis2 .unx-cpill:hover { background: var(--unx-wa08); border-color: var(--unx-wa22); color: var(--unx-t2); }
.op-unis2 .unx-cpill:active { transform: scale(0.96); }
.op-unis2 .unx-cpill[aria-pressed="true"] {
	background: var(--unx-acw);
	border-color: var(--unx-acb);
	color: var(--unx-ac);
}
.op-unis2 .unx-cpill__count { font-family: var(--op-font-mono); font-size: 11px; color: var(--unx-t6); }
.op-unis2 .unx-cpill[aria-pressed="true"] .unx-cpill__count { color: var(--unx-ac); }

/*
 * Flags. Sizes live here, not on the HTML width/height attributes: those are
 * presentational hints and lose to any rule that names width — including the
 * media band's own `img` rule, which is how a 15x11 chip flag first rendered
 * at 86x23. The ISO fallback is a text badge, so it opts out of the fixed box.
 */
.op-unis2 .unx-flag {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 11px;
	border-radius: 2px;
	object-fit: cover;
}
.op-unis2 .unx-flag--sm { width: 15px; height: 11px; }
.op-unis2 .unx-flag--iso {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 17px;
	height: 12px;
	padding-inline: 3px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-family: var(--op-font-mono);
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	opacity: 0.75;
}

/* ============================================================
   Body grid
   ============================================================ */
.op-unis2 .unx-body {
	padding-block: 0 60px;
}
.op-unis2 .unx-grid2 {
	display: grid;
	grid-template-columns: 254px minmax(0, 1fr);
	grid-template-areas:
		"rail tools"
		"rail list";
	column-gap: 34px;
	row-gap: 0;
	align-items: start;
}
/* `display:contents` so the toolbar row and the rail land in their own grid
   areas while staying one element for the mobile sheet to anchor to. */
.op-unis2 .unx-toolwrap { display: contents; }
.op-unis2 .unx-toolrow {
	grid-area: tools;
	position: sticky;
	top: calc(var(--unx-top) + 0px);
	z-index: 32;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--unx-bg);
	padding: 14px 0 12px;
}
.op-unis2 .unx-list { grid-area: list; padding-top: 6px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.op-unis2 .unx-rail {
	grid-area: rail;
	position: sticky;
	top: calc(var(--unx-top) + 14px);
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: calc(100vh - var(--unx-top) - 34px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 3px;
	scrollbar-width: thin;
	scrollbar-color: var(--unx-wa14) transparent;
}
.op-unis2 .unx-rail::-webkit-scrollbar { width: 6px; }
.op-unis2 .unx-rail::-webkit-scrollbar-thumb { background: var(--unx-wa14); border-radius: 999px; }
.op-unis2 .unx-rail::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
   Toolbar
   ============================================================ */
.op-unis2 .unx-search {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 1 1 240px;
	min-width: 0;
	height: 42px;
	background: var(--unx-wa05);
	border: 1px solid var(--unx-wa08);
	border-radius: 12px;
	padding-inline: 14px;
}
.op-unis2 .unx-search svg { flex: 0 0 auto; color: var(--unx-t5); }
.op-unis2 .unx-search input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: none;
	color: var(--unx-t1);
	font-size: 13.5px;
	padding: 0;
	height: 40px;
}

.op-unis2 .unx-filterbtn {
	display: none;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding-inline: 14px;
	background: var(--unx-wa05);
	border: 1px solid var(--unx-wa08);
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--unx-t1);
	cursor: pointer;
}
.op-unis2 .unx-filterbtn__count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--unx-ac);
	color: var(--unx-onac);
	font-size: 10.5px;
	font-weight: 700;
}

.op-unis2 .unx-sort { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.op-unis2 .unx-sort__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--unx-t6);
}
/*
 * The sort control is the shared op-cselect component, skinned to match the
 * two fields beside it. Only the trigger is restyled: the panel is portalled
 * out of this subtree and already carries the design system's own listbox
 * styling in all three appearances, so re-skinning it here would fork it.
 */
/*
 * A FIXED width, not `auto`. The component sizes its portalled panel to the
 * trigger's measured width, so an auto-width trigger produced a 124px panel
 * that clipped "Recently indexed" to "Recent…" and read as a detached box
 * narrower than the control that opened it. 184px fits the longest option at
 * 13px with the check column, so trigger and panel are the same box.
 */
.op-unis2 .unx-sort .op-cselect {
	flex: 0 0 auto;
	width: 184px;
	min-width: 184px;
}
.op-unis2 .unx-sort .op-cselect__trigger {
	width: 100%;
	height: 42px;
	min-height: 42px;
	gap: 10px;
	padding: 0 12px;
	background: var(--unx-wa05);
	border: 1px solid var(--unx-wa08);
	border-radius: 12px;
	color: var(--unx-t1);
	font-size: 13px;
	font-weight: 600;
	box-shadow: none;
	transition: border-color 170ms ease, background 170ms ease;
}
.op-unis2 .unx-sort .op-cselect__trigger:hover { background: var(--unx-wa06); border-color: var(--unx-wa22); }
.op-unis2 .unx-sort .op-cselect.is-open .op-cselect__trigger { border-color: var(--unx-acb); }
.op-unis2 .unx-sort .op-cselect__value { color: var(--unx-t1); }
.op-unis2 .unx-sort .op-cselect__chevron { color: var(--unx-t5); }
/*
 * Before the enhancer runs — and permanently, if JavaScript never loads — the
 * native select IS the control, so it gets the same field skin. The component
 * hides it itself once it is enhanced.
 */
.op-unis2 .unx-sort__select {
	max-width: 200px;
	height: 42px;
	background: var(--unx-wa05);
	border: 1px solid var(--unx-wa08);
	border-radius: 12px;
	padding-inline: 12px;
	color: var(--unx-t1);
	font-size: 13px;
	font-weight: 600;
	outline: none;
	cursor: pointer;
}

/* ============================================================
   Facet rail
   ============================================================ */
/*
 * The filter card is the SAME control language as the single-university
 * page's refine rail (`.uv-fcard`): 18px padding, 20px between groups, 6px
 * between rows, a mono group label, and rows that are padded hit areas with
 * their own hover and selected surface rather than bare checkbox lines. Two
 * filter panels one click apart should not have two different rhythms, so the
 * numbers below are copied from it deliberately.
 */
.op-unis2 .unx-facets {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: var(--unx-panel);
	border: 1px solid var(--unx-wa08);
	border-radius: var(--op-radius-xl, 16px);
	padding: 18px;
	box-shadow: var(--op-shadow-xs, none);
}
.op-unis2 .unx-facets__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.op-unis2 .unx-facets__title { font-size: 13.5px; font-weight: 700; color: var(--unx-ink); }
.op-unis2 .unx-reset {
	background: transparent;
	border: 0;
	padding: 0;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--unx-t5);
	cursor: pointer;
}
.op-unis2 .unx-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.op-unis2 .unx-group + .unx-group {
	border-top: 1px solid var(--unx-wa08);
	padding-top: 16px;
}
.op-unis2 .unx-group--refine { gap: 14px; }
.op-unis2 .unx-group__label {
	font-family: var(--op-font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--unx-t6);
	margin-bottom: 2px;
}

.op-unis2 .unx-facet {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	border-radius: 10px;
	padding: 8px 10px;
	cursor: pointer;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--unx-t3);
	text-align: start;
	transition: background 150ms ease, color 150ms ease;
}
.op-unis2 .unx-facet input { position: absolute; opacity: 0; width: 0; height: 0; }
.op-unis2 .unx-facet__box {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	border-radius: 5px;
	border: 1.5px solid var(--unx-wa22);
	display: grid;
	place-items: center;
	color: transparent;
	transition: background 150ms ease, border-color 150ms ease;
}
.op-unis2 .unx-facet input:checked + .unx-facet__box {
	background: var(--unx-ac);
	border-color: var(--unx-ac);
	color: var(--unx-onac);
}
.op-unis2 .unx-facet input:focus-visible + .unx-facet__box {
	outline: 2px solid var(--unx-ac);
	outline-offset: 2px;
}
.op-unis2 .unx-facet__name { flex: 1 1 auto; min-width: 0; }
.op-unis2 .unx-facet__count { font-family: var(--op-font-mono); font-size: 11.5px; }
/* Selected: the whole row takes the accent wash, the way the university page
   marks a chosen facet. The check and the accent text carry the state on
   their own where :has() is unsupported. */
.op-unis2 .unx-facet:has(input:checked) { background: var(--unx-acw); }
.op-unis2 .unx-facet input:checked ~ .unx-facet__name,
.op-unis2 .unx-facet input:checked ~ .unx-facet__count { color: var(--unx-ac); font-weight: 700; }

.op-unis2 .unx-switchrow {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: start;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--unx-t2);
}
.op-unis2 .unx-switch {
	width: 34px;
	height: 20px;
	flex: 0 0 auto;
	border-radius: 999px;
	display: flex;
	align-items: center;
	padding: 2px;
	background: var(--unx-wa10);
	transition: background 170ms ease;
}
.op-unis2 .unx-switch__knob {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #ffffff;
	transition: transform 170ms ease;
}
.op-unis2 .unx-switchrow[aria-checked="true"] .unx-switch { background: var(--unx-ac); }
.op-unis2 .unx-switchrow[aria-checked="true"] .unx-switch__knob { transform: translateX(14px); }
[dir="rtl"] .op-unis2 .unx-switchrow[aria-checked="true"] .unx-switch__knob { transform: translateX(-14px); }
.op-unis2 .unx-switchrow[aria-checked="true"] { color: var(--unx-ac); }
.op-unis2 .unx-switchrow__name { flex: 1 1 auto; }

.op-unis2 .unx-sheetfoot { display: none; gap: 10px; border-top: 1px solid var(--unx-wa08); padding-top: 14px; }
.op-unis2 .unx-sheetfoot button {
	flex: 1 1 auto;
	min-height: 44px;
	border: 0;
	border-radius: 12px;
	background: var(--unx-ac);
	color: var(--unx-onac);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.op-unis2 .unx-railnote {
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--unx-t6);
	padding-inline: 4px;
}

/* ============================================================
   Spotlight
   ============================================================ */
.op-unis2 .unx-spot {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	background: var(--unx-panel);
	border: 1px solid var(--unx-wa08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--op-shadow-xs, none);
}
.op-unis2 .unx-spot__body { display: flex; flex-direction: column; gap: 16px; padding: 22px; min-width: 0; }
.op-unis2 .unx-spot__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	background: var(--unx-acw);
	border: 1px solid var(--unx-acb);
	border-radius: 999px;
	padding: 5px 11px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--unx-ac);
}
.op-unis2 .unx-spot__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--unx-ac); }
.op-unis2 .unx-spot__top { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.op-unis2 .unx-spot__logo {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	border-radius: 15px;
	background: #ffffff;
	object-fit: contain;
	padding: 6px;
	outline: 1px solid var(--unx-imgline);
	outline-offset: -1px;
	box-shadow: var(--unx-sh);
}
.op-unis2 .unx-spot__mono {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	border-radius: 15px;
	background: var(--unx-panel);
	border: 1px solid var(--unx-wa14);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--unx-t3);
	box-shadow: var(--unx-sh);
}
.op-unis2 .unx-spot__head { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.op-unis2 .unx-spot__name {
	font-size: 22px;
	font-weight: 700;
	color: var(--unx-ink);
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.op-unis2 .unx-spot__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--unx-t5);
}
.op-unis2 .unx-spot__place { display: inline-flex; align-items: center; gap: 6px; }
.op-unis2 .unx-langpill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 26px;
	padding: 0 11px 0 9px;
	border-radius: 999px;
	background: var(--unx-acw);
	border: 1px solid var(--unx-acb);
	color: var(--unx-ac);
}
.op-unis2 .unx-langpill__code {
	font-family: var(--op-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	direction: ltr;
}
.op-unis2 .unx-langpill__sep { width: 3px; height: 3px; border-radius: 999px; background: var(--unx-acb); }
.op-unis2 .unx-langpill__word { font-size: 11px; font-weight: 600; color: var(--unx-t5); }
.op-unis2 .unx-spot__desc { font-size: 13.5px; line-height: 1.68; color: var(--unx-t4); text-wrap: pretty; }
.op-unis2 .unx-spot__acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.op-unis2 .unx-spot__indexed { font-family: var(--op-font-mono); font-size: 11px; color: var(--unx-t6); }
.op-unis2 .unx-spot__media { position: relative; min-height: 100%; background: var(--unx-pop); }
.op-unis2 .unx-spot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.op-unis2 .unx-spot__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--unx-panel) 0%, rgba(8, 14, 24, 0.05) 46%, rgba(8, 14, 24, 0.28) 100%);
}
[dir="rtl"] .op-unis2 .unx-spot__scrim {
	background: linear-gradient(270deg, var(--unx-panel) 0%, rgba(8, 14, 24, 0.05) 46%, rgba(8, 14, 24, 0.28) 100%);
}

/* ============================================================
   Buttons
   ============================================================ */
.op-unis2 .unx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--unx-ac);
	color: var(--unx-onac);
	border: 0;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 170ms ease, transform 170ms ease;
}
.op-unis2 .unx-btn:hover { background: var(--unx-ac2); color: var(--unx-onac); }
.op-unis2 .unx-btn:active { transform: scale(0.96); }
.op-unis2 .unx-btn--ghost {
	background: transparent;
	color: var(--unx-t2);
	border: 1px solid var(--unx-wa14);
	font-weight: 600;
	font-size: 13px;
	transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.op-unis2 .unx-btn--ghost:hover { background: var(--unx-wa05); border-color: var(--unx-wa22); color: var(--unx-t2); }

/* ============================================================
   Result head + active chips
   ============================================================ */
.op-unis2 .unx-resulthead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.op-unis2 .unx-resulthead__left { display: flex; flex-direction: column; gap: 5px; }
.op-unis2 .unx-secttl { font-size: 27px; font-weight: 700; color: var(--unx-ink); letter-spacing: -0.02em; }
.op-unis2 .unx-resultnote { font-size: 12.5px; color: var(--unx-t5); }
.op-unis2 .unx-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.op-unis2 .unx-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--unx-acw);
	border: 1px solid var(--unx-acb);
	border-radius: 999px;
	padding: 6px 10px 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--unx-ac);
	cursor: pointer;
}
.op-unis2 .unx-clearall {
	background: transparent;
	border: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--unx-t5);
	cursor: pointer;
	padding: 6px 4px;
}

/* ============================================================
   Card grid + institution card
   ============================================================ */
.op-unis2 .unx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.op-unis2 .unx-cards > li { display: flex; min-width: 0; }

.op-unis2 .unx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--unx-panel);
	border: 1px solid var(--unx-wa08);
	border-radius: 18px;
	box-shadow: var(--op-shadow-xs, none);
	transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.op-unis2 .unx-card:hover {
		transform: translateY(-2px);
		box-shadow: var(--unx-sh);
		border-color: var(--unx-wa14);
	}
}

.op-unis2 .unx-card__media {
	position: relative;
	height: 126px;
	border-radius: 17px 17px 0 0;
	overflow: hidden;
	background: var(--unx-pop);
	background-image: radial-gradient(var(--unx-dot) 1px, transparent 1px);
	background-size: 20px 20px;
	background-position: -6px -6px;
}
.op-unis2 .unx-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
}
.op-unis2 .unx-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 14, 24, 0.34) 0%, rgba(8, 14, 24, 0.04) 45%, rgba(8, 14, 24, 0.30) 100%);
}

.op-unis2 .unx-glass {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 25px;
	padding-inline: 10px;
	border-radius: 999px;
	background: var(--unx-chip);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid var(--unx-chipbd);
	font-size: 11px;
	font-weight: 700;
	color: var(--unx-chiptx);
	white-space: nowrap;
}
.op-unis2 .unx-glass--country { top: 10px; inset-inline-start: 12px; }
.op-unis2 .unx-glass--qs { bottom: 10px; inset-inline-end: 12px; }
.op-unis2 .unx-glass--sig { top: 10px; inset-inline-end: 12px; }
.op-unis2 .unx-glass--new { border-color: var(--unx-acb); color: var(--unx-ac); }
.op-unis2 .unx-glass--most { border-color: var(--unx-indb); color: var(--unx-ind); }
.op-unis2 .unx-glass--closing { border-color: var(--unx-roseb); color: var(--unx-rose); }

.op-unis2 .unx-card__logo {
	position: absolute;
	top: 94px;
	inset-inline-start: 16px;
	width: 56px;
	height: 56px;
	z-index: 2;
	border-radius: 15px;
	background: #ffffff;
	object-fit: contain;
	padding: 6px;
	outline: 1px solid var(--unx-imgline);
	outline-offset: -1px;
	box-shadow: var(--unx-sh);
}
.op-unis2 .unx-card__mono {
	position: absolute;
	top: 94px;
	inset-inline-start: 16px;
	width: 56px;
	height: 56px;
	z-index: 2;
	display: grid;
	place-items: center;
	border-radius: 15px;
	background: var(--unx-panel);
	border: 1px solid var(--unx-wa14);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--unx-t3);
	box-shadow: var(--unx-sh);
}

.op-unis2 .unx-card__body {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 36px 18px 18px;
	flex: 1 1 auto;
	min-width: 0;
}
.op-unis2 .unx-card__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--unx-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.op-unis2 .unx-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--unx-t5);
}
.op-unis2 .unx-card__meta .unx-sep { width: 3px; height: 3px; border-radius: 999px; background: var(--unx-wa22); flex: 0 0 auto; }
.op-unis2 .unx-card__langs { font-family: var(--op-font-mono); font-size: 11px; direction: ltr; }
.op-unis2 .unx-card__desc {
	font-size: 12.8px;
	line-height: 1.64;
	color: var(--unx-t4);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-wrap: pretty;
}

.op-unis2 .unx-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--unx-wa03);
	border: 1px solid var(--unx-wa08);
	border-radius: 12px;
	overflow: hidden;
	margin-top: auto;
}
.op-unis2 .unx-strip__cell { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; min-width: 0; }
.op-unis2 .unx-strip__cell + .unx-strip__cell { border-inline-start: 1px solid var(--unx-wa08); }
.op-unis2 .unx-strip__num { font-size: 17px; font-weight: 700; color: var(--unx-t1); font-variant-numeric: tabular-nums; }
.op-unis2 .unx-strip__num--ac { color: var(--unx-ac); }
.op-unis2 .unx-strip__label {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--unx-t6);
}

.op-unis2 .unx-nooffers {
	display: flex;
	align-items: center;
	gap: 9px;
	background: var(--unx-wa03);
	border: 1px dashed var(--unx-wa14);
	border-radius: 12px;
	padding: 12px;
	margin-top: auto;
	font-size: 12px;
	color: var(--unx-t5);
}
.op-unis2 .unx-nooffers svg { flex: 0 0 auto; }

.op-unis2 .unx-card__foot { display: flex; align-items: center; gap: 10px; }
.op-unis2 .unx-cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 1 1 auto;
	min-height: 38px;
	background: var(--unx-ac);
	color: var(--unx-onac);
	border-radius: 11px;
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 700;
	transition: background 170ms ease, transform 170ms ease;
}
.op-unis2 .unx-cta:hover { background: var(--unx-ac2); color: var(--unx-onac); }
.op-unis2 .unx-cta:active { transform: scale(0.96); }
.op-unis2 .unx-cta svg { margin-inline-start: auto; }
.op-unis2 .unx-cta--ghost {
	background: transparent;
	color: var(--unx-t1);
	border: 1px solid var(--unx-wa14);
	font-weight: 600;
	transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.op-unis2 .unx-cta--ghost:hover { background: var(--unx-wa05); border-color: var(--unx-wa22); color: var(--unx-t1); }
.op-unis2 .unx-official {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--unx-t5);
	white-space: nowrap;
	flex: 0 0 auto;
}
[dir="rtl"] .op-unis2 .unx-card__foot svg,
[dir="rtl"] .op-unis2 .unx-btn svg,
[dir="rtl"] .unx-arrow { transform: scaleX(-1); }

/* ============================================================
   Empty state / show more
   ============================================================ */
.op-unis2 .unx-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	background: var(--unx-panel);
	border: 1px dashed var(--unx-wa14);
	border-radius: 18px;
	padding: 44px 24px;
}
.op-unis2 .unx-empty__title { font-size: 15px; font-weight: 700; color: var(--unx-ink); }
.op-unis2 .unx-empty p { font-size: 13px; color: var(--unx-t5); max-width: 380px; line-height: 1.6; }

.op-unis2 .unx-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.op-unis2 .unx-progress {
	width: 100%;
	max-width: 260px;
	height: 3px;
	border-radius: 999px;
	background: var(--unx-wa08);
	overflow: hidden;
}
.op-unis2 .unx-progress__bar {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--unx-ac);
	transition: width 260ms cubic-bezier(0.2, 0, 0, 1);
}
.op-unis2 .unx-more__count { font-size: 12px; color: var(--unx-t5); font-variant-numeric: tabular-nums; }
.op-unis2 .unx-more__end { font-size: 11.5px; color: var(--unx-t6); }
.op-unis2 .unx-morebtn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding-inline: 20px;
	border: 1px solid var(--unx-wa14);
	border-radius: 999px;
	background: var(--unx-wa03);
	color: var(--unx-t1);
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.op-unis2 .unx-morebtn:hover { background: var(--unx-wa06); border-color: var(--unx-wa22); }
.op-unis2 .unx-morebtn:active { transform: scale(0.96); }

/* ============================================================
   Browse by country
   ============================================================ */
.op-unis2 .unx-countries {
	background: var(--unx-panel);
	border-top: 1px solid var(--unx-wa08);
	border-bottom: 1px solid var(--unx-wa08);
	padding-block: 44px;
}
.op-unis2 .unx-countries__inner { display: flex; flex-direction: column; gap: 20px; }
.op-unis2 .unx-sechead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.op-unis2 .unx-seclink { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--unx-ac); }
.op-unis2 .unx-ccards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.op-unis2 .unx-ccard {
	display: flex;
	flex-direction: column;
	gap: 11px;
	background: var(--unx-wa03);
	border: 1px solid var(--unx-wa08);
	border-radius: 16px;
	padding: 16px;
	transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.op-unis2 .unx-ccard:hover { transform: translateY(-2px); box-shadow: var(--unx-sh); border-color: var(--unx-wa14); }
}
.op-unis2 .unx-ccard__flag { flex: 0 0 auto; align-self: flex-start; width: 26px; height: 18px; border-radius: 3px; object-fit: cover; outline: 1px solid var(--unx-imgline); outline-offset: -1px; }
.op-unis2 .unx-ccard__flag.unx-flag--iso { width: auto; min-width: 26px; height: 18px; padding-inline: 5px; font-size: 10.5px; outline: 0; border: 1px solid var(--unx-wa14); border-radius: 3px; color: var(--unx-t5); opacity: 1; }
.op-unis2 .unx-ccard__name { font-size: 15px; font-weight: 700; color: var(--unx-ink); }
.op-unis2 .unx-ccard__meta { font-size: 12px; color: var(--unx-t5); font-variant-numeric: tabular-nums; }

/* ============================================================
   Loading skeleton (state 11) — identical geometry, zero shift
   ============================================================ */
.op-unis2 .unx-card--sk { pointer-events: none; }
.op-unis2 .unx-sk {
	background: var(--unx-wa06);
	border-radius: 8px;
	animation: unx-pulse 1400ms ease-in-out infinite;
}
@keyframes unx-pulse {
	0% { opacity: 0.45; }
	50% { opacity: 0.9; }
	100% { opacity: 0.45; }
}

/* ============================================================
   Tablet ≤1080
   ============================================================ */
@container (max-width: 1080px) {
	.op-unis2 .unx-headrow { grid-template-columns: minmax(0, 1fr) 268px; gap: 22px; }
	.op-unis2 .unx-h1 { font-size: 36px; }
	.op-unis2 .unx-grid2 { grid-template-columns: 216px minmax(0, 1fr); column-gap: 22px; }
	.op-unis2 .unx-spot { grid-template-columns: minmax(0, 1fr); }
	.op-unis2 .unx-spot__media { height: 220px; min-height: 220px; }
	.op-unis2 .unx-spot__scrim,
	[dir="rtl"] .op-unis2 .unx-spot__scrim {
		background: linear-gradient(180deg, rgba(8, 14, 24, 0.06) 0%, rgba(8, 14, 24, 0.26) 100%);
	}
	.op-unis2 .unx-cpill { min-height: 44px; }
	.op-unis2 .unx-facet,
	.op-unis2 .unx-switchrow { min-height: 44px; }
}

/* The grid drops to one column before a two-column card would go under
   ~270px — a content breakpoint, not a device one. */
@container (max-width: 980px) {
	.op-unis2 .unx-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Mobile ≤720
   ============================================================ */
@container (max-width: 720px) {
	.op-unis2 .unx-headrow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.op-unis2 .unx-sourcecard { margin-top: 0; }
	.op-unis2 .unx-h1 { font-size: 29px; letter-spacing: -0.025em; }
	.op-unis2 .unx-lead { font-size: 15px; }
	.op-unis2 .unx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.op-unis2 .unx-grid2 {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "tools" "list";
	}

	/* The wrapper becomes the sticky block so the rail can hang off it as a
	   dropdown sheet anchored to the toolbar, at any scroll position. */
	.op-unis2 .unx-toolwrap {
		display: block;
		grid-area: tools;
		position: sticky;
		top: var(--unx-top);
		z-index: 44;
	}
	.op-unis2 .unx-toolrow { position: static; z-index: auto; padding-block: 9px; }
	.op-unis2 .unx-list { padding-top: 2px; }

	.op-unis2 .unx-rail { display: none; }
	.op-unis2[data-sheet="open"] .unx-rail {
		display: flex;
		position: absolute;
		top: 100%;
		inset-inline: 0;
		margin-top: 0;
		padding-right: 0;
		max-height: min(66vh, 520px);
		overflow-y: auto;
		z-index: 46;
	}
	.op-unis2[data-sheet="open"] .unx-facets { box-shadow: var(--unx-sh); }
	.op-unis2 .unx-facets { max-height: 66vh; overflow-y: auto; scrollbar-width: none; }
	.op-unis2 .unx-facets::-webkit-scrollbar { display: none; }
	.op-unis2 .unx-sheetfoot { display: flex; }
	.op-unis2 .unx-railnote { display: none; }

	.op-unis2 .unx-filterbtn { display: inline-flex; min-height: 44px; }
	.op-unis2 .unx-sort { display: none; }
	.op-unis2 .unx-search { height: 44px; }
	.op-unis2 .unx-search input { height: 42px; }

	.op-unis2 .unx-cards { grid-template-columns: minmax(0, 1fr); }
	.op-unis2 .unx-ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.op-unis2 .unx-secttl { font-size: 24px; }

	.op-unis2 .unx-spot__media { height: 172px; min-height: 172px; }
	.op-unis2 .unx-spot__body { padding: 16px; }
	.op-unis2 .unx-spot__acts { flex-wrap: wrap; gap: 8px; }
	.op-unis2 .unx-spot__acts > .unx-btn { flex: 1 1 0; min-width: 0; padding: 11px 12px; font-size: 12.5px; }
	.op-unis2 .unx-spot__indexed { flex: 1 1 100%; order: 3; font-size: 10px; color: var(--unx-t6); opacity: 0.7; }

/* One row, no wrap: the CTA grows, "Official site" keeps a fixed size. */
	.op-unis2 .unx-card__foot { flex-wrap: nowrap; gap: 8px; }
	.op-unis2 .unx-cta { flex: 1 1 auto; min-width: 0; min-height: 44px; justify-content: center; font-size: 14px; }
	.op-unis2 .unx-official { font-size: 11.5px; }
}

/* Browse Opportunities narrows its gutter at 620px; this page does the same,
   at the same width, so the two never disagree on the mobile margin. */
@container (max-width: 620px) {
	.op-unis2 .unx-pad { padding-inline: 16px; }
}

/* ============================================================
   Reduced motion — honour it by removing movement, not feedback
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.op-unis2 *,
	.op-unis2 *::before,
	.op-unis2 *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.op-unis2 .unx-card:hover { transform: none; }
	.op-unis2 .unx-sk { animation: none; opacity: 0.6; }
}
