/*
 * Straight, downloadable flyer presentation for the Training & Education page.
 */

.msf-training-page-hero .msf-training-home__visual {
	width: min(100%, 590px);
	justify-self: end;
}

.msf-training-flyer {
	margin: 0;
}

.msf-training-flyer__sheet {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 22px;
	background: var(--msf-white);
	box-shadow: 0 28px 75px rgba(0, 0, 0, 0.3);
}

.msf-training-flyer__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 3 / 4;
	background: var(--msf-white);
	object-fit: contain;
	object-position: center;
}

.msf-training-flyer__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.8rem;
	margin-top: 1rem;
}

.msf-training-flyer__download {
	min-height: 46px;
	padding-inline: 1.15rem;
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.09);
	color: var(--msf-white);
	backdrop-filter: blur(8px);
}

.msf-training-flyer__download:hover,
.msf-training-flyer__download:focus-visible {
	border-color: var(--msf-white);
	background: var(--msf-white);
	color: var(--msf-navy);
}

.msf-training-flyer__download .msf-icon {
	width: 17px;
	height: 17px;
}

/* Remove the previous tilted-paper and floating-badge treatment. */
.msf-training-page-hero .msf-training-poster-frame {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.msf-training-page-hero .msf-training-poster-frame::before,
.msf-training-page-hero .msf-training-poster-frame__badge {
	display: none !important;
}

.msf-training-page-hero .msf-training-poster-frame__image-wrap,
.msf-training-page-hero .msf-training-poster {
	min-height: 0;
	border-radius: 22px;
}

.msf-training-page-hero .msf-training-details {
	margin-top: 1rem;
}

@media (max-width: 1080px) {
	.msf-training-page-hero .msf-training-home__visual {
		justify-self: center;
	}
}

@media (max-width: 620px) {
	.msf-training-flyer__sheet {
		border-radius: 16px;
	}

	.msf-training-flyer__actions {
		justify-content: stretch;
	}

	.msf-training-flyer__download {
		width: 100%;
	}
}
