/* Digitalk: homepage, careers and job pages. Tokens live in chrome.css. */

/* Theme container reset on our pages */
.dgc .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}

.dgc-main {
	font-family: var(--dg-font);
	color: var(--dg-ink);
	font-size: 17px;
	line-height: 1.6;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

/* Widths include padding and borders, so full-width buttons and fields never overflow their box. */
.dgc-main *,
.dgc-main *::before,
.dgc-main *::after {
	box-sizing: border-box;
}

.dgc-main h1,
.dgc-main h2,
.dgc-main h3 {
	font-family: var(--dg-font);
	color: var(--dg-ink);
	font-weight: 700;
	margin: 0;
	text-wrap: balance;
}

.dgc-main h1 {
	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.dgc-main h2 {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.dgc-main h3 {
	font-size: 1.2rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.dgc-main p {
	margin: 0;
}

.dgc-main a {
	color: var(--dg-brand);
}

.dgc-main :focus-visible {
	outline: 2px solid var(--dg-brand);
	outline-offset: 3px;
}

.dgc-wrap {
	max-width: var(--dg-wrap); /* Same container as header and footer, so edges line up. */
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: content-box;
}

.dgc-section {
	padding: clamp(64px, 9vw, 120px) 0;
}

.dgc-section--mist {
	background: var(--dg-mist);
}

.dgc-lede {
	font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
	color: var(--dg-muted);
	max-width: 60ch;
	margin-top: 20px !important;
}

.dgc-muted {
	color: var(--dg-muted);
	margin-top: 14px !important;
	max-width: 46ch;
}

/* Buttons */
.dgc-btn,
.dgc-main .dgc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 26px;
	border: 2px solid var(--dg-brand);
	border-radius: 8px;
	background: var(--dg-brand);
	color: #fff;
	font: 600 16px/1 var(--dg-font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}

.dgc-main .dgc-btn:hover {
	background: var(--dg-ink);
	border-color: var(--dg-ink);
	color: #fff;
}

.dgc-main .dgc-btn--ghost {
	background: transparent;
	color: var(--dg-brand);
}

.dgc-main .dgc-btn--ghost:hover {
	background: var(--dg-brand);
	border-color: var(--dg-brand);
}

.dgc-main .dgc-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--dg-ink);
}

.dgc-main .dgc-btn--light:hover {
	background: var(--dg-sky);
	border-color: var(--dg-sky);
	color: var(--dg-ink);
}

.dgc-btn--block {
	width: 100%;
}

/* Tags */
.dgc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dgc-tags li {
	margin: 0;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--dg-mist);
	color: var(--dg-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.dgc-tags--lg li {
	background: rgba(255, 255, 255, .7);
	color: var(--dg-ink);
	font-size: 14px;
	padding: 6px 12px;
}

/* Two-column heading + content */
.dgc-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.dgc-split--sticky > :first-child {
	position: sticky;
	top: 120px;
}

/* ---------- Page head (careers + job) ---------- */
.dgc-pagehead {
	background: var(--dg-sky);
	padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.dgc-crumb {
	font-size: 14px;
	color: var(--dg-muted);
	margin-bottom: 20px !important;
}

.dgc-crumb a {
	color: var(--dg-muted);
	text-decoration: none;
}

.dgc-crumb a:hover {
	color: var(--dg-brand);
	text-decoration: underline;
}

.dgc-pagehead--job h1 {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
	margin-bottom: 20px;
}

/* ---------- Careers list ---------- */
.dgc-listhead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--dg-ink);
}

.dgc-listhead p {
	color: var(--dg-muted);
	font-size: 15px;
}

.dgc-jobs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dgc-job {
	margin: 0;
	border-bottom: 1px solid var(--dg-line);
}

.dgc-job a {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 150px 24px;
	gap: 24px;
	align-items: center;
	padding: 28px 0;
	color: inherit;
	text-decoration: none;
}

.dgc-job h3 {
	transition: color .15s;
}

.dgc-job__main p {
	color: var(--dg-muted);
	font-size: 15px;
	margin-top: 6px;
	max-width: 52ch;
}

.dgc-job__date {
	font-size: 14px;
	color: var(--dg-muted);
}

.dgc-job__go {
	color: var(--dg-brand);
	transition: transform .15s;
}

.dgc-job a:hover h3 {
	color: var(--dg-brand);
}

.dgc-job a:hover .dgc-job__go {
	transform: translateX(4px);
}

.dgc-empty {
	padding: 56px 0 8px;
	max-width: 520px;
}

.dgc-empty p {
	color: var(--dg-muted);
	margin: 8px 0 24px;
}

/* Steps */
.dgc-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: s;
	display: grid;
	gap: 0;
}

.dgc-steps li {
	counter-increment: s;
	position: relative;
	margin: 0;
	padding: 0 0 32px 64px;
}

.dgc-steps li::before {
	content: counter(s);
	position: absolute;
	left: 0;
	top: -4px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--dg-brand);
	color: var(--dg-brand);
	font-weight: 700;
	display: grid;
	place-items: center;
}

