/* Shared styles for the local career-pages prototype. */

:root {
	--hortim-red: #eb1b2e;
	--hortim-red-dark: #c91227;
	--hortim-ink: #303641;
	--hortim-muted: #73777d;
	--hortim-border: #e4e7ea;
	--hortim-soft: #f4f5f6;
	--hortim-card-shadow: 0 10px 30px rgba(34, 43, 54, .08);
}

.hortim-subpage {
	background: var(--hortim-soft);
	color: var(--hortim-muted);
	font-family: 'Objectivity', 'Montserrat', Arial, sans-serif;
}

.hortim-preview-page.hortim-subpage #header {
	box-sizing: border-box;
	position: relative;
	top: auto;
	left: auto;
	height: 70px;
	line-height: normal;
	overflow: visible;
	z-index: 20;
}

.hortim-subpage #logo {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	height: 70px;
}

.hortim-subpage #logo img {
	display: block;
}

.hortim-preview-page.hortim-subpage .after-header {
	margin-top: 0;
}

.hortim-subpage .container:before,
.hortim-subpage .container:after {
	display: none;
}

.hortim-subpage h1,
.hortim-subpage h2,
.hortim-subpage h3,
.hortim-subpage h4,
.hortim-subpage p,
.hortim-subpage ul {
	margin-top: 0;
}

.hortim-subpage h1,
.hortim-subpage h2,
.hortim-subpage h3,
.hortim-subpage h4 {
	color: var(--hortim-ink);
}

.hortim-subpage a {
	text-decoration: none;
}

.hortim-subpage .button {
	box-sizing: border-box;
	font-family: inherit;
	font-weight: 700;
	text-decoration: none;
}

.hortim-subpage .hortim-preview-header-nav__links a.is-active {
	color: var(--hortim-red);
	font-weight: 700;
}

.hortim-subpage .hortim-preview-header-nav > .button .icon-chevron-left {
	margin-right: 6px;
}

