.erk-ad-box__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.erk-ad-box__item {
	position: relative;
	display: flex;
	min-height: 300px;
	overflow: hidden;
	border-radius: 16px;
	background-color: #edf1f4;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.erk-ad-box__content {
	display: flex;
	position: relative;
	z-index: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	padding: 42px;
}

.erk-ad-box__content--left-top { align-items: flex-start; justify-content: flex-start; text-align: left; }
.erk-ad-box__content--right-top { align-items: flex-end; justify-content: flex-start; text-align: right; }
.erk-ad-box__content--left-bottom { align-items: flex-start; justify-content: flex-end; text-align: left; }
.erk-ad-box__content--right-bottom { align-items: flex-end; justify-content: flex-end; text-align: right; }
.erk-ad-box__content--center { align-items: center; justify-content: center; text-align: center; }

.erk-ad-box__content--right-top .erk-ad-box__button,
.erk-ad-box__content--right-bottom .erk-ad-box__button,
.erk-ad-box__content--center .erk-ad-box__button { align-self: auto; }

.erk-ad-box__title {
	margin: 0;
	color: #18212a;
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1.12;
}

.erk-ad-box__description {
	margin-top: 8px;
	color: #53616d;
	font-size: 16px;
	line-height: 1.6;
}

.erk-ad-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.erk-ad-box__button--primary {
	border-color: #f58220;
	background: #f58220;
	color: #fff;
}

.erk-ad-box__button--secondary {
	border-color: #1b2730;
	background: transparent;
	color: #1b2730;
}

.erk-ad-box__button--primary:hover {
	border-color: #1b2730;
	background: #1b2730;
	color: #fff;
}

.erk-ad-box__button--secondary:hover {
	background: #1b2730;
	color: #fff;
}

@media (max-width: 767px) {
	.erk-ad-box__items {
		grid-template-columns: 1fr;
	}

	.erk-ad-box__item {
		min-height: 260px;
	}

	.erk-ad-box__content {
		padding: 32px 24px;
	}
}
