/* "Why Amless" banner (QualityBanner.php). */
.amless-quality {
	display: grid;
	gap: 24px;
	margin: 48px 0;
	padding: 24px 20px;
	border-radius: 16px;
	background: #f3efea;
	color: #202025;
}

.amless-quality__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6e6052;
}

.amless-quality__title {
	margin: 0 0 12px;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
}

.amless-quality__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: #55545b;
}

.amless-quality__points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.amless-quality__points li {
	margin: 0;
	padding: 7px 12px 7px 30px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23202025' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		no-repeat 11px 50% / 13px;
}

.amless-quality__cta,
.amless-quality__cta:visited {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 10px;
	background: #202025;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.amless-quality__cta:hover {
	color: #fff;
	opacity: 0.88;
}

/* Photos: a row of 3 above the text on phones, editorial grid on desktop. */
.amless-quality__media {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	order: -1;
	gap: 8px;
}

.amless-quality__tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 3 / 4;
	background: #e9e4de;
}

.amless-quality__tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.amless-quality__tile:hover img {
	transform: scale(1.04);
}

.amless-quality__tag {
	position: absolute;
	left: 8px;
	bottom: 8px;
	max-width: calc(100% - 16px);
	padding: 4px 8px;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.92);
	color: #202025;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

@media (min-width: 992px) {
	.amless-quality {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: center;
		gap: 48px;
		padding: 48px;
	}

	.amless-quality__media {
		order: 0;
		grid-template-columns: 1.3fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		height: 460px;
	}

	.amless-quality__tile {
		aspect-ratio: auto;
	}

	.amless-quality__tile--1 {
		grid-row: span 2;
	}

	.amless-quality__tile--4 {
		display: none;
	}

	.amless-quality__tile--2 {
		grid-row: span 2;
	}

	.amless-quality__tile--3 {
		grid-row: span 2;
	}
}

@media (max-width: 991px) {
	.amless-quality__tile--4 {
		display: none;
	}

	.amless-quality__tag {
		display: none;
	}
}