.dgc-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 40px;
	bottom: 0;
	width: 2px;
	background: var(--dg-sky);
}

.dgc-steps p {
	color: var(--dg-muted);
	margin-top: 6px;
	max-width: 52ch;
}

/* ---------- Job page ---------- */
.dgc-jobgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
}

.dgc-prose {
	max-width: 68ch;
}

.dgc-main .dgc-prose > * + * {
	margin-top: 1em;
}

.dgc-main .dgc-prose h2,
.dgc-main .dgc-prose h3 {
	font-size: 1.35rem;
	margin-top: 2em;
}

.dgc-main .dgc-prose > :first-child {
	margin-top: 0;
}

.dgc-prose ul,
.dgc-prose ol {
	padding-left: 1.2em;
	margin-left: 0;
}

.dgc-prose li {
	margin: .4em 0;
}

.dgc-prose li::marker {
	color: var(--dg-mid);
}

.dgc-facts {
	position: sticky;
	top: 120px;
	border: 1px solid var(--dg-line);
	border-radius: 10px;
	padding: 24px;
}

.dgc-facts dl {
	margin: 0 0 24px;
	display: grid;
	gap: 16px;
}

.dgc-facts dt {
	font-size: 13px;
	color: var(--dg-muted);
	font-weight: 400;
}

.dgc-facts dd {
	margin: 2px 0 0;
	font-weight: 600;
}

/* ---------- Application form ---------- */
.dgc-apply {
	background: var(--dg-mist);
	padding: clamp(56px, 8vw, 104px) 0;
	scroll-margin-top: 80px;
}

.dgc-wrap--form {
	max-width: 860px;
}

.dgc-apply__head {
	margin-bottom: 40px;
}

/* Wide screens: intro on the left, form on the right, both on the page container (no narrow centred column). */
@media (min-width: 1100px) {
	.dgc-apply__grid {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(40px, 5vw, 80px);
		align-items: start;
	}

	.dgc-apply__grid .dgc-apply__head {
		position: sticky;
		top: 120px;
		margin: 0;
	}
}

/* Steps inside a job description use the prose spacing. */
.dgc-prose .dgc-steps {
	margin-top: 1.5em;
	padding-left: 0;
}

.dgc-prose .dgc-steps li {
	margin: 0;
}

.dgc-prose .dgc-steps h3 {
	margin-top: 0;
	font-size: 1.05rem;
}

.dgc-alert {
	border-left: 4px solid #B3261E;
	background: #fff;
	padding: 18px 22px;
	margin-bottom: 32px;
	border-radius: 0 8px 8px 0;
}

.dgc-alert p {
	font-weight: 600;
	color: #8C1D18;
}

.dgc-alert ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
	font-size: 15px;
}

.dgc-alert a {
	color: #8C1D18;
}

.dgc-group {
	background: #fff;
	border: 1px solid var(--dg-line);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 40px);
	margin: 0 0 20px;
	min-width: 0;
}

.dgc-form .dgc-group > legend {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0;
	margin: 0 0 28px;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--dg-ink);
}

.dgc-group__n {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--dg-sky);
	color: var(--dg-brand);
	font-size: 15px;
	display: grid;
	place-items: center;
}

.dgc-grid {
	clear: both;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 20px;
}

