/* Projects list — Figma 1:264 (PC) / 1:650 (mob). Classic fluid: no max-width. */

body.std-projects-page .std-projects-crumbs-host,
body.std-projects-page #breadcrumbs {
	display: none !important;
}

body.std-projects-page #content {
	padding: 30px 0 60px !important;
	margin: 0 !important;
	background: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.std-projects-page #content #sidebar {
	display: none !important;
}

body.std-projects-page #content > .row-fluid {
	display: block !important;
	margin: 0 !important;
	width: 100% !important;
}

body.std-projects-page #content #middlecol,
body.std-projects-page #content #middlecol.sidebar_left,
body.std-projects-page #content #middlecol.sidebar_right {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.std-projects-page #content #middlecol .inside {
	padding: 0 !important;
	margin: 0 !important;
}

/* На страницах проектов не показываем «Новые поступления» и бренды */
body.std-projects-page #jshopping_module_bottom,
body.std-project-page #jshopping_module_bottom,
body.std-projects-page #brands,
body.std-project-page #brands,
body.std-projects-page .container:has(> #brands),
body.std-project-page .container:has(> #brands) {
	display: none !important;
}

.std-projects {
	font-family: Arial, Helvetica, sans-serif;
	color: #1a1a1a;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

.std-projects *,
.std-projects *::before,
.std-projects *::after {
	box-sizing: border-box;
}

.std-projects a {
	text-decoration: none;
	color: inherit;
}

.std-projects img {
	display: block;
	max-width: 100%;
}

/* —— Header —— */
.std-projects__crumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 25px;
}

.std-projects__crumb-link {
	font-size: 16px;
	line-height: 1.6;
	color: #2c6fa8;
}

.std-projects__crumb-sep {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.std-projects__crumb-current {
	font-size: 16px;
	line-height: 1.6;
	color: #8a8a8a;
}

.std-projects__intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 25px;
}

.std-projects__title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-projects__subtitle {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #707070;
}

/* —— Columns —— */
.std-projects__columns {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
	max-width: none;
}

.std-projects__main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 45px;
}

.std-projects__aside {
	flex: 0 0 305px;
	width: 305px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* —— Featured —— */
.std-projects__featured {
	display: flex;
	gap: 20px;
	align-items: stretch;
	background: #f2f2f2;
	border-radius: 5px;
	overflow: hidden;
	width: 100%;
}

.std-projects__featured-media {
	position: relative;
	flex: 0 0 522px;
	width: 522px;
	min-height: 573px;
	overflow: hidden;
	border-radius: 5px;
	background: #e5e5e5;
}

.std-projects__featured-slides {
	position: absolute;
	inset: 0;
}

.std-projects__featured-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.std-projects__featured-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.std-projects__featured-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.std-projects__slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 35px;
	height: 35px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.std-projects__slider-btn--prev { left: 15px; }
.std-projects__slider-btn--next { right: 15px; }

.std-projects__slider-count {
	position: absolute;
	left: 50%;
	bottom: 15px;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.8);
	border-radius: 5px;
	padding: 6px 12px;
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
	z-index: 2;
	white-space: nowrap;
}

.std-projects__featured-body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 30px 25px;
}

.std-projects__featured-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.std-projects__badge {
	display: inline-flex;
	align-items: center;
	background: #f2f2f2;
	border-radius: 5px;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	color: #707070;
	white-space: nowrap;
}

.std-projects__badge--featured {
	background: #d9d9d9;
	padding: 6px 12px;
}

.std-projects__badge--card {
	display: none;
}

.std-projects__featured-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-projects__featured-city {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #8a8a8a;
}

.std-projects__featured-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #707070;
}

.std-projects__meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.std-projects__meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.std-projects__meta-row img {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.std-projects__meta-label {
	flex: 1 1 0;
	min-width: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #707070;
}

.std-projects__meta-value {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a1a;
	white-space: nowrap;
}

.std-projects__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 50px;
	padding: 0 25px;
	background: #0088cc;
	border-radius: 5px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	align-self: flex-start;
	transition: background .2s ease;
}

.std-projects__btn:hover {
	background: #0077b5;
	color: #fff !important;
}

.std-projects__btn img {
	width: 18px;
	height: 18px;
}

