/* Home section 11 — Careers CTA (Figma node 1:7327) */

.careers-cta {
	background: var(--color-white);
	padding: 60px 0;
}

.careers-cta__inner,
body .careers-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.careers-cta__header,
body .careers-cta__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	max-width: 720px;
}

.careers-cta__title {
	font-weight: 700;
	font-size: 40px;
	line-height: normal;
	color: var(--color-navy);
}

.careers-cta__subtitle p {
	font-size: 16px;
	color: #374151;
}

.careers-cta__media {
	position: relative;
	width: 100%;
	height: 375px;
	border-radius: 20px;
	overflow: hidden;
	background: var(--color-white);
}

.careers-cta__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-cta__photo-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

/* core/button's className support lands on the wrapping <div>, while the
   actual clickable/visible chrome is its inner <a class="wp-block-button__link">;
   icons that used to be inline <img> tags now come from a CSS background
   image / ::before pseudo-element since a Button block's content is
   text-only. */
.careers-cta__play {
	position: absolute;
	left: 50%;
	top: 118px;
	transform: translateX(-50%);
	width: 140px;
	height: 139px;
}

.careers-cta__play .wp-block-button__link {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border-radius: 50%;
	background: url('../../images/section-11-careers-cta/icon-play-circle.svg') center / 100% 100% no-repeat;
}

.careers-cta__play-pill {
	position: absolute;
	left: 27.3%;
	top: 16.5%;
}

.careers-cta__play-pill .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: auto;
	background: var(--color-bg-light);
	border-radius: var(--radius-pill);
	padding: 10px 20px;
	font-family: var(--font-base);
	font-weight: 500;
	font-size: 16px;
	color: var(--color-navy);
	white-space: nowrap;
}

.careers-cta__play-pill .wp-block-button__link::before {
	content: '';
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: url('../../images/section-11-careers-cta/icon-play-arrow.svg') center / contain no-repeat;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.careers-cta__media {
		height: 260px;
	}

	.careers-cta__play {
		width: 90px;
		height: 89px;
		top: 60px;
	}

	.careers-cta__play-pill {
		left: 50%;
		top: 12px;
		transform: translateX(-50%);
	}
}

@media (max-width: 640px) {
	.careers-cta__title {
		font-size: 30px;
	}

	.careers-cta__media {
		height: 200px;
	}

	.careers-cta__play {
		width: 64px;
		height: 63px;
		top: 40px;
	}

	.careers-cta__play-pill .wp-block-button__link {
		padding: 8px 14px;
		font-size: 13px;
	}

	.careers-cta__play-pill .wp-block-button__link::before {
		width: 16px;
		height: 16px;
	}
}
