.portfolio-hero-block {
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-image:url(/wp-content/uploads/2026/03/img.webp);
	position:relative;
}

.portfolio-hero-block::before {
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	width:100%;
	height:100%;
	z-index:1;
	background:rgba(6, 6, 6, 0.35);
}

.portfolio-hero-block-wrap {
	max-width:1762px;
	width:100%;
	min-height:clamp(110px, 77.69px + 8.97vw, 250px);
	margin:0 auto;
	position:relative;
	z-index:2;
	/* padding:0 0 clamp(24px, 11.08px + 3.59vw, 80px) 0; */
	/* outline:1px solid red; */
	display:flex;
	align-items:flex-end;
}

.portfolio-table-block-wrap,
.portfolio-gallery-block-wrap {
	max-width:1762px;
	width:100%;
	margin:0 auto;	
}

.portfolio-hero-block-title {
	max-width:1415px;
	width:100%;
	font-weight: 700;
	font-size: clamp(20px, 7.08px + 3.59vw, 76px);
	color: #fff;
	padding-bottom:20px;
}

.portfolio-table-list {
	font-weight: 300;
	font-size: clamp(14px, 13.08px + 0.26vw, 18px);
	line-height: 140%;
	color: #1a1a1a;
	padding-right: 30px;
}

.portfolio-table-item {
	display: flex;
	gap: 8px;
	padding: clamp(14px, 13.54px + 0.13vw, 16px) 0;
	border-top: 1px solid rgba(10, 10, 10, 0.15);
}

.portfolio-table-item:last-child {
	border-bottom: 1px solid rgba(10, 10, 10, 0.15);
}

.portfolio-table-item-title {
	max-width: 120px;
	width: 100%;
	flex: 0 0 120px;
	display: block;
	font-weight: 600;
}

.portfolio-table-item-description {
	flex: 1 1 auto;
}

/* Галерея */
.portfolio-gallery-block {
	padding: 20px 0 0;
}

.portfolio-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.portfolio-gallery-item {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: #f5f5f5;
	aspect-ratio: 4 / 3;
}

.portfolio-gallery-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.45s ease, opacity 0.3s ease;
}

.portfolio-gallery-item:hover img {
	transform: scale(1.06);
}

.portfolio-gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.08) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.portfolio-gallery-item:hover::after {
	opacity: 1;
}

@media (max-width: 768px) {
	.portfolio-hero-block-wrap,
	.portfolio-table-block-wrap,
	.portfolio-gallery-block-wrap {
		padding:0 10px;
	}
}