.af-site-main {
	background: #f6f7f9;
}

.af-page {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1180px;
	padding: 32px 18px 56px;
}

.af-hero,
.af-provider-head {
	align-items: center;
	background: linear-gradient(135deg, #10212b, #1f4338);
	color: #fff;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: 22px;
	min-height: 240px;
	padding: 36px;
}

.af-hero h1,
.af-provider-head h1 {
	color: inherit;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.03;
	margin: 0 0 14px;
}

.af-hero p,
.af-provider-head p {
	font-size: 18px;
	margin: 0;
	max-width: 740px;
}

.af-kicker,
.af-card-provider {
	color: #70d0a5;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.af-provider-head img {
	background: #fff;
	max-height: 110px;
	max-width: 180px;
	object-fit: contain;
	padding: 16px;
}

.af-search-layout {
	align-items: start;
	display: grid;
	gap: 22px;
	grid-template-columns: 260px minmax(0, 1fr);
}

.af-search-layout-no-filter {
	grid-template-columns: 1fr;
}

.af-search {
	align-items: end;
	background: #fff;
	border: 1px solid #e1e6ea;
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	margin-bottom: 24px;
	padding: 18px;
}

.af-search h2 {
	font-size: 18px;
	margin: 0 0 4px;
}

.af-field {
	min-width: 0;
}

.af-field-wide {
	grid-column: 1 / -1;
}

.af-field-full {
	grid-column: 1 / -1;
}

.af-field label,
.af-field legend {
	color: #25313a;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}

	.af-field input,
	.af-field select,
	.af-field textarea {
	background: #fff;
	border: 1px solid #d8dee4;
	box-sizing: border-box;
	color: #17202a;
	min-height: 44px;
	padding: 8px 10px;
		width: 100%;
	}

	.af-range-fields {
		display: grid;
		gap: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

.af-segments,
.af-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.af-segments label,
.af-checks label {
	align-items: center;
	background: #eef5f2;
	color: #20342d;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	margin: 0;
	min-height: 34px;
	padding: 6px 9px;
}

.af-segments input,
.af-checks input {
	min-height: 0;
	width: auto;
}

.af-equipment {
	border: 0;
	margin: 0;
	padding: 0;
}

.af-equipment-search {
	margin-bottom: 8px;
}

.af-equipment .af-checks {
	align-items: stretch;
	max-height: 220px;
	overflow: auto;
	padding-right: 4px;
}

.af-equipment .af-checks label {
	width: 100%;
}

.af-button {
	align-items: center;
	background: #1d7a57;
	border: 0;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	text-decoration: none;
	transition: background 0.15s ease;
}

.af-button:hover,
.af-button:focus {
	background: #145a41;
	color: #fff;
}

.af-results-head {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 18px 0;
}

.af-results-head h2 {
	font-size: 24px;
	margin: 0;
}

.af-link {
	color: #1d7a57;
	font-weight: 700;
}

.af-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

	.af-search-layout-no-filter .af-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.af-teaser {
		background: #eef6fb;
		margin: 28px 0;
		padding: 22px;
	}

	.af-teaser-head {
		margin-top: 0;
	}

	.af-grid-teaser {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.af-teaser-action {
		display: flex;
		justify-content: center;
		margin-top: 24px;
	}

.af-card {
	background: #fff;
	border: 1px solid #e1e6ea;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.af-card-image {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: #eef2f4;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.af-card-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.af-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
}

.af-card h3 {
	font-size: 19px;
	line-height: 1.25;
	margin: 0 0 12px;
}

.af-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}

.af-meta span {
	background: #eef5f2;
	color: #20342d;
	font-size: 13px;
	padding: 5px 8px;
}

.af-price {
	align-items: baseline;
	display: flex;
	gap: 6px;
	margin-top: auto;
}

	.af-price strong {
		color: #10212b;
		font-size: 24px;
	}

	.af-effective-price {
		color: #33424d;
		font-size: 12px;
		font-weight: 600;
		margin-top: 3px;
	}
	
	.af-card-cta {
		margin-top: 14px;
	width: 100%;
}

.af-empty {
	background: #fff;
	border: 1px solid #e1e6ea;
	padding: 28px;
}

.af-empty h1,
.af-empty h2 {
	margin-top: 0;
}

.af-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 28px;
}

.af-pagination a {
	background: #fff;
	border: 1px solid #d8dee4;
	color: #17202a;
	padding: 8px 12px;
	text-decoration: none;
}

.af-pagination a.is-active {
	background: #1d7a57;
	border-color: #1d7a57;
	color: #fff;
}

	@media (max-width: 980px) {
		.af-search-layout {
			grid-template-columns: 1fr;
		}

		.af-search {
			margin-bottom: 18px;
		}

			.af-grid,
			.af-grid-teaser,
			.af-search-layout-no-filter .af-grid {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}
	}

@media (max-width: 640px) {
	.af-page {
		padding: 20px 14px 40px;
	}

	.af-hero,
	.af-provider-head {
		align-items: flex-start;
		flex-direction: column;
		padding: 26px 20px;
	}

			.af-search,
			.af-grid,
			.af-grid-teaser,
			.af-search-layout-no-filter .af-grid {
				grid-template-columns: 1fr;
			}

	.af-results-head {
		align-items: flex-start;
		flex-direction: column;
	}
}
