.trevor-icons-wrap {
	--trevor-bg: #F7F9FC;
	--trevor-card-bg: #FFFFFF;
	--trevor-heading: #0B2A5B;
	--trevor-title: #08245C;
	--trevor-text: #475467;
	--trevor-radius: 16px;
	width: 100%;
	padding: 40px;
	background: var(--trevor-bg);
	border-radius: 24px;
	box-sizing: border-box;
}

.trevor-icons-wrap *,
.trevor-icons-wrap *::before,
.trevor-icons-wrap *::after {
	box-sizing: border-box;
}

.trevor-icons-section-heading {
	margin: 0 0 22px;
	color: var(--trevor-heading);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.03em;
	text-align: left;
	word-break: keep-all;
}

.trevor-icons-section-heading-bottom {
	margin-top: 40px;
}

.trevor-icons-row {
	display: grid;
	align-items: stretch;
	width: 100%;
	gap: 20px;
}

.trevor-icons-row-top {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trevor-icons-row-bottom {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trevor-icons-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	height: 100%;
	padding: 30px;
	background: var(--trevor-card-bg);
	border-radius: var(--trevor-radius);
	text-align: center;
}

.trevor-icons-row-bottom .trevor-icons-item {
	padding: 24px;
}

.trevor-icons-shadow-yes .trevor-icons-item {
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.trevor-icons-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 170px;
	margin-bottom: 18px;
}

.trevor-icons-row-bottom .trevor-icons-image {
	height: 130px;
	margin-bottom: 16px;
}

.trevor-icons-image-tag {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.trevor-icons-title {
	min-height: 2.6em;
	margin: 0 0 10px;
	color: var(--trevor-title);
	font-size: clamp(20px, 1.7vw, 22px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.03em;
	word-break: keep-all;
}

.trevor-icons-row-bottom .trevor-icons-title {
	font-size: clamp(17px, 1.45vw, 19px);
}

.trevor-icons-description {
	margin-top: auto;
	color: var(--trevor-text);
	font-size: clamp(15px, 1.2vw, 16px);
	line-height: 1.55;
	letter-spacing: -0.02em;
	word-break: keep-all;
}

.trevor-icons-row-bottom .trevor-icons-description {
	font-size: clamp(14px, 1.05vw, 15px);
}

@media (max-width: 991px) {
	.trevor-icons-wrap {
		padding: 30px;
	}

	.trevor-icons-tablet-1 .trevor-icons-row {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.trevor-icons-tablet-2 .trevor-icons-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trevor-icons-tablet-3 .trevor-icons-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.trevor-icons-wrap {
		padding: 22px 16px;
		border-radius: 18px;
	}

	.trevor-icons-section-heading {
		margin-bottom: 16px;
		font-size: 21px;
		text-align: center;
	}

	.trevor-icons-section-heading-bottom {
		margin-top: 32px;
	}

	.trevor-icons-row {
		gap: 14px;
	}

	.trevor-icons-mobile-1 .trevor-icons-row {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.trevor-icons-mobile-2 .trevor-icons-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trevor-icons-item,
	.trevor-icons-row-bottom .trevor-icons-item {
		padding: 20px 14px;
	}

	.trevor-icons-image,
	.trevor-icons-row-bottom .trevor-icons-image {
		height: 120px;
		margin-bottom: 14px;
	}

	.trevor-icons-title,
	.trevor-icons-row-bottom .trevor-icons-title {
		min-height: 2.6em;
		font-size: 17px;
	}

	.trevor-icons-description,
	.trevor-icons-row-bottom .trevor-icons-description {
		font-size: 14px;
	}

	.trevor-icons-mobile-2 .trevor-icons-row-bottom .trevor-icons-item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 7px);
	}
}

@media (max-width: 420px) {
	.trevor-icons-mobile-2 .trevor-icons-row-bottom .trevor-icons-item:last-child:nth-child(odd) {
		width: 100%;
	}
}


/* Trevor Icons v1.0.3 adjustments */
.trevor-icons-row-top {
	margin-bottom: 15px;
}

.trevor-icons-section-heading-bottom {
	margin-top: 15px;
}

.trevor-icons-item {
	padding: 24px 24px 22px;
	overflow: hidden;
}

.trevor-icons-row-bottom .trevor-icons-item {
	padding: 20px 20px 18px;
}

.trevor-icons-image {
	height: 150px;
	margin-bottom: 12px;
	padding: 6px;
	overflow: visible;
}

.trevor-icons-row-bottom .trevor-icons-image {
	height: 118px;
	margin-bottom: 10px;
	padding: 5px;
}

.trevor-icons-image-tag {
	max-width: 88%;
	max-height: 88%;
	object-fit: contain;
}

.trevor-icons-title {
	min-height: 0;
	margin-bottom: 8px;
}

.trevor-icons-description {
	margin-top: 0;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.trevor-icons-item,
	.trevor-icons-row-bottom .trevor-icons-item {
		padding: 18px 12px;
	}

	.trevor-icons-image,
	.trevor-icons-row-bottom .trevor-icons-image {
		height: 110px;
		margin-bottom: 10px;
		padding: 4px;
	}

	.trevor-icons-title,
	.trevor-icons-row-bottom .trevor-icons-title {
		min-height: 0;
		margin-bottom: 6px;
	}
}