.dgc-field {
	min-width: 0;
}

.dgc-field--wide {
	grid-column: 1 / -1;
}

.dgc-form label,
.dgc-form legend {
	display: block;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--dg-ink);
	margin-bottom: 8px;
	line-height: 1.4;
}

.dgc-field fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.dgc-opt {
	font-weight: 400;
	color: var(--dg-muted);
	font-size: 13px;
	margin-left: 4px;
}

.dgc-form input[type="text"],
.dgc-form input[type="email"],
.dgc-form input[type="url"],
.dgc-form input[type="tel"],
.dgc-form select,
.dgc-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid #B8C7D2;
	border-radius: 8px;
	background: #fff;
	color: var(--dg-ink);
	font: 400 16px/1.4 var(--dg-font);
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}

.dgc-form textarea {
	resize: vertical;
	min-height: 140px;
}

.dgc-form input[type="file"] {
	width: 100%;
	min-height: 50px;
	padding: 8px;
	border: 1.5px dashed #B8C7D2;
	border-radius: 8px;
	background: #fff;
	color: var(--dg-muted);
	font: 400 15px/1.4 var(--dg-font);
	cursor: pointer;
}

.dgc-form input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 16px;
	border: 0;
	border-radius: 6px;
	background: var(--dg-sky);
	color: var(--dg-brand);
	font: 600 14px/1.4 var(--dg-font);
	cursor: pointer;
}

.dgc-form input[type="file"]:hover::file-selector-button {
	background: #C5DCEB;
}

.has-error input[type="file"] {
	border-color: #B3261E;
}

.dgc-form input:hover,
.dgc-form select:hover,
.dgc-form textarea:hover {
	border-color: var(--dg-mid);
}

.dgc-form input:focus,
.dgc-form select:focus,
.dgc-form textarea:focus {
	outline: none;
	border-color: var(--dg-brand);
	box-shadow: 0 0 0 3px rgba(11, 66, 106, .18);
}

.dgc-hint {
	font-size: 13px;
	line-height: 1.5;
	color: var(--dg-muted);
	margin-top: 8px !important;
}

/* Only the "Choose all that apply" line under a checkbox question's own legend. Every form section is a fieldset too, so a bare "fieldset .dgc-hint" pulled every hint up into its input. */
.dgc-field fieldset .dgc-hint {
	margin: -2px 0 12px !important;
}

.has-error input,
.has-error select,
.has-error textarea {
	border-color: #B3261E;
}

.dgc-error {
	font-size: 14px;
	line-height: 1.5;
	color: #B3261E;
	font-weight: 500;
	margin-top: 8px !important;
}

.dgc-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dgc-form .dgc-choice {
	position: relative;
	margin: 0;
	font-weight: 500;
}

.dgc-choice input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.dgc-choice span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 14px;
	border: 1.5px solid #B8C7D2;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	transition: background-color .15s, border-color .15s, color .15s;
	cursor: pointer;
}

.dgc-choice span::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1.5px solid #8EA3B2;
	border-radius: 3px;
	background: #fff;
	flex: none;
}

.dgc-choice input[type="radio"] + span::before {
	border-radius: 50%;
}

.dgc-choice:hover span {
	border-color: var(--dg-mid);
}

.dgc-choice input:checked + span {
	background: var(--dg-brand);
	border-color: var(--dg-brand);
	color: #fff;
}

.dgc-choice input:checked + span::before {
	border-color: #fff;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%230B426A' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;
}

.dgc-choice input:focus-visible + span {
	outline: 2px solid var(--dg-brand);
	outline-offset: 2px;
}

.dgc-form .dgc-consent {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dg-ink);
	padding: 18px;
	background: var(--dg-mist);
	border-radius: 8px;
	cursor: pointer;
}

.dgc-consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--dg-brand);
}

