/*
 * GMIoT Course Search — styles.
 *
 * All colours, radii, type sizes and spacing are taken directly from the
 * approved design file. Everything here is scoped under .gmiot-course-search
 * so it never leaks into (or gets overridden by) Divi's global styles —
 * no !important except where a single Divi reset rule genuinely needs
 * overriding on hover/focus states.
 *
 * 2.0.2: colour provider logos (half size, white panel), blue filter dropdowns.
 * 2.0.1: tablet filter grid and sidebar, iOS zoom fix, touch targets,
 * phone breadcrumb/nav/meta fixes, Divi paragraph spacing in content.
 * 2.0.0: provider logos on cards, module sub-headings, card meta divider
 * spacing, and the hero "Unsure of your next step?" badge hidden on mobile.
 */

.gmiot-course-search {
	--gmiot-bg: #0a0a0b;
	--gmiot-bg-glow: #14224d;
	--gmiot-fg: #ffffff;
	--gmiot-muted: #a9a9b0;
	--gmiot-muted-2: #6f6f76;
	--gmiot-muted-3: #9a9aa2;
	--gmiot-chip-fg: #c9c9d0;
	--gmiot-border: #26262b;
	--gmiot-border-2: #2a2a2f;
	--gmiot-border-3: #24242a;
	--gmiot-border-4: #2f2f36;
	--gmiot-border-5: #3a3a42;
	--gmiot-panel: #141417;
	--gmiot-card: #121215;
	--gmiot-card-hover: #14161f;
	--gmiot-accent: #E96E4B;
	--gmiot-accent-hover: #f08b6c;
	--gmiot-blue: #1E3B91;
	--gmiot-blue-hover: #3a5bc7;
	--gmiot-blue-panel: #14224d;
	--gmiot-blue-border: #2b4aa8;
	--gmiot-blue-border-2: #3a54a0;
	--gmiot-blue-text: #cdd6f2;
	--gmiot-divider: #22283d;
	--gmiot-rule: #1e1e21;
	--gmiot-radius-pill: 999px;
	--gmiot-radius-lg: 20px;
	--gmiot-radius-md: 12px;

	font-family: 'Archivo', system-ui, sans-serif;
	background: radial-gradient(1100px 620px at 12% -8%, var(--gmiot-bg-glow) 0%, rgba(20, 34, 77, 0) 62%), var(--gmiot-bg);
	color: var(--gmiot-fg);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.gmiot-course-search,
.gmiot-course-search *,
.gmiot-course-search *::before,
.gmiot-course-search *::after {
	box-sizing: border-box;
}

/* Smooth-scrolls the section-jump nav links (#gmiot-cs-video etc.) into
   view instead of an instant jump. scroll-behavior only takes effect on
   the scrolling element itself (html), not on .gmiot-course-search, so
   it's set here rather than above; this asset only loads on course
   pages, so it doesn't affect anchor links elsewhere on the site. */
html {
	scroll-behavior: smooth;
}

.gmiot-course-search a {
	color: var(--gmiot-fg);
	text-decoration: none;
}
.gmiot-course-search a:hover {
	color: #b9b9bd;
}
.gmiot-course-search *:focus-visible {
	outline: 2px solid var(--gmiot-fg);
	outline-offset: 3px;
}
.gmiot-course-search input::placeholder {
	color: var(--gmiot-muted-2);
	opacity: 1;
}
.gmiot-course-search select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f6f76' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px !important;
}
.gmiot-course-search .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.gmiot-cs-hero {
	padding: 72px clamp(20px, 3.5vw, 48px) 56px;
	max-width: 1180px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.gmiot-cs-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--gmiot-blue-border);
	background: var(--gmiot-blue-panel);
	border-radius: var(--gmiot-radius-pill);
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--gmiot-blue-text);
	white-space: nowrap;
	max-width: 100%;
	flex-wrap: wrap;
	justify-content: center;
}
.gmiot-cs-badge-text {
	color: var(--gmiot-blue-text);
}
.gmiot-cs-badge-divider {
	width: 1px;
	height: 16px;
	background: var(--gmiot-blue-border-2);
	display: block;
	flex-shrink: 0;
}
.gmiot-cs-badge a {
	color: var(--gmiot-fg);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-shadow: 0 0 10px rgba(56, 98, 214, 0.95), 0 0 22px rgba(30, 59, 145, 0.75);
}
.gmiot-cs-badge a:hover {
	color: var(--gmiot-fg);
	text-shadow: 0 0 12px rgba(90, 132, 255, 1), 0 0 30px rgba(30, 59, 145, 0.9);
}

.gmiot-cs-hero h1 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 64px;
	line-height: 1.03;
	letter-spacing: -0.035em;
	margin: 28px 0 0;
	max-width: 900px;
	color: var(--gmiot-fg);
}
.gmiot-cs-hero-highlight {
	position: relative;
	display: inline-block;
}
.gmiot-cs-hero-highlight::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 4px;
	border-radius: 2px;
	background: var(--gmiot-accent);
}

