/* Doctors row. */

.sm-docs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
	align-items: stretch;
}

/* With the centre panel present the row is deliberately asymmetric: the
   emblem column is narrower than the two cards either side of it. */
.sm-docs--emblem {
	grid-template-columns: 1fr .8fr 1fr;
}

.sm-doc {
	display: flex;
	background: var(--sm-ivory);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--sm-gold-20);
	box-shadow: 0 10px 30px rgba(27, 27, 27, .06);
	transition: transform .45s ease, box-shadow .45s ease;
}

.sm-doc:hover {
	transform: translateY(-8px);
	box-shadow: 0 26px 54px rgba(27, 27, 27, .14);
}

.sm-doc__img {
	flex: 0 0 42%;
	background-size: cover;
	background-position: top center;
	background-color: var(--sm-gold-08);
	min-height: 380px;
}

.sm-doc__info {
	padding: 24px 22px;
	min-width: 0;
}

.sm-doc__info h3 {
	font-family: var(--sm-font-head);
	font-weight: 700;
	font-size: 25px;
	color: var(--sm-burgundy);
	margin: 0 0 3px;
}

.sm-doc__info h3 a {
	color: inherit;
	text-decoration: none;
}

.sm-doc__info h3 a:hover {
	color: var(--sm-gold);
}

.sm-doc__role {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--sm-charcoal);
	margin-bottom: 14px;
}

.sm-doc__info ul {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}

.sm-doc__info li {
	font-size: 13.5px;
	color: var(--sm-text-soft);
	padding: 4px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sm-doc__info li i {
	color: var(--sm-gold);
	font-size: 13px;
	flex: 0 0 auto;
}

.sm-docs__emblem {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px dashed var(--sm-gold-40);
	border-radius: 20px;
	padding: 30px 18px;
}

.sm-docs__emblem svg,
.sm-docs__emblem img {
	margin-bottom: 16px;
}

.sm-docs__emblem p {
	font-family: var(--sm-font-head);
	font-size: 19px;
	color: var(--sm-charcoal);
	margin: 4px 0;
}

@media (max-width: 1100px) {
	.sm-docs--emblem {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sm-docs__emblem {
		grid-column: 1 / -1;
		order: 3;
	}
}

@media (max-width: 768px) {
	.sm-docs,
	.sm-docs--emblem {
		grid-template-columns: 1fr;
	}

	.sm-doc {
		flex-direction: column;
	}

	.sm-doc__img {
		min-height: 280px;
		flex-basis: auto !important;
	}
}