.dgc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dgc-submit {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.dgc-submit .dgc-btn {
	min-width: 220px;
}

.dgc-submit .dgc-btn[aria-busy="true"] {
	opacity: .7;
	pointer-events: none;
}

.dgc-submit .dgc-hint {
	margin: 0 !important;
}

.dgc-done {
	background: #fff;
	border: 1px solid var(--dg-line);
	border-radius: 12px;
	padding: clamp(32px, 5vw, 56px);
	max-width: 620px;
}

.dgc-done:focus {
	outline: none;
}

.dgc-done svg {
	margin-bottom: 20px;
}

.dgc-done p {
	color: var(--dg-muted);
	margin: 12px 0 28px;
}

/* ---------- Homepage ---------- */
/* Hero: copy sits on the page grid, photo bleeds to the right edge of the screen. */
.dgh-hero {
	--half: calc(var(--dg-wrap) / 2);
	display: grid;
	grid-template-columns: minmax(20px, 1fr) minmax(0, var(--half)) minmax(0, var(--half)) minmax(20px, 1fr);
	min-height: clamp(560px, calc(100vh - 160px), 820px);
	background: #fff;
}

.dgh-hero__copy {
	grid-column: 2;
	align-self: center;
	padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 80px) clamp(56px, 7vw, 96px) 0;
}

.dgh-hero h1 {
	max-width: 14ch;
}

.dgh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.dgh-hero > .dgh-pixels {
	grid-column: 3;
	align-self: center;
	justify-self: center;
}

.dgh-pixels {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: clamp(6px, 1vw, 12px);
	max-width: 460px;
	width: 100%;
}

.dgh-pixels span {
	aspect-ratio: 1;
	border-radius: 4px;
	animation: dgh-in .6s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: var(--d);
}

.dgh-pixels .p0 { visibility: hidden; }
.dgh-pixels .p1 { background: var(--dg-brand); }
.dgh-pixels .p2 { background: var(--dg-mid); }
.dgh-pixels .p3 { background: var(--dg-sky); }
.dgh-pixels .p4 { border: 2px solid var(--dg-mid); }

@keyframes dgh-in {
	from {
		opacity: 0;
		transform: translate(-24px, 0) scale(.6);
	}
}

.dgh-services {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--dg-ink);
}

.dgh-services > li {
	margin: 0;
	padding: 28px 0 30px;
	border-bottom: 1px solid var(--dg-line);
}

.dgh-services p {
	color: var(--dg-muted);
	margin: 8px 0 16px;
	max-width: 56ch;
}

.dgh-head {
	max-width: 640px;
	margin-bottom: 56px;
}

.dgh-process {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	counter-reset: p;
}

.dgh-process li {
	counter-increment: p;
	margin: 0;
	padding-top: 24px;
	border-top: 3px solid var(--dg-brand);
}

.dgh-process li::before {
	content: "Step " counter(p);
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--dg-mid);
	margin-bottom: 10px;
}

.dgh-process p {
	color: var(--dg-muted);
	margin-top: 8px;
}

.dgh-team {
	background: var(--dg-brand);
	color: #D6E6F0;
	padding: clamp(64px, 9vw, 120px) 0;
}

.dgh-team__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.dgc-main .dgh-team h2,
.dgc-main .dgh-team h3 {
	color: #fff;
}

.dgh-team p {
	margin: 18px 0 32px;
	max-width: 50ch;
	font-size: 1.1rem;
}

.dgh-openings h3 {
	font-size: 15px;
	font-weight: 600;
	color: #D6E6F0 !important;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(214, 230, 240, .35);
}

.dgh-openings ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dgh-openings li {
	margin: 0;
	border-bottom: 1px solid rgba(214, 230, 240, .35);
}

.dgc-main .dgh-openings a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 0;
	color: #fff;
	text-decoration: none;
}

.dgh-openings a span {
	font-size: 1.2rem;
	font-weight: 600;
}

.dgh-openings a small {
	font-size: 14px;
	color: #B9CFE0;
}

.dgh-openings a:hover span {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dgh-contact__ways {
	display: grid;
	gap: 12px;
}

.dgc-main .dgh-way {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 28px;
	border: 1.5px solid var(--dg-line);
	border-radius: 10px;
	color: var(--dg-ink);
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}

.dgc-main .dgh-way:hover {
	border-color: var(--dg-brand);
	background: var(--dg-mist);
}

.dgh-way__label {
	font-size: 14px;
	color: var(--dg-muted);
}

.dgh-way__value {
	font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem);
	font-weight: 600;
	color: var(--dg-brand);
	overflow-wrap: anywhere;
}

