/*
 * GMIoT Career Search — styles.
 *
 * Same design language, tokens and component patterns as the GMIoT
 * Course Page Plugin's stylesheet (dark theme, orange/blue accents,
 * pill badges and buttons), but with its own wrapper class
 * (.gmiot-career-search) and its own component prefix (gmiot-cr-)
 * instead of reusing the course plugin's .gmiot-course-search /
 * gmiot-cs-* — so the two plugins' stylesheets can never fight over the
 * same class name if a page ever ends up loading both. No !important
 * except where a single Divi reset rule genuinely needs overriding on
 * hover/focus states.
 */

.gmiot-career-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-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-career-search,
.gmiot-career-search *,
.gmiot-career-search *::before,
.gmiot-career-search *::after {
	box-sizing: border-box;
}

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

.gmiot-career-search a {
	color: var(--gmiot-fg);
	text-decoration: none;
}
.gmiot-career-search a:hover {
	color: #b9b9bd;
}
.gmiot-career-search *:focus-visible {
	outline: 2px solid var(--gmiot-fg);
	outline-offset: 3px;
}
.gmiot-career-search input::placeholder {
	color: var(--gmiot-muted-2);
	opacity: 1;
}
.gmiot-career-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-career-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-cr-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-cr-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-cr-badge-text {
	color: var(--gmiot-blue-text);
}
.gmiot-cr-badge-divider {
	width: 1px;
	height: 16px;
	background: var(--gmiot-blue-border-2);
	display: block;
	flex-shrink: 0;
}
.gmiot-cr-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-cr-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-cr-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-cr-hero-highlight {
	position: relative;
	display: inline-block;
}
.gmiot-cr-hero-highlight::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 4px;
	border-radius: 2px;
	background: var(--gmiot-accent);
}

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

.gmiot-cr-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-cr-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-cr-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-cr-searchbar:focus-within {
	outline: 2px solid var(--gmiot-fg);
	outline-offset: 3px;
}
.gmiot-cr-searchbar input:focus-visible {
	outline: none;
}
.gmiot-cr-searchbar input:-webkit-autofill,
.gmiot-cr-searchbar input:-webkit-autofill:hover,
.gmiot-cr-searchbar input:-webkit-autofill:focus,
.gmiot-cr-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-cr-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-cr-searchbar button:hover {
	background: var(--gmiot-accent-hover);
}

