.lm-resources-downloads {
	--lm-resources-ink: #17384f;
	--lm-resources-muted: #46566a;
	--lm-resources-page: transparent;
	--lm-resources-card: #ffffff;
	--lm-resources-accent: #d69a61;
	width: 100vw;
	max-width: 100vw;
	margin-top: clamp(-36px, -1.8vw, -22px) !important;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: 0;
	background: transparent;
	color: var(--lm-resources-ink);
	overflow: hidden;
}

.lm-resources-downloads.alignfull {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.lm-resources-downloads *,
.lm-resources-downloads *::before,
.lm-resources-downloads *::after {
	box-sizing: border-box;
}

.lm-resources-downloads__inner {
	width: min(1340px, 100%);
	margin: 0 auto;
	padding: 0 clamp(18px, 3.6vw, 54px);
}

.lm-resources-downloads__header {
	max-width: 780px;
	margin: 0 auto clamp(28px, 3.2vw, 46px);
	padding-top: clamp(24px, 2.4vw, 36px);
	text-align: center;
}

.lm-resources-downloads__title {
	margin: 0;
	color: #1a3a52;
	font-size: clamp(30px, 3vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__description {
	max-width: 760px;
	margin: 16px auto 0;
	color: var(--lm-resources-muted);
	font-size: clamp(15px, 1.05vw, 18px);
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.1vw, 28px);
	width: min(1200px, 100%);
	margin: 0 auto;
}

.lm-resources-downloads__card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	border-radius: 8px;
	background: var(--lm-resources-card);
	box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
	transform: translateY(0);
	transition: transform 220ms ease, box-shadow 220ms ease;
	overflow: hidden;
}

.lm-resources-downloads__card:hover,
.lm-resources-downloads__card:focus-within {
	box-shadow: 0 15px 34px rgba(26, 58, 82, 0.16);
	transform: translateY(-3px);
}

.lm-resources-downloads__card-head {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-height: 122px;
	padding: clamp(20px, 1.8vw, 26px);
	border-bottom: 1px solid #edf0f3;
	background: transparent;
}

.lm-resources-downloads__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: #f7efe7;
	color: var(--lm-resources-accent);
	flex: 0 0 auto;
}

.lm-resources-downloads__icon i {
	display: block;
	font-size: 26px;
	line-height: 1;
}

.lm-resources-downloads__meta {
	display: grid;
	gap: 9px;
	min-width: 0;
}

