/* Projects listing + single */

.stk-projects-page__inner {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	padding: 28px 0 72px;
	font-family: TildaSans, Arial, sans-serif;
}

.stk-projects-page__hero {
	margin-bottom: 36px;
}

.stk-projects-page__title {
	margin: 12px 0 14px;
	color: #12151a;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.2;
	font-weight: 800;
}

.stk-projects-page__lead {
	margin: 0;
	max-width: 720px;
	color: #5b6470;
	font-size: 18px;
	line-height: 1.5;
}

.stk-projects-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.stk-projects-page__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e6edf3;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(18, 21, 26, 0.06);
}

.stk-projects-page__media,
.stk-projects-page__single-media {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #eef5fa center / cover no-repeat;
}

.stk-projects-page__body,
.stk-projects-page__single-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 18px 22px;
}

.stk-projects-page__card-title {
	margin: 0;
	color: #12151a;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 800;
}

.stk-projects-page__card-lead {
	margin: 0;
	color: #5b6470;
	font-size: 14px;
	line-height: 1.45;
	flex: 1;
}

.stk-projects-page__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	background: #66bbf0;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.stk-projects-page__btn:hover {
	filter: brightness(1.05);
}

.stk-projects-page__btn_ghost {
	margin-left: 10px;
	background: transparent;
	border: 2px solid #66bbf0;
	color: #66bbf0 !important;
}

.stk-projects-page__single-body {
	max-width: 760px;
	padding: 28px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: #1f2530;
}

.stk-projects-page__single-media {
	border-radius: 12px;
	max-height: 420px;
}

@media (max-width: 960px) {
	.stk-projects-page__grid {
		grid-template-columns: 1fr;
	}
}
