/**
 * Security hub "Our promises to you" section styles — Figma node 3806:8906.
 */

.gh-sec-promises {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	padding: 96px 160px 120px;
}

.gh-sec-promises__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
	text-align: center;
}

.gh-sec-promises__cards {
	display: flex;
	gap: 32px;
	width: 100%;
	max-width: 1120px;
	justify-content: center;
}

.gh-sec-promises__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 352px;
	height: 320px;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: box-shadow 0.2s ease;
}

.gh-sec-promises__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gh-sec-promises__card-body {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 32px 56px;
}

.gh-sec-promises__card-title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 28px;
	color: var(--gh-text-primary);
}

.gh-sec-promises__card-desc {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.gh-sec-promises {
		padding: 96px 40px 120px;
	}
}

@media (max-width: 1023px) {
	.gh-sec-promises {
		padding: 64px 24px 80px;
	}

	.gh-sec-promises__cards {
		flex-wrap: wrap;
	}
}

@media (max-width: 768px) {
	.gh-sec-promises {
		padding: 64px 16px 80px;
	}

	.gh-sec-promises__cards {
		justify-content: center;
	}

	.gh-sec-promises__card {
		width: calc(50% - 16px);
		height: auto;
		min-height: 280px;
	}
}

@media (max-width: 480px) {
	.gh-sec-promises {
		gap: 25px;
	}

	.gh-sec-promises__cards {
		gap: 20px;
	}

	.gh-sec-promises__card {
		width: 100%;
		min-height: 240px;
	}
}

@media (min-width: 1025px) {
	.gh-sec-promises__title {
		font-size: 40px;
		line-height: 48px;
	}
}
