/*
 * Strikers theme: Jobs. Split out of style.css (STR-185, speed) so other pages
 * don't download it. Loaded after style.css only where it is used:
 *   /job-openings/, job pages (single awsm_job_openings), /jobs/ and the job category and location archives, after forms.css
 * (functions.php strikers_enqueue_page_styles).
 * Same rules as style.css: theme.json tokens only, no colors or sizes here.
 */

/* ======================================================================
 * Jobs (STR-177): /job-openings/ (page-job-openings.html), job pages /jobs/<job>/
 * (single-awsm_job_openings.html), archives /jobs/, /job-category/…, /job-location/…
 * (wp-job-openings/archive-job.php). All markup inside the light zone is the WP Job Openings
 * (HireZoot) plugin's own; its CSS (general, style, block style-index, about 87 KB) is not
 * loaded on these pages, so every part it needs is styled here, scoped to .strikers-jobs-main.
 *
 * Mix rhythm: a night-fade head (strikers-gb-intro, so the White look turns it white) with the
 * one H1, then the white reading zone. The one bold element: job titles large and blue. Jobs are
 * rows on hairlines (lists are rows, brand guide), never the plugin's cards. No red: nothing here
 * books through Meriq. Apply and Submit are outline pills (story STR-177).
 *
 * Pairs (all existing tokens): night E8E8ED 17.2:1 on black, 12.3:1 on navy; light zone ink
 * 1D1D1F 16.83:1 on white, 15.46:1 on F5F5F7; muted 6E6E73 5.07:1 / 4.66:1; job titles 0000F9
 * 8.87:1 on white; field and filter edges 6E6E73 5.07:1 on white (3:1 needed); white on 1D1D1F
 * 16.83:1 (filled hover, filter toggle on).
 * ====================================================================== */

/* Archives (/jobs/, /job-category/, /job-location/): the PHP <main> has no block attributes, so
   the global block gap showed as black bands above and below the night head. Butt the head to
   the header and the white zone to the head, as on /job-openings/. */
.strikers-jobs-archive,
.strikers-jobs-archive > * {
	margin-block: 0;
}

/* ---- Plugin helpers its CSS used to provide (state classes the plugin's JS toggles) ---- */
.strikers-jobs-main :is(.awsm-b-sr-only, .awsm-sr-only) {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.strikers-jobs-main :is(.awsm-b-job-hide, .awsm-job-hide) {
	display: none !important;
}

/* The plugin's icon font is not loaded: its <i> icons go (the search field draws its own). */
.strikers-jobs-main i[class*="awsm-job-icon-"] {
	display: none;
}

/* ---- Head: "Jobs" back link (style.css "back link"), H1 32px on phones, 40px from 782px.
   Long live titles ("Café Cook at Bowling Center (1 Year Experience Required)") stay at four
   lines or fewer on a phone. ---- */
.strikers-jobs-intro {
	padding-bottom: var(--wp--preset--spacing--10);
}

.strikers-jobs-intro .strikers-post-back {
	margin-bottom: 0;
}

/* "Jobs" is one short word: at least 44px wide as well as high (QA STR-177). */
.strikers-jobs-intro .strikers-post-back a {
	min-width: var(--wp--custom--tap-target);
}

.strikers-jobs-intro :is(.strikers-jobs-title, .awsm-jobs-archive-title) {
	font-size: var(--wp--preset--font-size--h-2);
	line-height: var(--wp--custom--line-height--h-2);
	margin-bottom: 0;
	margin-top: 0;
}

.strikers-jobs-intro .strikers-post-back + :is(.strikers-jobs-title, .awsm-jobs-archive-title) {
	margin-top: var(--wp--preset--spacing--2);
}

@media (min-width: 782px) {
	.strikers-jobs-intro :is(.strikers-jobs-title, .awsm-jobs-archive-title) {
		font-size: var(--wp--preset--font-size--h-1);
		line-height: var(--wp--custom--line-height--h-1);
	}
}

/* Apply: outline pill on night. A full 2px E8E8ED edge (not the Mix 1px grey), since it is the
   page's main action; hover fills E8E8ED with a black label (17.2:1). */
.strikers-jobs-intro .strikers-jobs-apply {
	margin-top: var(--wp--preset--spacing--6);
}

body .strikers-jobs-intro .strikers-jobs-apply .is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--ink-dark);
	border-width: var(--wp--custom--border--width);
}

