/* =========================================================================================================
 * Job page (single avi_job), phones first (#427, Claude review, Chris 2026-11-03). Loaded last on job pages
 * (inc/avi-job-page.php, after avi-jobs-theme / avi-premium / avi-featured-gold / avi-shared).
 * Values from AVCENTRAL-DESIGN-GUIDE.md / avcentral-colours.json only (no new colours or fonts).
 *
 *  .avijs-hpanel   the header (logo tile + profession pill, title, company · place · type, pills) = .avs-panel
 *  .avijs-card     the Apply card (Apply, verified line, pay, closing date, Share) = .avs-panel
 *  featured (#426) a solid gold bar along the header's top edge only (no border, glow or pill)
 *  .avijs-hrow     top row: the logo tile (.avi-lbox, 6A 112 x 48) left, the 6A profession pill right (.avi-6a)
 *  .avijs-desc-*   "Read full description" (assets/js/avi-job-page.js)
 * ========================================================================================================= */

/* ---- Panels (#427.10): the shared .avs-panel (24 px radius) at page scale. The job page's own background is
   #0a1628 (= the panel's bg-feature), so here the panel takes the guide's card fill bg-card #0c1a30 with a 1 px
   border #1f3354 edge, or it would not show. ------------------------------------------------------------------- */
body.single-avi_job .avijs-hpanel.avs-panel,
body.single-avi_job .avijs-card.avs-panel {
	margin: 0; padding: 20px 18px; max-width: none;
	background: #0c1a30; border: 1px solid #1f3354; border-radius: 24px; box-shadow: none; color: #e8eef5;
}
body.single-avi_job .avijs-top { margin-top: 14px; }
@media (min-width: 768px) {
	body.single-avi_job .avijs-hpanel.avs-panel,
	body.single-avi_job .avijs-card.avs-panel { padding: 24px; }
}
@media (min-width: 1024px) {
	body.single-avi_job .avijs-top { margin-top: 8px; }
}

/* ---- Featured (#426): solid gold bar along the top edge only; drawn as a background so the panel's corners clip it
   (no overflow: hidden, the requirement pills' tooltips may reach below the panel) -------------------------------- */
