/*
 * NGL v2 — careers (Figma "Career" 329:12003 and "Career Detail" 331:13375; design/careers): the head,
 * the job cards, a job's bar, the application form (Gravity Forms markup, drawn here: Gravity Forms' own
 * CSS is off on job pages, careers.php) and the description card. The breadcrumbs, eyebrow, chips and
 * page links are the shared ones (inner.css).
 *
 * Desktop values are the 1440px frame's and scale down with clamp(). Logical properties throughout, so
 * RTL (fa, ar) and LTR (en) share every rule.
 */

.nglv2-ipage--careers,
.nglv2-ipage--job {
	--nglv2-jgap: clamp(48px, 5.5556vw, 80px); /* breadcrumbs to the eyebrow: 80 at 1440 */
	--nglv2-jtext: #1e293b;                    /* tertiary-shade500: titles and text */
	--nglv2-jgreen: #1ca24e;                   /* Primary-shade600: icons, «مشاهده جزئیات شغل» */
	--nglv2-jline: #727985;                    /* tertiary-shade300: the form's boxes */
	--nglv2-jerror: #b3261e;
}

/* ----------------------------------------------------------------------------------------------
 * Head (331:13023): 80 under the breadcrumbs; the eyebrow, 32, the title (85 tall). Everything under
 * it is 32 apart: chips, cards, page links on the list; the bar, the form, its buttons and the
 * description on a job's page.
 * ------------------------------------------------------------------------------------------- */

.nglv2-careers__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: var(--nglv2-jgap);
}

.nglv2-careers__head {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.nglv2 .nglv2-careers__title {
	font-weight: 800;
	font-size: clamp(28px, calc(12px + 1.945vw), 40px);
	line-height: 1.6;
	color: var(--nglv2-ink);
}

@media (min-width: 1024px) {
	.nglv2 .nglv2-careers__title {
		line-height: 2.125; /* 85px at 40px, as drawn */
	}
}

/* Not drawn: the previous page's intro, 24 under the title, in the designs' section-lead style (Lab
 * Details 224:8060, inner.css .nglv2-shead__lead). */
.nglv2 .nglv2-careers__lead {
	max-width: 760px;
	margin-top: -8px;
	font-size: clamp(17px, calc(8px + 1.111vw), 24px);
	line-height: 1.5;
	color: var(--nglv2-muted);
}

.nglv2-careers .nglv2-pager {
	margin-top: 0; /* the column's gap */
}

/* ----------------------------------------------------------------------------------------------
 * Job cards (331:13226): white, 24 round, 24 inside; the job at the start (654 wide: title, 20, short
 * description, 20, tags), «مشاهده جزئیات شغل» at the end, centred. The title's link covers the card.
 * ------------------------------------------------------------------------------------------- */

.nglv2 .nglv2-careers__list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.nglv2-jcard {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px;
	border-radius: 24px;
	background: #fff;
	transition: box-shadow 0.25s;
}

.nglv2-jcard:hover {
	box-shadow: 0 12px 32px rgba(25, 36, 49, 0.08);
}

.nglv2-jcard__main {
	display: flex;
	flex: 0 1 654px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.nglv2 .nglv2-jcard__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	color: var(--nglv2-jtext);
}

.nglv2 .nglv2-jcard__link {
	color: inherit;
	transition: color 0.25s;
}

.nglv2 .nglv2-jcard__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.nglv2-jcard:hover .nglv2-jcard__link {
	color: var(--nglv2-jgreen);
}

.nglv2 .nglv2-jcard__link:focus-visible {
	outline: none;
}

.nglv2 .nglv2-jcard__link:focus-visible::after {
	outline: 2px solid var(--nglv2-green);
	outline-offset: 2px;
}

.nglv2 .nglv2-jcard__text {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5;
	color: var(--nglv2-jtext);
}

/* «مشاهده جزئیات شغل» and the 30px chevron, 4 apart, their tops aligned as drawn. */
.nglv2-jcard__more {
	display: flex;
	flex-shrink: 0;
	align-items: flex-start;
	gap: 4px;
	color: var(--nglv2-jgreen);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	white-space: nowrap;
}

.nglv2-jcard__more .nglv2-icon {
	width: 30px;
	height: 30px;
	transition: translate 0.25s var(--nglv2-ease);
}

.nglv2-jcard:hover .nglv2-jcard__more .nglv2-icon {
	translate: calc(-4px * var(--nglv2-dir)) 0;
}

/* Tags (331:13235): 24 apart; a 40-tall pill (8 above and below the 24px icon, the border inside it as
 * Figma draws strokes), the green icon at the start, 10 from the text. */
.nglv2 .nglv2-jtags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.nglv2 .nglv2-jtag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 15px;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	background: #f8fafc;
	color: #323232;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
	white-space: nowrap;
}

