/* Speciality cards. */

.sm-specs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 34px;
}

.sm-spec {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--sm-gold-16);
	box-shadow: var(--sm-shadow-card);
	transition: transform .45s ease, box-shadow .45s ease;
	scroll-margin-top: 120px;
}

.sm-spec:hover {
	transform: translateY(-10px);
	box-shadow: var(--sm-shadow-card-hover);
}

.sm-spec__img {
	height: 150px;
	background-size: cover;
	background-position: center;
	background-color: var(--sm-gold-08);
	transition: transform .6s ease;
}

.sm-spec:hover .sm-spec__img {
	transform: scale(1.08);
}

.sm-spec__body {
	padding: 22px 22px 26px;
	position: relative;
}

/* The icon badge overhangs the image edge. */
.sm-spec__ico {
	position: absolute;
	top: -26px;
	left: 22px;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--sm-gold), var(--sm-gold-dark));
	color: #fff;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 22px var(--sm-gold-40);
}

.sm-spec__body h3 {
	font-family: var(--sm-font-head);
	font-weight: 700;
	font-size: 23px;
	margin: 14px 0;
}

.sm-spec__body h3 a {
	color: inherit;
	text-decoration: none;
	transition: color .3s ease;
}

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

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

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

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

.sm-spec__link {
	font-family: var(--sm-font-btn);
	font-weight: 600;
	font-size: 13px;
	color: var(--sm-burgundy);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: gap .3s ease, color .3s ease;
}

.sm-spec__link:hover {
	gap: 12px;
	color: var(--sm-gold);
}

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

@media (max-width: 560px) {
	.sm-specs { grid-template-columns: 1fr; }
}
