/**
 * PIASVC Home intro section.
 */

.liwg-intro {
	background-color: #ffffff;
	padding: 64px 20px;
}

.liwg-intro--v2 {
	background-color: #f4f7fc;
}

/* v3: swapped with Training Topics — Intro white, topics #f4f7fc */
.liwg-intro--v3 {
	background-color: #ffffff;
}

/* Resources library landing — left-aligned intro on soft page band */
.liwg-intro.liwg-intro--resources {
	background-color: #f4f7fc;
	/* Override .liwg-intro 64px top; heading sits close under crumbs. */
	padding: 0 20px 24px;
	text-align: left;
}

.liwg-intro--resources .liwg-intro__inner {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.liwg-intro--resources .liwg-intro__heading {
	margin: 10px 0 16px;
	max-width: none;
	text-align: left;
}

.liwg-intro--resources .liwg-intro__text {
	max-width: 720px;
	margin: 0;
	text-align: left;
}

.liwg-intro--resources .liwg-intro__text:last-of-type {
	margin-bottom: 0;
}

.liwg-intro__inner {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.liwg-intro__heading {
	margin: 0 auto 32px;
	max-width: 960px;
	color: #16557b;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.liwg-scroll-reveal {
	will-change: transform;
}

.liwg-scroll-reveal-pop {
	will-change: transform, opacity;
}

html[lang="lo"] .liwg-intro__heading {
	line-height: 1.35;
}

.liwg-intro__text,
.liwg-intro__body {
	max-width: 1000px;
	margin: 0 auto 44px;
	color: #222222;
	font-size: 18px;
	line-height: 1.55;
	text-wrap: pretty;
}

.liwg-intro__text {
	margin-bottom: 20px;
}

.liwg-intro__text:last-of-type {
	margin-bottom: 44px;
}

.liwg-intro__body p {
	margin: 0 0 20px;
}

.liwg-intro__body p:last-child {
	margin-bottom: 0;
}

.liwg-intro__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.liwg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.liwg-btn--primary {
	background-color: #16557b;
	border-color: #16557b;
	color: #ffffff;
}

.liwg-btn--primary:hover,
.liwg-btn--primary:focus {
	background-color: #222222;
	border-color: #222222;
	color: #ffffff;
}

.liwg-btn--secondary {
	background-color: transparent;
	border-color: #16557b;
	color: #16557b;
}

.liwg-btn--secondary:hover,
.liwg-btn--secondary:focus {
	background-color: #16557b;
	color: #ffffff;
}

@media (max-width: 478px) {
	.liwg-intro {
		padding: 48px 20px;
	}

	.liwg-intro__heading {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.liwg-intro__text,
	.liwg-intro__body {
		font-size: 16px;
	}

	.liwg-intro__text {
		margin-bottom: 32px;
	}

	.liwg-intro__body {
		margin-bottom: 32px;
	}

	.liwg-intro__actions {
		flex-direction: column;
		width: 100%;
	}

	.liwg-btn {
		width: 100%;
		max-width: 320px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.liwg-scroll-reveal,
	.liwg-scroll-reveal-pop {
		will-change: auto;
	}
}
