.advisor-card {
	background-color: rgba(245, 243, 242, 1);
	border-radius: 10px;
	display: flex;
	padding: 10px;
	color: black;
	flex-grow: 0;
	height: 279px;
	width: 600px;
	max-width: 100%;
	box-sizing: border-box;
	position: relative;
}

a.advisor-card {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

a.advisor-card:hover {
	text-decoration: none;
	color: inherit;
	transform: scale(1.03) translateZ(0);
}

a.advisor-card:hover .advisor-name,
a.advisor-card:hover h4.advisor-name {
	color: var(--card-hover-color, #79168b) !important;
}

a.advisor-card:hover .advisor-card-chevron {
	color: var(--card-hover-color, #79168b);
}

a.advisor-card:focus {
	text-decoration: none;
	color: inherit;
}

a.advisor-card:focus-visible {
	outline: 2px solid #0072ce;
	outline-offset: 2px;
}

.advisor-card--large.advisor-card--linked {
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.advisor-card--large.advisor-card--linked:hover {
	transform: scale(1.03) translateZ(0);
}

.advisor-card--large.advisor-card--linked:hover .advisor-name,
.advisor-card--large.advisor-card--linked:hover h4.advisor-name {
	color: var(--card-hover-color, #79168b) !important;
}

.advisor-card--large.advisor-card--linked:hover .advisor-card-chevron {
	color: var(--card-hover-color, #79168b);
}

.advisor-card-content {
	position: relative;
	flex: 1;
	min-width: 0;
}

/* Tip of chevron aligns with white box right edge (box margin + scrollbar gutter). */
.advisor-card-chevron {
	position: absolute;
	/* Vertically center on the advisor name line (header m-2 + name line-height). */
	top: calc(0.5rem + (27px - 1.125rem) / 2);
	right: calc(10px + 6px);
	z-index: 4;
	color: #0072ce;
	font-size: 1.125rem;
	line-height: 1;
	pointer-events: none;
	transform: translateX(calc(-1.125rem + 0.15em));
}

.advisor-card--large .advisor-card-chevron {
	top: calc((36px - 1.25rem) / 2);
	font-size: 1.25rem;
	transform: translateX(calc(-1.25rem + 0.15em));
}

.advisor-card--large {
	width: 100%;
	height: 412px;
	max-height: 412px;
	padding: 16px;
	align-items: stretch;
	overflow: hidden;
	box-sizing: border-box;
}

.advisor-card-image {
	width: 187px;
	height: 259px;
	border-radius: 10px;
	overflow: hidden;
	margin-right: 10px;
	flex-shrink: 0;
}

.advisor-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.advisor-card--large .advisor-card-image {
	width: 280px;
	height: 380px;
	margin-right: 16px;
}

.advisor-info {
	text-align: left;
	color: black !important;
	background-color: white;
	margin: 10px;
	border-radius: 10px;
	padding: 10px;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	font-family: "IBM Plex Sans", sans-serif;
	height: 186px;
	width: 363px;
	max-width: 100%;
	position: relative;
	overflow-x: visible;
	overflow-y: visible;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #b8b8b8 #efefef;
	box-sizing: border-box;
}

.advisor-info::-webkit-scrollbar {
	width: 6px;
}

.advisor-info::-webkit-scrollbar-track {
	background: #efefef;
	border-radius: 4px;
}

.advisor-info::-webkit-scrollbar-thumb {
	background: #b8b8b8;
	border-radius: 4px;
}

.advisor-info::-webkit-scrollbar-thumb:hover {
	background: #9a9a9a;
}

.advisor-card--large > .advisor-card-content {
	height: 380px;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.advisor-card--large .advisor-card-header {
	flex-shrink: 0;
	margin: 0 10px 8px;
}

.advisor-card--large .advisor-info {
	flex: 1;
	width: auto;
	min-width: 0;
	min-height: 0;
	height: auto;
	max-height: none;
	margin: 0 10px 0 0;
	padding: 16px;
	font-size: 16px;
	line-height: 22px;
}

.advisor-card-contact {
	display: flex;
	gap: 24px;
	margin: 0 0 16px;
	padding: 0;
	font-family: 'Public Sans', sans-serif;
}

.advisor-card-contact-col {
	flex: 1;
	min-width: 0;
}

.advisor-card-contact-label {
	font-size: 16px;
	font-weight: 450;
	line-height: 22px;
	color: #1a1a1a !important;
	margin: 0 0 6px;
}

.advisor-card-contact-value {
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	color: #333 !important;
	margin: 0 0 4px;
}

.advisor-info-body {
	color: black !important;
	font-size: 16px;
	line-height: 22px;
}

.advisor-card--large .advisor-info-body a.advisor-card-bio-link {
	color: #0072ce !important;
	text-decoration: underline !important;
	cursor: pointer;
}

.advisor-card--large .advisor-info-body a.advisor-card-bio-link:hover {
	color: #005aa3 !important;
	text-decoration: underline !important;
}

.advisor-card--large .advisor-info-body a.advisor-card-bio-link:focus-visible {
	outline: 2px solid #0072ce;
	outline-offset: 2px;
}

.advisor-info p,
.advisor-card .advisor-info p {
	color: black !important;
}

.advisor-info ul {
	margin-top: 0.25rem;
	color: black !important;
}

.advisor-info li,
.advisor-card .advisor-info li {
	font-size: 16px;
	line-height: 22px;
	margin-bottom: 0.25rem;
	color: black !important;
}

.advisor-card .advisor-name,
.advisor-card h4.advisor-name {
	font-family: 'Public Sans';
	font-size: 22px;
	font-style: normal;
	font-weight: 450;
	line-height: 27px;
	color: black !important;
}

.advisor-card .academic-advisor,
.advisor-card p.academic-advisor {
	font-family: 'Public Sans';
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 20px;
	color: black !important;
	margin-bottom: 10px;
}

.advisor-card--large .advisor-name,
.advisor-card--large h4.advisor-name {
	font-size: 30px;
	line-height: 36px;
}

.advisor-card--large .academic-advisor,
.advisor-card--large p.academic-advisor {
	font-size: 18px;
	line-height: 26px;
}
