/* Careers page — extends aboutus-style premium sections */

/* Anchor target for Apply now (scroll offset below fixed header) */
#careers-application-form {
	scroll-margin-top: 120px;
}

.careers-page .title-divider {
	width: 50px;
	height: 3px;
	background-color: #ea5650;
}

/* Form + image: 40% image left, 60% form right, gap between */
.careers-apply-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 40px;
}

@media (min-width: 992px) {
	.careers-apply-row {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 56px;
		align-items: stretch;
	}

	/* Tall column so sticky image tracks full section scroll */
	.careers-apply-row .careers-form-image-wrap {
		flex: 4 1 0;
		min-width: 0;
		min-height: 0;
		align-self: stretch;
	}

	.careers-form-image-sticky {
		position: sticky;
		top: 120px;
	}

	.careers-apply-row .careers-form-wrap {
		flex: 6 1 0;
		min-width: 0;
	}
}

.careers-form-wrap {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	height: auto;
}

.careers-form-wrap h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: 700;
	color: #37404d;
	margin-bottom: 6px;
}

.careers-form-lead {
	margin-bottom: 24px;
}

.careers-form-image-wrap {
	min-height: 240px;
}

.careers-form-image-wrap .img-elegant,
.careers-form-image-sticky .img-elegant {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	object-position: center 30%;
	min-height: 360px;
	max-height: 720px;
	border-radius: var(--hamptons-img-elegant-radius, 15px);
}

@media (min-width: 992px) {
	.careers-form-image-sticky .img-elegant {
		max-height: min(calc(100vh - 140px), 1100px);
		min-height: 520px;
	}
}

/* Contact Form 7 */
.careers-page-contact-form-wrapper .wpcf7-form-control-wrap {
	display: inline-block;
	width: 100%;
}

.careers-page-contact-form-wrapper .wpcf7-form-control-wrap input,
.careers-page-contact-form-wrapper .wpcf7-form-control-wrap textarea,
.careers-page-contact-form-wrapper .wpcf7-form-control-wrap select {
	width: 100%;
	box-sizing: border-box;
}

.careers-page-contact-form-wrapper label {
	font-size: 13px;
	font-weight: 600;
	color: #37404d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	display: block;
}

/* Vacancies table */
.careers-table-wrap {
	background: #fff;
	border-radius: 14px;
	padding: 0;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.careers-table {
	margin-bottom: 0;
	font-size: 14px;
	color: #37404d;
}

.careers-table thead th {
	font-family: 'Graphie', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	border-top: none;
	border-bottom: none;
	padding: 16px 18px;
	vertical-align: middle;
	background: #13294b;
}

.careers-table tbody td {
	padding: 18px;
	vertical-align: middle;
	border-color: #eee;
}

.careers-table tbody tr:hover {
	background: #fcfcfc;
}

.careers-table-action {
	white-space: nowrap;
	width: 1%;
}

.careers-apply-btn {
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.careers-details-btn {
	display: inline-block;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	color: #13294b;
	background: transparent;
	border: 1px solid #13294b;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}

.careers-details-btn:hover,
.careers-details-btn:focus {
	color: #fff;
	background: #13294b;
	text-decoration: none;
}

/* Growth grid (navy section) */
.careers-growth .premium-text {
	color: rgba(255, 255, 255, 0.88);
}

.careers-growth-grid {
	text-align: left;
	padding-top: 40px;
	row-gap: 40px;
}

.careers-growth-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0 16px 0 0;
	height: 100%;
	text-align: left;
	
}

.careers-growth-icon-wrap {
	width: 35px;
	height: 35px;
	margin: 0 0 14px;
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	flex-shrink: 0;
}

.careers-growth-icon-wrap img {
	width: 35px;
	height: 35px;
	object-fit: contain;
	display: block;
	border: none;
	border-radius: 0;
}

.careers-growth-card-title {
	font-family: 'GabrielaStencil', serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 12px;
	line-height: 1.3;
	text-align: left;
}

.careers-growth-card-desc {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
	text-align: left;
}

@media (max-width: 991px) {
	.careers-apply-row {
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.careers-table-wrap {
		border-radius: 10px;
	}

	.careers-table {
		font-size: 13px;
	}

	.careers-table thead th,
	.careers-table tbody td {
		padding: 12px 10px;
	}
}
.wpcf7-file-chosen-name{
	display: none !important;
}