/* No form on the page (a closed job): no Apply. From 1024px the form sits beside the text. */
.strikers-jobs-main:not(:has(#awsm-application-form)) .strikers-jobs-apply {
	display: none;
}

@media (min-width: 1024px) {
	.strikers-jobs-intro .strikers-jobs-apply {
		display: none;
	}
}

/* ---- Job page: the job text at the reading width, then the form panel. From 1024px the two
   sit side by side (text 7 / form 5) at the wide width, so the form is in the first screen. ---- */
.strikers-jobs-content > .awsm-job-single-wrap {
	display: grid;
	gap: var(--wp--preset--spacing--16);
}

.awsm-job-single-wrap .awsm-job-content {
	max-width: var(--wp--custom--measure-read);
}

@media (min-width: 1024px) {
	/* Head and body share the wide width on a job page (the constrained layout reads this). */
	.strikers-jobs-main:has(.awsm-job-single-wrap) {
		--wp--style--global--content-size: var(--wp--style--global--wide-size);
	}

	.strikers-jobs-content > .awsm-job-single-wrap {
		align-items: start;
		column-gap: var(--wp--preset--spacing--16);
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.awsm-job-single-wrap > .awsm-job-content {
		grid-column: 1;
	}

	.awsm-job-single-wrap > .awsm-job-form {
		grid-column: 2;
		grid-row: 1;
	}
}

/* Job text (staff content): air above headings, underlined links (WCAG 1.4.1). "Job description"
   is the text's H2, set at the h3 size so the H1 stays the one big line. */
.awsm-job-entry-content > :first-child {
	margin-top: 0;
}

.awsm-job-entry-content :is(h2, h3, h4) {
	font-size: var(--wp--preset--font-size--h-3);
	line-height: var(--wp--custom--line-height--h-3);
	margin-bottom: 0;
	margin-top: var(--wp--preset--spacing--10);
}

.awsm-job-entry-content :is(h2, h3, h4) + * {
	margin-top: var(--wp--preset--spacing--4);
}

/* Staff write sub-heads as a bold-only paragraph ("Pay & Perks"). Group each with what follows:
   more air above (24px), close below (8px), so the text reads in blocks, not an even stack. */
.awsm-job-entry-content > :not(h2, h3, h4, p:has(> strong:only-child)) + p:has(> strong:only-child) {
	margin-top: var(--wp--preset--spacing--6);
}

.awsm-job-entry-content > p:has(> strong:only-child) + * {
	margin-top: var(--wp--preset--spacing--2);
}

.awsm-job-entry-content :is(ul, ol) {
	padding-left: var(--wp--preset--spacing--6);
}

.awsm-job-entry-content li + li {
	margin-top: var(--wp--preset--spacing--1);
}

.awsm-job-entry-content a {
	text-decoration: underline;
	text-decoration-thickness: var(--wp--custom--border--hairline);
	text-underline-offset: 0.15em;
}

/* ---- Job specs (Job Category, Job Location; Job Type once jobs have one): label in muted
   caption, each term a neutral grey chip (ink on F5F5F7 15.46:1; badges are grey, brand guide).
   On the job page they close the text on a hairline; in list rows they sit under the title. ---- */
.strikers-jobs-main .awsm-job-specifications-container {
	border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--hairline-dark);
	margin-top: var(--wp--preset--spacing--10);
	padding-top: var(--wp--preset--spacing--6);
}

.strikers-jobs-main .awsm-job-specification-wrapper {
	display: grid;
	gap: var(--wp--preset--spacing--2);
}

.strikers-jobs-main .awsm-job-specification-item {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
}

.strikers-jobs-main .awsm-job-specification-label {
	color: var(--wp--preset--color--ink-muted-dark);
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--line-height--caption);
}

.strikers-jobs-main .awsm-job-specification-label strong {
	font-weight: var(--wp--custom--font-weight--semibold);
}

.strikers-jobs-main .awsm-job-specification-term {
	background-color: var(--wp--preset--color--surface-alt-dark);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink-dark);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--caption);
	padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--4);
}

/* A term that links to its archive keeps a 44px row and underlines on hover. */
.strikers-jobs-main a.awsm-job-specification-term {
	align-items: center;
	display: inline-flex;
	min-height: var(--wp--custom--tap-target);
	padding-bottom: 0;
	padding-top: 0;
	text-decoration: none;
}

.strikers-jobs-main a.awsm-job-specification-term:hover {
	text-decoration: underline;
}

