/* Adam Milo – "Text + Logo Cards" block
 * Values read from Figma ("Risk" > Background 2855:11106, "Global Standards"):
 *  section #F9F9F9, padding 100/275; row = text 546 + cards 768, gap 56;
 *  title Poppins Bold 32 (48px line) #000; line 70x5 #3F92A0; gap 24;
 *  text Poppins 16/24 #000, paragraph spacing 12;
 *  cards: 4 x 177x238, gap 20, bg #3F92A0 @10%, radius 83/83/12/12,
 *  padding 40/16/16, gap 20; logo 99 white circle, shadow 2.84 2.84 17.07 rgba(0,0,0,.05);
 *  card text Poppins 14/21 centered #212529. */

.amlc-section {
	--amlc-title-color: #000;
	--amlc-line-color: #3F92A0;
	--amlc-card-bg: rgba(63, 146, 160, .1);
	background-color: var(--amlc-section-bg, #F9F9F9);
	padding: 100px 0;
	font-family: Poppins, sans-serif;
}

.amlc-section .amlc-row {
	display: flex;
	align-items: flex-start;
	gap: 56px;
}

/* ---------- text ---------- */
.amlc-section .amlc-text {
	flex: 0 1 546px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.amlc-section .amlc-title {
	margin: 0;
	color: var(--amlc-title-color);
	font-family: Poppins, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.5;
}
.amlc-section .amlc-line {
	display: block;
	width: 70px;
	height: 5px;
	background-color: var(--amlc-line-color);
}
.amlc-section .amlc-content,
.amlc-section .amlc-content p {
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}
.amlc-section .amlc-content p {
	margin: 0 0 12px;
}
.amlc-section .amlc-content > :last-child {
	margin-bottom: 0;
}

/* ---------- cards ---------- */
.amlc-section .amlc-cards {
	flex: 1 1 768px;
	min-width: 0;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.amlc-section .amlc-card-li {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.amlc-section .amlc-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	height: 100%;
	min-height: 238px;
	padding: 40px 16px 16px;
	border-radius: 83px 83px 12px 12px;
	background: var(--amlc-card-bg);
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease;
}
.amlc-section a.amlc-card:hover {
	transform: translateY(-3px);
}
.amlc-section a.amlc-card:focus-visible {
	outline: 2px solid var(--amlc-line-color);
	outline-offset: 2px;
}
.amlc-section .amlc-logo {
	flex: 0 0 99px;
	width: 99px;
	height: 99px;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	box-shadow: 2.84px 2.84px 17.07px rgba(0, 0, 0, .05);
}
.amlc-section .amlc-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.amlc-section .amlc-card-text {
	color: #212529;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

/* ---------- laptop: cards wrap 2 x 2 ---------- */
@media (max-width: 1199px) {
	.amlc-section .amlc-row {
		gap: 40px;
	}
	.amlc-section .amlc-cards {
		flex-wrap: wrap;
	}
	.amlc-section .amlc-card-li {
		flex: 1 1 calc(50% - 10px);
	}
}

/* ---------- tablet / mobile (Figma "Fit – mobile" > Frame 1973342789) ----------
   text on top, gap 32, then a vertical list of cards (gap 12):
   card 120 tall, horizontal, radius 80/12/12/80, padding 16/30/16/16, gap 30,
   logo 88 circle, text 14 centered #212529. Section padding 48/16. */
@media (max-width: 1024px) {   /* also iPad landscape (1024) */
	.amlc-section {
		padding: 48px 0;
	}
	.amlc-section .amlc-row {
		flex-direction: column;
		gap: 32px;
	}
	.amlc-section .amlc-text,
	.amlc-section .amlc-cards {
		flex: 0 0 auto;
		width: 100%;
	}
	.amlc-section .amlc-cards {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
	}
	.amlc-section .amlc-card-li {
		flex: 0 0 auto;
	}
	.amlc-section .amlc-card {
		flex-direction: row;
		align-items: center;
		gap: 30px;
		min-height: 120px;
		height: auto;
		padding: 16px 30px 16px 16px;
		border-radius: 80px 12px 12px 80px;
	}
	.amlc-section .amlc-logo {
		flex: 0 0 88px;
		width: 88px;
		height: 88px;
	}
	.amlc-section .amlc-card-text {
		flex: 1 1 0;
		min-width: 0;
	}
}
