.agent-cards-block {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
}

.agent-card {
	display: block;
	text-decoration: none;
}

.agent-card:hover {
	text-decoration: underline;
}

.agent-card .agent-card__image {
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	position: relative;
	margin-bottom: 15px;
}

.agent-card .agent-card__image > img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media only screen and (max-width: 990px) {
	.agent-cards-block {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 800px) {
	.agent-cards-block {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 450px) {
	.agent-cards-block {
		grid-template-columns: repeat(1, 1fr);
	}
}