/* —— Feed —— */
.std-projects__feed {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.std-projects__feed-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.std-projects__feed-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	white-space: nowrap;
}

.std-projects__mobile-filters {
	display: none;
}

.std-projects__sort-desktop {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.std-projects__sort-label {
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
	white-space: nowrap;
}

.std-projects__sort-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

/* Dropdowns — overlay поверх контента, без сдвига плашек снизу (Figma 1:802) */
.std-projects__feed,
.std-projects__feed-head,
.std-projects__mobile-filters,
.std-projects__sort-row,
.std-projects__sort-desktop,
.std-projects__list {
	overflow: visible;
}

.std-projects__dd {
	position: relative;
	z-index: 5;
}

.std-projects__dd.is-open {
	z-index: 50;
}

.std-projects__dd-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 45px;
	padding: 0 15px;
	width: 200px;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
	cursor: pointer;
	text-align: left;
}

.std-projects__dd-trigger--wide {
	width: 100%;
	height: 50px;
	font-weight: 700;
	line-height: 1.4;
}

.std-projects__dd-trigger img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	transition: transform 0.22s ease;
}

.std-projects__dd-trigger--wide img {
	width: 18px;
	height: 18px;
}

.std-projects__dd.is-open .std-projects__dd-trigger {
	border-color: #0088cc;
}

.std-projects__dd.is-open .std-projects__dd-trigger img {
	transform: rotate(180deg);
}

/* Панель всегда absolute — не раздвигает layout */
.std-projects__dd-panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	min-width: 100%;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	z-index: 60;
	overflow: hidden;
	padding: 6px 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px) scaleY(0.96);
	transform-origin: top center;
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		visibility 0.22s;
}

.std-projects__dd.is-open .std-projects__dd-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scaleY(1);
}

@media (prefers-reduced-motion: reduce) {
	.std-projects__dd-panel,
	.std-projects__dd-trigger img {
		transition: none;
	}
}

.std-projects__dd-option {
	display: block;
	padding: 10px 15px;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
}

.std-projects__dd-option:hover,
.std-projects__dd-option.is-active {
	background: #f2f2f2;
	color: #0088cc;
}

/* Плашка категорий (мок 1:804): поверх триггера, сортировки и карточек */
.std-projects__dd-panel--cats {
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 15px 15px 25px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.std-projects__dd--cats.is-open .std-projects__dd-trigger--wide {
	/* место в потоке сохраняем — плашка рисуется поверх, низ не прыгает */
	visibility: hidden;
	pointer-events: none;
}

.std-projects__dd-panel-head {
	position: relative;
	height: 49px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
	flex-shrink: 0;
}

.std-projects__dd-panel-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-projects__dd-close {
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.std-projects__dd-close img {
	width: 20px;
	height: 20px;
}

/* —— Cards —— */
.std-projects__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.std-projects__card {
	display: flex;
	align-items: stretch;
	gap: 20px;
	padding: 15px 20px 15px 15px;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	width: 100%;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.std-projects__card.is-filtered-out {
	display: none !important;
}

.std-projects__card-media {
	flex: 0 0 197px;
	width: 197px;
	height: 100px;
	border-radius: 5px;
	overflow: hidden;
	background: #f2f2f2;
}

.std-projects__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.std-projects__card-body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.std-projects__card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.std-projects__card-title a:hover {
	color: #0088cc;
}

.std-projects__card-city {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
}

.std-projects__card-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #707070;
}

.std-projects__card-body .std-projects__card-link {
	display: none;
}

.std-projects__card-aside {
	flex: 0 0 197px;
	width: 197px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
}

.std-projects__card-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: #0088cc !important;
	white-space: nowrap;
}

.std-projects__card-link img {
	width: 16px;
	height: 16px;
}

.std-projects__card-link:hover {
	color: #0077b5 !important;
}

.std-projects__empty {
	margin: 0;
	font-size: 16px;
	color: #707070;
}

/* —— Pagination —— */
.std-projects__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 10px;
	flex-wrap: wrap;
}

.std-projects__page {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	background: #fff;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
}

.std-projects__page.is-active {
	background: #0088cc;
	border-color: #0088cc;
	color: #fff;
}

