/* Карточка с изображением и заголовком — работает в любом месте страницы (без привязки к .usp_section) */

.usp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #fff;
}

.usp-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 6 / 4;
	overflow: hidden;
	border-radius: 12px;
	flex-shrink: 0;
	border: solid 1px rgba(255, 255, 255, 0.4);
}
.usp-card__media_n {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	border-radius: 12px;
	flex-shrink: 0;
	border: solid 1px rgba(255, 255, 255, 0.4);
}

.usp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.usp-card__title {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	max-width: 100%;
	padding: 10px 14px 12px;
	font-family: "Lexend", sans-serif;
	font-size: clamp(1.2rem, 2.2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	color: #fff;
	background: rgb(106 73 242 / 84%);
	border-radius: 12px 0 12px 0;
}

/* Сетка Bootstrap: отступы xs — столбик; sm/md — 2×2; lg — один ряд */
.usp-cards-row > [class*="col-"] {
	margin-bottom: 1.5rem;
}

.usp-cards-row > [class*="col-"]:last-child {
	margin-bottom: 0;
}

@media (min-width: 576px) and (max-width: 991.98px) {
	.usp-cards-row > [class*="col-"] {
		margin-bottom: 0;
	}
	.usp-cards-row > [class*="col-"]:nth-child(-n + 2) {
		margin-bottom: 1.5rem;
	}
}

@media (min-width: 992px) {
	.usp-cards-row > [class*="col-"] {
		margin-bottom: 0;
	}
}
.grg-pz {
	    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    padding-bottom: 20px;
	
}