/* =============================================
   CAREER PAGE — /career/
   ============================================= */

.ts-career {
	font-family: var(--ts-font);
	max-width: var(--ts-max-width);
	margin: 0 auto;
	padding: 20px 40px 60px;
}

.ts-career__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* HERO — баннер с градиентом как на услугах */
.ts-career__head {
	border-radius: 25px;
	background: linear-gradient(104deg, #e4f6fb 4%, #a1c861 143%);
	padding: 56px 60px;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
}

.ts-career__title {
	font-size: 45px;
	font-weight: 600;
	color: var(--ts-dark);
	letter-spacing: -0.45px;
	margin: 0;
	line-height: 1.18;
}

.ts-career__subtitle {
	font-size: 18px;
	font-weight: 500;
	color: var(--ts-dark);
	margin: 0;
	max-width: 820px;
	line-height: 1.5;
}

/* LAYOUT — 2 колонки: фото + форма */
.ts-career__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
}

.ts-career__photo {
	border-radius: 20px;
	overflow: hidden;
	min-height: 460px;
	background: #f5fafc;
}

.ts-career__photo img {
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
	display: block;
}

.ts-career__form {
	min-width: 0;
}

/* =============================================
   JetForm — стили формы (паттерн как ts-cta__form / ts-faq__sidebar-form)
   ============================================= */
.ts-career__form .jet-fb-form-block {
	width: 100%;
}

.ts-career__form .jet-form-builder {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ts-career__form .wp-block-group.is-layout-grid {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
}

.ts-career__form .jet-form-builder-row {
	padding: 0;
	margin: 0;
}

.ts-career__form .jet-form-builder__field-wrap {
	margin: 0;
}

.ts-career__form .jet-form-builder__field-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ts-dark);
	margin: 0 0 6px 6px;
	letter-spacing: -0.1px;
}

.ts-career__form .jet-form-builder__field.text-field,
.ts-career__form .jet-form-builder__field.select-field,
.ts-career__form input[type="text"],
.ts-career__form input[type="email"],
.ts-career__form input[type="tel"],
.ts-career__form input[type="url"],
.ts-career__form input[type="number"],
.ts-career__form select {
	width: 100%;
	height: 60px;
	border: 1.5px solid #e6eef2;
	border-radius: 48px;
	padding: 12px 24px;
	font-size: 17px;
	font-weight: 600;
	font-family: var(--ts-font);
	color: var(--ts-dark);
	background: #fff;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s;
	box-sizing: border-box;
}

.ts-career__form .jet-form-builder__field.text-field::placeholder,
.ts-career__form input::placeholder {
	color: #bcbcbc;
	font-weight: 600;
}

.ts-career__form input:focus,
.ts-career__form select:focus,
.ts-career__form textarea:focus,
.ts-career__form .jet-form-builder__field:focus {
	border-color: var(--ts-cyan);
}

.ts-career__form select.jet-form-builder__field {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2322353e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 24px center;
	padding-right: 50px;
}

.ts-career__form textarea,
.ts-career__form .jet-form-builder__field.textarea-field {
	width: 100%;
	min-height: 130px;
	border: 1.5px solid #e6eef2;
	border-radius: 24px;
	padding: 16px 24px;
	font-size: 17px;
	font-weight: 600;
	font-family: var(--ts-font);
	color: var(--ts-dark);
	background: #fff;
	outline: none;
	resize: vertical;
	transition: border-color .15s;
	box-sizing: border-box;
}

.ts-career__form textarea::placeholder,
.ts-career__form .jet-form-builder__field.textarea-field::placeholder {
	color: #bcbcbc;
	font-weight: 600;
}

/* Телефонный input (intl-tel-input) */
.ts-career__form .iti {
	width: 100%;
	display: block;
}

.ts-career__form .iti input.jet-form-builder__field {
	padding-left: 96px;
}

/* File upload */
.ts-career__form .jet-form-builder__field-wrap--media-field {
	background: #fff;
	border: 1.5px dashed #c1d1d8;
	border-radius: 24px;
	padding: 14px 18px;
	transition: border-color .15s;
}

.ts-career__form .jet-form-builder__field-wrap--media-field:hover {
	border-color: var(--ts-cyan);
}

.ts-career__form input[type="file"] {
	width: 100%;
	font-family: var(--ts-font);
	color: var(--ts-dark);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	background: transparent;
	border: 0;
	padding: 0;
}

/* Checkboxes */
.ts-career__form .field-type-checkbox-field {
	margin-top: 4px;
}

.ts-career__form .jet-form-builder__field-label.for-checkbox span {
	color: var(--ts-dark) !important;
	font-size: 13px;
	font-weight: 500;
	font-family: var(--ts-font);
	line-height: 1.4;
}

.ts-career__form .jet-form-builder__field-label.for-checkbox span a {
	color: var(--ts-cyan) !important;
	text-decoration: underline;
}

.ts-career__form .jet-form-builder__field.checkboxes-field {
	accent-color: var(--ts-cyan);
}

/* Submit button */
.ts-career__form .jet-form-builder__submit-wrap {
	width: 100%;
	margin-top: 6px;
}

.ts-career__form .jet-form-builder__action-button {
	width: 100%;
	height: 64px;
	border: 0;
	border-radius: 30px;
	background: var(--ts-cyan) !important;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	font-family: var(--ts-font);
	cursor: pointer;
	transition: opacity .2s, box-shadow .2s;
	display: flex !important;
	justify-content: center !important;
	align-items: center;
}

.ts-career__form .jet-form-builder__action-button:hover {
	opacity: .92;
	box-shadow: 0 10px 24px rgba(25,156,213,.28);
}

/* Messages */
.ts-career__form .jet-form-builder-messages-wrap .jet-form-builder-message--success {
	background: #eaf7e2;
	border: 1px solid #a1c861;
	color: #2f5a1d;
	border-radius: 14px;
	padding: 14px 18px;
	font-weight: 500;
	margin-top: 10px;
}

.ts-career__form .jet-form-builder-messages-wrap .jet-form-builder-message--error {
	background: #fdecec;
	border: 1px solid #ff6b6b;
	color: #8a1c1c;
	border-radius: 14px;
	padding: 14px 18px;
	font-weight: 500;
	margin-top: 10px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
	.ts-career {
		padding: 0 20px 40px;
	}

	.ts-career__head {
		padding: 40px 30px;
	}

	.ts-career__title {
		font-size: 32px;
	}

	.ts-career__subtitle {
		font-size: 16px;
	}

	.ts-career__layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ts-career__photo,
	.ts-career__photo img {
		min-height: 320px;
	}
}

@media (max-width: 640px) {
	.ts-career__head {
		padding: 32px 22px;
	}

	.ts-career__title {
		font-size: 26px;
	}

	.ts-career__photo,
	.ts-career__photo img {
		min-height: 260px;
	}

	.ts-career__form .jet-form-builder__field.text-field,
	.ts-career__form .jet-form-builder__field.select-field,
	.ts-career__form input,
	.ts-career__form select {
		height: 54px;
		font-size: 16px;
	}

	.ts-career__form .jet-form-builder__action-button {
		height: 58px;
		font-size: 16px;
	}
}
