/*
 * Careers block — full-width background section with a 1440px content cap and
 * a white rounded card listing open job roles.
 */

.coastal-careers {
	width: 100%;
	padding: 50px 0;
	background: var(--coastal-careers-bg, #dce9f5);
}

.coastal-careers .coastal-careers__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px !important;
	margin-inline: auto;
	padding-inline: 45px;
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	text-align: center;
}

.coastal-careers__header {
	margin-bottom: 40px;
}

.coastal-careers .coastal-careers__heading {
	margin: 0;
	font-family: inherit;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.2;
	color: var(--coastal-careers-heading, #2c2c75);
}

.coastal-careers .coastal-careers__subheading {
	margin: 4px 0 0;
	font-family: inherit;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.4;
	color: var(--coastal-careers-subheading, #000);
}

.coastal-careers__card {
	box-sizing: border-box;
	width: 100%;
	padding: 40px 56px;
	border-radius: 18px;
	background: #fff;
	text-align: left;
}

.coastal-careers__roles-label {
	margin: 0 0 24px;
	font-family: inherit;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	color: #000;
}

.coastal-careers__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.coastal-careers__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid #cccccc;
}

.coastal-careers__item:last-child {
	border-bottom: 1px solid #cccccc;
}

.coastal-careers__item-info {
	min-width: 0;
}

.coastal-careers .coastal-careers__position {
	margin: 0;
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	color: #000;
}

.coastal-careers .coastal-careers__location {
	margin: 4px 0 0;
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	color: #000;
}

.coastal-careers__apply,
.coastal-careers__apply:visited {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	background: transparent;
	color: #2c2c75;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	border: 0;
	border-radius: 6px;
	transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}

.coastal-careers__apply:hover,
.coastal-careers__apply:focus-visible {
	background: rgba(44, 44, 117, 0.08);
	color: #2c2c75;
	text-decoration: none;
}

.coastal-careers__apply:focus-visible {
	outline: 2px solid #2c2c75;
	outline-offset: 2px;
}

.coastal-careers__placeholder {
	margin: 0;
	padding: 32px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
	color: #555;
	font-style: italic;
	text-align: center;
}

.editor-styles-wrapper .block-editor-block-list__layout .coastal-careers p.coastal-careers__subheading {
	margin: 4px 0 0;
}

.editor-styles-wrapper .block-editor-block-list__layout .coastal-careers p.coastal-careers__position,
.editor-styles-wrapper .block-editor-block-list__layout .coastal-careers p.coastal-careers__location {
	margin: 0;
}

.editor-styles-wrapper .block-editor-block-list__layout .coastal-careers p.coastal-careers__location {
	margin-top: 4px;
}

@media (max-width: 1024px) {
	.coastal-careers .coastal-careers__inner {
		padding-inline: 32px;
	}

	.coastal-careers__card {
		padding: 36px 40px;
	}
}

@media (max-width: 640px) {
	.coastal-careers {
		padding-block: 42px;
	}

	.coastal-careers .coastal-careers__inner {
		padding-inline: 24px;
	}

	.coastal-careers__header {
		margin-bottom: 28px;
	}

	.coastal-careers .coastal-careers__heading {
		font-size: 28px;
	}

	.coastal-careers .coastal-careers__subheading {
		font-size: 16px;
	}

	.coastal-careers__card {
		padding: 28px 20px;
		border-radius: 14px;
	}

	.coastal-careers__roles-label {
		font-size: 20px;
		margin-bottom: 16px;
	}

	.coastal-careers__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 16px 0;
	}

	.coastal-careers__apply,
	.coastal-careers__apply:visited {
		padding: 12px 20px;
	}
}
