/* RSM Directory v1.0.3 — matches UIbuilder faculty-staff styling.
   Chrome (nav/hero/footer) is provided by the theme; this styles only the list.
   Brand: #00457a blue, Montserrat headings, Nunito Sans body (loaded by Divi). */
.rsm-dir {
	--rsm-blue: #00457a;
	--rsm-blue-dark: #003158;
	--rsm-rule: #e2e8ef;
	--rsm-hover: #e9e9e9;
}
.rsm-dir-section {
	padding: 1.5em 0;
}
.rsm-dir-section + .rsm-dir-section {
	border-top: 1px solid var(--rsm-rule);
	margin-top: 1em;
}
.rsm-dir-heading {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: var(--rsm-blue);
	font-size: 2em;
	margin: 0 0 1em;
}
.rsm-dir .rsm-dir-table {
	width: 100%;
	max-width: 760px;
	border-collapse: collapse;
	font-family: 'Nunito Sans', sans-serif;
	border: none !important;
}
.rsm-dir .rsm-dir-table td {
	padding: 0.45em 0.5em 0.45em 0;
	border: none !important;
	vertical-align: baseline;
	background: transparent;
}
.rsm-dir .rsm-dir-table tr,
.rsm-dir .rsm-dir-table tbody {
	border: none !important;
	background: transparent;
}
.rsm-dir-row[data-contact] {
	cursor: pointer;
}
.rsm-dir-row:hover td {
	background: var(--rsm-hover);
}
.rsm-dir-name {
	width: 45%;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--rsm-blue);
	font-size: 0.95em;
}
.rsm-dir-name-link {
	color: var(--rsm-blue);
	text-decoration: none;
}
.rsm-dir-name-link:hover,
.rsm-dir-name-link:focus {
	color: var(--rsm-blue-dark);
	text-decoration: none;
}
.rsm-dir-website {
	display: block;
	font-size: 0.78em;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	margin-top: 0.15em;
}
.rsm-dir-website a {
	color: var(--rsm-blue);
	text-decoration: none;
}
.rsm-dir-website a:hover,
.rsm-dir-website a:focus {
	text-decoration: underline;
}
.rsm-dir-title {
	color: #333;
}
.rsm-dir-error {
	font-family: 'Nunito Sans', sans-serif;
	color: #7a2f00;
	background: #fdf3ec;
	border: 1px solid #f0d8c6;
	border-radius: 4px;
	padding: 0.75em 1em;
}
/* Mobile: stack the two cells */
@media (max-width: 640px) {
	.rsm-dir .rsm-dir-table,
	.rsm-dir .rsm-dir-table tbody,
	.rsm-dir .rsm-dir-table tr,
	.rsm-dir .rsm-dir-table td {
		display: block;
		width: 100%;
	}
	.rsm-dir .rsm-dir-table tr {
		padding: 0.5em 0;
		border-bottom: 1px solid var(--rsm-rule) !important;
	}
	.rsm-dir .rsm-dir-table td {
		padding: 0.1em 0;
	}
	.rsm-dir-name {
		font-size: 1.05em;
	}
}