/* ---- Apply form: F5F5F7 panel, radius md. Fields reuse the Pro Shop form (style.css
   "Request a service"): labels above, 48px white fields with a 6E6E73 edge, 17px text. ---- */
.strikers-jobs-main .awsm-job-form {
	background-color: var(--wp--preset--color--surface-alt-dark);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--6);
}

@media (min-width: 782px) {
	.strikers-jobs-main .awsm-job-form {
		padding: var(--wp--preset--spacing--10);
	}
}

.strikers-jobs-main .awsm-job-form-inner > h2 {
	font-size: var(--wp--preset--font-size--h-2);
	line-height: var(--wp--custom--line-height--h-2);
	margin: 0 0 var(--wp--preset--spacing--6);
}

/* The Apply pill lands here with the heading still in view (header 64px on tablets is in the
   html scroll padding). */
#awsm-application-form {
	scroll-margin-top: calc(var(--wp--preset--spacing--24) + var(--wp--preset--spacing--6));
}

/* minmax(0, 1fr): fields shrink to the panel instead of keeping their intrinsic width. */
.strikers-jobs-main .awsm-application-form {
	display: grid;
	gap: var(--wp--preset--spacing--6);
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
}

.strikers-jobs-main .awsm-job-form-group {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
}

.strikers-jobs-main .awsm-job-form-group > label {
	color: var(--wp--preset--color--ink-dark);
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--body);
}

/* Required "*": the plugin marks it as an error span; here it is plain ink, never red (red means
   book). The fields also carry the required attribute for screen readers. */
.strikers-jobs-main label > .awsm-job-form-error {
	color: inherit;
	font-weight: var(--wp--custom--font-weight--regular);
}

.strikers-jobs-main .awsm-job-form-group small {
	color: var(--wp--preset--color--ink-muted-dark);
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--line-height--caption);
}

/* Resume upload: the native file control, its button an outline pill (2px ink, 44px); the file
   name stays in body text. Hover fills ink, white label 16.83:1. */
.strikers-jobs-main .awsm-job-form-group input[type="file"] {
	color: var(--wp--preset--color--ink-dark);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--body);
	max-width: 100%;
}

.strikers-jobs-main .awsm-job-form-group input[type="file"]::file-selector-button {
	background-color: transparent;
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--ink-dark);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink-dark);
	cursor: pointer;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--wp--custom--font-weight--semibold);
	margin-right: var(--wp--preset--spacing--4);
	min-height: var(--wp--custom--tap-target);
	padding: 0 var(--wp--preset--spacing--6);
}

.strikers-jobs-main .awsm-job-form-group input[type="file"]:hover::file-selector-button {
	background-color: var(--wp--preset--color--ink-dark);
	color: var(--wp--preset--color--surface-dark);
}

/* Consent: 24px box beside its label. The label (which toggles the box) spans the whole row, is
   at least 44px high and starts under the box, so the box and its text share one 44px-plus hit
   area (QA STR-177 retest). The box sits on top of the label's left padding. */
.strikers-jobs-main .awsm-job-inline-group {
	align-items: start;
	column-gap: var(--wp--preset--spacing--4);
	grid-template-columns: var(--wp--preset--spacing--6) minmax(0, 1fr);
}

.strikers-jobs-main .awsm-job-inline-group > input[type="checkbox"] {
	accent-color: var(--wp--preset--color--ink-dark);
	cursor: pointer;
	grid-column: 1;
	grid-row: 1;
	height: var(--wp--preset--spacing--6);
	margin: calc(var(--wp--custom--border--hairline) + (var(--wp--custom--tap-target) - var(--wp--preset--spacing--6)) / 2) 0 0;
	position: relative;
	width: var(--wp--preset--spacing--6);
	z-index: 1;
}

.strikers-jobs-main .awsm-job-inline-group > label {
	cursor: pointer;
	font-weight: var(--wp--custom--font-weight--regular);
	grid-column: 1 / -1;
	grid-row: 1;
	min-height: var(--wp--custom--tap-target);
	padding: calc((var(--wp--custom--tap-target) - var(--wp--preset--spacing--6)) / 2) 0 calc((var(--wp--custom--tap-target) - var(--wp--preset--spacing--6)) / 2) calc(var(--wp--preset--spacing--6) + var(--wp--preset--spacing--4));
}

.strikers-jobs-main .awsm-job-inline-group > div.awsm-job-form-error {
	grid-column: 2;
}