.gmiot-cs-lead {
	font-size: 19px;
	line-height: 1.5;
	color: var(--gmiot-muted);
	margin: 20px 0 0;
	max-width: 640px;
}

.gmiot-cs-searchbar {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 44px auto 0;
	width: 100%;
	background: var(--gmiot-panel);
	border: 1px solid var(--gmiot-border);
	border-radius: var(--gmiot-radius-pill);
	padding: 8px 8px 8px 24px;
	max-width: 760px;
	box-shadow: 0 0 0 1px rgba(30, 59, 145, 0.55), 0 18px 44px rgba(30, 59, 145, 0.22);
}
.gmiot-cs-searchbar input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--gmiot-fg);
	font-family: inherit;
	font-size: 17px;
	padding: 14px 0;
	outline: none;
}
/*
 * The pill is the focusable-looking unit in the design, not the plain
 * rectangular <input> inside it — so the focus ring goes on
 * .gmiot-cs-searchbar (outline follows its border-radius in every
 * current browser) and is explicitly suppressed on the input itself,
 * which otherwise draws its own square ring that clashes with the
 * pill's rounded corners.
 */
.gmiot-cs-searchbar:focus-within {
	outline: 2px solid var(--gmiot-fg);
	outline-offset: 3px;
}
.gmiot-cs-searchbar input:focus-visible {
	outline: none;
}
/*
 * Browsers remember what's been typed into plain text fields (not just
 * passwords) and, once a value is chosen from that memory, force their
 * own "autofilled" background/text colour — which normal `color`/
 * `background` rules can't touch. This is the standard override:
 * `-webkit-text-fill-color` beats the forced text colour, and an inset
 * box-shadow the size of the field beats the forced background (an
 * absurdly long `transition` stops Chrome's own fade from ever
 * completing and reverting it).
 */
.gmiot-cs-searchbar input:-webkit-autofill,
.gmiot-cs-searchbar input:-webkit-autofill:hover,
.gmiot-cs-searchbar input:-webkit-autofill:focus,
.gmiot-cs-searchbar input:-webkit-autofill:active {
	-webkit-text-fill-color: var(--gmiot-fg);
	caret-color: var(--gmiot-fg);
	box-shadow: 0 0 0 1000px var(--gmiot-panel) inset;
	transition: background-color 600000s 0s, color 600000s 0s;
}
.gmiot-cs-searchbar button {
	border: 0;
	background: var(--gmiot-accent);
	color: #ffffff;
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 28px;
	border-radius: var(--gmiot-radius-pill);
	cursor: pointer;
	flex-shrink: 0;
}
.gmiot-cs-searchbar button:hover {
	background: var(--gmiot-accent-hover);
}

.gmiot-cs-chip-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 28px 0 0;
	align-items: center;
	justify-content: center;
}
.gmiot-cs-chip-row + .gmiot-cs-chip-row {
	margin-top: 14px;
}
.gmiot-cs-chip-label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--gmiot-muted-2);
	margin-right: 4px;
}
/*
 * `a.` here matters: chips are always <a> tags, and the blanket
 * `.gmiot-course-search a { color: var(--gmiot-fg); }` rule earlier in
 * this file is one element selector more specific than a bare
 * `.gmiot-cs-chip`, so it was silently winning and rendering every chip
 * in plain white instead of this muted grey.
 */
a.gmiot-cs-chip {
	border: 1px solid var(--gmiot-border-2);
	background: transparent;
	color: var(--gmiot-chip-fg);
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 15px;
	border-radius: var(--gmiot-radius-pill);
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}
/*
 * Same `a.` fix on the hover states: the blanket
 * `.gmiot-course-search a:hover { color: #b9b9bd; }` rule was one element
 * selector more specific than a bare `.gmiot-cs-chip-subject:hover`, so
 * hovering a chip always greyed its text out instead of showing the
 * intended orange/blue highlight below.
 */
a.gmiot-cs-chip-subject:hover,
.gmiot-cs-chip-subject.is-active {
	/* White text on a filled orange-tinted panel, matching how the
	   Provider chip highlights on hover/active (below) — rather than
	   just recolouring the text itself orange. */
	border-color: var(--gmiot-accent);
	background: rgba(233, 110, 75, 0.16);
	color: var(--gmiot-fg);
}
a.gmiot-cs-chip-provider:hover,
.gmiot-cs-chip-provider.is-active {
	border-color: var(--gmiot-blue);
	color: var(--gmiot-fg);
	background: var(--gmiot-blue-panel);
}

/* ── Results section ───────────────────────────────────────────────── */

.gmiot-cs-results-section {
	border-top: 1px solid var(--gmiot-divider);
	padding: 40px clamp(20px, 3.5vw, 48px) 96px;
	max-width: 1180px;
	margin: 0 auto;
	width: 100%;
}