.nglv2-jtag .nglv2-icon {
	width: 24px;
	height: 24px;
	color: var(--nglv2-jgreen);
}

/* «اشتراک‌گذاری شغل» (331:13795): the same pill without its border and fill; the icon dark. Hidden
 * without JavaScript, which it needs. */
.nglv2 .nglv2-jtag--share {
	-webkit-appearance: none;
	appearance: none;
	float: none;
	height: auto;
	min-height: 0;
	margin: 0;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.25s, background-color 0.25s;
}

.nglv2 .nglv2-jtag--share:hover {
	border-color: #e5e5e5;
	background: #f8fafc;
	color: #323232;
}

.nglv2 .nglv2-jtag--share:focus-visible {
	outline: 2px solid var(--nglv2-green);
	outline-offset: 2px;
}

.nglv2-jtag--share .nglv2-icon {
	color: #292d32;
}

.nglv2-jtag--share.is-copied .nglv2-icon {
	color: var(--nglv2-jgreen);
}

/* A flex box, so the button sits on no line of text (which would make the row 3px taller). */
.nglv2-jtags__share {
	display: flex;
}

html:not(.nglv2-js) .nglv2-jtags__share {
	display: none;
}

/* Not drawn: no open job (in the picked category); a closed job's notice and the note shown when the
 * form is missing, in place of the form. */
.nglv2-careers__empty,
.nglv2-jnote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 48px 24px;
	border-radius: 24px;
	background: #fff;
	text-align: center;
}

.nglv2 .nglv2-careers__empty p,
.nglv2 .nglv2-jnote p {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.8;
	color: #52636c;
}

.nglv2 .nglv2-careers__all,
.nglv2 .nglv2-jnote a {
	color: var(--nglv2-jgreen);
	font-weight: 700;
	font-size: 16px;
}

.nglv2 .nglv2-careers__all:hover,
.nglv2 .nglv2-jnote a:hover {
	text-decoration: underline;
}

/* ----------------------------------------------------------------------------------------------
 * A job's bar (331:13791): white, 24 round, 25 above and below, 24 at the sides; the title (the H1),
 * 20, the tags and «اشتراک‌گذاری شغل».
 * ------------------------------------------------------------------------------------------- */

.nglv2-jbar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 25px 24px;
	border-radius: 24px;
	background: #fff;
}

.nglv2 .nglv2-jbar__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	color: var(--nglv2-jtext);
}

/* ----------------------------------------------------------------------------------------------
 * The application form (331:13728): the fields on a white card (24 round, 32 inside), the buttons 32
 * under it at the end (354:9588). Three fields a row, 32 apart; the rows 24 apart; each field's label
 * 8 above its 55-tall box. The last row: the experience question (255) at the start, the résumé box
 * (867) 14 from it — so the grid's tracks are the design's widths: 255, 14, 88.33 (the rest of the
 * first third), 32, 357.33, 32, 357.33.
 * ------------------------------------------------------------------------------------------- */

