.flex-layout.aml-layout .pk-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.aml-images {
	display: flex;
	gap: 1rem;
	align-items: stretch;
}

.aml-layout .pk-row-content.pk-grid-container {
    column-gap: 80px;
}

.aml-image {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius:5px;
}

.aml-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius:5px;
}

.aml-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2rem;
}


.aml-tekst h2,
.aml-tekst h3,
.aml-tekst h4,
.aml-tekst h5 {
	margin-top: 0;
	color: var(--Rust, #8C3E12);
}

body .aml-links {
	list-style: none;
	margin: 0;
	padding: 0;
	
}

.aml-image img {
  max-height: 750px;
  height: 100%;
}


.aml-tekst {
  margin-bottom:30px;
}

.aml-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	text-decoration: none;
	color: inherit;
	font-size: max(1.175rem, calc(1.375 * var(--su)));
	transition: opacity 0.2s ease;
	background:#F7F5F2;
	padding: 16px 24px 16px 32px;
	border-radius:2px;
	color: #312019;
	font-style: normal;
	font-weight: 400;
	line-height:1;
	letter-spacing: -0.44px;
}

.aml-link svg {
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.aml-link:hover svg,
.aml-link:focus svg,
.aml-link:active svg  {
	rotate:45deg;
}

@media screen and (max-width: 992px) {
	.aml-spacer {
		display: none;
	}

	.aml-images,
	.aml-content {
		grid-column: 1 / -1;
	}

	.aml-images {
		gap: 0.5rem;
		order:3;
		height: 350px;
	}

	.aml-content {
		gap: 1.5rem;
	}

	.aml-links {
		padding: 0 5px !important;
	}
	.aml-layout .pk-row-content.pk-grid-container {
		column-gap: 40px;
		row-gap: 20px;
	}
	.aml-image img {
		max-height: unset;
		height: 100%;
	}
}