.gmiot-cs-filter-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: flex-end;
}
.gmiot-cs-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.gmiot-cs-field label {
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gmiot-fg);
	font-weight: 600;
}
.gmiot-cs-field select {
	/* 2.0.2: the brand blue (same as the hero pill and Course Chat
	   panels) rather than the near-black panel, with white-blue text. */
	background-color: var(--gmiot-blue-panel);
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cdd6f2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	color: var(--gmiot-fg);
	border: 1px solid var(--gmiot-blue-border);
	font-weight: 500;
	border-radius: var(--gmiot-radius-md);
	font-family: inherit;
	font-size: 15px;
	padding: 12px 16px;
	min-width: 190px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.gmiot-cs-field select:hover {
	background-color: #1a2b5f;
	border-color: var(--gmiot-blue-hover);
}
.gmiot-cs-field select:focus {
	border-color: var(--gmiot-accent);
}
/* "All Subjects / All Careers / All Providers" (nothing picked yet) in
   the soft white-blue; a chosen option shows in full white. */
.gmiot-cs-field select:has(option[value=""]:checked) {
	color: var(--gmiot-blue-text);
}
/* The native option list (what shows when the dropdown is expanded) is
   styled separately from the closed select above — browsers don't
   inherit into it. Support for styling it varies by browser/OS (some
   ignore this and fall back to the system popup colours), so this is a
   best-effort match rather than a guarantee everywhere. */
.gmiot-cs-field select option {
	color: var(--gmiot-fg);
	background-color: var(--gmiot-blue-panel);
}
.gmiot-cs-clear {
	border: 1px solid var(--gmiot-border-2);
	background: transparent;
	color: var(--gmiot-chip-fg);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 12px 18px;
	border-radius: var(--gmiot-radius-md);
	cursor: pointer;
	align-self: flex-end;
	white-space: nowrap;
	flex-shrink: 0;
	margin-left: auto;
}
.gmiot-cs-clear:hover {
	border-color: var(--gmiot-blue);
	color: var(--gmiot-fg);
	background: var(--gmiot-blue-panel);
}

.gmiot-cs-results-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 40px 0 20px;
	border-bottom: 1px solid var(--gmiot-rule);
	padding-bottom: 16px;
	flex-wrap: wrap;
	gap: 8px;
}
.gmiot-cs-result-count {
	margin: 0;
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 26px;
	letter-spacing: -0.02em;
	color: var(--gmiot-fg);
}
.gmiot-cs-sorted {
	font-size: 14px;
	color: var(--gmiot-muted-2);
}

.gmiot-cs-results[aria-busy="true"] {
	opacity: 0.6;
	transition: opacity 0.15s ease;
}

.gmiot-cs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 20px;
}

.gmiot-cs-card {
	background: var(--gmiot-card);
	border: 1px solid var(--gmiot-border-3);
	border-radius: var(--gmiot-radius-lg);
	padding: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
/*
 * The badges row, the horizontal rule and the meta grid all default to
 * shrink-to-fit content width, which would leave them off-centre (and the
 * rule invisible) once the card itself switched to align-items: center
 * above — each needs to explicitly span the full card width so centring
 * their own content actually centres it in the card.
 */
.gmiot-cs-card .gmiot-cs-card-badges {
	justify-content: center;
}
.gmiot-cs-card .gmiot-cs-card-rule {
	width: 100%;
}
.gmiot-cs-card .gmiot-cs-card-meta {
	width: 100%;
	position: relative;
}
/* A vertical divider down the middle of the two meta columns. */
.gmiot-cs-card .gmiot-cs-card-meta::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: var(--gmiot-border-3);
}
.gmiot-cs-card .gmiot-cs-card-meta > div {
	align-items: center;
}
.gmiot-cs-card .gmiot-cs-card-cta {
	align-self: center;
}
.gmiot-cs-card:hover {
	border-color: var(--gmiot-blue-border);
	background: var(--gmiot-card-hover);
	box-shadow: 0 16px 40px rgba(30, 59, 145, 0.28);
}
.gmiot-cs-card-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.gmiot-cs-badge-level,
.gmiot-cs-badge-subject,
.gmiot-cs-badge-provider {
	/* All three badge types share one font declaration so they can never
	   drift apart visually. */
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	padding: 5px 11px;
	border-radius: var(--gmiot-radius-pill);
	white-space: nowrap;
	flex-shrink: 0;
}
.gmiot-cs-badge-level {
	border: 1px solid rgba(233, 110, 75, 0.55);
	background: rgba(233, 110, 75, 0.14);
	/* Same grey as the search page's Subjects/Providers chips (rather
	   than a saturated orange or a blue-tinted white) so the tag colour
	   matches everywhere a tag like this appears — colour comes from the
	   border/background tint only. */
	color: var(--gmiot-chip-fg);
}
.gmiot-cs-badge-subject,
.gmiot-cs-badge-provider {
	border: 1px solid var(--gmiot-blue-border);
	background: var(--gmiot-blue-panel);
	color: var(--gmiot-chip-fg);
}
.gmiot-cs-card-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 21px;
	line-height: 1.22;
	letter-spacing: -0.015em;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-card-blurb {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gmiot-muted-3);
}
.gmiot-cs-card-rule {
	height: 1px;
	background: var(--gmiot-border-3);
}
.gmiot-cs-card-meta {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px 28px;
	font-size: 13px;
}
.gmiot-cs-card-meta > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.gmiot-cs-card-meta dt {
	color: var(--gmiot-muted-2);
}
.gmiot-cs-card-meta dd {
	margin: 0;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gmiot-fg);
	/* Long single words (e.g. "Engineering/Manufacturing") wrap after the
	   slash (the markup adds a <wbr> there) instead of running across the
	   centre divider. */
	overflow-wrap: anywhere;
}
/* "Full-time / Part-time" (both Study mode terms joined) is too wide to
   sit on one line at the normal 13px in this grid's ~136px-wide column —
   sized down and locked to nowrap so it stays on a single line instead of
   wrapping, per the design request. Single-value Study Type (just
   "Full-time" or "Part-time") keeps the normal size above. */