.nglv2-jform .gform_heading,
.nglv2-jform .gform_validation_container,
.nglv2-jform .gfield--type-honeypot,
.nglv2-jform .ginput_counter,
.nglv2-jform .gfield.gform_hidden,
.nglv2-jform .gfield--type-hidden,
.nglv2-jform .gfield_visibility_hidden {
	display: none !important;
}

.nglv2-jform .gform_body {
	padding: 32px;
	border-radius: 24px;
	background: #fff;
}

.nglv2-jform .gform_fields {
	display: grid;
	grid-template-columns: minmax(0, 255fr) minmax(0, 14fr) minmax(0, 88.333fr) 32px minmax(0, 357.333fr) 32px minmax(0, 357.333fr);
	row-gap: 24px;
}

.nglv2-jform .gfield {
	display: flex;
	grid-column: 1 / -1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.nglv2-jform .gfield--width-third:nth-child(3n + 1 of .gfield--width-third) {
	grid-column: 1 / 4;
}

.nglv2-jform .gfield--width-third:nth-child(3n + 2 of .gfield--width-third) {
	grid-column: 5 / 6;
}

.nglv2-jform .gfield--width-third:nth-child(3n of .gfield--width-third) {
	grid-column: 7 / 8;
}

.nglv2-jform .gfield--type-radio {
	grid-column: 1 / 2;
	align-self: center;
}

.nglv2-jform .gfield--type-fileupload {
	grid-column: 3 / -1;
}

.nglv2 .nglv2-jform .gfield_label {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--nglv2-jtext);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
}

/* The design marks no field as required (the inputs say so to screen readers: aria-required). */
.nglv2 .nglv2-jform .gfield_required {
	display: none !important;
}

.nglv2-jform .ginput_container {
	margin: 0;
}