/* Invalid field (jQuery Validation adds .awsm-job-form-error to the field and a message div):
   as the Pro Shop form, an ink rule on the left, a 2px ink edge and the message in semibold ink.
   Never red. */
.strikers-jobs-main .awsm-job-form-group:has(> .awsm-job-form-field.awsm-job-form-error) {
	border-left: var(--wp--custom--border--width) solid var(--wp--preset--color--ink-dark);
	padding-left: var(--wp--preset--spacing--4);
}

.strikers-jobs-main .awsm-job-form-control.awsm-job-form-error {
	border-color: var(--wp--preset--color--ink-dark);
	border-width: var(--wp--custom--border--width);
}

.strikers-jobs-main div.awsm-job-form-error {
	color: var(--wp--preset--color--ink-dark);
	font-weight: var(--wp--custom--font-weight--semibold);
	margin: 0;
}

/* CV size (STR-177): the hint is the muted small above; the message after choosing a file over
   5 MB (Strikers Core script) is semibold ink like the other field errors. Empty: no row. */
.strikers-jobs-main .awsm-job-form-group small.strikers-cv-error {
	color: var(--wp--preset--color--ink-dark);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.strikers-jobs-main .strikers-cv-error:empty {
	display: none;
}

/* Submit: outline pill (2px ink, 15.46:1 on F5F5F7), full width on phones, its own width from
   600px. Hover fills ink with a white label (16.83:1). While sending, the plugin disables it:
   muted edge and label (6E6E73 4.66:1), no hover. */
.strikers-jobs-main #awsm-application-submit-btn {
	appearance: none;
	background-color: transparent;
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--ink-dark);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink-dark);
	cursor: pointer;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--body);
	min-height: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1));
	padding: 0 var(--wp--preset--spacing--10);
	touch-action: manipulation;
	width: 100%;
}

.strikers-jobs-main #awsm-application-submit-btn:is(:hover, :active) {
	background-color: var(--wp--preset--color--ink-dark);
	color: var(--wp--preset--color--surface-dark);
}

.strikers-jobs-main #awsm-application-submit-btn:disabled {
	background-color: transparent;
	border-color: var(--wp--preset--color--ink-muted-dark);
	color: var(--wp--preset--color--ink-muted-dark);
	cursor: progress;
}

@media (min-width: 600px) {
	.strikers-jobs-main #awsm-application-submit-btn {
		width: auto;
	}
}

/* Sent / not sent (the plugin fills this after the AJAX reply): the Pro Shop alert look, white
   card, 2px edge, blue for sent (0000F9 8.14:1 on F5F5F7), ink when it failed. */
.strikers-jobs-main .awsm-application-message {
	background-color: var(--wp--preset--color--surface-dark);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--ink-dark);
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--ink-dark);
	font-weight: var(--wp--custom--font-weight--semibold);
	margin-top: var(--wp--preset--spacing--6);
	padding: var(--wp--preset--spacing--6);
}

.strikers-jobs-main .awsm-application-message.awsm-success-message {
	border-color: var(--wp--preset--color--blue-text-dark);
}

.strikers-jobs-main .awsm-application-message > * {
	margin: 0;
}

/* ---- Search and filters (list block .awsm-b-*, archives .awsm-*). Phones: search + a 48px
   filter button on one row, the filters open below it (the plugin's JS toggles them). From
   782px: search and filters on one row, no button. Fields share the form controls above. ---- */
.strikers-jobs-main :is(.awsm-b-filter-wrap, .awsm-filter-wrap) {
	margin: 0 0 var(--wp--preset--spacing--10);
}

.strikers-jobs-main :is(.awsm-b-filter-wrap, .awsm-filter-wrap) > form {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
	margin: 0;
}

.strikers-jobs-main :is(.awsm-b-filter-item-search, .awsm-filter-item-search) {
	flex: 1 1 0;
	min-width: 0;
}

.strikers-jobs-main :is(.awsm-b-filter-item-search-in, .awsm-filter-item-search-in) {
	position: relative;
}

.strikers-jobs-main :is(.awsm-b-job-search, .awsm-job-search) {
	padding-right: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1));
}

.strikers-jobs-main :is(.awsm-b-job-search, .awsm-job-search)::placeholder {
	color: var(--wp--preset--color--ink-muted-dark);
	opacity: 1;
}

/* Search and clear icons: 2px line icons in muted ink, drawn with a mask (the SVGs only give the
   shape; the colour is the token). The plugin's JS swaps them and runs the search on click. */
