/* 

COLORS

blue-1000: #040439
blue-600: #1A63FF
blue-300: #98B9F7
blue-100: #DAE7FF
slate: #4F4F6D
red: #E31E24

 */

.advantages-section {
	padding-bottom: 0;
}

.advantages-section .cards {
	display: flex;
	flex-direction: column;
}

.advantages-section .cards-row {
	display: flex;
	flex-direction: column;
	margin-top: -40px;
}

.advantages-section .card {
	position: relative;
	height: 210px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: -40px;
	padding-bottom: 0;
	transition: none;
	overflow: hidden;
}

.advantages-section .cards-row:first-child,
.advantages-section .card:first-child {
	margin-top: 0;
}

.advantages-section .card:last-child {
	padding-bottom: 0;
}

.advantages-section .card:nth-child(even) {
	background-color: var(--blue-1000);
}

.advantages-section .card:nth-child(odd) {
	background-color: var(--blue-100);
}

.advantages-section .card .card-header {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.advantages-section .card .card-header .icon {
	line-height: 1.1;
}

.advantages-section .card:nth-child(even) .card-header .icon {
	content: url('../../assets/images/icons/star.svg');
}

.advantages-section .card:nth-child(odd) .card-header .icon {
	content: url('../../assets/images/icons/star-red.svg');
}

.advantages-section .card:nth-child(even) .card-header .title {
	color: white;
}

.advantages-section .card:nth-child(odd) .card-header .title {
	color: var(--red);
}

.advantages-section .card .body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: inherit;
}

.advantages-section .card:nth-child(even) .body .title {
	color: white;
}

.advantages-section .card:nth-child(odd) .body {
	flex-direction: column-reverse;
}

.advantages-section .card:nth-child(odd) .body .title {
	color: var(--blue-1000);
}

.advantages-section .card .body .image {
	width: 260px;
	object-fit: cover;
	object-position: top;
}

.advantages-section .card:nth-child(even) .body .image {
	box-shadow: 0px -20px 100px 0px rgba(26, 99, 255, 0.4);
}

@media (min-width: 768px) {
	.advantages-section .cards {
		gap: 18px;
	}

	.advantages-section .cards-row {
		flex-direction: row;
		gap: 18px;
	}

	.advantages-section .cards-row.reversed {
		flex-direction: row-reverse;
	}

	.advantages-section .cards-row,
	.advantages-section .card {
		margin-top: unset;
		padding-bottom: 0;
	}

	.advantages-section .cards-row:first-child,
	.advantages-section .card:first-child {
		margin-top: unset;
	}

	.advantages-section .card {
		height: 180px;
	}

	.advantages-section .card:nth-child(even) {
		width: 40%;
	}

	.advantages-section .card:nth-child(odd) {
		width: 60%;
	}

	.advantages-section .card:nth-child(odd) .body {
		display: block;
		align-items: unset;
	}

	.advantages-section .card:nth-child(odd) .body .image {
		margin-left: 10px;

		width: 200px;
		float: right;
	}

	.advantages-section .card:nth-child(even) .body .image {
		width: 250px;
	}
}

@media (min-width: 1440px) {
	.advantages-section .card {
		height: 280px;
		gap: 20px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.advantages-section .card .card-header .title {
		font-size: 32px;
	}

	.advantages-section .card:nth-child(odd) .body .image {
		width: 400px;
	}

	.advantages-section .card:nth-child(even) .body .image {
		width: 450px;
	}

	.advantages-section .card .body .title {
		font-size: 20px;
	}
}