.gmiot-cr-chip-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 28px 0 0;
	align-items: center;
	justify-content: center;
}
.gmiot-cr-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-career-search a { color: var(--gmiot-fg); }` rule earlier in
 * this file is one element selector more specific than a bare
 * `.gmiot-cr-chip`, so it was silently winning and rendering every chip
 * in plain white instead of this muted grey.
 */
a.gmiot-cr-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 state: the blanket
 * `.gmiot-career-search a:hover { color: #b9b9bd; }` rule was one element
 * selector more specific than a bare `.gmiot-cr-chip:hover`, so hovering
 * a chip always greyed its text out instead of showing this orange
 * highlight.
 */
a.gmiot-cr-chip:hover,
.gmiot-cr-chip.is-active {
	border-color: var(--gmiot-accent);
	color: var(--gmiot-accent);
}

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

.gmiot-cr-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-cr-filter-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: flex-end;
}
.gmiot-cr-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.gmiot-cr-field label {
	font-size: 11px;
	letter-spacing: 0.03em;
	color: var(--gmiot-muted-2);
	font-weight: 600;
}
.gmiot-cr-field select {
	background-color: var(--gmiot-panel);
	color: var(--gmiot-fg);
	border: 1px solid var(--gmiot-border);
	border-radius: var(--gmiot-radius-md);
	font-family: inherit;
	font-size: 15px;
	padding: 12px 16px;
	min-width: 190px;
	cursor: pointer;
}
.gmiot-cr-field select:has(option[value=""]:checked) {
	color: var(--gmiot-muted-2);
}
/* 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-cr-field select option {
	color: var(--gmiot-fg);
	background-color: var(--gmiot-panel);
}
.gmiot-cr-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-cr-clear:hover {
	border-color: var(--gmiot-blue);
	color: var(--gmiot-fg);
	background: var(--gmiot-blue-panel);
}

.gmiot-cr-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-cr-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-cr-sorted {
	font-size: 14px;
	color: var(--gmiot-muted-2);
}

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

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

.gmiot-cr-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;
	gap: 16px;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.gmiot-cr-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-cr-card-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.gmiot-cr-badge-subject {
	font-size: 12px;
	font-weight: 500;
	border: 1px solid var(--gmiot-blue-border);
	background: var(--gmiot-blue-panel);
	/* Same grey as the search page's Subjects chips (rather than a
	   blue-tinted white) so the tag colour matches everywhere a tag like
	   this appears — matches the course plugin's Level/Subject badges. */
	color: var(--gmiot-chip-fg);
	padding: 5px 11px;
	border-radius: var(--gmiot-radius-pill);
	white-space: nowrap;
	flex-shrink: 0;
}
.gmiot-cr-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-cr-card-blurb {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gmiot-muted-3);
}
.gmiot-cr-card-rule {
	height: 1px;
	background: var(--gmiot-border-3);
}
.gmiot-cr-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-career-search a:hover { color: ... }` rule further up
 * this file is one element selector more specific than a bare
 * `.gmiot-cr-card-cta:hover`, so without the `a.` prefix that grey link
 * colour would silently win on hover instead of this one.
 */
a.gmiot-cr-card-cta:hover {
	background: var(--gmiot-blue);
	color: var(--gmiot-fg);
	border-color: var(--gmiot-blue);
}

.gmiot-cr-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-cr-empty-title {
	margin: 0 0 8px;
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--gmiot-fg);
}
.gmiot-cr-empty p:last-child {
	margin: 0;
	font-size: 15px;
	color: var(--gmiot-muted-3);
}

.gmiot-cr-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}
.gmiot-cr-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.gmiot-cr-pagination li {
	display: flex;
}
.gmiot-cr-pagination a,
.gmiot-cr-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-cr-pagination .current {
	background: var(--gmiot-accent);
	border-color: var(--gmiot-accent);
	color: #ffffff;
}
.gmiot-cr-pagination a:hover {
	border-color: var(--gmiot-accent);
	color: var(--gmiot-accent);
}

/* ── Simple single career page ─────────────────────────────────────── */

.gmiot-cr-single {
	padding: 72px clamp(20px, 3.5vw, 48px) 96px;
	max-width: 820px;
	margin: 0 auto;
	width: 100%;
}
.gmiot-cr-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-cr-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-cr-single-blurb {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cr-single-content {
	font-size: 15px;
	line-height: 1.7;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cr-single-content :is(p, li, blockquote, dt, dd, span, strong, em, td, th) {
	color: inherit;
}
.gmiot-cr-single-content :is(h2, h3, h4) {
	color: var(--gmiot-fg);
	font-family: 'Archivo', system-ui, sans-serif;
}
.gmiot-cr-single-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gmiot-cr-single-cta {
	align-self: flex-start;
}

/* ── Full single career page ───────────────────────────────────────── */

.gmiot-cr-page {
	align-items: center;
}
.gmiot-cr-utility {
	width: 100%;
	border-bottom: 1px solid var(--gmiot-divider);
}
.gmiot-cr-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-career-search a { color: ...; }`
 * rule earlier in this file is one element selector more specific than a
 * bare `.gmiot-cr-back`, so "Back to all careers" was silently rendering
 * plain white instead of this muted grey.
 */
a.gmiot-cr-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gmiot-chip-fg);
}
.gmiot-cr-back svg {
	display: block;
	flex-shrink: 0;
}
.gmiot-cr-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gmiot-muted-2);
	flex-wrap: wrap;
}
.gmiot-cr-breadcrumb a {
	color: var(--gmiot-muted-2);
	font-weight: 500;
}
.gmiot-cr-breadcrumb .is-current {
	color: var(--gmiot-chip-fg);
	font-weight: 600;
}

.gmiot-cr-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.03em;
	max-width: 780px;
	margin: 20px 0 0;
	color: var(--gmiot-fg);
}
.gmiot-cr-blurb {
	max-width: 640px;
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cr-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.gmiot-cr-btn-primary,
.gmiot-cr-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-cr-btn-primary {
	background: var(--gmiot-accent);
	color: #ffffff;
}
/*
 * `a.` here matters: both buttons render as <a> tags, and the blanket
 * `.gmiot-career-search a:hover { color: #b9b9bd; }` rule earlier in
 * this file is one element selector more specific than a bare
 * `.gmiot-cr-btn-primary:hover`, so without the `a.` prefix that grey
 * link colour would silently win on hover instead of this brighter
 * highlight actually showing (a real bug we hit on the sibling course
 * plugin — fixed here from the start).
 */
a.gmiot-cr-btn-primary:hover {
	background: var(--gmiot-accent-hover);
	color: #ffffff;
}
.gmiot-cr-btn-primary.is-block,
.gmiot-cr-btn-chat.is-block {
	justify-content: center;
	width: 100%;
	padding: 14px;
}
.gmiot-cr-btn-chat {
	background: var(--gmiot-blue-panel);
	border: 1px solid var(--gmiot-blue-border);
	color: var(--gmiot-fg);
}
a.gmiot-cr-btn-chat:hover {
	background: var(--gmiot-blue);
	border-color: var(--gmiot-blue-border-2);
	color: #ffffff;
}

.gmiot-cr-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-cr-main {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}
.gmiot-cr-hero-block {
	display: flex;
	flex-direction: column;
}
.gmiot-cr-nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--gmiot-rule);
	padding-bottom: 16px;
}
/* Jump links to each section — matches the course plugin's clickable
   section-jump nav (a plain anchor jump is enough since the target
   sections are all in normal document flow). */
