@charset "UTF-8";
.modal__btn {
	padding: 0;
	border-style: none;
	border-width: 0;
	cursor: pointer;
	text-transform: none;
	overflow: visible;
	line-height: 1.15;
	margin: 0;
	inline-size: 100%;
}
.modal__overlay {
	position: fixed;
	inset-block-start: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	inset-block-end: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 150;
}
.modal__container {
	background-color: #fff;
	padding: calc(var(--spacer-unit) * 3.5);
	padding-block-start: calc(30px + 20px);
	margin-inline: var(--base-inline-margin);
	max-height: 90vh;
	max-height: 90svb;
	border-radius: 5px;
	overflow-y: auto;
	position: relative;
	font-weight: var(--font-regular);
	& > div {
		display: flex;
		flex-direction: column;
		gap: calc(var(--spacer-unit) * 3);
	}
	& .modal__image, & .modal__content {
		flex: 1;
	}
	& .modal__title {
		font-size: calc(36 * var(--font-scale-m));
		line-height: 1.5;
		margin-block-end: 0.5em;
		font-weight: var(--font-regular);
		& .sub {
			font-size: 0.66666666em;
			display: block;
		}
	}
	& .sub-title {
		font-size: calc(21 * var(--font-scale-s));
		margin-block: 1.25em 0.45em;
		color: var(--green);
	}
	& .body-copy {
		line-height: 1.75;
	}
}
@media (768px <=width), print {
	.modal__container {
		padding: calc(var(--spacer-unit) * 5);
		& > div {
			flex-direction: row;
			align-items: center;
			gap: calc(var(--spacer-unit) * 5.5);
		}
	}
}
@media (1280px <=width), print {
	.modal__container {
		& .body-copy {
			font-size: calc(18 / 16 * 1em);
		}
	}
}
.modal__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	display: inline-block;
	inline-size: 35px;
	block-size: 35px;
	overflow: hidden;
	border: none;
	background: transparent;
	&::before {
		transform: rotate(45deg);
	}
	&::after {
		transform: rotate(-45deg);
	}
	&::before, &::after {
		content: '';
		position: absolute;
		block-size: 2px;
		inline-size: 100%;
		inset-block-start: calc(50% - 1px);
		inset-inline-start: 0;
		background: #333333;
	}
}
/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes mmfadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@keyframes mmslideIn {
	from {
		transform: translateY(5%);
	}
	to {
		transform: translateY(0);
	}
}
@keyframes mmslideOut {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-10%);
	}
}
.micromodal-slide {
	display: none;
}
.micromodal-slide.is-open {
	display: block;
}
.micromodal-slide[aria-hidden="false"] .modal__overlay {
	animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="false"] .modal__container {
	animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="true"] .modal__overlay {
	animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="true"] .modal__container {
	animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide .modal__container, .micromodal-slide .modal__overlay {
	will-change: transform;
}