.oep-spec-index {
	color: #262832;
	line-height: 1.5;
	font-family: "Source Sans Pro", sans-serif;
}

.oep-spec-index .wrapper {
	max-width: 1170px;
}

.oep-spec-hero {
	background: #790a01;
	color: #fff;
}

.oep-spec-hero h1 {
	margin: 0;
	padding: 42px 0;
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: none;
}

.oep-spec-intro-wrap {
	background: #fff;
	padding: 28px 0 10px;
}

.oep-spec-intro {
	max-width: 860px;
	margin: 0 auto 28px;
	text-align: center !important;
	font-size: 18px;
	line-height: 1.55;
	color: #3b3b3b;
}

.oep-spec-listing-wrap {
	background: #f7f1ef;
	padding: 36px 0 56px;
}

.oep-spec-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 28px;
}

.oep-spec-card {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 90px;
	padding: 22px 22px 22px 18px;
	background: #fff;
	border: 2px solid rgba(121, 10, 1, 0.12);
	border-radius: 10px;
	color: #141412;
	text-decoration: none;
	box-sizing: border-box;
}

.oep-spec-card:hover,
.oep-spec-card:focus {
	color: #141412;
	text-decoration: none;
	border-color: #790a01;
}

.oep-spec-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	color: #790a01;
}

.oep-spec-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	color: #141412;
}

.oep-spec-masters {
	background: #fff;
	padding: 48px 0 64px;
}

.oep-spec-masters h2 {
	margin: 0 0 48px;
	text-align: center;
}

.oep-spec-masters a[name="masters"] {
	display: block;
	position: relative;
	top: -12px;
}

.oep-spec-degree-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.oep-spec-degree {
	display: flex;
	flex-direction: column;
	min-height: 220px;
	padding: 32px 28px 28px;
	background: #fff;
	border: 2px solid rgba(121, 10, 1, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.oep-spec-degree:hover,
.oep-spec-degree:focus {
	background: #f2f2f2;
	color: inherit;
	text-decoration: none;
}

.oep-spec-degree:focus-visible {
	outline: 2px solid #790a01;
	outline-offset: 2px;
}

.oep-spec-degree h3 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	color: #790a01;
}

.oep-spec-degree p {
	flex: 1 1 auto;
	margin: 0 !important;
	font-size: 16px;
	line-height: 1.55;
	text-align: left !important;
	color: #3b3b3b;
}

@media screen and (max-width: 980px) {
	.oep-spec-grid,
	.oep-spec-degree-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oep-spec-hero h1 {
		font-size: 38px;
		padding: 32px 0;
	}
}

@media screen and (max-width: 680px) {
	.oep-spec-grid,
	.oep-spec-degree-grid {
		grid-template-columns: 1fr;
	}

	.oep-spec-hero h1 {
		font-size: 32px;
	}

}