.gmiot-cs-card-meta-value-multi {
	font-size: 11px;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
/* The simple single-course layout reuses this same grid, but its column
   is far wider (~360px, not ~136px) — "Full-time / Part-time" already
   fits there at the normal size, so this undoes the card-only shrink
   rather than leaving that value looking oddly smaller than Duration
   right next to it. */
.gmiot-cs-single-meta .gmiot-cs-card-meta-value-multi {
	font-size: inherit;
	letter-spacing: normal;
}
.gmiot-cs-card-cta {
	margin-top: 4px;
	align-self: flex-start;
	background: transparent;
	border: 1px solid var(--gmiot-border-5);
	color: var(--gmiot-fg);
	font-size: 14px;
	font-weight: 600;
	padding: 11px 20px;
	border-radius: var(--gmiot-radius-pill);
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
/*
 * `a.` here isn't decorative — these CTAs render as <a> tags, and the
 * blanket `.gmiot-course-search a:hover { color: ... }` rule a bit
 * further up this file is one element selector more specific than a
 * bare `.gmiot-cs-card-cta:hover`, so without the `a.` prefix that grey
 * link colour would silently win on hover instead of this one.
 */
a.gmiot-cs-card-cta:hover {
	background: var(--gmiot-blue);
	color: var(--gmiot-fg);
	border-color: var(--gmiot-blue);
}

.gmiot-cs-empty {
	border: 1px dashed var(--gmiot-border-4);
	border-radius: var(--gmiot-radius-lg);
	padding: 56px;
	text-align: center;
	color: var(--gmiot-muted-3);
}
.gmiot-cs-empty-title {
	margin: 0 0 8px;
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--gmiot-fg);
}
.gmiot-cs-empty p:last-child {
	margin: 0;
	font-size: 15px;
	color: var(--gmiot-muted-3);
}

.gmiot-cs-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}
.gmiot-cs-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.gmiot-cs-pagination li {
	display: flex;
}
.gmiot-cs-pagination a,
.gmiot-cs-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--gmiot-radius-md);
	border: 1px solid var(--gmiot-border-2);
	color: var(--gmiot-chip-fg);
	font-size: 14px;
}
.gmiot-cs-pagination .current {
	background: var(--gmiot-accent);
	border-color: var(--gmiot-accent);
	color: #ffffff;
}
.gmiot-cs-pagination a:hover {
	/* White text on a filled orange-tinted panel, matching the Provider
	   chip's hover treatment — rather than just recolouring the text
	   itself orange. */
	border-color: var(--gmiot-accent);
	background: rgba(233, 110, 75, 0.16);
	color: var(--gmiot-fg);
}

/* ── Single course page ────────────────────────────────────────────── */