.gmiot-cr-nav a {
	font-size: 13px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: var(--gmiot-radius-pill);
	color: var(--gmiot-muted-2);
}
.gmiot-cr-nav a.is-active {
	font-weight: 600;
	background: var(--gmiot-blue-panel);
	border: 1px solid var(--gmiot-blue-border);
	color: var(--gmiot-blue-text);
}
.gmiot-cr-nav a:hover:not(.is-active) {
	color: var(--gmiot-fg);
}

/*
 * 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 —
 * the same fix applied to the course plugin's equivalent box.
 */
.gmiot-career-search .gmiot-cr-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-cr-content {
	font-size: 15px;
	line-height: 1.75;
	color: var(--gmiot-fg);
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: justify;
}
.gmiot-cr-content :is(p, li, dt, dd, span, strong, em, td, th) {
	color: inherit;
}
.gmiot-cr-content :is(h2, h3, h4) {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	color: var(--gmiot-fg);
	margin: 10px 0 0;
}
.gmiot-cr-content h2 {
	font-size: 22px;
}
.gmiot-cr-content h3 {
	font-size: 17px;
}
.gmiot-cr-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gmiot-cr-content ul,
.gmiot-cr-content ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.gmiot-cr-content li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	line-height: 1.6;
}
.gmiot-cr-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-cr-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);
}

.gmiot-cr-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 24px;
}
.gmiot-cr-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-cr-sidebar-card h3 {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gmiot-fg);
	font-weight: 700;
	margin: 0;
}
.gmiot-cr-info-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cr-info-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.gmiot-cr-info-row svg {
	display: block;
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--gmiot-muted-2);
}
.gmiot-cr-info-label {
	font-size: 12px;
	color: var(--gmiot-muted-2);
}
.gmiot-cr-info-value {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 2px;
	color: var(--gmiot-fg);
}
.gmiot-cr-sidebar-rule {
	height: 1px;
	background: var(--gmiot-border-3);
}
.gmiot-cr-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-cr-chat-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--gmiot-fg);
}
.gmiot-cr-chat-box p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--gmiot-blue-text);
	margin: 0;
}
.gmiot-cr-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-career-search a:hover { color: #b9b9bd; }` rule earlier
 * in this file, greying the link out on hover instead of highlighting it.
 */
.gmiot-cr-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: Key Responsibilities / Skills Needed. 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 — matching the
   course plugin's equivalent band — so it merges into one consistent
   black background rather than standing out as its own light section. */
.gmiot-cr-light-band {
	width: 100%;
	background: var(--gmiot-bg);
}
.gmiot-cr-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-cr-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gmiot-cr-section h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 22px;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cr-responsibilities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.gmiot-cr-responsibility-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);
}
.gmiot-cr-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.gmiot-cr-checklist li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--gmiot-fg);
	text-align: justify;
}
.gmiot-cr-checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	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='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 16px 16px;
}

/* Similar careers: 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-cr-similar {
	width: 100%;
	border-top: 1px solid var(--gmiot-divider);
}
.gmiot-cr-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-cr-similar-inner h2 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 800;
	font-size: 24px;
	margin: 0;
	color: var(--gmiot-fg);
}
.gmiot-cr-similar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.gmiot-cr-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-cr-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-cr-similar-meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--gmiot-muted-2);
}

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

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

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

	/* Mobile only: drop the hero search bar and the Subjects chip row
	   from the main career search page — the Subjects filter dropdown
	   below (.gmiot-cr-filter-row) stays, so filtering is still possible
	   without them. Matches the course plugin's mobile treatment. */
	.gmiot-cr-searchbar,
	.gmiot-cr-chip-row {
		display: none;
	}

	/* Mobile only: everything above the View Courses / Course Chat
	   actions on a single career page is centred, and the section-jump
	   nav stays on a single line — scrolling horizontally rather than
	   wrapping — so it reads cleanly on a narrow screen. Matches the
	   course plugin's mobile treatment (the career page has no
	   provider/duration/start-date meta line to keep on one line, since
	   it doesn't have those fields). */
	.gmiot-cr-hero-block {
		text-align: center;
	}
	.gmiot-cr-hero-block .gmiot-cr-card-badges {
		justify-content: center;
	}
	.gmiot-cr-blurb {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	/* Not centred like the hero text above it — the nav sits below the
	   View Courses / Course Chat actions, and it's a scrollable control
	   rather than decorative copy, so it starts at its natural left edge
	   (centring an overflowing scroller would clip its first tab). */
	.gmiot-cr-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		max-width: 100%;
	}
	.gmiot-cr-nav a {
		flex-shrink: 0;
	}
}