.prototype-page-hero {
	padding: 84px 0 92px;
	background: var(--hortim-red) url('images/bg-single-main-visual.jpg') center / cover no-repeat;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.prototype-page-hero:before {
	background: linear-gradient(105deg, rgba(203, 10, 34, .96), rgba(235, 27, 46, .82));
	content: '';
	position: absolute;
	inset: 0;
}

.prototype-page-hero__inner {
	position: relative;
	z-index: 1;
}

.prototype-page-hero__eyebrow,
.prototype-detail-hero__eyebrow {
	margin-bottom: 14px;
	color: rgba(255, 255, 255, .82);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.prototype-page-hero h1 {
	max-width: 760px;
	margin-bottom: 20px;
	color: #fff;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1.04;
	letter-spacing: -1.6px;
}

.prototype-page-hero p {
	max-width: 610px;
	margin: 0;
	color: rgba(255, 255, 255, .9);
	font-size: 17px;
	line-height: 1.65;
}

.prototype-page-hero__meta {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.prototype-page-hero__count {
	padding: 10px 15px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.prototype-main {
	padding: 58px 0 100px;
}

.prototype-breadcrumb {
	margin-bottom: 32px;
	color: #8a9096;
	font-size: 12px;
}

.prototype-breadcrumb a {
	color: var(--hortim-red);
	font-weight: 700;
}

.prototype-breadcrumb span {
	margin: 0 9px;
	color: #b6bbc0;
}

.prototype-page-intro {
	margin-bottom: 34px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.prototype-page-intro h2 {
	margin-bottom: 10px;
	font-size: 31px;
	line-height: 1.15;
}

.prototype-page-intro p {
	max-width: 690px;
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.65;
}

.prototype-inline-link {
	flex: 0 0 auto;
	color: var(--hortim-red);
	font-size: 13px;
	font-weight: 700;
}

.prototype-inline-link .icon {
	margin-left: 7px;
}

.prototype-filter {
	margin-bottom: 40px;
	padding: 15px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	box-shadow: 0 3px 12px rgba(34, 43, 54, .04);
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}

.prototype-filter__label {
	margin: 0 8px 0 4px;
	color: var(--hortim-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1px;
}

.prototype-filter__button {
	min-height: 46px;
	padding: 12px 18px;
	background: #fff;
	border: 1px solid #cfd5da;
	border-radius: 999px;
	color: var(--hortim-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .05px;
	cursor: pointer;
	transition: .2s ease;
}

.prototype-filter__button:hover,
.prototype-filter__button.is-active {
	background: var(--hortim-red);
	border-color: var(--hortim-red);
	color: #fff;
}

.prototype-filter__button strong {
	margin-left: 6px;
	color: var(--hortim-red);
	font-size: 14px;
	font-weight: 700;
}

.prototype-filter__button:not(.is-empty):not(.is-active) {
	background: #fffafa;
	border-color: rgba(235, 27, 46, .28);
}

.prototype-filter__button:not(.is-empty):not(.is-active):hover,
.prototype-filter__button:not(.is-empty):not(.is-active):focus-visible {
	background: var(--hortim-red);
	border-color: var(--hortim-red);
	color: #fff;
}

.prototype-filter__button:not(.is-empty):not(.is-active):hover strong,
.prototype-filter__button:not(.is-empty):not(.is-active):focus-visible strong {
	color: #fff;
}

.prototype-filter__button.is-active strong {
	color: #fff;
}

.prototype-filter__button.is-empty:not(.is-active) {
	background: #fff;
	border-color: #dfe3e6;
	color: #6f767c;
	font-weight: 600;
}

.prototype-filter__button.is-empty:not(.is-active) strong {
	color: #92999f;
	font-weight: 700;
}

.prototype-filter__button.is-empty:not(.is-active):hover,
.prototype-filter__button.is-empty:not(.is-active):focus-visible {
	background: #fff;
	border-color: rgba(235, 27, 46, .35);
	color: var(--hortim-red);
}

.prototype-location-section {
	margin-bottom: 54px;
}

.prototype-location-section.is-hidden {
	display: none;
}

.prototype-location-heading {
	margin-bottom: 18px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
}

.prototype-location-heading h2 {
	margin-bottom: 0;
	padding-left: 25px;
	font-size: 25px;
	line-height: 1.25;
	position: relative;
}

.prototype-location-heading h2:before {
	width: 14px;
	height: 2px;
	background: var(--hortim-red);
	content: '';
	position: absolute;
	top: 14px;
	left: 0;
}

.prototype-location-heading span {
	font-size: 12px;
}

.prototype-location-heading strong {
	color: var(--hortim-ink);
}

.prototype-job-list {
	display: grid;
	gap: 12px;
}

.prototype-job-card {
	min-height: 128px;
	padding: 18px 60px 18px 22px;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(34, 43, 54, .06);
	color: var(--hortim-muted);
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 250px;
	align-items: center;
	gap: 24px;
	position: relative;
	transition: .2s ease;
}

.prototype-job-card:hover,
.prototype-job-card:focus-visible {
	border-color: rgba(235, 27, 46, .35);
	box-shadow: var(--hortim-card-shadow);
	transform: translateY(-1px);
}

.prototype-job-card__logo {
	min-height: 74px;
	padding-right: 22px;
	border-right: 1px solid var(--hortim-border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.prototype-job-card__logo img {
	width: auto;
	max-width: 125px;
	max-height: 46px;
	object-fit: contain;
}

.prototype-job-card__content h3 {
	margin: 0;
	color: var(--hortim-ink);
	font-size: 20px;
	line-height: 1.2;
}

.prototype-job-card__content,
.prototype-job-card__meta {
	align-self: center;
}

.prototype-job-card__content p {
	max-width: 620px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

.prototype-tag-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.prototype-tag-list li {
	padding: 5px 8px;
	background: #f1f3f4;
	border: 1px solid #e2e5e8;
	border-radius: 4px;
	color: #687078;
	font-size: 10px;
	font-weight: 600;
}

.prototype-job-card__meta {
	padding-left: 22px;
	border-left: 1px solid var(--hortim-border);
	font-size: 12px;
	line-height: 1.55;
}

.prototype-job-card__meta strong,
.prototype-job-card__meta span {
	display: block;
}

.prototype-job-card__meta strong {
	margin-bottom: 5px;
	color: var(--hortim-ink);
	font-size: 12px;
}

.prototype-job-card__arrow {
	color: var(--hortim-red);
	font-size: 17px;
	position: absolute;
	top: 50%;
	right: 23px;
	transform: translateY(-50%);
}

.prototype-empty {
	padding: 0;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	gap: 24px;
	overflow: hidden;
}

.prototype-empty__message {
	padding: 30px 0 30px 30px;
}

.prototype-empty__eyebrow,
.prototype-group-links__eyebrow {
	margin-bottom: 10px;
	color: var(--hortim-red);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.prototype-empty h3 {
	margin-bottom: 8px;
	font-size: 19px;
}

.prototype-empty p {
	max-width: 650px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.6;
}

.prototype-empty__message p {
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.prototype-empty__message .prototype-button-red {
	margin-top: 2px;
}

.prototype-recruiter {
	margin: 18px 18px 18px 0;
	padding: 22px;
	background: #f7f8f9;
	border-left: 1px solid var(--hortim-border);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.prototype-recruiter__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.prototype-recruiter__avatar {
	width: 68px;
	height: 68px;
	flex: 0 0 68px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: linear-gradient(145deg, #eb1b2e 0%, #b80b1e 100%);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 3px 12px rgba(24, 31, 40, .13);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--hortim-font-display, Montserrat, sans-serif);
	font-size: 18px;
	font-weight: 700;
}

.prototype-recruiter__avatar img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100% !important;
	border-radius: 50%;
	object-fit: cover;
}

.prototype-recruiter__identity {
	min-width: 0;
}

.prototype-recruiter__label {
	display: block;
	margin-bottom: 4px;
	color: var(--hortim-red);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .55px;
	text-transform: uppercase;
}

.prototype-recruiter__identity strong,
.prototype-recruiter__identity small {
	display: block;
}

.prototype-recruiter__identity strong {
	color: var(--hortim-ink);
	font-size: 15px;
	line-height: 1.35;
}

.prototype-recruiter__identity small {
	margin-top: 4px;
	color: var(--hortim-muted);
	font-size: 11px;
	line-height: 1.45;
}

.prototype-recruiter__bubble {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--hortim-muted);
	position: relative;
}

.prototype-recruiter__quote {
	display: block;
	height: 30px;
	margin-top: 17px;
	color: var(--hortim-red);
	font-family: Georgia, serif;
	font-size: 45px;
	font-weight: 700;
	line-height: .85;
}

.prototype-recruiter__contacts {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--hortim-border);
	display: grid;
	gap: 4px;
	color: var(--hortim-ink);
	font-size: 12px;
	line-height: 1.45;
}

.prototype-recruiter__label--detail {
	max-width: 280px;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}

.prototype-recruiter--detail {
	margin: 25px 0 0;
	padding: 25px 0 0;
	background: transparent;
	border-top: 1px solid var(--hortim-border);
	border-left: 0;
	border-radius: 0;
}

.prototype-recruiter--detail .prototype-recruiter__avatar {
	width: 82px;
	height: 82px;
	flex-basis: 82px;
	font-size: 20px;
}

.prototype-recruiter--detail .prototype-recruiter__bubble {
	padding: 0;
}

.prototype-group-links {
	margin-top: 68px;
	padding: 34px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	display: block;
	position: relative;
}

/* Shared Hortim section divider: a quiet rule with the red brand mark in the centre. */
.prototype-group-links::before {
	width: 100%;
	height: 1px;
	content: '';
	background: #e9ecef;
	position: absolute;
	top: -34px;
	left: 0;
}

.prototype-group-links::after {
	width: 42px;
	height: 2px;
	content: '';
	background: var(--hortim-red);
	position: absolute;
	z-index: 1;
	top: -34.5px;
	left: 50%;
	transform: translateX(-50%);
}

.prototype-group-links__intro {
	max-width: 640px;
	margin-bottom: 26px;
}

.prototype-group-links__intro h2 {
	margin-bottom: 12px;
	color: var(--hortim-ink);
	font-family: var(--hortim-font-display, Montserrat, sans-serif);
	font-size: var(--hortim-type-subsection, 28px);
	line-height: 1.15;
}

.prototype-group-links__intro p {
	max-width: 560px;
	margin: 0;
}

.prototype-group-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.prototype-group-link {
	min-width: 0;
	min-height: 166px;
	padding: 20px;
	background: #fafbfb;
	border: 1px solid #e5e8ea;
	border-radius: 7px;
	color: var(--hortim-ink);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	transition: .2s ease;
}

.prototype-group-link--wide-logo {
	/* The wider Cargo mark uses the same stacked card rhythm as the other brands. */
	grid-template-columns: none;
}

.prototype-group-link:hover,
.prototype-group-link:focus-visible {
	background: #fff;
	border-color: rgba(235, 27, 46, .35);
	box-shadow: 0 4px 12px rgba(34, 43, 54, .08);
	transform: translateY(-1px);
}

.prototype-group-link__logo {
	width: 100%;
	height: 50px;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.prototype-group-link__logo img {
	width: auto;
	max-width: 112px;
	max-height: 46px;
	object-fit: contain;
}

.prototype-group-link--wide-logo .prototype-group-link__logo {
	width: 100%;
}

.prototype-group-link--wide-logo .prototype-group-link__logo img {
	max-width: 142px;
}

.prototype-group-link__wordmark {
	color: var(--hortim-red);
	font-family: var(--hortim-font-display, Montserrat, sans-serif);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	text-align: center;
}

.prototype-group-link__wordmark span {
	display: block;
	margin-top: 3px;
	color: var(--hortim-ink);
	font-size: 7px;
	letter-spacing: 1px;
}

.prototype-group-link__copy {
	min-width: 0;
	padding-right: 24px;
	overflow-wrap: anywhere;
}

.prototype-group-link__copy strong,
.prototype-group-link__copy small {
	display: block;
}

.prototype-group-link__copy strong {
	font-size: var(--hortim-type-lead, 16px);
	line-height: 1.3;
}

.prototype-group-link__copy small {
	margin-top: 6px;
	color: var(--hortim-muted);
	font-size: var(--hortim-type-compact, 13px);
	line-height: 1.45;
}

.prototype-group-link > .icon {
	position: absolute;
	right: 20px;
	bottom: 20px;
	color: var(--hortim-red);
	font-size: 16px;
}

/* Reserve a dedicated bottom lane for the arrow so it never sits on top of
   the copy when a company description wraps to two or three lines. */
.prototype-group-link {
	padding-bottom: 48px;
}

.prototype-cta {
	margin-top: 68px;
	background: #fff;
	border: 1px solid #e4e7e9;
	border-radius: 9px;
	box-shadow: 0 1px 3px rgba(34, 43, 54, .06);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
}

.prototype-cta--single {
	grid-template-columns: 1fr;
}

.prototype-cta--single .prototype-cta__apply {
	min-height: 250px;
	padding: 34px 50px;
}

.prototype-cta__social,
.prototype-cta__apply {
	min-height: 370px;
	padding: 48px 50px 46px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.prototype-cta__social {
	background: #fff;
}

.prototype-cta__apply {
	background: var(--hortim-red) url('images/bg-red.jpg') center / cover no-repeat;
	background-blend-mode: multiply;
	color: #fff;
}

.prototype-cta__eyebrow {
	margin-bottom: 14px;
	color: var(--hortim-red);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.prototype-cta__apply .prototype-cta__eyebrow {
	color: rgba(255, 255, 255, .82);
}

.prototype-cta h2 {
	max-width: 500px;
	margin-bottom: 18px;
	color: var(--hortim-red);
	font-size: 34px;
	line-height: 1.12;
}

.prototype-cta__apply h2 {
	color: #fff;
}

.prototype-cta p {
	max-width: 560px;
	margin: 0;
	color: var(--hortim-muted);
	font-size: 16px;
	line-height: 1.55;
}

.prototype-cta__apply p {
	color: rgba(255, 255, 255, .9);
}

.prototype-cta__facebook,
.prototype-cta__apply-button {
	margin-top: auto;
	min-height: 68px;
	padding: 0 20px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	transition: .2s ease;
}

.prototype-cta__facebook {
	min-width: min(100%, 330px);
	background: #fff;
	border: 2px solid #3d5f9d;
	color: #3d5f9d;
}

.prototype-cta__facebook:hover,
.prototype-cta__facebook:focus-visible {
	background: #f5f7fb;
	border-color: #294b86;
	color: #294b86;
}

.prototype-cta__facebook-icon {
	width: 58px;
	margin: -1px 0 -1px -20px;
	align-self: stretch;
	border-right: 2px solid currentColor;
	display: grid;
	place-items: center;
	font-family: Arial, sans-serif;
	font-size: 35px;
	line-height: 1;
}

.prototype-cta__facebook .icon,
.prototype-cta__apply-button .icon {
	margin-left: auto;
	font-size: 16px;
}

.prototype-cta__apply-button {
	min-width: 245px;
	background: #fff;
	color: var(--hortim-red);
}

.prototype-cta__apply-button:hover,
.prototype-cta__apply-button:focus-visible {
	background: #fff4f5;
	color: var(--hortim-red-dark);
}

.prototype-button-white {
	padding: 14px 18px;
	background: #fff;
	border-radius: 5px;
	color: var(--hortim-red);
	font-size: 12px;
	white-space: nowrap;
}

.prototype-button-white:hover {
	background: #fff5f6;
	color: var(--hortim-red-dark);
}

.prototype-detail-hero {
	padding: 54px 0 70px;
	background-color: transparent;
	background-image: url('images/bg-single-main-visual.jpg');
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.prototype-detail-hero:before {
	background: linear-gradient(105deg, rgba(203, 10, 34, .96), rgba(235, 27, 46, .82));
	content: '';
	position: absolute;
	inset: 0;
}

.hortim-subpage .prototype-detail-hero__eyebrow {
	margin-bottom: 12px;
	font-size: 15px;
	letter-spacing: 1.9px;
}

.prototype-detail-hero__inner {
	position: relative;
	z-index: 1;
}

.prototype-detail-hero__back {
	margin-bottom: 35px;
	color: rgba(255, 255, 255, .88);
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.prototype-detail-hero__back:hover {
	color: #fff;
}

.prototype-detail-hero__brand {
	width: 170px;
	height: 64px;
	margin-bottom: 23px;
	padding: 12px 18px;
	background: #fff;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prototype-detail-hero__brand img {
	max-width: 135px;
	max-height: 42px;
	object-fit: contain;
}

.prototype-detail-hero h1 {
	max-width: 850px;
	margin-bottom: 0;
	color: #fff;
	font-size: clamp(39px, 5vw, 66px);
	line-height: 1.04;
	letter-spacing: -1.5px;
}

.prototype-detail-hero__meta {
	margin-bottom: 0;
	color: rgba(255, 255, 255, .9);
	font-size: 14px;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}

.prototype-detail-hero__meta a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .5);
	text-underline-offset: 3px;
}

.prototype-detail-hero__summary {
	max-width: 640px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, .9);
	font-size: 17px;
	line-height: 1.6;
}

.prototype-detail-shell {
	padding: 55px 0 100px;
}

.prototype-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 55px;
	align-items: start;
}

.prototype-detail-main {
	min-width: 0;
}

.prototype-detail-aside {
	min-width: 0;
	display: grid;
	gap: 24px;
	align-content: start;
	align-self: stretch;
}

.prototype-detail-company {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 92px;
	margin: 0;
	padding: 22px 22px 20px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 10px;
	box-shadow: var(--hortim-card-shadow);
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 15px;
}

.prototype-detail-company__logo {
	width: 100%;
	height: 58px;
	flex: 0 0 58px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.prototype-detail-company__logo img {
	width: auto;
	max-width: 160px;
	max-height: 54px;
	object-fit: contain;
}

.prototype-detail-company__copy {
	min-width: 0;
	display: block;
}

.prototype-detail-company__copy strong,
.prototype-detail-company__copy small {
	display: block;
}

.prototype-detail-company__copy strong {
	color: var(--hortim-ink);
	font-size: 17px;
	line-height: 1.35;
}

.prototype-detail-company__copy small {
	margin-top: 5px;
	color: var(--hortim-muted);
	font-size: 14px;
	line-height: 1.4;
}

.prototype-detail-company__location {
	width: 100%;
	max-width: none;
	margin-left: 0;
	padding-top: 13px;
	border-top: 1px solid var(--hortim-border);
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	text-align: left;
}

.prototype-detail-company__location > span {
	color: var(--hortim-muted);
	font-size: 14px;
	line-height: 1.45;
}

.prototype-detail-company__location a {
	margin-top: 5px;
	color: var(--hortim-red);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prototype-detail-company__location a .icon {
	margin-left: 4px;
	font-size: 12px;
}

.prototype-detail-section {
	margin-bottom: 50px;
}

.prototype-detail-section h2 {
	margin-bottom: 20px;
	font-size: 28px;
	line-height: 1.2;
}

.prototype-detail-section p {
	font-size: 15px;
	line-height: 1.7;
}

.prototype-detail-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.prototype-detail-list li {
	padding: 15px 18px 15px 43px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.55;
	position: relative;
}

.prototype-detail-list li:before {
	width: 8px;
	height: 8px;
	background: var(--hortim-red);
	content: '';
	position: absolute;
	top: 22px;
	left: 20px;
	transform: rotate(45deg);
}

.prototype-work-time {
	padding: 20px 22px;
	background: #fff4f5;
	border-left: 3px solid var(--hortim-red);
	border-radius: 0 6px 6px 0;
	font-size: 14px;
	line-height: 1.6;
}

.prototype-work-time strong {
	margin-right: 4px;
	color: var(--hortim-ink);
}

.prototype-apply-card {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 28px 25px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	box-shadow: var(--hortim-card-shadow);
	position: sticky;
	top: 24px;
	margin-top: 0;
}

.prototype-apply-card h2 {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.2;
}

.prototype-apply-card p {
	margin-bottom: 22px;
	font-size: 13px;
	line-height: 1.6;
}

.prototype-apply-card .prototype-button-red {
	width: 100%;
	padding: 17px 20px;
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
}

.prototype-button-red {
	padding: 14px 18px;
	background: var(--hortim-red);
	border: 1px solid var(--hortim-red);
	border-radius: 5px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-block;
}

.prototype-button-red:hover {
	background: var(--hortim-red-dark);
	border-color: var(--hortim-red-dark);
	color: #fff;
}

.prototype-apply-card__note {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--hortim-border);
	color: #90959a;
	font-size: 11px;
	line-height: 1.55;
}

.prototype-related {
	margin-top: 25px;
	padding-top: 45px;
	border-top: 1px solid var(--hortim-border);
}

.prototype-related h2 {
	margin-bottom: 18px;
	font-size: 26px;
}

.prototype-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.prototype-related-card {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 7px;
	color: var(--hortim-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.prototype-related-card:hover {
	border-color: var(--hortim-red);
	color: var(--hortim-red);
}

.prototype-form-section {
	padding: 60px 0 105px;
}

.prototype-form-layout {
	display: grid;
	grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
	gap: 55px;
	align-items: stretch;
}

.hortim-subpage .prototype-form-intro h2 {
	max-width: 100%;
	margin-bottom: 16px;
	font-size: 29px;
	line-height: 1.2;
	letter-spacing: -.5px;
}

.prototype-form-intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: left;
}

.prototype-form-intro .prototype-page-hero__eyebrow {
	color: var(--hortim-ink);
}

.prototype-form-intro__content {
	width: min(100%, 430px);
}

.prototype-form-intro p {
	max-width: none;
	margin-bottom: 22px;
	font-size: 18px;
	line-height: 1.55;
}

.hortim-subpage .prototype-form-intro h2 {
	color: var(--hortim-red);
	font-size: 44px;
	line-height: 1.14;
}

.prototype-form-card {
	padding: 33px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	box-shadow: var(--hortim-card-shadow);
}

.prototype-form-card h2 {
	margin-bottom: 24px;
	font-size: 26px;
}

.prototype-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 19px;
}

.prototype-form-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.prototype-form-field--full {
	grid-column: 1 / -1;
}

.prototype-form-field label,
.prototype-form-field legend {
	color: var(--hortim-ink);
	font-size: 12px;
	font-weight: 700;
}

.prototype-form-field input,
.prototype-form-field select,
.prototype-form-field textarea {
	width: 100%;
	padding: 13px 14px;
	background: #fff;
	border: 1px solid #dfe3e6;
	border-radius: 5px;
	color: var(--hortim-ink);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
}

.prototype-form-field input:focus,
.prototype-form-field select:focus,
.prototype-form-field textarea:focus {
	border-color: var(--hortim-red);
	box-shadow: 0 0 0 3px rgba(235, 27, 46, .1);
}

.prototype-form-field textarea {
	min-height: 130px;
	resize: vertical;
}

.prototype-form-field input[type='file'] {
	padding: 10px;
}

.prototype-form-card__consent,
.hortim-subpage .prototype-form-card__consent {
	margin: 30px 0 22px;
	color: #8b9197;
	font-size: 11px;
	line-height: 1.55;
}

.prototype-form-card__consent a {
	color: var(--hortim-red);
	text-decoration: underline;
}

.prototype-form-card__submit {
	border: 0;
	cursor: pointer;
}

.prototype-success {
	max-width: 720px;
	margin: 0 auto;
	padding: 62px 45px;
	background: #fff;
	border-radius: 9px;
	box-shadow: var(--hortim-card-shadow);
	text-align: center;
}

.prototype-success__mark {
	width: 58px;
	height: 58px;
	margin: 0 auto 22px;
	background: #fff1f2;
	border: 2px solid var(--hortim-red);
	border-radius: 50%;
	color: var(--hortim-red);
	font-size: 25px;
	font-weight: 700;
	line-height: 54px;
}

.prototype-success h1 {
	margin-bottom: 15px;
	font-size: 38px;
	line-height: 1.15;
}

.prototype-success p {
	max-width: 520px;
	margin: 0 auto 28px;
	font-size: 15px;
	line-height: 1.7;
}

.prototype-footer {
	padding: 25px 0;
	background: #fff;
	border-top: 1px solid var(--hortim-border);
}

.prototype-footer__inner:before,
.prototype-footer__inner:after {
	display: none;
	content: none;
}

.prototype-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.prototype-footer__brand img {
	width: 184px;
	display: block;
}

.prototype-footer__inner > span,
.prototype-footer__inner > a:not(.prototype-footer__brand) {
	color: #83898f;
	font-size: 11px;
}

.prototype-footer__inner > a:not(.prototype-footer__brand):hover {
	color: var(--hortim-red);
}

.prototype-footer__socials {
	display: flex;
	align-items: center;
	gap: 10px;
}

.prototype-footer__socials a {
	color: var(--hortim-red);
	font-size: 12px;
	font-weight: 700;
}

.prototype-footer__socials img {
	width: 15px;
	height: 15px;
	object-fit: contain;
	vertical-align: middle;
}

@media (max-width: 991px) {
	.hortim-preview-page.hortim-subpage #header {
		height: auto;
		min-height: 70px;
	}

	.hortim-subpage .hortim-preview-header-nav {
		height: auto;
		padding: 15px 0;
		gap: 12px;
		flex-wrap: wrap;
	}

	.hortim-subpage .hortim-preview-header-nav__links {
		gap: 12px;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.prototype-job-card {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	.prototype-job-card__meta {
		grid-column: 2;
		padding: 15px 0 0;
		border-top: 1px solid var(--hortim-border);
		border-left: 0;
	}

	.prototype-empty {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.prototype-empty__message {
		padding-right: 30px;
	}

	.prototype-recruiter {
		margin: 0 20px 20px;
		border-top: 1px solid var(--hortim-border);
		border-left: 0;
	}

	.prototype-recruiter--detail {
		margin: 21px 0 0;
		padding: 20px 0 0;
		border-top: 1px solid var(--hortim-border);
	}

	.prototype-group-links {
		padding: 30px;
	}

	.prototype-group-links__intro p {
		max-width: 520px;
	}

	.prototype-cta__social,
	.prototype-cta__apply {
		padding: 38px 34px;
	}

	.prototype-detail-layout,
	.prototype-form-layout {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.prototype-apply-card {
		position: static;
		margin-top: 0;
	}

	/* Separate the job content from the employer block in the one-column layout. */
	.hortim-subpage .prototype-detail-aside {
		position: relative;
	}

	.hortim-subpage .prototype-detail-aside::before {
		width: 100%;
		height: 1px;
		content: '';
		background: var(--hortim-border);
		position: absolute;
		top: -28px;
		left: 0;
	}

	.hortim-subpage .prototype-detail-aside::after {
		width: 36px;
		height: 2px;
		content: '';
		background: var(--hortim-red);
		position: absolute;
		z-index: 1;
		top: -28.5px;
		left: 50%;
		transform: translateX(-50%);
	}

	.prototype-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.hortim-subpage .container {
		width: calc(100% - 30px);
	}

	.hortim-subpage #logo {
		height: 64px;
	}

	.hortim-subpage .hortim-preview-header-column {
		height: auto;
	}

	.hortim-subpage .hortim-preview-header-nav {
		justify-content: flex-end;
	}

	.hortim-subpage .hortim-preview-header-nav__links {
		max-width: 100%;
		gap: 8px 12px;
	}

	.hortim-subpage .hortim-preview-header-nav__links a {
		font-size: 10px;
	}

	.hortim-subpage .hortim-preview-header-nav > .button {
		font-size: 10px;
	}

	.prototype-page-hero {
		padding: 60px 0 65px;
	}

	.prototype-page-hero h1,
	.prototype-detail-hero h1 {
		font-size: 41px;
	}

	.prototype-page-hero p,
	.prototype-detail-hero__summary {
		font-size: 15px;
	}

	.prototype-main,
	.prototype-detail-shell,
	.prototype-form-section {
		padding-top: 38px;
		padding-bottom: 70px;
	}

	.prototype-page-intro {
		align-items: flex-start;
		flex-direction: column;
	}

	.prototype-empty__message {
		padding: 24px 20px 22px;
	}

	.prototype-recruiter {
		margin: 0 14px 14px;
		padding: 18px;
	}

	.prototype-group-links {
		margin-top: 48px;
		padding: 22px 20px;
	}

	.prototype-group-links::before {
		top: -24px;
	}

	.prototype-group-links::after {
		top: -24.5px;
	}

	.prototype-group-links__intro {
		margin-bottom: 20px;
	}

	.prototype-group-links__grid {
		grid-template-columns: 1fr;
	}

	.prototype-group-link {
		min-height: 150px;
	}

	.prototype-page-intro h2 {
		font-size: 28px;
	}

	.prototype-filter {
		align-items: stretch;
		flex-direction: column;
	}

	.prototype-filter__label {
		margin: 2px 3px 3px;
	}

	.prototype-filter__button {
		text-align: left;
	}

	.prototype-location-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.prototype-job-card {
		box-sizing: border-box;
		min-width: 0;
		padding: 20px 43px 20px 17px;
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.prototype-job-card__logo {
		min-height: 0;
		padding: 0 0 15px;
		justify-content: flex-start;
		border-right: 0;
		border-bottom: 1px solid var(--hortim-border);
	}

	.prototype-job-card__logo img {
		max-width: 115px;
		max-height: 38px;
	}

	.prototype-job-card__content h3 {
		font-size: 18px;
	}

	.prototype-job-card__content,
	.prototype-job-card__meta {
		min-width: 0;
	}

	.prototype-job-card__meta {
		grid-column: auto;
		padding: 0;
		border-top: 0;
	}

	.prototype-job-card__arrow {
		right: 16px;
	}

	.prototype-cta {
		margin-top: 48px;
		grid-template-columns: 1fr;
	}

	.prototype-cta h2 {
		font-size: 28px;
	}

	.prototype-cta__social,
	.prototype-cta__apply {
		min-height: 0;
		padding: 34px 22px;
	}

	.prototype-cta--single .prototype-cta__apply {
		min-height: 0;
		padding: 34px 22px;
	}

	.prototype-cta p {
		font-size: 14px;
	}

	.prototype-cta__facebook,
	.prototype-cta__apply-button {
		width: 100%;
		min-width: 0;
		margin-top: 28px;
		font-size: 16px;
	}

	.prototype-cta__facebook {
		gap: 10px;
		padding: 0 14px;
		font-size: 14px;
	}

	.prototype-cta__facebook-icon {
		width: 46px;
		margin-left: -14px;
		font-size: 30px;
	}

	/* Let the two CTA panels shrink with the grid on very narrow phones. */
	.prototype-cta__social,
	.prototype-cta__apply {
		box-sizing: border-box;
		min-width: 0;
	}

	.prototype-detail-hero {
		padding: 37px 0 55px;
	}

	.prototype-detail-hero__back {
		margin-bottom: 28px;
	}

	.prototype-detail-hero__brand {
		width: 145px;
		height: 55px;
	}

	.prototype-detail-hero__meta {
		gap: 9px;
		flex-direction: column;
		align-items: flex-start;
	}

	.prototype-detail-company {
		min-height: 82px;
		margin: 0;
		padding: 17px 17px 16px;
		gap: 13px;
	}

	.prototype-detail-company__logo {
		width: 100%;
		height: 48px;
		flex-basis: 48px;
	}

	.prototype-detail-company__logo img {
		max-width: 138px;
		max-height: 42px;
	}

	.prototype-detail-company__copy strong {
		font-size: 15px;
	}

	.prototype-detail-company__copy small {
		font-size: 13px;
	}

	.prototype-detail-company__location {
		width: 100%;
		max-width: none;
		margin-left: 0;
		padding-top: 11px;
		border-top: 1px solid var(--hortim-border);
		align-items: flex-start;
		text-align: left;
	}

	.prototype-detail-section h2 {
		font-size: 25px;
	}

	.prototype-related-grid,
	.prototype-form-grid {
		grid-template-columns: 1fr;
	}

	.prototype-form-card {
		padding: 23px 18px;
	}

	.hortim-subpage .prototype-form-intro h2 {
		font-size: 34px;
	}

	.prototype-form-intro p {
		font-size: 16px;
	}

	.prototype-form-field--full {
		grid-column: auto;
	}

	.prototype-success {
		padding: 45px 22px;
	}

	.prototype-success h1 {
		font-size: 31px;
	}

	.prototype-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 360px) {
	html .prototype-page-hero h1 {
		font-size: 38px;
		letter-spacing: -.7px;
	}

	html .prototype-detail-hero h1 {
		font-size: 36px;
		letter-spacing: -.7px;
	}

	/* Prevent a long related-position title from overflowing its narrow card. */
	.prototype-related-card__copy,
	.prototype-related-card__copy strong,
	.prototype-related-card__copy small {
		overflow-wrap: anywhere;
	}

}

/* Homepage uses the shared company cards directly on the page, without a second outer panel. */
.prototype-group-links--home {
	margin-top: 82px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.prototype-group-links--home::before {
	top: -42px;
}

.prototype-group-links--home::after {
	top: -42.5px;
}

@media (max-width: 767px) {
	.prototype-group-links--home {
		margin-top: 64px;
		padding: 0;
	}

	.prototype-group-links--home::before {
		top: -34px;
	}

	.prototype-group-links--home::after {
		top: -34.5px;
	}
}

/* Detail content: give the offer a clearer reading rhythm and more presence. */
.prototype-detail-section {
	margin-bottom: 36px;
}

.prototype-detail-section h2 {
	margin-bottom: 26px;
	padding-left: 18px;
	font-size: clamp(30px, 2.5vw, 38px);
	line-height: 1.15;
	position: relative;
}

.prototype-detail-section h2::before {
	width: 4px;
	height: 1.1em;
	background: var(--hortim-red);
	border-radius: 2px;
	content: '';
	position: absolute;
	top: .08em;
	left: 0;
}

.prototype-detail-list {
	gap: 0;
	border-top: 1px solid #e4e7e9;
}

.prototype-detail-list li {
	padding: 14px 22px 14px 52px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #e4e7e9;
	border-radius: 0;
	color: var(--hortim-ink);
	font-size: 17px;
	line-height: 1.4;
}

.prototype-detail-list li::before {
	width: 8px;
	height: 8px;
	top: 50%;
	left: 25px;
	transform: translateY(-50%) rotate(45deg);
}

.prototype-detail-list li:first-child {
	padding-top: 16px;
}

.prototype-detail-list li:last-child {
	padding-bottom: 16px;
}

@media (max-width: 767px) {
	.prototype-detail-section {
		margin-bottom: 32px;
	}

	.prototype-detail-section h2 {
		margin-bottom: 18px;
		padding-left: 14px;
		font-size: 27px;
	}

	.prototype-detail-list li {
		padding: 13px 15px 13px 40px;
		font-size: 16px;
		line-height: 1.4;
	}

	.prototype-detail-list li::before {
		left: 17px;
	}
}

/* Closing conversion block and related jobs should feel like intentional next steps. */
.hortim-subpage .prototype-detail-section--closing {
	margin-top: 8px;
	margin-bottom: 58px;
	padding: 40px 42px 42px;
	background: var(--hortim-red) url('images/bg-red.jpg') center / cover no-repeat;
	background-blend-mode: multiply;
	border-radius: 10px;
	color: #fff;
}

.hortim-subpage .prototype-detail-section.prototype-detail-section--closing h2 {
	margin-bottom: 18px;
	padding-left: 0;
	color: #fff;
	font-size: 30px;
}

.hortim-subpage .prototype-detail-section.prototype-detail-section--closing h2::before {
	display: none;
}

.hortim-subpage .prototype-detail-section--closing p {
	max-width: 720px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 28px;
	color: rgba(255, 255, 255, .94);
	font-size: 18px;
	line-height: 1.55;
}

.hortim-subpage .prototype-detail-section--closing .prototype-button-white {
	min-width: 250px;
	padding: 16px 22px;
	font-size: 15px;
	font-weight: 700;
}

.prototype-related {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.hortim-subpage .prototype-related h2 {
	margin-bottom: 22px;
	font-size: 26px;
	line-height: 1.15;
}

.prototype-related-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 14px;
}

.prototype-related-card {
	min-height: 112px;
	padding: 20px 56px 20px 22px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 9px;
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	transition: .2s ease;
}

.prototype-related-card:hover,
.prototype-related-card:focus-visible {
	border-color: rgba(235, 27, 46, .35);
	box-shadow: var(--hortim-card-shadow);
	transform: translateY(-1px);
}

.prototype-related-card__logo {
	box-sizing: border-box;
	width: 132px;
	height: 72px;
	flex: 0 0 132px;
	padding-right: 20px;
	border-right: 1px solid var(--hortim-border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.prototype-related-card__logo img {
	width: auto;
	max-width: 112px;
	max-height: 42px;
	object-fit: contain;
}

.prototype-related-card__copy {
	min-width: 0;
	align-self: center;
	display: block;
}

.prototype-related-card__copy strong,
.prototype-related-card__copy small {
	display: block;
}

.prototype-related-card__copy strong {
	color: var(--hortim-ink);
	font-size: 17px;
	line-height: 1.35;
}

.prototype-related-card__copy small {
	margin-top: 6px;
	color: var(--hortim-muted);
	font-size: 13px;
	line-height: 1.45;
}

.prototype-related-card__arrow {
	color: var(--hortim-red);
	font-size: 17px;
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
}

@media (max-width: 991px) {
	/* The full application card is the single CTA in the one-column layout. */
	.hortim-subpage .prototype-detail-section--closing {
		display: none;
	}
}

@media (max-width: 767px) {
	.hortim-subpage .prototype-detail-section--closing {
		margin-bottom: 44px;
		padding: 30px 24px 32px;
	}

	.hortim-subpage .prototype-detail-section.prototype-detail-section--closing h2 {
		font-size: 25px;
	}

	.hortim-subpage .prototype-related h2 {
		font-size: 24px;
	}

	.hortim-subpage .prototype-detail-section--closing p {
		font-size: 16px;
	}

	.prototype-related-card {
		min-height: 102px;
		padding: 17px 48px 17px 17px;
		gap: 14px;
		align-items: flex-start;
		flex-direction: column;
	}

	.prototype-related-card__logo {
		width: 100%;
		height: 48px;
		flex-basis: 48px;
		padding: 0 0 12px;
		border-right: 0;
		border-bottom: 1px solid var(--hortim-border);
		justify-content: flex-start;
	}

	.prototype-related-card__logo img {
		max-width: 112px;
		max-height: 38px;
	}

	.prototype-related-card__copy {
		width: 100%;
	}

	.prototype-related-card__copy strong {
		font-size: 16px;
	}

	.prototype-related-card__copy small {
		font-size: 12px;
	}
}

/* List sections use the same white card language as the rest of the career site. */
.hortim-subpage .prototype-detail-section--list {
	padding: 30px 32px 32px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(34, 43, 54, .05);
}

.hortim-subpage .prototype-detail-section--list .prototype-detail-list {
	border-top: 0;
}

.hortim-subpage .prototype-detail-section--list .prototype-detail-list li {
	padding-left: 48px;
}

.hortim-subpage .prototype-detail-section--list .prototype-detail-list li::before {
	width: auto;
	height: auto;
	background: transparent;
	content: '›';
	color: var(--hortim-red);
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	top: 50%;
	left: 22px;
	transform: translateY(-54%);
}

.hortim-subpage .prototype-detail-section.prototype-detail-section--list h2,
.hortim-subpage .prototype-detail-section.prototype-detail-section--work-time h2 {
	font-size: 30px;
	line-height: 1.2;
}

.hortim-subpage .prototype-detail-section.prototype-detail-section--work-time h2 {
	padding-left: 0;
}

.hortim-subpage .prototype-detail-section.prototype-detail-section--list h2::before,
.hortim-subpage .prototype-detail-section.prototype-detail-section--work-time h2::before {
	left: -32px;
}

.hortim-subpage .prototype-detail-section--list .prototype-detail-list li:last-child {
	border-bottom: 0;
}

.hortim-subpage .prototype-detail-section--work-time {
	padding: 30px 32px 32px;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(34, 43, 54, .05);
}

.hortim-subpage .prototype-detail-section--work-time .prototype-work-time {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--hortim-muted);
	font-size: 16px;
	line-height: 1.55;
}

.hortim-subpage .prototype-detail-section--closing p {
	max-width: none;
}

@media (min-width: 992px) {
	.hortim-subpage .prototype-detail-section--closing p {
		white-space: normal;
	}
}

@media (max-width: 767px) {
	.hortim-subpage .prototype-detail-section--list {
		padding: 24px 18px 24px;
	}

	.hortim-subpage .prototype-detail-section.prototype-detail-section--list h2,
	.hortim-subpage .prototype-detail-section.prototype-detail-section--work-time h2 {
		font-size: 25px;
	}

	.hortim-subpage .prototype-detail-section.prototype-detail-section--list h2::before,
	.hortim-subpage .prototype-detail-section.prototype-detail-section--work-time h2::before {
		left: -18px;
	}

	.hortim-subpage .prototype-detail-section--work-time {
		padding: 24px 18px 24px;
	}

	.hortim-subpage .prototype-detail-section--work-time .prototype-work-time {
		font-size: 15px;
	}

	.hortim-subpage .prototype-detail-section--list .prototype-detail-list li {
		padding-left: 37px;
	}

	.hortim-subpage .prototype-detail-section--list .prototype-detail-list li::before {
		left: 14px;
		font-size: 23px;
	}
}

/* Keep company names intact in the job list while leaving addresses flexible. */
@media (min-width: 992px) {
	.hortim-subpage .prototype-job-card {
		grid-template-columns: 150px minmax(0, 1fr) 300px;
	}
}

.hortim-subpage .prototype-job-card__meta strong {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.hortim-subpage .prototype-job-card__meta strong {
		font-size: 13px;
	}
}

/* Narrow cards must be allowed to wrap their company names instead of
   pushing the metadata underneath the chevron. */
@media (max-width: 767px) {
	.hortim-subpage .prototype-job-card__meta,
	.hortim-subpage .prototype-job-card__meta strong,
	.hortim-subpage .prototype-job-card__meta span {
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* Give the recruiter identity the full mobile card width; the old nested
   margin made the avatar and name compete for a very narrow column. */
@media (max-width: 767px) {
.hortim-subpage .prototype-apply-card .prototype-recruiter--detail {
		box-sizing: border-box;
		width: auto;
		min-width: 0;
		margin: 21px 0 0;
		padding: 20px 0 0;
	}

	.hortim-subpage .prototype-recruiter--detail .prototype-recruiter__avatar {
		width: 72px;
		height: 72px;
		flex-basis: 72px;
	}

	.hortim-subpage .prototype-recruiter--detail .prototype-recruiter__head {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
	}

	.hortim-subpage .prototype-recruiter--detail .prototype-recruiter__identity,
	.hortim-subpage .prototype-recruiter--detail .prototype-recruiter__identity strong,
	.hortim-subpage .prototype-recruiter--detail .prototype-recruiter__identity small {
		min-width: 0;
		overflow-wrap: anywhere;
		white-space: normal;
	}
}

/* The KT form engine remains responsible for validation and mail delivery;
   these rules only place its generated fields into the prototype card. */
.hortim-subpage .prototype-form-wrapper {
	margin: 0;
	padding: 0;
	background: transparent;
}

.hortim-subpage .prototype-form-wrapper .prototype-form-field {
	margin: 0;
	position: static;
}

.hortim-subpage .prototype-form-wrapper .prototype-form-field label {
	position: static;
}

.hortim-subpage .prototype-form-wrapper .prototype-form-field input,
.hortim-subpage .prototype-form-wrapper .prototype-form-field textarea {
	box-sizing: border-box;
	height: auto;
	padding: 13px 14px;
	font-size: 13px;
	font-weight: 400;
}

.hortim-subpage .prototype-form-wrapper .prototype-form-field textarea {
	min-height: 130px;
}

.hortim-subpage .prototype-form-wrapper .form-bottom {
	margin-top: 22px;
	padding: 0;
	display: block;
}

.hortim-subpage .prototype-form-wrapper .prototype-form-card__consent {
	margin: 0 0 22px;
}

.prototype-form-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

.prototype-form-actions input[type='hidden'] {
	display: none;
}

.prototype-form-actions .button {
	margin: 0;
}

.hortim-turnstile {
	min-height: 65px;
	margin-top: 20px;
}

.hortim-turnstile iframe {
	max-width: 100%;
}

.hortim-subpage .prototype-form-upload-field {
	gap: 8px;
}

.prototype-form-upload-field__label {
	color: var(--hortim-ink);
	font-size: 12px;
	font-weight: 700;
}

.prototype-form-upload-field__label small,
.prototype-form-upload-field__hint {
	color: #8b9197;
	font-size: 11px;
	font-weight: 400;
}

.prototype-form-upload-field .form-file {
	margin: 0;
}

.prototype-form-upload-field .form-file label {
	box-sizing: border-box;
	min-height: 54px;
	height: auto;
	padding: 13px 14px;
	border: 1px solid #dfe3e6;
	box-shadow: none;
	line-height: 1.35;
	cursor: pointer;
}

.prototype-form-upload-field .form-file label .icon {
	color: var(--hortim-red);
}

.prototype-form-upload-field__hint {
	display: block;
	line-height: 1.4;
}

.prototype-detail-rich-content h2 {
	margin: 28px 0 14px;
	padding-left: 18px;
	font-size: 28px;
	position: relative;
}

.prototype-detail-rich-content h2::before {
	width: 4px;
	height: 1.1em;
	background: var(--hortim-red);
	border-radius: 2px;
	content: '';
	position: absolute;
	top: .08em;
	left: 0;
}

.prototype-detail-rich-content ul {
	margin: 0;
	padding-left: 24px;
	color: var(--hortim-ink);
}

.prototype-detail-rich-content li {
	margin-bottom: 10px;
}

.prototype-empty__message .prototype-button-red + .prototype-button-red {
	margin-left: 8px;
}

@media (max-width: 767px) {
	.prototype-form-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.prototype-form-actions .button {
		width: 100%;
		margin-top: 0;
	}

	.prototype-empty__message .prototype-button-red + .prototype-button-red {
		margin-top: 10px;
		margin-left: 0;
	}

	.prototype-detail-rich-content h2 {
		font-size: 25px;
	}
}

/* Compact phones still need access to every primary destination. */
.prototype-header-menu {
	display: none;
	box-sizing: border-box;
	width: 35px;
	height: 35px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--hortim-border);
	border-radius: 5px;
	color: var(--hortim-red);
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.prototype-header-menu:focus-visible {
	outline: 2px solid var(--hortim-red);
	outline-offset: 2px;
}

.prototype-header-menu__icon {
	width: 15px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.prototype-header-menu__icon span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

@media (max-width: 991px) {
	.prototype-site-header {
		position: relative;
		z-index: 40;
		overflow: visible !important;
	}

	.prototype-site-header .hortim-preview-header-nav {
		position: relative;
		gap: 8px;
	}

	.prototype-site-header .prototype-header-menu {
		display: inline-flex;
		flex: 0 0 35px;
	}

	.prototype-site-header .hortim-preview-header-nav > .button {
		min-width: 0;
		flex: 0 1 auto;
	}

	.prototype-site-header #prototype-mobile-nav {
		box-sizing: border-box;
		width: min(280px, calc(100vw - 30px));
		max-height: calc(100vh - 84px);
		margin: 0;
		padding: 8px;
		background: #fff;
		border: 1px solid var(--hortim-border);
		border-radius: 8px;
		box-shadow: 0 12px 30px rgba(34, 43, 54, .16);
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		z-index: 50;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		overflow-y: auto;
	}

	.prototype-site-header .hortim-preview-header-nav.is-menu-open #prototype-mobile-nav {
		display: flex;
	}

	.prototype-site-header #prototype-mobile-nav a {
		box-sizing: border-box;
		width: 100%;
		padding: 12px 13px;
		border-radius: 5px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.25;
		white-space: normal;
	}

	.prototype-site-header #prototype-mobile-nav a:hover,
	.prototype-site-header #prototype-mobile-nav a:focus-visible,
	.prototype-site-header #prototype-mobile-nav a.is-active {
		background: #fff4f5;
		color: var(--hortim-red);
	}
}

@media (max-width: 767px) {
	/* Keep the full label in the accessible name, but make room for the menu control. */
	.prototype-site-header .hortim-preview-header-nav > .button .prototype-header-cta__label {
		display: inline-block;
		font-size: 0;
		line-height: 1;
	}

	.prototype-site-header .hortim-preview-header-nav > .button .prototype-header-cta__label::after {
		content: attr(data-short-label);
		font-size: 10px;
		line-height: 1;
	}
}

@media (max-width: 360px) {
	.prototype-site-header .hortim-preview-header-nav > .button .icon {
		display: none;
	}
}

/* Keep the compact mobile CTA centred even when its label is shortened. */
@media (max-width: 767px) {
	.prototype-site-header .hortim-preview-header-nav > .button {
		min-width: 78px;
		height: 40px;
		padding: 0 10px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		line-height: 1;
		font-size: 11px;
	}

	.prototype-site-header .hortim-preview-header-nav > .button .icon {
		display: inline-block;
		margin: 0;
		font-size: 10px;
		line-height: 1;
		flex: 0 0 auto;
	}

	.prototype-site-header .hortim-preview-header-nav > .button .prototype-header-cta__label::after {
		font-size: 11.5px;
		line-height: 1;
	}
}

@media (max-width: 360px) {
	.prototype-site-header .hortim-preview-header-nav > .button {
		min-width: 72px;
		height: 38px;
		padding-inline: 8px;
	}

	.prototype-site-header .hortim-preview-header-nav > .button .icon {
		display: inline-block;
	}
}

/* Keep the logo, menu button and compact CTA on one horizontal header row at
   every mobile width. Bootstrap's original column padding made the controls
   wrap below 390px. */
@media (max-width: 767px) {
	.hortim-subpage .prototype-site-header .row {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	.hortim-subpage .prototype-site-header .row > [class*="col-"]:first-child {
		width: auto;
		flex: 1 1 auto;
		min-width: 0;
	}

	.hortim-subpage .prototype-site-header .row > [class*="col-"]:last-child {
		width: auto;
		flex: 0 0 auto;
		min-width: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.hortim-subpage .prototype-site-header .hortim-preview-header-column,
	.hortim-subpage .prototype-site-header .hortim-preview-header-nav {
		width: auto;
		min-width: 0;
	}

	.hortim-subpage .prototype-site-header .hortim-preview-header-nav {
		flex-wrap: nowrap;
	}
}

/* On tablet, keep every location chip visible in a balanced 4×2 grid instead
   of leaving a single orphan chip on a second line or hiding controls in a
   horizontal scroll strip. */
@media (min-width: 768px) and (max-width: 1199px) {
	.hortim-subpage .prototype-filter {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
		overflow: visible;
	}

	.hortim-subpage .prototype-filter__label {
		grid-column: 1 / -1;
		margin: 0 2px 1px;
	}

	.hortim-subpage .prototype-filter__button {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		padding: 11px 12px;
		font-size: 13px;
		white-space: nowrap;
		text-align: center;
	}

	.hortim-subpage .prototype-job-card__logo {
		overflow: hidden;
	}

	.hortim-subpage .prototype-job-card__logo img {
		max-width: 100%;
		height: auto;
		object-fit: contain;
	}
}

/* Use the same compact filter composition just below the desktop breakpoint.
   This removes the tall one-button-per-row jump at 763 px and makes the
   767/768 transition visually continuous. */
@media (min-width: 540px) and (max-width: 767px) {
	.hortim-subpage .prototype-filter {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
		align-items: stretch;
		overflow: visible;
	}

	.hortim-subpage .prototype-filter__label {
		grid-column: 1 / -1;
		margin: 0 2px 1px;
	}

	.hortim-subpage .prototype-filter__button {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		padding: 9px 8px;
		font-size: 11px;
		white-space: nowrap;
		text-align: center;
	}
}

/* The longest locality label needs a little more breathing room at the
   narrow end of the tablet range while retaining the balanced 4×2 grid. */
@media (min-width: 540px) and (max-width: 679px) {
	.hortim-subpage .prototype-filter__button {
		padding-inline: 4px;
		font-size: 10px;
		letter-spacing: -.05px;
	}

	.hortim-subpage .prototype-filter__button strong {
		margin-left: 2px;
	}
}

@media (min-width: 540px) and (max-width: 559px) {
	.hortim-subpage .prototype-filter__button {
		padding-inline: 2px;
	}
}

/* Give the job archive hero a clear visual focal point on the right. */
.prototype-page-hero--jobs {
	min-height: 430px;
	padding: 0;
	background: var(--hortim-red) url('images/bg-single-main-visual.jpg') center / cover no-repeat;
}

.prototype-page-hero--jobs:before {
	z-index: 0;
	background: linear-gradient(105deg, rgba(203, 10, 34, .98) 0%, rgba(235, 27, 46, .88) 61%, rgba(235, 27, 46, .55) 100%);
}

.prototype-page-hero--jobs:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: 50%;
	background: linear-gradient(90deg, rgba(203, 10, 34, .58) 0%, rgba(203, 10, 34, .16) 34%, rgba(203, 10, 34, .08) 100%), url('images/kdo-jsme/kdo-jsme-01398-1200.jpg') center / cover no-repeat;
	clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.prototype-page-hero--jobs .prototype-page-hero__inner {
	box-sizing: border-box;
	min-height: 430px;
	padding-top: 60px;
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.prototype-page-hero--jobs h1 {
	max-width: 650px;
}

.prototype-page-hero--jobs p {
	max-width: 540px;
}

@media (max-width: 767px) {
	.prototype-page-hero--jobs {
		min-height: 0;
		padding: 60px 0 65px;
	}

	.prototype-page-hero--jobs:after {
		display: none;
	}

	.prototype-page-hero--jobs:before {
		background: linear-gradient(105deg, rgba(203, 10, 34, .97), rgba(235, 27, 46, .84));
	}

	.prototype-page-hero--jobs .prototype-page-hero__inner {
		min-height: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.prototype-page-hero--jobs h1 {
		max-width: 760px;
	}

	.prototype-page-hero--jobs p {
		max-width: 610px;
	}
}

/* Keep verification, privacy copy and submit action in one compact footer. */
.hortim-form-submit-row {
	box-sizing: border-box;
	width: 100%;
	margin-top: 20px;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 18px;
}

.hortim-subpage .prototype-form-wrapper .form-bottom.hortim-form-submit-row {
	display: grid;
	margin-top: 20px;
	padding: 0;
}

.hortim-form-submit-row__left {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 16px;
}

.hortim-form-submit-row .hortim-turnstile {
	flex: 0 0 300px;
	min-height: 65px;
	margin: 0;
}

.hortim-form-submit-row .prototype-form-card__consent,
.hortim-form-submit-row .form-gdpr-note {
	min-width: 0;
	margin: 0;
	color: #8b9197;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
}

.hortim-form-submit-row .prototype-form-card__consent a,
.hortim-form-submit-row .form-gdpr-note a {
	color: var(--hortim-red);
	text-decoration: underline;
}

.hortim-form-submit-row .prototype-form-actions {
	flex: 0 0 auto;
}

.hortim-form-submit-row .button {
	margin-left: 0;
}

.modal-inner .hortim-form-submit-row {
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 12px;
}

.modal-inner .hortim-form-submit-row__left {
	align-items: flex-start;
	flex-direction: column;
	gap: 10px;
}

.modal-inner .hortim-form-submit-row .hortim-turnstile {
	flex-basis: auto;
}

.modal-inner .hortim-form-submit-row .button {
	width: 100%;
	margin-left: 0;
}

@media (max-width: 991px) {
	.hortim-form-submit-row {
		grid-template-columns: 1fr;
		align-items: stretch;
		gap: 12px;
	}

	.hortim-form-submit-row__left {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.hortim-form-submit-row .hortim-turnstile {
		flex-basis: auto;
	}

	.hortim-form-submit-row .prototype-form-actions {
		justify-content: flex-start;
	}

	.hortim-form-submit-row .button {
		width: 100%;
	}
}

/* Make it explicit which job the applicant selected before opening the contact form. */
.prototype-selected-job {
	box-sizing: border-box;
	margin: -6px 0 20px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: #fff7f8;
	border: 1px solid rgba(235, 27, 46, .18);
	border-left: 3px solid var(--hortim-red);
	border-radius: 6px;
}

.prototype-selected-job__copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.prototype-selected-job__label {
	color: var(--hortim-red);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: uppercase;
}

.prototype-selected-job__copy strong {
	min-width: 0;
	color: var(--hortim-ink);
	font-size: 15px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.prototype-selected-job__copy small {
	color: #8b9197;
	font-size: 11px;
	line-height: 1.4;
}

.prototype-selected-job__link {
	flex: 0 0 auto;
	color: var(--hortim-red);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.prototype-selected-job__link .icon {
	margin-left: 5px;
}

@media (max-width: 767px) {
	.prototype-selected-job {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

/* Keep the privacy notice below the verification and submit controls. */
.hortim-subpage .prototype-form-wrapper .hortim-form-consent-bottom {
	box-sizing: border-box;
	width: 100%;
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.45;
}

/* Keep async form feedback in the same visual language as the form card. */
.hortim-async-status {
	box-sizing: border-box;
	margin: 0 0 22px;
	padding: 18px 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #f5fbf7;
	border: 1px solid rgba(25, 135, 84, .2);
	border-radius: 6px;
}

.hortim-async-status[hidden] {
	display: none;
}

.hortim-async-status--error {
	background: #fff7f8;
	border-color: rgba(235, 27, 46, .2);
}

.hortim-async-status__mark {
	box-sizing: border-box;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #198754;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.hortim-async-status--error .hortim-async-status__mark {
	background: var(--hortim-red);
}

.hortim-async-status__copy {
	min-width: 0;
}

.hortim-async-status__copy strong {
	display: block;
	color: var(--hortim-ink);
	font-size: 16px;
	line-height: 1.3;
}

.hortim-async-status__copy p {
	margin: 4px 0 0;
	color: #6f767d;
	font-size: 12px;
	line-height: 1.5;
}

[data-hortim-async-form] button.is-loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.hortim-async-button__spinner {
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: hortim-async-spin .7s linear infinite;
}

@keyframes hortim-async-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hortim-async-button__spinner {
		animation: none;
	}
}