.gmiot-cs-single {
	padding: 72px clamp(20px, 3.5vw, 48px) 96px;
	max-width: 820px;
	margin: 0 auto;
	width: 100%;
}
.gmiot-cs-single-inner {
	background: var(--gmiot-card);
	border: 1px solid var(--gmiot-border-3);
	border-radius: var(--gmiot-radius-lg);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.gmiot-cs-single-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-single-blurb {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cs-single-meta {
	font-size: 14px;
}
.gmiot-cs-single-content {
	font-size: 15px;
	line-height: 1.7;
	color: var(--gmiot-fg);
	text-align: justify;
}
/*
 * The course editor content can contain any tag (p, li, blockquote…).
 * A theme's own global typography rules commonly target those tags
 * directly (e.g. a bare `p { color: ... }`), and a direct rule always
 * wins over inheritance regardless of specificity — so without this,
 * paragraphs typed into a course's content could silently pick up the
 * theme's text colour instead of this design's. Declaring `inherit`
 * here is a real, specific declaration for this class + tag pair, so it
 * out-specifies a bare tag selector and keeps the cascade in our favour.
 */
.gmiot-cs-single-content :is(p, li, blockquote, dt, dd, span, strong, em, td, th) {
	color: inherit;
}
.gmiot-cs-single-content :is(h2, h3, h4) {
	color: var(--gmiot-fg);
	font-family: 'Archivo', system-ui, sans-serif;
}
.gmiot-cs-single-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gmiot-cs-single-cta {
	align-self: flex-start;
}

/* ── UCAS-style single course page ─────────────────────────────────── */

.gmiot-cs-ucas {
	align-items: center;
}
.gmiot-cs-ucas-utility {
	width: 100%;
	border-bottom: 1px solid var(--gmiot-divider);
}
.gmiot-cs-ucas-utility-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px clamp(20px, 3.5vw, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
/*
 * `a.` here matters: the blanket `.gmiot-course-search a { color: ...; }`
 * rule earlier in this file is one element selector more specific than a
 * bare `.gmiot-cs-ucas-back`, so "Back to all courses" was silently
 * rendering plain white instead of this muted grey.
 */
a.gmiot-cs-ucas-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gmiot-chip-fg);
}
.gmiot-cs-ucas-back svg {
	display: block;
	flex-shrink: 0;
}
.gmiot-cs-ucas-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gmiot-muted-2);
	flex-wrap: wrap;
}
.gmiot-cs-ucas-breadcrumb a {
	color: var(--gmiot-muted-2);
	font-weight: 500;
}
.gmiot-cs-ucas-breadcrumb .is-current {
	color: var(--gmiot-chip-fg);
	font-weight: 600;
}

.gmiot-cs-ucas-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 4.4vw, 48px);
	line-height: 1.06;
	letter-spacing: -0.015em;
	max-width: 780px;
	margin: 20px 0 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--gmiot-fg);
	flex-wrap: wrap;
}
.gmiot-cs-ucas-meta-strong {
	font-weight: 600;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-dot {
	color: var(--gmiot-muted-2);
}
.gmiot-cs-ucas-blurb {
	max-width: 640px;
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cs-ucas-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.gmiot-cs-ucas-btn-primary,
.gmiot-cs-ucas-btn-secondary,
.gmiot-cs-ucas-btn-chat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 28px;
	border-radius: var(--gmiot-radius-pill);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gmiot-cs-ucas-btn-primary {
	/* Back to the original solid orange fill with white text (not the
	   tinted-panel treatment tried briefly in 1.5.0). */
	background: var(--gmiot-accent);
	color: #ffffff;
}
/*
 * `a.` here matters: both buttons render as <a> tags, and the blanket
 * `.gmiot-course-search a:hover { color: #b9b9bd; }` rule earlier in
 * this file is one element selector more specific than a bare
 * `.gmiot-cs-ucas-btn-primary:hover`, so it was silently winning and
 * greying the label out on hover instead of this brighter-orange
 * highlight actually showing.
 */
a.gmiot-cs-ucas-btn-primary:hover {
	background: var(--gmiot-accent-hover);
	color: #ffffff;
}
.gmiot-cs-ucas-btn-secondary {
	border: 1px solid var(--gmiot-border-5);
	color: var(--gmiot-fg);
	font-weight: 600;
	font-size: 14px;
	padding: 13px 22px;
}
a.gmiot-cs-ucas-btn-secondary:hover {
	background: var(--gmiot-panel);
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-btn-primary.is-block,
.gmiot-cs-ucas-btn-secondary.is-block {
	justify-content: center;
	width: 100%;
	padding: 14px;
}
.gmiot-cs-ucas-btn-chat {
	background: var(--gmiot-blue-panel);
	border: 1px solid var(--gmiot-blue-border);
	color: var(--gmiot-fg);
}
a.gmiot-cs-ucas-btn-chat:hover {
	background: var(--gmiot-blue);
	border-color: var(--gmiot-blue-border-2);
	color: #ffffff;
}

.gmiot-cs-ucas-layout {
	max-width: 1180px;
	width: 100%;
	padding: 44px clamp(20px, 3.5vw, 48px) 56px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}
.gmiot-cs-ucas-main {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}
.gmiot-cs-ucas-hero {
	display: flex;
	flex-direction: column;
}
/* Plain, non-interactive list of what's on the page below — not links,
   just a quick orientation of the sections that follow (Video, Overview,
   What You'll Study, Further Information etc., whichever are present). */
.gmiot-cs-ucas-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--gmiot-rule);
	padding-bottom: 16px;
}
.gmiot-cs-ucas-nav-item {
	font-size: 13px;
	font-weight: 500;
	color: var(--gmiot-muted-2);
}
.gmiot-cs-ucas-nav-dot {
	color: var(--gmiot-muted-2);
}

/*
 * Ancestor-scoped (unlike most rules in this file) so this reliably beats
 * any theme/Divi default paragraph spacing that would otherwise add extra
 * padding or margin on one side only and throw the box out of balance.
 */
.gmiot-course-search .gmiot-cs-ucas-content-empty {
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--gmiot-muted-3);
	border: 1px dashed var(--gmiot-border-4);
	border-radius: var(--gmiot-radius-md);
	padding-top: 18px;
	padding-bottom: 18px;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
}