.std-projects__page.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.std-projects__page img {
	width: 16px;
	height: 16px;
}

.std-projects__page-ellipsis {
	font-size: 16px;
	line-height: 1.6;
	color: #8a8a8a;
	padding: 0 2px;
}

/* —— Sidebar widgets —— */
.std-projects__widget {
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	padding: 20px;
	width: 100%;
}

.std-projects__widget--cats {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 30px;
}

.std-projects__widget--recent {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.std-projects__widget-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-projects__cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.std-projects__cat-list li {
	margin: 0;
	padding: 0;
}

.std-projects__cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
	border: 0;
	border-top: 1px solid #d9d9d9;
	background: transparent;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

.std-projects__feed-head {
	scroll-margin-top: 120px;
}

.std-projects__cat-list li:first-child .std-projects__cat-link {
	border-top: 0;
}

.std-projects__cat-link:hover,
.std-projects__cat-link.is-active {
	color: #0088cc;
}

.std-projects__cat-count {
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
	flex-shrink: 0;
}

.std-projects__recent {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.std-projects__recent-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.std-projects__recent-media {
	flex: 0 0 75px;
	width: 75px;
	height: 60px;
	border-radius: 5px;
	overflow: hidden;
	background: #f2f2f2;
}

.std-projects__recent-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.std-projects__recent-text {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.std-projects__recent-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a1a;
}

.std-projects__recent-city {
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
}

.std-projects__recent-item:hover .std-projects__recent-title {
	color: #0088cc;
}

/* —— Tablet —— */
@media (max-width: 1280px) {
	body.std-projects-page #content {
		padding: 30px 0 50px !important;
	}
}

@media (max-width: 1100px) {
	.std-projects__aside {
		flex-basis: 260px;
		width: 260px;
	}

	.std-projects__featured-media {
		flex-basis: 420px;
		width: 420px;
		min-height: 480px;
	}

	.std-projects__card-aside {
		flex-basis: 160px;
		width: 160px;
	}
}

/* —— Mobile (Figma 375) —— */
@media (max-width: 1023px) {
	body.std-projects-page #content {
		padding: 40px 0 !important;
	}

	.std-projects__crumbs {
		margin-bottom: 0;
	}

	.std-projects__intro {
		gap: 15px;
		margin: 0;
	}

	.std-projects__title {
		font-size: 28px;
	}

	/* Wrap intro+featured as one block with 25px gaps like mock */
	.std-projects__columns {
		flex-direction: column;
		gap: 40px;
	}

	.std-projects__main {
		gap: 40px;
		width: 100%;
	}

	.std-projects__aside {
		flex: none;
		width: 100%;
		gap: 0;
	}

	.std-projects__aside .std-projects__widget--cats {
		display: none;
	}

	.std-projects__featured {
		flex-direction: column;
		gap: 0;
	}

	.std-projects__featured-media {
		flex: none;
		width: 100%;
		min-height: 0;
		height: 313px;
		border-radius: 0;
	}

	.std-projects__featured-slide img {
		border-radius: 0;
	}

	.std-projects__slider-btn--prev { left: 10px; }
	.std-projects__slider-btn--next { right: 10px; }

	.std-projects__featured-body {
		padding: 20px 15px;
		gap: 20px;
	}

	.std-projects__featured-top {
		gap: 10px;
	}

	.std-projects__badge--featured {
		display: none;
	}

	.std-projects__featured-title {
		font-size: 18px;
	}

	.std-projects__featured-city {
		display: none;
	}

	.std-projects__btn {
		width: 100%;
		align-self: stretch;
	}

	.std-projects__feed {
		gap: 25px;
	}

	.std-projects__feed-head {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}

	.std-projects__feed-title {
		white-space: normal;
	}

	.std-projects__sort-desktop {
		display: none;
	}

	.std-projects__mobile-filters {
		display: flex;
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.std-projects__sort-row .std-projects__sort-label {
		font-size: 16px;
		line-height: 1.6;
	}

	.std-projects__sort-row .std-projects__dd {
		flex: 1 1 0;
		min-width: 0;
	}

	.std-projects__sort-row .std-projects__dd-trigger {
		width: 100%;
	}

	.std-projects__list {
		gap: 15px;
	}

	.std-projects__card {
		flex-direction: column;
		gap: 15px;
		padding: 15px;
	}

	.std-projects__card-media {
		flex: none;
		width: 100%;
		height: 160px;
	}

	.std-projects__card-body {
		gap: 10px;
	}

	.std-projects__badge--card {
		display: inline-flex;
		height: 30px;
		padding: 0 10px;
	}

	.std-projects__card-city {
		font-size: 16px;
		line-height: 1.6;
	}

	.std-projects__card-body .std-projects__card-link {
		display: inline-flex;
	}

	.std-projects__card-aside {
		display: none;
	}

	.std-projects__pager {
		padding-top: 0;
	}

	.std-projects__widget--recent {
		gap: 15px;
	}

	.std-projects__recent {
		gap: 15px;
	}

	.std-projects__recent-item {
		align-items: center;
		gap: 15px;
	}

	.std-projects__recent-media {
		flex-basis: 90px;
		width: 90px;
		height: 70px;
	}

	.std-projects__recent-text {
		gap: 5px;
	}

	.std-projects__recent-city {
		font-size: 16px;
		line-height: 1.6;
	}

	/* Categories overlay panel — Figma 1:802 / 1:804 */
	.std-projects__dd--cats {
		z-index: 5;
	}

	.std-projects__dd--cats.is-open {
		z-index: 70;
	}

	.std-projects__dd--cats .std-projects__dd-panel--cats {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		z-index: 70;
	}

	.std-projects__dd--sort.is-open {
		z-index: 65;
	}

	.std-projects__dd--cats .std-projects__cat-link {
		padding: 14px 0;
		border-top: 1px solid #d9d9d9;
	}

	.std-projects__dd--cats .std-projects__cat-list li:first-child .std-projects__cat-link {
		border-top: 1px solid #d9d9d9;
	}

	.std-projects__dd--cats .std-projects__cat-count {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 30px;
		height: 24px;
	}
}

/* Stack featured earlier on narrow desktop */
@media (max-width: 900px) and (min-width: 1024px) {
	.std-projects__featured {
		flex-direction: column;
	}

	.std-projects__featured-media {
		width: 100%;
		flex: none;
		min-height: 400px;
	}
}

/* =========================================================
   Project detail — Figma 1:455 / 1:552
   ========================================================= */

body.std-project-page .std-projects-crumbs-host,
body.std-project-page #breadcrumbs {
	display: none !important;
}

