/* Work portfolio grid ([sh_work_grid]) */

.sh-work {
	width: 100%;
	font-family: 'Poppins', 'Roboto', sans-serif;
}

/* Tabs */
.sh-work__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	padding: 0 0 18px;
	margin: 0 0 32px;
	border-bottom: 1px solid #e6e9ee;
}
.sh-work__tab {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: #a3adb9;
	transition: color .2s ease;
}
.sh-work__tab:hover,
.sh-work__tab:focus-visible {
	color: #1c2a3a;
	outline: none;
}
.sh-work__tab.is-active {
	color: #0c1523;
}

/* Grid */
.sh-work__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px 26px;
}
.sh-work__card {
	min-width: 0;
	transition: opacity .25s ease, transform .25s ease;
}
.sh-work__card.is-hidden {
	display: none;
}
.sh-work__card.is-entering {
	opacity: 0;
	transform: translateY(10px);
}

/* Image */
.sh-work__media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #eef1f5;
	aspect-ratio: 16 / 11;
}
@supports not (aspect-ratio: 1) {
	.sh-work__media { padding-top: 68.75%; }
	.sh-work__media .sh-work__img { position: absolute; top: 0; left: 0; }
}
.sh-work__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
a.sh-work__media:hover .sh-work__img {
	transform: scale(1.03);
}
.sh-work__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a94a3;
	font-weight: 600;
	font-size: 22px;
}

/* Meta row */
.sh-work__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 14px;
}
.sh-work__title {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: #0c1523;
}
.sh-work__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
}
.sh-work__tag {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid #d6dbe3;
	border-radius: 7px;
	background: #fff;
	font-family: 'Roboto Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #0c1523;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
a.sh-work__tag:hover,
a.sh-work__tag:focus-visible {
	background: #0c1523;
	border-color: #0c1523;
	color: #fff;
}
.sh-work__tag--soon {
	color: #6b7686;
	border-style: dashed;
	cursor: default;
}

.sh-work__empty {
	margin: 24px 0 0;
	color: #8a94a3;
	text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
	.sh-work__grid { gap: 36px 20px; }
	.sh-work__title { font-size: 18px; }
}
@media (max-width: 767px) {
	.sh-work__grid { grid-template-columns: 1fr; gap: 32px; }
	.sh-work__tabs { gap: 4px 18px; }
	.sh-work__tab { font-size: 16px; }
	.sh-work__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
	.sh-work__tags { justify-content: flex-start; }
}