.strikers-jobs-main .awsm-job-search-icon-wrapper {
	align-items: center;
	cursor: pointer;
	display: flex;
	height: 100%;
	justify-content: center;
	position: absolute;
	right: 0;
	top: 0;
	width: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1));
}

.strikers-jobs-main .awsm-job-search-icon-wrapper::before {
	background-color: var(--wp--preset--color--ink-muted-dark);
	content: "";
	height: var(--wp--preset--spacing--6);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
	width: var(--wp--preset--spacing--6);
}

.strikers-jobs-main .awsm-job-search-close-btn::before {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.strikers-jobs-main .awsm-job-search-icon-wrapper:hover::before {
	background-color: var(--wp--preset--color--ink-dark);
}

/* Filter button (phones): 48px square, 1px 6E6E73 edge like the fields; on: ink with white. */
.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle) {
	align-items: center;
	background-color: var(--wp--preset--color--surface-dark);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-muted-dark);
	border-radius: var(--wp--custom--radius--sm);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink-dark);
	display: inline-flex;
	flex: 0 0 auto;
	height: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1));
	justify-content: center;
	width: calc(var(--wp--custom--tap-target) + var(--wp--preset--spacing--1));
}

.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle):hover {
	border-color: var(--wp--preset--color--ink-dark);
}

.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle).awsm-on {
	background-color: var(--wp--preset--color--ink-dark);
	border-color: var(--wp--preset--color--ink-dark);
	color: var(--wp--preset--color--surface-dark);
}

.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle) svg {
	height: var(--wp--preset--spacing--6);
	width: var(--wp--preset--spacing--6);
}

.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle) svg path {
	fill: currentColor;
}

.strikers-jobs-main :is(.awsm-b-filter-items, .awsm-filter-items) {
	display: none;
	flex: 1 1 100%;
}

.strikers-jobs-main :is(.awsm-b-filter-item, .awsm-filter-item) + :is(.awsm-b-filter-item, .awsm-filter-item) {
	margin-top: var(--wp--preset--spacing--2);
}

@media (min-width: 782px) {
	.strikers-jobs-main :is(.awsm-b-filter-toggle, .awsm-filter-toggle) {
		display: none;
	}

	/* Search on its own row, the filters share the row under it (one to three, equal widths).
	   !important: beats the inline display the plugin's toggle leaves after use on a phone. */
	.strikers-jobs-main :is(.awsm-b-filter-item-search, .awsm-filter-item-search) {
		flex-basis: 100%;
	}

	.strikers-jobs-main :is(.awsm-b-filter-items, .awsm-filter-items) {
		display: grid !important;
		gap: var(--wp--preset--spacing--2);
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
	}

	.strikers-jobs-main :is(.awsm-b-filter-item, .awsm-filter-item) + :is(.awsm-b-filter-item, .awsm-filter-item) {
		margin-top: 0;
	}
}

/* ---- Job rows: one per job on a hairline, title large and blue (0000F9 8.87:1), the plugin's
   "More Details" link at the end in ink. The list block links the title (its hit area covers
   the row); archive rows are one link each. Two columns from 600px. ---- */
.strikers-jobs-main :is(.awsm-b-job-listings, .awsm-job-listings) {
	position: relative;
}

/* With the filters gone (STR-177), the list wrap is the first thing in the content, so its
   block-gap margin stacked on the section padding (56px above the first hairline). The plugin
   prints a <style> tag before it, so :first-child can't be used. */
.strikers-jobs-content > :is(.awsm-b-job-wrap, .awsm-job-wrap):first-of-type {
	margin-block-start: 0;
}

.strikers-jobs-main :is(.awsm-b-job-listing-item, .awsm-job-listing-item) {
	border-bottom: var(--wp--custom--border--hairline) solid var(--wp--preset--color--hairline-dark);
	position: relative;
}

.strikers-jobs-main :is(.awsm-b-job-listing-item, .awsm-job-listing-item):first-child {
	border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--hairline-dark);
}

.strikers-jobs-main :is(.awsm-b-job-item, .awsm-job-item) {
	align-items: center;
	color: var(--wp--preset--color--ink-dark);
	display: grid;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--6) 0;
	text-decoration: none;
}

.strikers-jobs-main :is(.awsm-b-list-left-col, .awsm-b-list-right-col, .awsm-grid-left-col, .awsm-grid-right-col) {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	min-width: 0;
}

