.csef-wrap {
	background: #e5e5e5;
	box-sizing: border-box;
	font-family: Montserrat, Arial, sans-serif;
	padding: 88px 20px 60px;
	width: 100%;
}

.csef-form {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	margin: 0 auto 68px;
	max-width: 1485px;
}

.csef-input,
.csef-select {
	appearance: auto;
	background-color: #f8f9fb;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: #122033;
	font-size: 20px;
	font-weight: 400;
	height: 52px;
	line-height: 1.2;
	margin: 0;
	max-width: 100%;
	padding: 0 18px;
	width: 100%;
}

.csef-input::placeholder {
	color: #8d929a;
	opacity: 1;
}

.csef-reset {
	color: #ff1747;
	font-size: 18px;
	font-weight: 400;
	justify-self: start;
	text-decoration: none;
	white-space: nowrap;
}

.csef-field-heading {
	align-self: center;
	color: #122033;
	font-size: 18px;
	font-weight: 700;
}

.csef-choice-group {
	background: #f8f9fb;
	box-sizing: border-box;
	display: grid;
	gap: 8px;
	min-height: 52px;
	padding: 12px 16px;
}

.csef-choice-title {
	color: #122033;
	font-size: 16px;
	font-weight: 700;
}

.csef-choice-group label {
	color: #122033;
	font-size: 15px;
	line-height: 1.3;
}

.csef-reset-button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	text-decoration: none;
}

.csef-reset:hover,
.csef-reset:focus {
	color: #c7002f;
	text-decoration: underline;
}

.csef-submit {
	background: #14233d;
	border: 0;
	color: #fff;
	cursor: pointer;
	height: 52px;
	padding: 0 24px;
}

.csef-results {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1580px;
}

.csef-card {
	background: #f8f8f8;
	box-sizing: border-box;
	min-width: 0;
}

.csef-card-link {
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.csef-card-link:hover,
.csef-card-link:focus {
	color: inherit;
	text-decoration: none;
}

.csef-card-image {
	background: #13233d;
	line-height: 0;
	overflow: hidden;
	width: 100%;
}

.csef-card-image img {
	aspect-ratio: 1.9 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.csef-card-body {
	box-sizing: border-box;
	flex: 1;
	padding: 18px 22px 28px;
}

.csef-card-body h3 {
	color: #333;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 26px;
}

.csef-card-date {
	color: #14233d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 16px;
}

.csef-card-body p {
	color: #2e3440;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.csef-empty {
	font-size: 20px;
	margin: 0 auto;
	max-width: 1485px;
}

.csef-pagination {
	margin: 40px auto 0;
	max-width: 1485px;
	text-align: center;
}

.csef-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.csef-pagination a,
.csef-pagination span {
	background: #fff;
	color: #14233d;
	display: block;
	min-width: 40px;
	padding: 9px 12px;
	text-decoration: none;
}

.csef-pagination .current {
	background: #14233d;
	color: #fff;
}

@media (max-width: 1200px) {
	.csef-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 44px;
	}

	.csef-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.csef-wrap {
		padding: 42px 16px;
	}

	.csef-form,
	.csef-results {
		grid-template-columns: 1fr;
	}

	.csef-input,
	.csef-select {
		font-size: 17px;
	}

	.csef-card-body h3,
	.csef-card-body p {
		font-size: 18px;
	}
}