.nglv2 .nglv2-jform input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"]),
.nglv2 .nglv2-jform textarea {
	display: block;
	width: 100%;
	height: 55px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid var(--nglv2-jline);
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	color: var(--nglv2-jtext);
	font-family: var(--nglv2-font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.2s, box-shadow 0.2s;
}

/* «درباره خودتان بنویسید» (331:13775): 119 tall, the text 14 from the top and 16 from the sides. */
.nglv2 .nglv2-jform textarea {
	height: 119px;
	min-height: 55px;
	padding: 14px 16px;
	resize: none;
}

.nglv2 .nglv2-jform ::placeholder {
	color: #999;
	opacity: 1;
}

.nglv2 .nglv2-jform input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"]):hover,
.nglv2 .nglv2-jform textarea:hover {
	border-color: #4f5763;
}

.nglv2 .nglv2-jform input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"]):focus,
.nglv2 .nglv2-jform textarea:focus {
	border-color: var(--nglv2-accent);
	box-shadow: 0 0 0 3px rgba(109, 190, 69, 0.2);
	outline: none;
}

/* «چند سال سابقه کار دارید؟» (331:13754): the question, 23, the choices 16 apart; a 23px ring (2px
 * #b2b2b2), the picked one with a 13px blue dot, 10 from its text. */
.nglv2 .nglv2-jform .gfield--type-radio .gfield_label {
	margin-bottom: 23px;
}

.nglv2-jform .gfield_radio {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.nglv2-jform .gchoice {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nglv2 .nglv2-jform input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	margin: 0;
	padding: 0;
	border: 2px solid #b2b2b2;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s;
}

.nglv2 .nglv2-jform input[type="radio"]:checked {
	background: radial-gradient(circle, #0c6cc6 0 6.5px, transparent 7px);
}

.nglv2 .nglv2-jform input[type="radio"]:hover {
	border-color: #8c8c8c;
}

.nglv2 .nglv2-jform input[type="radio"]:focus-visible {
	outline: 2px solid var(--nglv2-green);
	outline-offset: 2px;
}

.nglv2 .nglv2-jform .gchoice label {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--nglv2-jtext);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	cursor: pointer;
}

/* «ارسال رزومه» (331:13769): a 119-tall box, «از فایل انتخاب کنید» centred, «فایل» in the link blue. The
 * (invisible) file input covers the box; the picked file's name shows under the prompt (ngl-v2.js). */
.nglv2-jform .ginput_container_fileupload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 119px;
	padding: 14px 16px;
	border: 1px solid var(--nglv2-jline);
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.nglv2-jform .ginput_container_fileupload:hover {
	border-color: #4f5763;
}

.nglv2-jform .ginput_container_fileupload.is-drag {
	border-color: var(--nglv2-accent);
	background: var(--nglv2-green-50);
}

.nglv2-jform .ginput_container_fileupload:has(input[type="file"]:focus-visible) {
	border-color: var(--nglv2-accent);
	box-shadow: 0 0 0 3px rgba(109, 190, 69, 0.2);
}

.nglv2 .nglv2-jform input[type="file"] {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
}

.nglv2-jform__drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	color: #999;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}

.nglv2-jform__pick {
	color: #0c6cc6;
	text-decoration: underline;
	text-underline-position: from-font;
}

.nglv2-jform__file {
	max-width: 100%;
	overflow: hidden;
	color: var(--nglv2-jtext);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
	direction: ltr;
}

.nglv2-jform__file:empty {
	display: none;
}

/* The types and size Gravity Forms prints under the input: for screen readers (the picker only offers
 * those types). */
.nglv2-jform .gform_fileupload_rules {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* A résumé sent with a form that failed on another field: Gravity Forms keeps it, hides the input (its
 * class gform_hidden, drawn by its own CSS, which is off) and shows the file's name with a delete button
 * instead; deleting it brings the input back. */
.nglv2-jform .ginput_container_fileupload .gform_hidden,
.nglv2-jform .ginput_container_fileupload:has(> input[type="file"].gform_hidden) .nglv2-jform__drop,
.nglv2-jform .gfield_fileupload_progress {
	display: none !important;
}

.nglv2 .nglv2-jform .ginput_preview {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--nglv2-jtext);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.5;
	direction: ltr;
}

.nglv2 .nglv2-jform .gform_delete_file {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--nglv2-jerror);
	cursor: pointer;
	transition: background-color 0.2s;
}

.nglv2 .nglv2-jform .gform_delete_file:hover {
	background: #fdeceb;
}

.nglv2 .nglv2-jform .gform_delete_file:focus-visible {
	outline: 2px solid var(--nglv2-green);
	outline-offset: 2px;
}

.nglv2-jform .gform_delete_file .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

/* Errors: Gravity Forms' summary above the card, each field's message under its box. */
.nglv2 .nglv2-jform .gform_validation_errors {
	display: block !important;
	margin: 0 0 16px;
	padding: 16px 24px;
	border-radius: 16px;
	background: #fdeceb;
	color: var(--nglv2-jerror);
}

.nglv2 .nglv2-jform .gform_validation_errors h2,
.nglv2 .nglv2-jform .gform_submission_error {
	margin: 0;
	color: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.7;
}

.nglv2 .nglv2-jform .gform_validation_errors ol {
	margin: 4px 0 0;
	padding-inline-start: 20px;
	list-style: decimal;
	font-size: 14px;
	line-height: 1.7;
}

.nglv2 .nglv2-jform .gform_validation_errors a {
	color: inherit;
	text-decoration: underline;
}

.nglv2 .nglv2-jform .gfield_error input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"]),
.nglv2 .nglv2-jform .gfield_error textarea,
.nglv2 .nglv2-jform .gfield_error .ginput_container_fileupload {
	border-color: var(--nglv2-jerror);
}

.nglv2 .nglv2-jform .gfield_error input[type="radio"] {
	border-color: var(--nglv2-jerror);
}

.nglv2 .nglv2-jform .gfield_validation_message,
.nglv2 .nglv2-jform .validation_message {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nglv2-jerror);
	font-weight: 500;
	font-size: 13px;
	line-height: 1.6;
}