/* Hero team photo */
.dgh-photo {
	grid-column: 3; /* Ends on the page grid, in line with the menu, not the screen edge. */
	position: relative;
	align-self: center;
	aspect-ratio: 3 / 2; /* Same shape as the photo, so nothing is cropped. */
	margin: clamp(28px, 4vw, 56px) 0;
}

.dgh-photo__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
	border-radius: 16px;
	background: var(--dg-sky);
	box-shadow: 0 30px 60px -30px rgba(11, 37, 54, .45);
}

/* Squares leave the photo over the empty wall, scattering into the white like the logo mark. */
.dgh-photo__px {
	position: absolute;
	top: 28px;
	left: -94px; /* Only the last column sits on the photo, over the wall. */
	display: grid;
	grid-template-columns: repeat(4, 26px);
	gap: 8px;
	z-index: 1;
}

.dgh-photo__px span {
	width: 26px;
	height: 26px;
	border-radius: 3px;
	animation: dgh-in .6s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: var(--d);
}

.dgh-photo__px .p0 { visibility: hidden; }
.dgh-photo__px .p1 { background: var(--dg-brand); }
.dgh-photo__px .p2 { background: var(--dg-mid); }
.dgh-photo__px .p3 { background: var(--dg-sky); }
.dgh-photo__px .p4 { border: 2px solid var(--dg-mid); background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.dgh-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.dgh-hero__copy,
	.dgh-hero > .dgh-pixels,
	.dgh-photo {
		grid-column: 1;
	}

	.dgh-hero__copy {
		padding: 48px 20px 40px;
	}

	.dgh-photo {
		margin: 0 20px 48px;
	}

	.dgh-photo__img {
		border-radius: 12px;
	}

	.dgh-photo__px {
		top: -14px;
		left: 20px;
		grid-template-columns: repeat(4, 16px);
		gap: 6px;
	}

	.dgh-photo__px span {
		width: 16px;
		height: 16px;
	}

	.dgc-split,
	.dgh-team__grid,
	.dgc-jobgrid {
		grid-template-columns: 1fr;
	}

	.dgc-split--sticky > :first-child,
	.dgc-facts {
		position: static;
	}

	/* Stacked job page: summary and Apply button first, description after. */
	.dgc-facts {
		order: -1;
	}

	.dgh-hero > .dgh-pixels {
		justify-self: start;
		max-width: 300px;
		margin: 0 20px 48px;
	}

	.dgh-process {
		grid-template-columns: 1fr 1fr;
		gap: 40px 24px;
	}

	.dgc-job a {
		grid-template-columns: 1fr 24px;
		gap: 12px 16px;
	}

	.dgc-job__main {
		grid-column: 1;
	}

	.dgc-job .dgc-tags,
	.dgc-job__date {
		grid-column: 1;
	}

	.dgc-job__go {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}

@media (max-width: 640px) {
	.dgc-main {
		font-size: 16px;
	}

	.dgc-grid,
	.dgh-process {
		grid-template-columns: 1fr;
	}

	.dgh-pixels {
		max-width: 240px;
	}


	.dgc-submit .dgc-btn,
	.dgh-actions .dgc-btn {
		width: 100%;
	}

	/* Phones: the form cards sit closer to the screen edge so fields get the width. */
	.dgc-apply .dgc-wrap {
		padding: 0 12px;
	}

	.dgc-apply__head {
		padding: 0 8px;
		margin-bottom: 28px;
	}

	.dgc-group {
		padding: 22px 16px;
		margin-bottom: 14px;
	}

	.dgc-form .dgc-group > legend {
		margin-bottom: 22px;
	}

	.dgc-grid {
		gap: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dgc-main *,
	.dgc-main *::before {
		animation: none !important;
		transition: none !important;
	}
}

.dgh-crafts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 0;
	color: #fff;
}

.dgh-crafts span {
	font-size: 1.2rem;
	font-weight: 600;
}

.dgh-crafts small {
	font-size: 14px;
	color: #B9CFE0;
	max-width: 52ch;
}