body.std-project-page #content {
	padding: 30px 0 60px !important;
	margin: 0 !important;
	background: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.std-project-page #content #sidebar {
	display: none !important;
}

body.std-project-page #content > .row-fluid {
	display: block !important;
	margin: 0 !important;
	width: 100% !important;
}

body.std-project-page #content #middlecol,
body.std-project-page #content #middlecol.sidebar_left,
body.std-project-page #content #middlecol.sidebar_right {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.std-project-page #content #middlecol .inside {
	padding: 0 !important;
	margin: 0 !important;
}

.std-project {
	font-family: Arial, Helvetica, sans-serif;
	color: #1a1a1a;
	width: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
	gap: 25px;
	box-sizing: border-box;
}

.std-project *,
.std-project *::before,
.std-project *::after {
	box-sizing: border-box;
}

.std-project a {
	text-decoration: none;
	color: inherit;
}

.std-project img {
	display: block;
	max-width: 100%;
}

.std-project__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.std-project__crumb-link {
	font-size: 16px;
	line-height: 1.6;
	color: #2c6fa8;
}

.std-project__crumb-sep {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.std-project__crumb-current {
	font-size: 16px;
	line-height: 1.6;
	color: #8a8a8a;
}

.std-project__head {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.std-project__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-project__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.std-project__meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: #707070;
}

.std-project__meta-item img {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Stage: gallery + about — classic gum */
.std-project__stage {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	width: 100%;
	min-height: 560px;
}

.std-project__gallery {
	display: flex;
	gap: 20px;
	flex: 0 0 auto;
	height: 560px;
}

.std-project__main-photo {
	flex: 0 0 496px;
	width: 496px;
	height: 560px;
	border-radius: 5px;
	overflow: hidden;
	background: #f2f2f2;
}

.std-project__main-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.std-project__thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 160px;
	width: 160px;
	height: 560px;
}

.std-project__thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 180px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	background: #f2f2f2;
}