.nglv2 .nglv2-jform .validation_message:empty {
	display: none;
}

/* The buttons (354:9588): «ثبت درخواست» filled, «لغو» outlined, 240 × 56, 10 round, 10 apart. */
.nglv2-jform .gform_footer {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-end;
	gap: 10px;
	margin: 32px 0 0;
	padding: 0;
}

.nglv2 .nglv2-jform .gform_button,
.nglv2 .nglv2-jform__cancel {
	display: inline-flex;
	flex: 0 1 240px;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin: 0;
	padding: 0 22px;
	border-radius: 10px;
	box-shadow: none;
	font-family: var(--nglv2-font);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.nglv2 .nglv2-jform .gform_button {
	width: auto;
	height: auto;
	border: 0;
	background: var(--nglv2-accent);
	color: #fff;
	cursor: pointer;
}

.nglv2 .nglv2-jform .gform_button:hover {
	background: var(--nglv2-accent-dark);
}

.nglv2 .nglv2-jform .gform_button:disabled {
	cursor: progress;
	opacity: 0.7;
}

.nglv2 .nglv2-jform__cancel {
	border: 1px solid var(--nglv2-accent);
	background: transparent;
	color: var(--nglv2-accent);
}

.nglv2 .nglv2-jform__cancel:hover {
	background: var(--nglv2-green-50);
	color: var(--nglv2-accent-dark);
}

.nglv2 .nglv2-jform .gform_button:focus-visible,
.nglv2 .nglv2-jform__cancel:focus-visible {
	outline: 2px solid var(--nglv2-ink);
	outline-offset: 2px;
}

/* Gravity Forms' spinner while the form is sent (its own CSS draws it; this is the same ring). */
.nglv2-jform .gform-loader {
	display: inline-block;
	align-self: center;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(25, 36, 49, 0.15);
	border-top-color: var(--nglv2-accent);
	border-radius: 50%;
	animation: nglv2-jspin 0.8s linear infinite;
}

@keyframes nglv2-jspin {
	to {
		transform: rotate(360deg);
	}
}

.nglv2 .nglv2-jform .gform_confirmation_message {
	margin: 0;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	color: var(--nglv2-jtext);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.75;
}

/* ----------------------------------------------------------------------------------------------
 * The description (331:13777): white, 24 round, 32 inside; sections 24 apart, each title (20) 16
 * above its text (18, justified) or its list (bullets, the text 27 from the edge).
 * ------------------------------------------------------------------------------------------- */

.nglv2-jdesc {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	color: var(--nglv2-jtext);
}

.nglv2-jdesc__section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nglv2 .nglv2-jdesc__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	color: var(--nglv2-jtext);
}

.nglv2 .nglv2-jdesc__text,
.nglv2 .nglv2-jdesc__list {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	text-align: justify;
}

.nglv2 .nglv2-jdesc__text > * + * {
	margin-top: 12px;
}

/* Bullets: the font's «•» 15px out from the text, as Figma sets them (a browser's disc is larger and
 * sits higher). */
.nglv2 :is(.nglv2-jdesc__list, .nglv2-jdesc__text ul) > li {
	position: relative;
	margin-inline-start: 27px;
}

.nglv2 :is(.nglv2-jdesc__list, .nglv2-jdesc__text ul) > li::before {
	content: "•";
	position: absolute;
	inset-block-start: 0;
	inset-inline-end: calc(100% + 9px);
}

.nglv2 .nglv2-jdesc__text ol {
	padding-inline-start: 27px;
	list-style: decimal;
}

.nglv2 .nglv2-jdesc__text a {
	color: #0c6cc6;
	text-decoration: underline;
}

.nglv2 .nglv2-jdesc__text :is(h2, h3, h4) {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
}