.lm-resources-downloads__meta h3 {
	margin: 0;
	color: var(--lm-resources-ink);
	font-size: clamp(19px, 1.35vw, 24px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__meta p {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	color: var(--lm-resources-muted);
	font-size: clamp(13px, 0.92vw, 15px);
	font-weight: 600;
	line-height: 1.35;
}

.lm-resources-downloads__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(20px, 1.7vw, 26px);
}

.lm-resources-downloads__card-text {
	margin: 0 0 clamp(20px, 1.7vw, 28px);
	color: #253244;
	font-size: clamp(13px, 0.92vw, 15px);
	font-weight: 500;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 44px;
	margin-top: auto;
	padding: 0 24px;
	border: 1px solid var(--lm-resources-ink);
	border-radius: 7px;
	background: var(--lm-resources-ink);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.lm-resources-downloads__download:hover,
.lm-resources-downloads__download:focus-visible {
	border-color: var(--lm-resources-accent);
	background: var(--lm-resources-accent);
	color: var(--lm-resources-ink);
	box-shadow: 0 10px 22px rgba(26, 58, 82, 0.16);
	outline: none;
	text-decoration: none;
	transform: translateY(-1px);
}

.lm-resources-downloads__download i {
	font-size: 15px;
	line-height: 1;
}

.lm-resources-downloads__download--disabled {
	opacity: 0.55;
	pointer-events: none;
}

.lm-resources-downloads__cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(22px, 2.4vw, 36px);
	width: min(1400px, 100%);
	margin: clamp(30px, 3.3vw, 46px) auto 0;
	padding: clamp(24px, 2.4vw, 34px) clamp(28px, 3vw, 42px);
	border: 2px solid var(--lm-resources-accent);
	border-radius: 14px;
	background: #ffffff;
}

.lm-resources-downloads__cta-copy {
	min-width: 0;
}

.lm-resources-downloads__cta h3 {
	margin: 0;
	color: var(--lm-resources-ink);
	font-size: clamp(22px, 1.75vw, 28px) !important;
	font-weight: 700 !important;
	line-height: 1.18 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__cta p {
	max-width: 800px;
	margin: 14px 0 0;
	color: var(--lm-resources-muted);
	font-size: clamp(14px, 0.98vw, 16px);
	font-weight: 500;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.lm-resources-downloads__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 44px;
	padding: 0 24px;
	border: 1px solid var(--lm-resources-accent);
	border-radius: 7px;
	background: var(--lm-resources-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.lm-resources-downloads__cta-button:hover,
.lm-resources-downloads__cta-button:focus-visible {
	border-color: var(--lm-resources-ink);
	background: var(--lm-resources-ink);
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(26, 58, 82, 0.16);
	outline: none;
	text-decoration: none;
	transform: translateY(-1px);
}

.wp-block-acf-resources-downloads,
.wp-block[data-type="acf/resources-downloads"] {
	max-width: none;
	margin-top: clamp(-36px, -1.8vw, -22px) !important;
	margin-bottom: 0 !important;
	margin-block-start: clamp(-36px, -1.8vw, -22px) !important;
	margin-block-end: 0 !important;
}

.wp-block-acf-resources-downloads .lm-resources-downloads,
.wp-block[data-type="acf/resources-downloads"] .lm-resources-downloads {
	margin-top: 0 !important;
}

.lm-resources-downloads + p:empty,
.wp-block-acf-resources-downloads + p:empty,
.wp-block[data-type="acf/resources-downloads"] + p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-content article:has(.lm-resources-downloads + p:empty:last-child),
.wd-content-area article:has(.lm-resources-downloads + p:empty:last-child) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.site-content:has(article .lm-resources-downloads + p:empty:last-child),
.wd-content-area:has(article .lm-resources-downloads + p:empty:last-child),
.main-page-wrapper:has(article .lm-resources-downloads + p:empty:last-child) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body:has(.lm-resources-downloads) .main-page-wrapper,
body:has(.lm-resources-downloads) .wd-content-area,
body:has(.lm-resources-downloads) .site-content,
body:has(.lm-resources-downloads) .site-content > article {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body:has(.lm-resources-downloads) .wd-footer.footer-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
	background: #193f58 !important;
}

body:has(.lm-resources-downloads) .wd-footer.footer-container .main-footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
	background: #193f58 !important;
}

.editor-styles-wrapper .lm-resources-downloads {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

@media (max-width: 1180px) {
	.lm-resources-downloads__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lm-resources-downloads__cta {
		grid-template-columns: 1fr;
		align-items: start;
	}
}

@media (max-width: 767px) {
	.lm-resources-downloads {
		margin-top: -12px !important;
		padding: 0;
	}

	.wp-block-acf-resources-downloads,
	.wp-block[data-type="acf/resources-downloads"] {
		margin-top: -12px !important;
		margin-bottom: 0 !important;
		margin-block-start: -12px !important;
		margin-block-end: 0 !important;
	}

	.wp-block-acf-resources-downloads .lm-resources-downloads,
	.wp-block[data-type="acf/resources-downloads"] .lm-resources-downloads {
		margin-top: 0 !important;
	}

	body:has(.lm-resources-downloads) .wd-footer.footer-container {
		margin-top: 0 !important;
	}

	.lm-resources-downloads__inner {
		padding: 0 16px;
	}

	.lm-resources-downloads__header {
		margin-bottom: 28px;
	}

	.lm-resources-downloads__description {
		font-size: 15px;
	}

	.lm-resources-downloads__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.lm-resources-downloads__card-head {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 14px;
		min-height: auto;
		padding: 22px;
	}

	.lm-resources-downloads__icon {
		width: 52px;
		height: 52px;
	}

	.lm-resources-downloads__icon i {
		font-size: 28px;
	}

	.lm-resources-downloads__card-body {
		padding: 22px;
	}

	.lm-resources-downloads__download,
	.lm-resources-downloads__cta-button {
		min-height: 50px;
	}

	.lm-resources-downloads__cta {
		margin-top: 30px;
		padding: 24px 20px;
	}

	.lm-resources-downloads__cta-button {
		width: 100%;
		min-width: 0;
	}
}