.gmiot-cs-ucas-content {
	font-size: 15px;
	line-height: 1.75;
	color: var(--gmiot-fg);
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: justify;
	/* Justified text can open up ugly gaps between words on shorter
	   lines/columns (exactly where a "filled box" look matters most) —
	   letting the browser hyphenate long words softens that. Needs the
	   page to declare its language (WordPress always sets <html lang>),
	   and support is graceful either way — text just falls back to
	   plain justify without it. */
	-webkit-hyphens: auto;
	hyphens: auto;
}
.gmiot-cs-ucas-content :is(p, li, dt, dd, span, strong, em, td, th) {
	color: inherit;
}
/* The column's flex gap sets the spacing between blocks, so block-level
   children drop their own margins/padding (Divi gives every <p> a 1em
   padding-bottom, which doubled the gap under lines like "Overview"). */
.gmiot-course-search .gmiot-cs-ucas-content > :is(p, ul, ol, blockquote, figure, table) {
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.gmiot-cs-ucas-content :is(h2, h3, h4) {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	color: var(--gmiot-fg);
	margin: 10px 0 0;
}
.gmiot-cs-ucas-content h2 {
	font-size: 22px;
}
.gmiot-cs-ucas-content h3 {
	font-size: 17px;
}
.gmiot-cs-ucas-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gmiot-cs-ucas-content ul,
.gmiot-cs-ucas-content ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.gmiot-cs-ucas-content li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	line-height: 1.6;
}
.gmiot-cs-ucas-content li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 5px;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.5 9.5l3.5 3.5L14.5 5' stroke='%23E96E4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 14px 14px;
}
.gmiot-cs-ucas-content blockquote {
	margin: 0;
	border: 1px solid var(--gmiot-border-3);
	background: var(--gmiot-card);
	border-radius: var(--gmiot-radius-lg);
	padding: 22px 24px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--gmiot-muted-3);
}

/* Course video (optional — only rendered at all when a valid YouTube URL
   is set, so there's no empty-state to style here). Shared between the
   UCAS-style page and the simple single-course layout, both of which are
   dark-background contexts, hence the light heading colour. */
.gmiot-cs-ucas-video {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cs-ucas-video h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 22px;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--gmiot-radius-lg);
	overflow: hidden;
	background: var(--gmiot-panel);
	border: 1px solid var(--gmiot-border-3);
}
.gmiot-cs-ucas-video-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.gmiot-cs-ucas-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 24px;
}
.gmiot-cs-ucas-sidebar-card {
	border: 1px solid var(--gmiot-border-3);
	background: var(--gmiot-card);
	border-radius: var(--gmiot-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.gmiot-cs-ucas-sidebar-card h3 {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gmiot-fg);
	font-weight: 700;
	margin: 0;
}
.gmiot-cs-ucas-info-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cs-ucas-info-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.gmiot-cs-ucas-info-row svg {
	display: block;
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--gmiot-muted-2);
}
.gmiot-cs-ucas-info-label {
	font-size: 12px;
	color: var(--gmiot-muted-2);
}
.gmiot-cs-ucas-info-value {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 2px;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-sidebar-rule {
	height: 1px;
	background: var(--gmiot-border-3);
}
.gmiot-cs-ucas-chat-box {
	border: 1px solid var(--gmiot-blue-border);
	background: var(--gmiot-blue-panel);
	border-radius: var(--gmiot-radius-lg);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.gmiot-cs-ucas-chat-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-chat-box p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--gmiot-blue-text);
	margin: 0;
}
.gmiot-cs-ucas-chat-box a {
	font-size: 13.5px;
	font-weight: 600;
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-shadow: 0 0 10px rgba(56, 98, 214, 0.95), 0 0 22px rgba(30, 59, 145, 0.75);
	align-self: flex-start;
}
/*
 * Without its own hover rule, "Book Course Chat" fell through to the
 * blanket `.gmiot-course-search a:hover { color: #b9b9bd; }` rule earlier
 * in this file, greying the link out on hover — the same class of bug
 * fixed for the primary/secondary buttons above. It should light up
 * instead, so hovering brightens the glow rather than dimming the text.
 */
