/*
 * Career - Contact end.
 *
 * Read from cp-all-designer css/career.css:1636-1666, 1973 (.crrend).
 *
 * Colour, type, padding and the spaces arrive from the Style tab and are not
 * repeated here.
 */

.custom-career-contact-end.custom-career-contact-end[data-custom-partner-band] {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* career.css:1652-1653 — the picture fills the band; the part kept is just under its middle */
.custom-career-contact-end .custom-career-contact-end__picture {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.custom-career-contact-end .custom-career-contact-end__picture > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
}

/* career.css:1658-1661 — the veil over it, even across */
.custom-career-contact-end .custom-career-contact-end__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg,
		var(--custom-career-contact-end-veil-top, rgba(14, 30, 84, 0.9)) 0%,
		var(--custom-career-contact-end-veil-middle, rgba(14, 30, 84, 0.78)) 52%,
		var(--custom-career-contact-end-veil-foot, rgba(22, 65, 140, 0.92)) 100%);
	pointer-events: none;
}

.custom-career-contact-end .custom-career-contact-end__inner {
	position: relative;
	z-index: 2;
}

/* career.css:1973 — the buttons centred under the words */
.custom-career-contact-end .custom-career-contact-end__act {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
