#popSection {
	margin: 60px 0;
	padding-bottom: 0;
	overflow: hidden;
}

#popSection a {
	text-decoration: none;
}

.blueprint {
	margin: 40px 0;
	position: relative;
}

.blueprint-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	position: relative;
}

.blueprint-title {
	position: relative;
}

.blueprint-title-stamp {
	margin: 0;
	padding: 0;
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	color: #111827;
}

.tsk-brand-title-stamp {
	text-transform: none;
	color: #1a1a1a;
}

.blueprint-title-sub {
	font-weight: 700;
	color: #ffcc33;
	line-height: 1.2;
}

@media (max-width: 992px) {
	.blueprint-title-stamp,
	.tsk-brand-title-stamp {
		font-size: 28px;
	}
}

@media (max-width: 576px) {
	.blueprint-title-stamp,
	.tsk-brand-title-stamp {
		font-size: 24px;
	}
}

.blueprint-controls {
	display: none;
}

.blueprint-control {
	width: 40px;
	height: 43px;
	border-radius: 50%;
	background: #fff;
	color: #ffcc33;
	border: 2px solid #ffcc33;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;

	font-weight: bold;
	box-shadow: 0 2px 10px rgba(252, 176, 64, 0.1);
}

.blueprint-control:hover {
	background: #ffcc33;
	color: #fff;
	box-shadow: 0 5px 15px rgba(252, 176, 64, 0.2);
}

.blueprint-content {
	position: relative;
	padding: 10px 0 0;
}

.blueprint-slider {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	grid-auto-flow: dense;
	gap: 16px;
}

.blueprint-item {
	margin: 0;
	box-sizing: border-box;
	grid-column: span 4;
}

/* Кастомный паттерн ширин для первых 7 элементов:
   1 ряд: 5 + 4 + 3 = 12
   2 ряд: 3 + 3 + 3 + 3 = 12
*/
.blueprint-item:nth-child(1) {
	grid-column: span 5;
}

.blueprint-item:nth-child(2) {
	grid-column: span 4;
}

.blueprint-item:nth-child(3) {
	grid-column: span 3;
}

.blueprint-item:nth-child(4) {
	grid-column: span 3;
}

.blueprint-item:nth-child(5) {
	grid-column: span 3;
}

.blueprint-item:nth-child(6) {
	grid-column: span 3;
}

.blueprint-item:nth-child(7) {
	grid-column: span 3;
}

.blueprint-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.blueprint-item-inner {
	position: relative;
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.blueprint-item-inner:hover {
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	border-color: #ffcc33;
}

.blueprint-marker {
	position: absolute;
	top: 15px;
	right: 15px;
	background-color: #ffcc33;
	color: #111827;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	z-index: 2;
	box-shadow:
		0 2px 6px rgba(255, 204, 51, 0.25),
		inset 0 1px 2px rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 204, 51, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.blueprint-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	width: 32px;
	overflow: hidden;
	position: absolute;
	top: 14px;
	right: 16px;
	border-bottom: none;
	background: transparent;
	padding: 0;
}

.blueprint-image img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	transition: none;
}

.blueprint-item-inner:hover .blueprint-image img {
	transform: none;
}

.blueprint-name {
	padding: 16px 16px 16px;
	padding-right: 72px;
	text-align: left;
	flex-grow: 1;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	position: relative;
	min-height: auto;
	flex-direction: column;
}

.blueprint-name-title {
	color: #111827;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
	margin-bottom: 4px;
}

.blueprint-desc {
	font-size: 13px;
	line-height: 1.4;
	color: #6b7280;
	max-height: none;
	overflow: visible;
	display: block;
}

.blueprint-card-link:hover .blueprint-name-title {
	color: #111827;
}

@media (max-width: 1200px) {
	.blueprint-slider {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.blueprint-item,
	.blueprint-item:nth-child(3n + 1),
	.blueprint-item:nth-child(3n + 2),
	.blueprint-item:nth-child(3n + 3) {
		grid-column: span 4;
	}
}

@media (max-width: 992px) {
	.blueprint-slider {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blueprint-item,
	.blueprint-item:nth-child(3n + 1),
	.blueprint-item:nth-child(3n + 2),
	.blueprint-item:nth-child(3n + 3) {
		grid-column: span 1;
	}
}

@media (max-width: 576px) {
	.blueprint-slider {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.blueprint-header {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.blueprint-controls {
		align-self: center;
	}
}