.gmiot-cs-ucas-chat-box a:hover {
	color: #ffffff;
	text-shadow: 0 0 14px rgba(56, 98, 214, 1), 0 0 30px rgba(30, 59, 145, 0.95);
}

/* Light band: What You'll Study / Further Information / Fees & Funding /
   Career Prospects. Despite the "light-band"/"light-inner" class names
   (kept as-is so nothing else that targets them needs to change), this
   is now painted with the same --gmiot-* dark tokens as the rest of the
   page, so it merges into one consistent black background rather than
   standing out as its own light section. */
.gmiot-cs-ucas-light-band {
	width: 100%;
	background: var(--gmiot-bg);
}
.gmiot-cs-ucas-light-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px clamp(20px, 3.5vw, 48px) 64px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.gmiot-cs-ucas-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cs-ucas-section h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 22px;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-section > p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cs-ucas-modules {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.gmiot-cs-ucas-module-item {
	border: 1px solid var(--gmiot-border-4);
	background: var(--gmiot-card);
	border-radius: var(--gmiot-radius-md);
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gmiot-fg);
}
/* Similar courses: no background of its own, so the wrapper's dark
   gradient (painted once, behind everything) shows through again once
   the opaque light band above it has ended. */
.gmiot-cs-ucas-similar {
	width: 100%;
	border-top: 1px solid var(--gmiot-divider);
}
.gmiot-cs-ucas-similar-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px clamp(20px, 3.5vw, 48px) 80px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.gmiot-cs-ucas-similar-inner h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 24px;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-similar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.gmiot-cs-ucas-similar-card {
	background: var(--gmiot-card);
	border: 1px solid var(--gmiot-border-3);
	border-radius: var(--gmiot-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cs-ucas-similar-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-similar-meta {
	margin: 0;
	font-size: 13px;
	color: var(--gmiot-muted-2);
}

/* Further Information: its own full-width section at the very bottom of
   the page (below Similar Courses), rather than sitting alongside What
   You'll Study — reuses .gmiot-cs-ucas-content itself for the body text,
   so it's styled identically to the Overview section above (plain,
   justified paragraphs, no checklist icons). */
.gmiot-cs-ucas-further-info {
	width: 100%;
	border-top: 1px solid var(--gmiot-divider);
}
.gmiot-cs-ucas-further-info-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px clamp(20px, 3.5vw, 48px) 80px;
	box-sizing: border-box;
}
.gmiot-cs-ucas-further-info-inner h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 24px;
	margin: 0 0 20px;
	color: var(--gmiot-fg);
}
.gmiot-cs-ucas-further-info-inner .gmiot-cs-ucas-content {
	max-width: 800px;
}

/* ── Provider logo on course cards ───────────────────────────────── */

/* Replaces the provider text tag when the Provider has a logo set
   (Courses > Providers). 2.0.2: full-colour logos at half the earlier
   size, on a small white panel — most partner logos use dark or navy
   lettering that would disappear on the dark card. */
.gmiot-cs-provider-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border-radius: 10px;
	padding: 7px 12px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.gmiot-cs-provider-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 96px;
	max-height: 26px;
	object-fit: contain;
}

/* ── Module sub-headings (2.0.0) ───────────────────────────────────── */

/* A module line ending in a colon ("Year One:") becomes a heading that
   spans the full width of the two-column module grid. */
.gmiot-cs-ucas-module-heading {
	grid-column: 1 / -1;
	margin: 10px 0 2px;
	padding: 0;
	line-height: 1.3;
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gmiot-muted);
}
.gmiot-cs-ucas-module-heading:first-child {
	margin-top: 0;
}
.gmiot-cs-single-subhead {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 22px;
	margin: 0;
	color: var(--gmiot-fg);
}

/* ── Tablet (2.0.1) ────────────────────────────────────────────────── */

/* Portrait and landscape tablets: the three filters sit in an even row
   with Clear Filters underneath, instead of two-and-one with the button
   stranded on the right. */
@media (min-width: 641px) and (max-width: 1024px) {
	.gmiot-cs-filter-row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: end;
	}
	.gmiot-cs-field select {
		min-width: 0;
		width: 100%;
	}
	.gmiot-cs-clear {
		grid-column: 1 / -1;
		justify-self: end;
		margin-left: 0;
	}
}

/* Tablet portrait (single course page): once the sidebar drops below the
   main column, Key Information and the Course Chat box sit side by side
   rather than as two full-width slabs. */
@media (min-width: 641px) and (max-width: 900px) {
	.gmiot-cs-ucas-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}

/* Selects under 16px make iOS Safari zoom the page when tapped. */
@media (max-width: 1024px) {
	.gmiot-cs-field select {
		font-size: 16px;
	}
}

/* Touch screens: give the small text links a finger-sized hit area
   without changing how they look. */
