.zo-ag {
	--zo-ag-surface: #eee8df;
	--zo-ag-surface-hover: #e7dfd4;
	--zo-ag-text: #3f3d3a;
	--zo-ag-muted: #716b63;
	--zo-ag-gap: 24px;
	color: var(--zo-ag-text);
	width: 100%;
}

.zo-ag__title {
	color: #070707;
	font-size: clamp(28px, 3vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 28px;
}

.zo-ag__grid {
	display: grid;
	gap: var(--zo-ag-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.zo-ag__item {
	list-style: none;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.zo-ag--cols-2 .zo-ag__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zo-ag--cols-3 .zo-ag__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zo-ag--cols-4 .zo-ag__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zo-ag--cols-5 .zo-ag__grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.zo-ag-card,
.zo-ag-button {
	background: var(--zo-ag-surface);
	border: 1px solid transparent;
	border-radius: 8px;
	color: var(--zo-ag-text);
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.zo-ag-card:hover,
.zo-ag-card:focus,
.zo-ag-button:hover,
.zo-ag-button:focus {
	background: var(--zo-ag-surface-hover);
	border-color: rgba(70, 63, 53, 0.12);
	color: var(--zo-ag-text);
	outline: none;
	text-decoration: none;
	transform: translateY(-1px);
}

.zo-ag-card:focus-visible,
.zo-ag-button:focus-visible {
	box-shadow: 0 0 0 3px rgba(62, 56, 48, 0.18);
}

.zo-ag-card {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	overflow: hidden;
}

.zo-ag-card__media {
	align-items: center;
	aspect-ratio: 1.15 / 1;
	display: flex;
	justify-content: center;
	padding: 34px 28px 8px;
	width: 100%;
}

.zo-ag-card__image {
	display: block;
	height: 100%;
	max-height: 230px;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.zo-ag-card__placeholder {
	align-items: center;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	display: inline-flex;
	height: 96px;
	justify-content: center;
	width: 96px;
}

.zo-ag-card__placeholder-icon {
	color: var(--zo-ag-muted);
	font-size: 36px;
	height: 36px;
	line-height: 1;
	width: 36px;
}

.zo-ag-card__title {
	display: block;
	font-size: clamp(18px, 1.65vw, 26px);
	font-weight: 400;
	line-height: 1.25;
	margin-top: auto;
	overflow-wrap: anywhere;
	padding: 18px 18px 28px;
	text-align: center;
}

.zo-ag--button {
	--zo-ag-gap: 16px 22px;
}

.zo-ag--button .zo-ag__grid {
	align-items: stretch;
}

.zo-ag-button {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	min-height: 58px;
	padding: 12px 18px;
	width: 100%;
}

.zo-ag-button__icon {
	align-items: center;
	color: var(--zo-ag-text);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 20px;
	height: 22px;
	justify-content: center;
	line-height: 1;
	width: 22px;
}

.zo-ag-button__icon svg,
.zo-ag-card__placeholder-icon svg {
	display: block;
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.zo-ag-icon-svg {
	font-size: 22px;
}

.zo-ag-card__placeholder-icon.zo-ag-icon-svg {
	font-size: 36px;
}

.zo-ag-button__title {
	display: block;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
	min-width: 0;
	overflow-wrap: anywhere;
}

.zo-ag-icon-empty::before {
	background: currentColor;
	border-radius: 999px;
	content: "";
	display: block;
	height: 6px;
	opacity: 0.5;
	width: 6px;
}

@media (max-width: 1180px) {
	.zo-ag--cols-5 .zo-ag__grid,
	.zo-ag--cols-4 .zo-ag__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.zo-ag--cols-5 .zo-ag__grid,
	.zo-ag--cols-4 .zo-ag__grid,
	.zo-ag--cols-3 .zo-ag__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zo-ag-card {
		min-height: 220px;
	}

	.zo-ag-card__media {
		padding: 26px 22px 4px;
	}
}

@media (max-width: 560px) {
	.zo-ag__title {
		font-size: 30px;
		margin-bottom: 20px;
	}

	.zo-ag__grid,
	.zo-ag--cols-5 .zo-ag__grid,
	.zo-ag--cols-4 .zo-ag__grid,
	.zo-ag--cols-3 .zo-ag__grid,
	.zo-ag--cols-2 .zo-ag__grid {
		grid-template-columns: 1fr;
	}

	.zo-ag-card {
		min-height: 210px;
	}

	.zo-ag-card__title {
		font-size: 21px;
		padding-bottom: 24px;
	}
}