.strikers-jobs-main :is(.awsm-b-job-post-title, .awsm-job-post-title) {
	color: var(--wp--preset--color--blue-text-dark);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--h-3);
	margin: 0;
}

.strikers-jobs-main .awsm-b-job-post-title a {
	color: inherit;
	text-decoration: none;
}

.strikers-jobs-main .awsm-b-job-post-title a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.strikers-jobs-main :is(.awsm-b-job-listing-item:hover .awsm-b-job-post-title a, a.awsm-job-item:hover .awsm-job-post-title) {
	text-decoration: underline;
	text-decoration-thickness: var(--wp--custom--border--hairline);
	text-underline-offset: 0.15em;
}

/* Keyboard: the ring goes round the whole row (blue 0000F9 8.87:1 on white). */
.strikers-jobs-main .awsm-b-job-post-title a:focus-visible {
	box-shadow: none;
	outline: none;
}

.strikers-jobs-main .awsm-b-job-post-title a:focus-visible::after {
	box-shadow: var(--wp--custom--focus-glow);
	outline: var(--wp--custom--border--width) solid var(--wp--preset--color--blue-text-dark);
	outline-offset: var(--wp--custom--border--hairline);
}

.strikers-jobs-main a.awsm-job-item:focus-visible {
	outline-offset: var(--wp--custom--border--hairline);
}

.strikers-jobs-main :is(.awsm-b-job-more, .awsm-job-more) {
	align-items: center;
	color: var(--wp--preset--color--ink-dark);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--caption);
	min-height: var(--wp--custom--tap-target);
	text-decoration: none;
	white-space: nowrap;
}

.strikers-jobs-main :is(.awsm-b-job-more-container, .awsm-job-more-container) {
	margin: 0;
}

/* In rows the spec chips need no hairline or label. */
.strikers-jobs-main :is(.awsm-b-job-item, .awsm-job-item) .awsm-job-specification-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
}

@media (min-width: 600px) {
	.strikers-jobs-main :is(.awsm-b-job-item, .awsm-job-item) {
		column-gap: var(--wp--preset--spacing--10);
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.strikers-jobs-main :is(.awsm-b-list-right-col, .awsm-grid-right-col) {
		justify-items: end;
	}

	/* Archive rows: specs under the title on the left, "More Details" alone on the right. */
	.strikers-jobs-main .awsm-job-item {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
	}

	.strikers-jobs-main .awsm-grid-right-col {
		display: contents;
	}

	.strikers-jobs-main .awsm-grid-right-col > .awsm-job-specification-wrapper {
		grid-column: 1;
	}

	.strikers-jobs-main .awsm-grid-right-col > .awsm-job-more-container {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* Filtering (AJAX): the rows dim while the plugin loads new ones. */
.strikers-jobs-main :is(.awsm-b-jobs-loading, .awsm-jobs-loading) {
	cursor: progress;
	opacity: 0.5;
}

/* No jobs (or none for a filter): a grey note in the list's place, ink on F5F5F7 15.46:1. */
.strikers-jobs-main :is(.awsm-b-jobs-none-container, .awsm-jobs-none-container) {
	background-color: var(--wp--preset--color--surface-alt-dark);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--6);
}

.strikers-jobs-main :is(.awsm-b-jobs-none-container, .awsm-jobs-none-container) p {
	margin: 0;
}

/* Load more (more than 10 jobs): an outline pill under the rows. */
.strikers-jobs-main :is(.awsm-b-load-more-main, .awsm-load-more-main) {
	margin-top: var(--wp--preset--spacing--10);
	text-align: center;
}

.strikers-jobs-main :is(.awsm-b-load-more, .awsm-load-more) {
	align-items: center;
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--ink-dark);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink-dark);
	display: inline-flex;
	font-weight: var(--wp--custom--font-weight--semibold);
	min-height: var(--wp--custom--tap-target);
	padding: 0 var(--wp--preset--spacing--6);
	text-decoration: none;
}

.strikers-jobs-main :is(.awsm-b-load-more, .awsm-load-more):is(:hover, :active) {
	background-color: var(--wp--preset--color--ink-dark);
	color: var(--wp--preset--color--surface-dark);
}

@media (prefers-reduced-motion: no-preference) {
	.strikers-jobs-main :is(#awsm-application-submit-btn, .awsm-b-load-more, .awsm-load-more, .awsm-b-filter-toggle, .awsm-filter-toggle, .awsm-b-job-listings, .awsm-job-listings) {
		transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
	}
}
