/* Extra page-section layouts (role cards, contact block) */

/* Merged rich intro + two-column sidebar (what-is-locum) */
.two-column-merged {
	padding-top: 48px;
}

.two-column-merged .logistics-grid {
	align-items: start;
}

.two-column-intro.az-rich-text {
	max-width: none;
	margin-bottom: 24px;
}

.two-column-intro.az-rich-text > p:last-child {
	margin-bottom: 0;
}

.role-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.role-card {
	height: 100%;
}

.role-card > p {
	flex: 1;
	margin-bottom: 0;
}

.role-card .btn {
	margin-top: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.role-card-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
	width: 100%;
	padding-top: 16px;
}

.role-card-title-link {
	color: inherit;
	text-decoration: none;
}

.role-card-title-link:hover {
	color: var(--secondary, #006c49);
}

.contact-block-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.contact-block-card a {
	color: var(--secondary, #006c49);
	font-weight: 600;
	text-decoration: none;
}

.contact-block-card a:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.role-card {
		align-items: center;
		text-align: center;
	}
	
	.role-card-actions {
		width: 100%;
	}
}