body.single-avi_job .avijs-hpanel--featured.avs-panel {
	/* same values as the job cards' #426 bar (.avi-card-feat, assets/css/avi-featured-gold.css on fix/job-card-layout-422): 3 px solid gold */
	background: linear-gradient(#e8a020, #e8a020) border-box top left / 100% 3px no-repeat, #0c1a30;
	padding-top: 24px;
}
@media (min-width: 768px) { body.single-avi_job .avijs-hpanel--featured.avs-panel { padding-top: 28px; } }

/* ---- Top row (6A, #439.1): logo tile 112 x 48 left, the profession pill (shared 6A .avi-card-prof inside .avi-6a,
   assets/css/avi-featured-gold.css; here a link to its role page) right, top-aligned like the 6A card head ------- */
body.single-avi_job .avijs-hrow {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; min-height: 48px; margin: 0 0 16px;
}
body.single-avi_job .avijs-hrow__pills {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0;
	max-width: calc(100% - 124px); margin-left: auto;
}
body.single-avi_job .avijs-hrow > .avijs-hrow__pills:only-child { max-width: none; margin-left: 0; justify-content: flex-start; }
html body.single-avi_job .avijs-hrow a.avijs-ppill { text-decoration: none !important; max-width: 100% !important; }
body.single-avi_job a.avijs-ppill:focus-visible { outline: 2px solid #e8a020; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
	html body.single-avi_job .avi-6a.avi-6a a.avijs-ppill:hover { border-color: #7d93ad !important; color: #fff !important; } /* #418 / #424 */
}

/* ---- Title block: the old #171 large logo box is gone ------------------------------------------------------ */
body.single-avi_job .avijs-titleblock--427 { display: block; }
body.single-avi_job .avijs-titleblock--427 .avijs-titletext { width: 100%; }
body.single-avi_job .avijs-hpanel .avijs-title { margin: 0; overflow-wrap: break-word; }
body.single-avi_job .avijs-hpanel p.avijs-meta.avijs-employer { margin: 10px 0 0; }
body.single-avi_job .avijs-hpanel .avijs-hero { margin: 0; padding: 0; }
body.single-avi_job .avijs-hpanel .avijs-chips { margin: 16px 0 0; }
/* owner 2026-11-21: the job's pay and the closing date live in the job card */
body.single-avi_job .avijs-hpanel p.avijs-hpay { margin: 8px 0 0; font: 400 15px/1.4 'DM Sans', sans-serif; color: #e8eef5; }
body.single-avi_job .avijs-hpanel .avijs-hpay__label { margin-right: 4px; color: #94a7be; }
body.single-avi_job .avijs-hpanel .avijs-hpay__value { font-weight: 700; }
body.single-avi_job .avijs-hpanel .avijs-meta__expiry--urgent { color: #ef4444; }
body.single-avi_job .avijs-hpanel .avijs-closing--none { color: inherit; }

/* ---- Apply card ---------------------------------------------------------------------------------------------- */
body.single-avi_job .avijs-side { margin: 12px 0 24px; }
@media (min-width: 1024px) { body.single-avi_job .avijs-side { margin: 8px 0 0; } }
/* the one verified line, small grey text under Apply */
body.single-avi_job .avijs-card .avijs-vline { margin: 0; text-align: center; font: 400 13px/1.4 'DM Sans', sans-serif; color: #7d93ad; }
body.single-avi_job .avijs-card .avijs-vline .avijs-meta__checked { color: inherit; font-size: inherit; }
body.single-avi_job .avijs-card .avijs-vline .avijs-meta__verified-sep { margin: 0 4px; }
body.single-avi_job .avijs-card .avijs-vline .avi-verified-badge { color: #3ccb8f; border-color: rgba(60, 203, 143, .55); } /* status green, verified only (#410) */
body.single-avi_job .avijs-card__facts { border-top-color: #1f3354; }
body.single-avi_job .avijs-card__fact dd.avijs-meta__expiry--urgent { color: #ef4444; }
body.single-avi_job .avijs-card__fact dd.avijs-closing--none { color: #7d93ad; } /* #442 / #503.1: "Listed until …" / "Open until filled" quiet grey */
/* Share in the card: neutral outline (#418), never gold on hover */
body.single-avi_job .avijs-card .avijs-share--card,
body.single-avi_job .avijs-card .avijs-share--card:hover {
	border: 1px solid #2a4266; border-radius: 10px; background: transparent; color: #e8eef5; min-height: 48px; padding: 0 18px;
}
body.single-avi_job .avijs-card a.avijs-origad { border-color: #2a4266; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) {
	body.single-avi_job .avijs-card .avijs-share--card:hover,
	body.single-avi_job .avijs-card a.avijs-origad:hover,
	body.single-avi_job .avijs-mbar button.avijs-mbar__share:hover { border-color: #7d93ad; color: #fff; }
}

/* ---- Read full description (#427.8) -------------------------------------------------------------------------- */
body.single-avi_job .avijs-description__body .avijs-desc-rest { display: none !important; }
body.single-avi_job .avijs-desc-more { display: flex; width: 100%; margin: 18px 0 0; background: transparent; color: #e8eef5; border: 1px solid #2a4266; }
body.single-avi_job .avijs-desc-more[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
	body.single-avi_job .avijs-desc-more:hover { border-color: #7d93ad; color: #fff; }
}

/* ---- Requirement / fact pills (#435.1 / #439.1): the shared 6A pills (.avi-jc-pill + --hours / --licence /
   --aircraft inside .avi-6a, assets/css/avi-featured-gold.css); this file only keeps what the job page adds.
   The 6A pill clips overflow; the requirement pills' "From the ad" tooltip (::after) hangs below the pill, so those
   pills are not clipped (they are short labels). ------------------------------------------------------------------ */
html body.single-avi_job .avijs-hpanel .avijs-chips.avi-6a { display: flex; flex-wrap: wrap; gap: 8px !important; }
html body.single-avi_job .avijs-hpanel .avijs-chips.avi-6a .avi-jc-pill.avijs-chip--req { overflow: visible; }
@media (hover: hover) and (pointer: fine) {
	html body.single-avi_job .avijs-hpanel .avijs-chips.avi-6a .avi-jc-pill.avijs-chip--req:hover { border-color: #7d93ad !important; }
}
html body.single-avi_job .avijs-hpanel .avijs-chips.avi-6a .avi-jc-pill.avijs-chip--req:focus-visible { outline: 2px solid #e8a020; outline-offset: 2px; border-color: #7d93ad !important; }

/* ---- Logo tiles: header top row (#439.1) and company profile card (#435.2) = the 6A tile 112 x 48, radius 10,
   padding 6 / 10 (off-white #eef2f6 or navy #0f1e38 + #2a4266 per logo; initials = navy + gold Bebas 24 px), the same
   values as .avi-jc .avi-lbox (assets/css/avi-featured-gold.css) ------------------------------------------------------ */
body.single-avi_job .avijs-empcard__tile { display: block; margin: 0 0 12px; line-height: 0; }
html body.single-avi_job .avijs-hrow > .avi-lbox,
html body.single-avi_job .avijs-cocard--logo > .avi-lbox,
html body.single-avi_job .avijs-empcard__tile .avi-lbox { width: 112px; height: 48px; flex: 0 0 112px; border-radius: 10px; padding: 6px 10px; }
html body.single-avi_job .avijs-hrow > .avi-lbox--light,
html body.single-avi_job .avijs-cocard--logo > .avi-lbox--light,
html body.single-avi_job .avijs-empcard__tile .avi-lbox--light { background: #eef2f6; border-color: #eef2f6; }
html body.single-avi_job .avijs-hrow > .avi-lbox--dark,
html body.single-avi_job .avijs-cocard--logo > .avi-lbox--dark,
html body.single-avi_job .avijs-empcard__tile .avi-lbox--dark { background: #0f1e38; border-color: #2a4266; }
html body.single-avi_job .avijs-hrow > .avi-lbox--initials,
html body.single-avi_job .avijs-cocard--logo > .avi-lbox--initials,
html body.single-avi_job .avijs-empcard__tile .avi-lbox--initials {
	background: #0f1e38; border: 1px solid #2a4266; color: #e8a020; font-family: 'Bebas Neue', 'DM Sans', sans-serif; font-size: 24px; letter-spacing: .06em; line-height: 1;
}

/* ---- Top links to the operator page (owner INBOX #754, 2026-11-14; round 4).
   Printed only when the employer has a live operator page (inc/avi-job-company-link.php). Two plain boxes:
     a.avijs-cocard--logo  the logo tile (taps and clicks only; hidden from screen readers, not a tab stop)
     a.avijs-cocard--name  the company link: name + chevron
   Plain flexbox only: no floats, no container units, no flex gap from 768 px, nothing outside its own box.

   Phones: row 1 = tile left, profession pills right; row 2 = the name on a line of its own (wraps at the full row
   width, never beside a pill; more pills only make row 1 taller). The name link's box is 44 px tall or more.

   From 768 px: tile, name, pills on one row while they fit; when they do not, the pills move to a second row, whole.
   The name is never wrapped to make room, so a cut pill and a wrapped name cannot happen together:
     1. pills side by side   2. pills stacked   3. a long pill (18 letters or more) cut with "...", never under 156 px
     4. pills on their own row under the tile and name, whole
   Widths that decide this do not depend on the pill font: every pill has its exact width from its letter count
   (the font is monospace: a letter is 0.6 em + 0.14 em letter-spacing = 0.74 em, the pill's sides 22 px; +1 px spare).
   If the 6A pill's font-size, letter-spacing or padding change (assets/css/avi-board-critical.css), change them here.
   The row is 54 px tall with one row of pills or two (the tile's 6 px bottom margin), so the title never moves.

   Same gold, weight and font the company name had in the line under the title; no pill, no outline. The class names
   hold "card", so the shared pressed state (assets/css/avs-press.css) applies. ---------------------------------- */
body.single-avi_job .avijs-hrow.avijs-hrow--co { flex-wrap: wrap; gap: 0 12px; margin-bottom: 0; }
/* the tile; 6 px under it so row 1 is as tall with one pill as with two stacked (54 px). With a taller pill stack
   the tile sits at the bottom of row 1, next to its name. */
html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--logo {
	order: 1; flex: 0 0 112px; align-self: flex-end; display: block; width: 112px; padding: 0 0 6px; line-height: 0; border-radius: 10px; text-decoration: none;
	transform-origin: left bottom;
}
body.single-avi_job .avijs-hrow--co > .avijs-hrow__pills { order: 2; flex: 1 1 0%; min-width: 0; }
/* forces the name onto row 2 */
body.single-avi_job .avijs-hrow--co::after { content: ''; order: 3; flex: 0 0 100%; height: 0; }
html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name {
	order: 4; flex: 0 1 auto; min-width: 0; max-width: 100%; box-sizing: border-box; margin: 4px 0 0; padding: 4px 0 18px; border-radius: 0; /* square: rounded corners are cut out of the tap area */
	position: relative; z-index: 1; /* above the title: its tall letters reach 6 px up into this box and took those taps */
	color: var(--av-gold, #e8a020); text-decoration: none; font: 700 16px/22px 'DM Sans', sans-serif;
	transform-origin: left top; /* with the tile's left bottom: the two stay in line while pressed */
}
body.single-avi_job .avijs-cocard__name { display: block; overflow-wrap: break-word; text-wrap: balance; border-radius: 3px; }
body.single-avi_job .avijs-cocard__last { white-space: nowrap; }
body.single-avi_job .avijs-cocard__chev { display: inline-block; width: 14px; height: 14px; margin: 0 0 0 4px; vertical-align: -1px; pointer-events: none; }
/* keyboard focus: the ring goes round the name's text, not the 44 px tap box (that box reaches the pills above and the
   title's letters below). Same gold 2 px as the site's ring for job-page links, which is switched off for this link. */
html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name:focus-visible { outline: none !important; }
html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name:focus-visible .avijs-cocard__name { outline: 2px solid #e8a020; outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
	html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name:hover .avijs-cocard__name { text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 768px) {
	/* spacing by margins and padding, no gap (Safari 14.0 and older have no flex gap) */
	body.single-avi_job .avijs-hrow.avijs-hrow--co { gap: 0; margin-bottom: 10px; justify-content: flex-start; }
	body.single-avi_job .avijs-hrow--co::after { content: none; }
	html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--logo { order: 0; align-self: flex-start; padding: 0; margin: 0 0 6px; transform-origin: right center; }
	/* no dead strip between the tile and the name: the name link starts at the tile and pads its text 14 px in */
	html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name {
		order: 0; display: flex; align-items: center; min-height: 48px; min-width: min-content; max-width: 100%; margin: 0 0 6px; padding: 0 0 0 14px;
		transform-origin: left center;
	}
	html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name:focus-visible .avijs-cocard__name { outline-offset: 3px; }
	/* the pills: at least their floor beside the name, else a row of their own (flex-basis = the floor decides) */
	body.single-avi_job .avijs-hrow--co > .avijs-hrow__pills {
		--avijs-pfloor: calc(var(--avijs-pmax, 16) * 8.14px + 23px); /* 0.74 em of the pill's 11 px = 8.14 px a letter */
		order: 0; flex: 1 1 var(--avijs-pfloor); min-width: var(--avijs-pfloor); max-width: none; margin: 0 0 0 12px;
	}
	body.single-avi_job .avijs-hrow--co > .avijs-hrow__pills--long { --avijs-pfloor: 156px; }
	html body.single-avi_job .avijs-hrow--co .avijs-hrow__pills > a.avijs-ppill { width: calc(var(--avijs-pc, 16) * 0.74em + 23px); text-align: center; }
}
/* both parts press together where the browser can tell (:has); elsewhere the pressed part presses on its own */
html body.single-avi_job .avijs-hrow--co:has(> a.avijs-cocard:active) > a.avijs-cocard { scale: .97; filter: brightness(.9); transition: scale .12s ease, filter .12s ease; }
@media (prefers-reduced-motion: reduce) {
	html body.single-avi_job .avijs-hrow--co:has(> a.avijs-cocard:active) > a.avijs-cocard { scale: none; transition: none; }
}

/* ---- Apply card button on one line (#435.3); the destination in a small grey line under it -------------------- */
html body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn { white-space: nowrap; min-height: 52px; }
body.single-avi_job .avijs-card .avijs-apply1 { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.single-avi_job .avijs-card .avijs-apply-dest { margin: -2px 0 0; text-align: center; font: 400 13px/1.4 'DM Sans', sans-serif; color: #94a7be; }

/* ---- "About the employer" rows in the employer card (owner INBOX #729.3, 2026-11-12): pilot pay range + other open
   jobs, each only when we hold it (inc/avi-job-employer-block.php). Phone first; the card is the side column on desktop. */
body.single-avi_job .avijs-empabout { margin: 0; padding: 0 16px 14px; }
body.single-avi_job .avijs-empabout__row { margin: 0; padding: 12px 0 0; border-top: 1px solid #2a4365; }
body.single-avi_job .avijs-empabout__row + .avijs-empabout__row { margin-top: 12px; }
body.single-avi_job .avijs-empabout__label,
body.single-avi_job .avijs-empabout__kicker {
	margin: 0 0 6px; font: 500 12px/1.3 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .08em; text-transform: uppercase; color: #9fb1c8;
}
body.single-avi_job .avijs-empabout__text { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #dbe4ee; overflow-wrap: anywhere; }
body.single-avi_job .avijs-empabout__link { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
body.single-avi_job .avijs-empabout__link a { display: inline-block; padding: 6px 0; color: #e8eef5; text-decoration: underline; text-decoration-color: #9fb1c8; text-underline-offset: 3px; }
body.single-avi_job .avijs-empabout__link a:hover { color: #e8a020; text-decoration-color: #e8a020; }
body.single-avi_job .avijs-empabout__link a:focus { outline: none; }
body.single-avi_job .avijs-empabout__link a:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; border-radius: 2px; }
/* the card's own bottom padding is 0 (the main link pads itself): the rows sit right under the "View profile" button */
body.single-avi_job .avijs-empcard__main + .avijs-empabout { margin-top: -2px; }
/* an employer with no operator page: a small block of its own */
body.single-avi_job .avijs-empcard--about { padding: 16px 0 0; }
body.single-avi_job .avijs-empcard--about .avijs-empabout__kicker { margin: 0 16px 8px; }
body.single-avi_job .avijs-empabout__name { margin: 0 16px 12px; font-size: 16px; font-weight: 700; color: #e8eef5; }
/* the posted-job simple card pads itself (16px): no second side padding */
body.single-avi_job .avijs-empcard--simple .avijs-empabout { padding: 12px 0 0; }
/* owner 2026-11-21: on phones the pinned bar has Apply, Save and Share, and pay + closing date are in the job card, so
   the side card is no box any more: what is left ("See if you qualify", "See the original ad") sits on the page as is.
   Only when the bar exists (.avijs-side--bar); Save already hides via avi-save-job.css. */
@media (max-width: 1023px) {
	html body.single-avi_job .avijs-side--bar .avijs-card a.avijs-apply-cta-card__btn,
	html body.single-avi_job .avijs-side--bar .avijs-card .avijs-apply-dest,
	html body.single-avi_job .avijs-side--bar .avijs-card button.avijs-share--card { display: none !important; }
	html body.single-avi_job .avijs-side--bar .avijs-card.avs-panel { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
}

/* =========================================================================================================
 * #814 (owner INBOX #814, 2026-11-21, Chris's desktop mockup): layout, headings and dividers only. No button
 * style, colour or font changes: every value below is one the page already uses (#1f3354 border, #e8a020 gold,
 * #9fb1c8 / #94a7be slate, the display font, DM Sans, JetBrains Mono). Roll back = delete this block (and the
 * #814 template / inc/avi-job-desc-814.php calls).
 * ========================================================================================================= */
/* Header out of the card: on the page, no panel */
body.single-avi_job .avijs-hpanel.avijs-hpanel--814 { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: #e8eef5; }
body.single-avi_job .avijs-hpanel--814.avijs-hpanel--featured { padding-top: 14px; background: linear-gradient(#e8a020, #e8a020) top left / 100% 3px no-repeat; }
/* top row with no operator page: tile + gold company link + profession pill */
body.single-avi_job .avijs-hrow.avijs-hrow--814 { flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 14px; min-height: 48px; margin: 0 0 14px; }
body.single-avi_job .avijs-hrow--814 > .avi-lbox { flex: 0 0 112px; }
html body.single-avi_job .avijs-hrow--814 > a.avijs-hrow__emp { flex: 0 1 auto; min-width: 0; color: var(--av-gold, #e8a020); font: 700 16px/22px 'DM Sans', sans-serif; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { html body.single-avi_job .avijs-hrow--814 > a.avijs-hrow__emp:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* owner 2026-11-21 (#814 follow-up): row 1 = logo tile left, role pill at the right edge; the gold company name on its own
   line under the logo, then the title. Every width (phones already had it this way, #754). */
body.single-avi_job .avijs-hrow--814 > .avi-lbox { order: 1; }
body.single-avi_job .avijs-hrow--814 > .avijs-hrow__pills { order: 2; flex: 0 1 auto; max-width: 100%; margin: 0 0 0 auto; justify-content: flex-end; }
html body.single-avi_job .avijs-hrow--814 > a.avijs-hrow__emp { order: 3; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
	body.single-avi_job .avijs-hrow.avijs-hrow--co.avijs-hrow--stack { margin-bottom: 0; }
	body.single-avi_job .avijs-hrow--co.avijs-hrow--stack::after { content: ''; order: 3; flex: 0 0 100%; height: 0; }
	html body.single-avi_job .avijs-hrow--co.avijs-hrow--stack > a.avijs-cocard--logo { order: 1; align-self: center; margin: 0; }
	body.single-avi_job .avijs-hrow--co.avijs-hrow--stack > .avijs-hrow__pills { order: 2; margin-left: auto; justify-content: flex-end; align-self: center; margin-bottom: 0; }
	html body.single-avi_job .avijs-hrow--co.avijs-hrow--stack > a.avijs-cocard--name { order: 4; display: block; min-height: 0; min-width: 0; margin: 10px 0 0; padding: 0 0 10px; }
}
/* one meta line: pin + place · Posted · Closes */
body.single-avi_job .avijs-meta__pin { display: inline-block; width: 14px; height: 14px; margin: 0 4px 0 0; vertical-align: -2px; color: #94a7be; }
/* thin divider under the header, the width of the text column */
body.single-avi_job .avijs-hpanel--814 hr.avijs-hdiv { display: block; height: 0; margin: 22px 0 0; border: 0; border-top: 1px solid #1f3354; background: none; }

/* Apply card: closing label on top, Save + Share side by side */
body.single-avi_job .avijs-card p.avijs-card__closes {
	margin: 0 0 12px; text-align: center; font: 500 12px/1.3 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .08em; text-transform: uppercase; color: #9fb1c8;
}
body.single-avi_job .avijs-card p.avijs-card__closes--urgent { color: #ef4444; }
body.single-avi_job .avijs-card__acts { display: flex; gap: 10px; margin: 12px 0 0; }
html body.single-avi_job .avijs-card .avijs-card__acts > button.avi-sj--card,
html body.single-avi_job .avijs-card .avijs-card__acts > button.avijs-share--card { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
@media (max-width: 1023px) {
	html body.single-avi_job .avijs-side--bar .avijs-card p.avijs-card__closes { display: none !important; } /* the meta line has it; the bar has Apply */
	html body.single-avi_job .avijs-side--bar .avijs-card__acts { margin: 0; }
}

/* "THE EMPLOYER" card: tile + name + "Calgary, AB · 9 open jobs" (count = link), then "View company page" */
body.single-avi_job .avijs-empcard.avijs-empcard--814 { padding: 16px; overflow: visible; }
body.single-avi_job .avijs-empcard--814 .avijs-empcard__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
body.single-avi_job .avijs-empcard--814 a.avijs-empcard__tile { display: block; flex: 0 0 112px; margin: 0; line-height: 0; text-decoration: none; }
body.single-avi_job .avijs-empcard--814 .avijs-empcard__who { min-width: 0; }
body.single-avi_job .avijs-empcard--814 .avijs-empcard__name { margin: 0 0 2px; }
body.single-avi_job .avijs-empcard--814 .avijs-empcard__facts { margin: 0; }
html body.single-avi_job .avijs-empcard a.avijs-empcard__jobs { color: #e8eef5; font-weight: 600; text-decoration: underline; text-decoration-color: #9fb1c8; text-underline-offset: 3px; }
html body.single-avi_job .avijs-empcard a.avijs-empcard__jobs:hover { color: #e8a020; text-decoration-color: #e8a020; }
html body.single-avi_job .avijs-empcard a.avijs-empcard__jobs:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; border-radius: 2px; }
html body.single-avi_job .avijs-empcard--814 a.avijs-empcard__btn { color: #fff; text-decoration: none; }
html body.single-avi_job .avijs-empcard--814 a.avijs-empcard__btn:hover { background: rgba(255, 255, 255, .06); }
body.single-avi_job .avijs-empcard--814 .avijs-empcard__pay { margin: 12px 0 0; }
body.single-avi_job .avijs-empcard--814 .avijs-empabout { padding: 0; margin: 12px 0 0; }
body.single-avi_job .avijs-empcard--simple .avijs-empcard__facts--jobs { margin: 4px 0 0; }
body.single-avi_job .avijs-empcard--about .avijs-empcard__facts--jobs { margin: -6px 16px 14px; }

/* Description = the employer's ad, styled only (inc/avi-job-desc-814.php) */
body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh,
body.single-avi_job .avijs-description--814 h2.avijs-dh--role {
	font-family: var(--av-font-display, 'Bebas Neue'), 'DM Sans', sans-serif; font-weight: 400; font-size: 26px; line-height: 1.1;
	letter-spacing: .03em; text-transform: none; margin: 30px 0 10px; padding: 22px 0 0; border-top: 1px solid #1f3354;
}
/* owner 2026-11-21: the ad's main headings and "About the role" are white like the title (was the light-blue heading colour) */
body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh { color: var(--av-text-strong, #e8eef5); }
body.single-avi_job .avijs-description--814 h2.avijs-dh--role { color: var(--av-text-strong, #e8eef5); margin-top: 22px; padding-top: 0; border-top: 0; } /* right under the header divider */
body.single-avi_job .avijs-description--814 .avijs-description__body > h3.avijs-dh:first-child { margin-top: 22px; padding-top: 0; border-top: 0; }
body.single-avi_job .avijs-description--814 .avijs-description__body p.avijs-dsub {
	margin: 20px 0 6px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 17px; line-height: 1.4; color: #e8eef5;
}
@media (min-width: 768px) {
	body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh,
	body.single-avi_job .avijs-description--814 h2.avijs-dh--role { font-size: 28px; }
}
/* an ad where nearly every line is bold: the bold says nothing there */
body.single-avi_job .avijs-desc--allbold .avijs-description__body strong,
body.single-avi_job .avijs-desc--allbold .avijs-description__body b { font-weight: inherit; color: inherit; }
/* label | value list (Type of Employment | Full-time) */
body.single-avi_job .avijs-description__body dl.avijs-kv { margin: 0 0 16px; padding: 0; }
body.single-avi_job .avijs-description__body .avijs-kv__row { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 8px 0; border-top: 1px solid #1f3354; }
body.single-avi_job .avijs-description__body .avijs-kv__row:last-child { border-bottom: 1px solid #1f3354; }
body.single-avi_job .avijs-description__body .avijs-kv dt { flex: 0 0 190px; max-width: 100%; margin: 0; font-weight: 600; color: #e8eef5; }
body.single-avi_job .avijs-description__body .avijs-kv dd { flex: 1 1 200px; min-width: 0; margin: 0; }
@media (max-width: 479px) { body.single-avi_job .avijs-description__body .avijs-kv dt { flex-basis: 100%; } }
/* #814: the profession pill on the company row lines up with the logo tile and the name (desktop) */
@media (min-width: 768px) { body.single-avi_job .avijs-hrow--co > .avijs-hrow__pills { align-self: center; margin-bottom: 6px; } }
/* #814: phones with the Apply bar: the card's Apply block and the Save + Share row hold nothing visible there, so they
   take no flex gap either (the Apply block stays when it shows "See the original ad" / "Posted by the employer …"). */
@media (max-width: 1023px) {
	html body.single-avi_job .avijs-side--bar .avijs-card .avijs-card__acts { display: none !important; }
	html body.single-avi_job .avijs-side--bar .avijs-card .avijs-apply-cta-card:not(:has(.avijs-origad, .avijs-card__posted-here)) { display: none !important; }
}
/* #814 audit round 1: one rule, not two: the first heading right under the header divider, and a heading right after
   the label | value list (the list's own bottom line is the divider); the Apply card label balances if it wraps */
body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh.avijs-dh--first,
body.single-avi_job .avijs-description--814 .avijs-description__body dl.avijs-kv + h3.avijs-dh { margin-top: 22px; padding-top: 0; border-top: 0; }
body.single-avi_job .avijs-card p.avijs-card__closes { text-wrap: balance; }
/* #814 follow-up (owner 2026-11-21, "one ask"): the end-of-page My Briefing card (the old "Looking for more aviation jobs?"
   card's box, heading and button styles); not shown to a visitor who already has a briefing (html.avi-pf-has). */
html.avi-pf-has body.single-avi_job .avijs-mbcard { display: none !important; }
body.single-avi_job .avijs-mbcard .avijs-mbcard__kicker {
	margin: 0 0 8px; font: 500 12px/1.3 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .08em; text-transform: uppercase; color: #9fb1c8;
}
body.single-avi_job .avijs-mbcard .avijs-signup__subline { max-width: 34em; margin-left: auto; margin-right: auto; }

/* =========================================================================================================
 * Job page text rules (owner 2026-11-21, design sheet "Six text styles. Four colours."). Colour, size and font only:
 * no markup or layout change. Job page only (body.single-avi_job). Roll back = delete this block.
 *   Job title         Bebas 56 / 40 (phones)        #e8eef5
 *   Section heading   Bebas 30 / 26                 #e8eef5
 *   Sub-head + values DM Sans 16 semibold           #e8eef5
 *   Body              DM Sans 16 / 1.65             #94a7be
 *   Label             JetBrains Mono 11 caps        #7d93ad
 *   Small print       DM Sans 13-14                 #7d93ad
 *   Gold #e8a020: Apply button and company links only. Page background #060f1e.
 * ========================================================================================================= */
body.single-avi_job { --jr-white: #e8eef5; --jr-grey: #94a7be; --jr-muted: #7d93ad; --jr-gold: #e8a020; background: #060f1e; }
html body.single-avi_job #page, html body.single-avi_job .site, html body.single-avi_job .site-content, html body.single-avi_job main.avijs-page { background: transparent; }

/* Job title */
html body.single-avi_job h1.avijs-title { font-family: 'Bebas Neue', 'DM Sans', sans-serif; font-weight: 400; font-size: 56px; color: var(--jr-white); }
@media (max-width: 767px) { html body.single-avi_job h1.avijs-title { font-size: 40px; } }

/* Section headings: the ad's headings, "About the role", the My Briefing card heading */
html body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh,
html body.single-avi_job .avijs-description--814 h2.avijs-dh--role,
html body.single-avi_job .avijs-mbcard .avijs-signup__heading { font-family: 'Bebas Neue', 'DM Sans', sans-serif; font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--jr-white); }
@media (max-width: 767px) {
	html body.single-avi_job .avijs-description--814 .avijs-description__body h3.avijs-dh,
	html body.single-avi_job .avijs-description--814 h2.avijs-dh--role,
	html body.single-avi_job .avijs-mbcard .avijs-signup__heading { font-size: 26px; }
}

/* Sub-headings and values (facts): ad sub-headings, the place and the closing date in the meta line, the pay figure,
   a list label, the employer's name */
html body.single-avi_job .avijs-description--814 .avijs-description__body p.avijs-dsub,
html body.single-avi_job .avijs-meta__place, html body.single-avi_job .avijs-meta__place a,
html body.single-avi_job .avijs-meta__expiry:not(.avijs-meta__expiry--urgent),
html body.single-avi_job .avijs-hpanel .avijs-hpay__value,
html body.single-avi_job .avijs-description__body .avijs-kv dt,
html body.single-avi_job .avijs-empcard__name, html body.single-avi_job .avijs-empabout__name {
	font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--jr-white);
}
html body.single-avi_job .avijs-meta__place a { text-decoration: none; }

/* Body: the posting text, the rest of the meta line, list values, the My Briefing card's sentence */
html body.single-avi_job .avijs-description__body,
html body.single-avi_job .avijs-description__body p,
html body.single-avi_job .avijs-description__body li,
html body.single-avi_job .avijs-description__body dd { font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; font-weight: 400; color: var(--jr-grey); }
html body.single-avi_job .avijs-description__body strong, html body.single-avi_job .avijs-description__body b { color: var(--jr-white); }
html body.single-avi_job .avijs-description__body a { color: var(--jr-white); text-decoration: underline; text-underline-offset: 3px; }
html body.single-avi_job .avijs-description__body li::marker { color: var(--jr-muted); }
html body.single-avi_job p.avijs-meta { font-size: 16px; color: var(--jr-grey); }
html body.single-avi_job .avijs-mbcard .avijs-signup__subline { font-size: 16px; line-height: 1.65; color: var(--jr-grey); }
/* owner 2026-11-21: colours and fonts only; the sheet's "max 680px wide" is a layout change, so it is not applied */

/* Labels: mono 11 caps muted */
html body.single-avi_job .avijs-card p.avijs-card__closes:not(.avijs-card__closes--urgent),
html body.single-avi_job .avijs-empcard__kicker, html body.single-avi_job .avijs-empabout__label, html body.single-avi_job .avijs-empabout__kicker,
html body.single-avi_job .avijs-mbcard .avijs-mbcard__kicker,
html body.single-avi_job .avijs-hpanel .avijs-hpay__label,
html body.single-avi_job .avijs-related .avijs-section-label, html body.single-avi_job .avijs-section-label:not(.avijs-dh) {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--jr-muted);
}
html body.single-avi_job .avijs-card p.avijs-card__closes--urgent { font-size: 11px; }

/* Small print: breadcrumb, "Opens … careers page", the employer's place line, icons and separators */
html body.single-avi_job .avijs-breadcrumb, html body.single-avi_job .avijs-breadcrumb a, html body.single-avi_job .avijs-breadcrumb__current { font-size: 13px; color: var(--jr-muted); }
html body.single-avi_job .avijs-card .avijs-apply-dest { font-size: 13px; color: var(--jr-muted); }
html body.single-avi_job .avijs-empcard__facts { font-size: 14px; color: var(--jr-muted); }
html body.single-avi_job .avijs-meta__pin, html body.single-avi_job .avijs-meta__sep { color: var(--jr-muted); }

/* Gold: company links (the Apply button keeps its own gold) */
html body.single-avi_job .avijs-hrow--co > a.avijs-cocard--name, html body.single-avi_job .avijs-hrow--814 > a.avijs-hrow__emp { color: var(--jr-gold); }
/* text rules, round 2: the background on every wrapper the theme paints (body, .site, .site-content, the page header),
   and the meta line's grey (beaten before by a more specific theme rule) */
html body.single-avi_job, html body.single-avi_job div.site, html body.single-avi_job div.site-content,
html body.single-avi_job header.avijs-siteheader { background-color: #060f1e; }
html body.single-avi_job .avijs-hpanel p.avijs-meta, html body.single-avi_job .avijs-hpanel p.avijs-meta .avijs-meta__posted,
html body.single-avi_job .avijs-hpanel p.avijs-meta .avijs-meta__posted-by { color: var(--jr-grey); }
/* text rules, round 3: the theme paints the job page with var(--avij-bg-page) (!important, avi-jobs-single-light.css);
   the job page sets that variable to the darker background instead of fighting each wrapper. */
html body.single-avi_job { --avij-bg-page: #060f1e; }

/* ---- End-of-page My Briefing card with the live demo (owner 2026-11-21, design mock-up). Palette: panel #0c1a30, divider
   #1f3354, text white / grey / muted, gold only on the button. Text left, demo right from 1024 px; text only below. ---- */
body.single-avi_job .avijs-mbcard--demo {
	display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; margin: 40px 0 24px; padding: 28px 22px;
	background: #0c1a30; border: 1px solid #1f3354; border-radius: 16px; text-align: left;
}
@media (min-width: 768px) { body.single-avi_job .avijs-mbcard--demo { padding: 40px; } }
@media (min-width: 1024px) { body.single-avi_job .avijs-mbcard--demo.has-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
body.single-avi_job .avijs-mbcard--demo .avijs-mbcard__kicker {
	display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11px/1.3 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .12em; text-transform: uppercase; color: #7d93ad;
}
/* owner 2026-11-21: the Free pill stands out (white bold on a filled pill; palette colours only, gold stays for actions) */
body.single-avi_job .avijs-mbcard__badge { padding: 3px 10px; border: 1px solid #94a7be; border-radius: 999px; background: #1f3354; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #e8eef5; }
body.single-avi_job .avijs-mbcard__h { margin: 0 0 14px; font: 400 40px/1.02 'Bebas Neue', 'DM Sans', sans-serif; letter-spacing: .01em; color: #e8eef5; }
@media (max-width: 767px) { body.single-avi_job .avijs-mbcard__h { font-size: 32px; } }
body.single-avi_job .avijs-mbcard__lead { margin: 0 0 22px; max-width: 34em; font: 400 16px/1.65 'DM Sans', sans-serif; color: #94a7be; }
body.single-avi_job .avijs-mbcard__rows { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
body.single-avi_job .avijs-mbcard__rows li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
body.single-avi_job .avijs-mbcard__ico {
	flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #1f3354; border-radius: 10px; background: #0f1e38; color: #7d93ad;
}
body.single-avi_job .avijs-mbcard__rows li > span:last-child { font: 400 14px/1.5 'DM Sans', sans-serif; color: #7d93ad; }
body.single-avi_job .avijs-mbcard__rows strong { display: block; margin: 0 0 2px; font: 600 16px/1.4 'DM Sans', sans-serif; color: #e8eef5; }
body.single-avi_job .avijs-mbcard__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
html body.single-avi_job a.avijs-mbcard__btn { display: inline-flex; gap: 10px; text-decoration: none; }
body.single-avi_job .avijs-mbcard__small { font: 400 13px/1.4 'DM Sans', sans-serif; color: #7d93ad; }
body.single-avi_job .avijs-mbcard__demo { display: none; min-width: 0; }
@media (min-width: 1024px) { body.single-avi_job .avijs-mbcard--demo.has-demo .avijs-mbcard__demo { display: block; } }
/* the player takes its height from its container (on home: the slide's grid row); here the demo column is given one */
@media (min-width: 1024px) {
	body.single-avi_job .avijs-mbcard--demo.has-demo .avijs-mbcard__demo { display: flex; height: 560px; }
	body.single-avi_job .avijs-mbcard__demo > .avi-bd { flex: 1 1 auto; height: 100%; min-height: 0; }
}
/* the player pins its caption, tabs and live label to its own box (on home: .avi-fc-grid > .avi-bd is the anchor);
   here the box is the anchor too, or they land on the page (the caption showed across the job description) */
body.single-avi_job .avijs-mbcard__demo > .avi-bd { position: relative; }
/* owner 2026-11-21: the job page demo shows one example only, so no tab in its top bar (home keeps its tabs) */
body.single-avi_job .avijs-mbcard__demo .avi-bd__tabs { display: none !important; }