@media (pointer: coarse) {
	a.gmiot-cs-ucas-back,
	.gmiot-cs-ucas-chat-box a,
	.gmiot-cs-badge a {
		padding-top: 10px;
		padding-bottom: 10px;
		margin-top: -10px;
		margin-bottom: -10px;
	}
}

@media (max-width: 900px) {
	.gmiot-cs-ucas-layout {
		grid-template-columns: 1fr;
	}
	.gmiot-cs-ucas-sidebar {
		position: static;
	}
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.gmiot-cs-hero h1 {
		font-size: 40px;
	}
	.gmiot-cs-lead {
		font-size: 16px;
	}
	.gmiot-cs-searchbar {
		flex-wrap: wrap;
		padding: 12px;
		border-radius: 24px;
	}
	.gmiot-cs-searchbar input {
		padding: 10px 4px;
		width: 100%;
	}
	.gmiot-cs-searchbar button {
		width: 100%;
	}
	.gmiot-cs-grid {
		grid-template-columns: 1fr;
	}
	.gmiot-cs-filter-row {
		flex-direction: column;
		align-items: stretch;
	}
	.gmiot-cs-field select {
		min-width: 0;
		width: 100%;
	}
	.gmiot-cs-clear {
		margin-left: 0;
		align-self: stretch;
		text-align: center;
	}
	.gmiot-cs-single-inner {
		padding: 24px;
	}
	.gmiot-cs-single-title {
		font-size: 28px;
	}
	.gmiot-cs-ucas-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.gmiot-cs-ucas-btn-primary,
	.gmiot-cs-ucas-btn-secondary,
	.gmiot-cs-ucas-btn-chat {
		justify-content: center;
		width: 100%;
	}
	.gmiot-cs-ucas-nav {
		gap: 6px;
	}
	.gmiot-cs-ucas-modules {
		grid-template-columns: 1fr;
	}
	.gmiot-cs-ucas-similar-grid {
		grid-template-columns: 1fr;
	}

	/* Mobile only: drop the hero search bar and the Subjects/Providers
	   chip rows from the main course search page — the Subjects/
	   Careers/Providers filter dropdowns below (.gmiot-cs-filter-row)
	   stay, so filtering is still possible without them. */
	.gmiot-cs-searchbar,
	.gmiot-cs-chip-row {
		display: none;
	}

	/* Mobile only: the "Unsure of your next step? / Book a Course Chat"
	   pill at the top of the course search page is hidden too. */
	.gmiot-cs-hero .gmiot-cs-badge {
		display: none;
	}
	.gmiot-cs-hero h1 {
		margin-top: 0;
	}
	.gmiot-cs-hero {
		padding-top: 44px;
		padding-bottom: 40px;
	}

	/* The breadcrumb repeats "Back to all courses" and wrapped to three
	   lines on a phone, so only the back link shows. It stays in the
	   markup (just not displayed) because the site header's "Apply Now"
	   script reads the course's subject from its link. */
	.gmiot-cs-ucas-breadcrumb {
		display: none;
	}
	.gmiot-cs-ucas-utility-inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	/* Single course page body copy reads better left-aligned on a narrow
	   screen; justified text opens wide gaps between words. */
	.gmiot-cs-ucas-content,
	.gmiot-cs-ucas-section > p,
	.gmiot-cs-single-content,
	.gmiot-cs-single-blurb {
		text-align: left;
	}



	/* Mobile only: everything above the Apply Now / Course Chat actions
	   on an individual course page (UCAS layout) is centred, and the
	   meta line and the section-jump nav are each forced onto a single
	   line — scrolling horizontally rather than wrapping — so they read
	   cleanly on a narrow screen. */
	.gmiot-cs-ucas-hero {
		text-align: center;
	}
	.gmiot-cs-ucas-hero .gmiot-cs-card-badges {
		justify-content: center;
	}
	/* Centred while it fits; if a long provider name + duration + start
	   date ever overflows, it scrolls from its true left edge instead of
	   being clipped on both sides (plain justify-content: center would
	   cut off the start). */
	.gmiot-cs-ucas-meta {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		max-width: 100%;
		white-space: nowrap;
	}
	.gmiot-cs-ucas-meta > :first-child {
		margin-left: auto;
	}
	.gmiot-cs-ucas-meta > :last-child {
		margin-right: auto;
	}
	.gmiot-cs-ucas-blurb {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	/* Not centred like the hero text above it — the on-page section list
	   sits below the Apply Now / Course Chat actions and can still run
	   wider than the screen (several section names in a row), so it
	   starts at its natural left edge and scrolls sideways rather than
	   centring and clipping its first item. */
	/* 2.0.1: the on-page section list wraps onto a second line rather
	   than scrolling sideways — it isn't interactive, so a half-hidden
	   "Further Inf…" read as a bug. */
	.gmiot-cs-ucas-nav {
		flex-wrap: wrap;
		row-gap: 4px;
	}
}
