.devw-afg {
	--devw-afg-column-gap: 28px;
	--devw-afg-row-gap: 28px;
	--devw-afg-featured-image-height: 447px;
	--devw-afg-card-image-height: 188px;
	--devw-afg-image-radius: 30px;
	--devw-afg-content-spacing: 12px;
	--devw-afg-button-background: #01b57c;
	--devw-afg-button-hover-background: #019b6a;
	--devw-afg-button-margin-top: 44px;
	width: 100%;
}

.devw-afg,
.devw-afg * {
	box-sizing: border-box;
}

.devw-afg__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row;
	column-gap: var(--devw-afg-column-gap);
	row-gap: var(--devw-afg-row-gap);
	align-items: start;
	width: 100%;
}

.devw-afg__card {
	min-width: 0;
	margin: 0;
	background: transparent;
}

.devw-afg__card--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.devw-afg__link {
	display: flex;
	min-width: 0;
	max-width: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.devw-afg__media {
	position: relative;
	display: block;
	width: 100%;
	height: var(--devw-afg-card-image-height);
	overflow: hidden;
	border-radius: var(--devw-afg-image-radius);
	background: #e8efec;
	isolation: isolate;
}

.devw-afg__card--featured .devw-afg__media {
	height: var(--devw-afg-featured-image-height);
}

.devw-afg__image,
.devw-afg__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.devw-afg__image {
	object-fit: cover;
	transition: transform 420ms ease;
}

.devw-afg__placeholder {
	background:
		linear-gradient(135deg, rgba(6, 77, 57, 0.08), rgba(1, 181, 124, 0.18)),
		#e8efec;
}

.devw-afg__content {
	display: flex;
	min-width: 0;
	max-width: 100%;
	flex-direction: column;
	align-items: flex-start;
	padding-top: var(--devw-afg-content-spacing);
}

.devw-afg__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 7px;
}

.devw-afg__term,
.devw-afg__date {
	display: inline-block;
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.devw-afg__term {
	color: #6f7f79;
}

.devw-afg__date {
	color: #83908b;
}

.devw-afg__title {
	max-width: 100%;
	margin: 0;
	color: #004c34;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
	transition: color 220ms ease;
}

.devw-afg__card--regular .devw-afg__title {
	text-transform: uppercase;
}

.devw-afg__card--featured .devw-afg__title {
	font-size: 24px;
	line-height: 1.3;
}

.devw-afg__excerpt {
	max-width: 62ch;
	margin: 9px 0 0;
	color: #59706a;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
}

.devw-afg__link:hover .devw-afg__image,
.devw-afg__link:focus-visible .devw-afg__image {
	transform: scale(1.04);
}

.devw-afg__link:hover .devw-afg__title,
.devw-afg__link:focus-visible .devw-afg__title {
	color: #01b57c;
}

.devw-afg__link:focus-visible {
	outline: 2px solid #01b57c;
	outline-offset: 5px;
}

.devw-afg__actions {
	margin-top: var(--devw-afg-button-margin-top);
	text-align: center;
}

.devw-afg .devw-afg__load-more,
.devw-afg .devw-afg__load-more:focus,
.devw-afg .devw-afg__load-more:active {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	margin: 0;
	padding: 12px 34px;
	border: 0;
	border-radius: 8px;
	background: var(--devw-afg-button-background);
	box-shadow: none;
	color: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		opacity 180ms ease;
}

.devw-afg .devw-afg__load-more:hover {
	background: var(--devw-afg-button-hover-background);
	color: #ffffff;
}

.devw-afg .devw-afg__load-more:focus-visible {
	outline: 2px solid var(--devw-afg-button-background);
	outline-offset: 3px;
}

.devw-afg .devw-afg__load-more:disabled {
	opacity: 0.65;
	cursor: wait;
}

.devw-afg__message {
	margin: 12px 0 0;
	color: #b32d2e;
	font-size: 14px;
	line-height: 1.5;
}

.devw-afg__message:empty {
	display: none;
}

.devw-afg__empty {
	padding: 18px 20px;
	border: 1px solid currentColor;
	border-radius: 10px;
}

@media (max-width: 1024px) {
	.devw-afg__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.devw-afg__card--featured {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

@media (max-width: 767px) {
	.devw-afg__items {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
	}

	.devw-afg__card--featured {
		grid-column: auto;
	}

	.devw-afg__title,
	.devw-afg__card--featured .devw-afg__title {
		font-size: 20px;
	}

	.devw-afg__card--regular .devw-afg__title {
		font-size: 16px;
	}

	.devw-afg .devw-afg__load-more {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.devw-afg__image,
	.devw-afg__title,
	.devw-afg__load-more {
		transition: none;
	}
}