/* ----------------------------------------------------------------------------------------------
 * Narrower screens
 * ------------------------------------------------------------------------------------------- */

@media (max-width: 1023px) {
	.nglv2-jcard__more {
		font-size: 18px;
	}

	.nglv2-jcard__more .nglv2-icon {
		width: 27px;
		height: 27px;
	}

	/* Two fields a row; the question and the résumé box a row each. */
	.nglv2-jform .gform_fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.nglv2-jform .gfield--width-third:nth-child(3n + 1 of .gfield--width-third),
	.nglv2-jform .gfield--width-third:nth-child(3n + 2 of .gfield--width-third),
	.nglv2-jform .gfield--width-third:nth-child(3n of .gfield--width-third) {
		grid-column: auto;
	}

	.nglv2-jform .gfield--type-radio,
	.nglv2-jform .gfield--type-fileupload {
		grid-column: 1 / -1;
	}

	.nglv2-jform .gfield--type-radio {
		align-self: start;
	}

	.nglv2-jform .gfield--type-radio .gfield_radio {
		flex-flow: row wrap;
		gap: 16px 32px;
	}
}

@media (max-width: 767px) {
	.nglv2-jcard {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 20px;
	}

	.nglv2-jcard__main {
		flex-basis: auto;
		gap: 12px;
	}

	.nglv2 .nglv2-jcard__title,
	.nglv2 .nglv2-jbar__title {
		font-size: 18px;
	}

	.nglv2 .nglv2-jcard__text {
		font-size: 16px;
		line-height: 1.7;
	}

	.nglv2-jcard__more {
		align-self: flex-start;
		align-items: center;
		font-size: 16px;
	}

	.nglv2-jcard__more .nglv2-icon {
		width: 24px;
		height: 24px;
	}

	.nglv2 .nglv2-jtags {
		gap: 8px 12px;
	}

	.nglv2 .nglv2-jtag {
		gap: 8px;
		padding: 5px 11px;
		font-size: 13px;
	}

	.nglv2-jtag .nglv2-icon {
		width: 20px;
		height: 20px;
	}

	.nglv2-jbar {
		gap: 16px;
		padding: 20px;
	}

	.nglv2-jform .gform_body,
	.nglv2-jdesc {
		padding: 20px;
	}

	.nglv2-jform .gform_fields {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 20px;
	}

	.nglv2-jform .gform_footer {
		margin-top: 24px;
	}

	.nglv2 .nglv2-jform .gform_button,
	.nglv2 .nglv2-jform__cancel {
		flex: 1 1 0;
		min-height: 52px;
		font-size: 18px;
	}

	.nglv2-jdesc {
		gap: 20px;
	}

	.nglv2 .nglv2-jdesc__title {
		font-size: 18px;
	}

	.nglv2 .nglv2-jdesc__text,
	.nglv2 .nglv2-jdesc__list {
		font-size: 16px;
		line-height: 1.7;
		text-align: start;
	}

	.nglv2 :is(.nglv2-jdesc__list, .nglv2-jdesc__text ul) > li {
		margin-inline-start: 20px;
	}

	.nglv2 :is(.nglv2-jdesc__list, .nglv2-jdesc__text ul) > li::before {
		inset-inline-end: calc(100% + 7px);
	}

	.nglv2 .nglv2-jdesc__text ol {
		padding-inline-start: 20px;
	}

	.nglv2-careers__empty,
	.nglv2-jnote {
		padding: 32px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nglv2-jcard,
	.nglv2 .nglv2-jcard__link,
	.nglv2-jcard__more .nglv2-icon,
	.nglv2 .nglv2-jtag--share,
	.nglv2-jform .ginput_container_fileupload,
	.nglv2 .nglv2-jform .gform_button,
	.nglv2 .nglv2-jform__cancel {
		transition: none;
	}

	.nglv2-jcard:hover .nglv2-jcard__more .nglv2-icon {
		translate: none;
	}
}