.std-project__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.std-project__thumb--more {
	display: flex;
	flex-direction: column;
}

.std-project__thumb-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border-radius: 5px;
}

.std-project__thumb-more-count {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.std-project__thumb-more-label {
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
}

.std-project__about {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 25px;
	align-self: stretch;
}

.std-project__about-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-project__about-text {
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-size: 16px;
	line-height: 1.6;
	color: #707070;
}

.std-project__about-text p {
	margin: 0;
}

/* Similar */
.std-project__similar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 25px;
	width: 100%;
}

.std-project__similar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.std-project__similar-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.std-project__similar-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: #0088cc !important;
	white-space: nowrap;
}

.std-project__similar-all img {
	width: 16px;
	height: 16px;
}

.std-project__similar-track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	align-items: stretch;
}

.std-project__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	height: 300px;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	overflow: hidden;
}

.std-project__card-media {
	display: block;
	width: 100%;
	height: 175px;
	background: #f2f2f2;
	border-radius: 5px 5px 0 0;
	overflow: hidden;
}

.std-project__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.std-project__card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 15px;
	flex: 1 1 auto;
}

.std-project__card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a1a;
	height: 45px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.std-project__card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}

.std-project__card-city {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1.5;
	color: #8a8a8a;
}

.std-project__card-city img {
	width: 14px;
	height: 14px;
}

.std-project__card-go {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background: #f2f2f2;
	border-radius: 5px;
	flex-shrink: 0;
}

.std-project__card-go img {
	width: 16px;
	height: 16px;
}

.std-project__card:hover .std-project__card-title {
	color: #0088cc;
}

/* Lightbox */
.std-project-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.std-project-lightbox[hidden] {
	display: none !important;
}

.std-project-lightbox__img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 5px;
}

.std-project-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}

.std-project-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.85);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.std-project-lightbox__nav--prev { left: 20px; }
.std-project-lightbox__nav--next { right: 20px; }

.std-project-lightbox__count {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	background: rgba(0, 0, 0, 0.4);
	padding: 6px 12px;
	border-radius: 5px;
}

@media (max-width: 1280px) {
	.std-project__main-photo {
		flex-basis: 420px;
		width: 420px;
	}

	.std-project__stage {
		gap: 24px;
	}
}

@media (max-width: 1100px) {
	.std-project__gallery {
		flex: 1 1 auto;
		min-width: 0;
	}

	.std-project__main-photo {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}
}

/* Mobile 1:552 */
@media (max-width: 1023px) {
	body.std-project-page #content {
		padding: 40px 0 !important;
	}

	.std-project {
		gap: 40px;
	}

	.std-project__crumbs {
		gap: 5px 10px;
	}

	.std-project__meta {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.std-project__stage {
		flex-direction: column;
		gap: 25px;
		min-height: 0;
		height: auto;
	}

	.std-project__gallery {
		flex-direction: column;
		gap: 10px;
		height: auto;
		width: 100%;
	}

	.std-project__main-photo {
		flex: none;
		width: 100%;
		height: 260px;
	}

	.std-project__thumbs {
		flex-direction: row;
		flex: none;
		width: 100%;
		height: 110px;
		gap: 10px;
	}

	.std-project__thumb {
		flex: 1 1 0;
		min-width: 0;
		height: 110px;
	}

	.std-project__thumb-overlay {
		gap: 5px;
	}

	.std-project__about {
		gap: 10px;
	}

	.std-project__similar {
		gap: 15px;
		padding-top: 0;
	}

	.std-project__similar-title {
		font-size: 20px;
	}

	.std-project__similar-track {
		display: flex;
		gap: 15px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding-bottom: 4px;
	}

	.std-project__card {
		flex: 0 0 260px;
		width: 260px;
		height: auto;
		scroll-snap-align: start;
	}

	.std-project__card-media {
		height: 150px;
	}

	.std-project__card-title {
		height: auto;
		-webkit-line-clamp: 2;
	}

	.std-project__card-city {
		gap: 5px;
	}

	.std-project__card-go {
		width: 30px;
		height: 30px;
	}
}
