.page-template-page_fullwidth .wp-block-media-text {display: flex;flex-wrap: wrap;margin-bottom: 2rem !important;width: 100%;max-width: 60rem !important;}
.page-template-page_fullwidth .wp-block-media-text__content > *:first-child { margin-top: 0; }
.page-template-page_fullwidth .has-media-on-the-right .wp-block-media-text__content {padding: 0;order: 2;}
.page-template-page_fullwidth .wp-block-media-text__media {margin: 0 auto 1rem;border-radius: 2.5rem 0;overflow: hidden;max-width: 20rem;}

.entry-content .wp-block-media-text__content h2::after {
    width: clamp(7rem, 14.5vw, 14.2rem);
}

.wp-block-media-text__content li {
    position: relative;
    list-style: none;
}

.wp-block-media-text__content li::before {
    content: '';
    position: absolute;
    left: -1.9rem;
    top: 0.5rem;
    width: 0.7rem;
    aspect-ratio: 1/1;
    background-color: #195766;
}

@media (min-width: 48.875em) { /* 782px */
	.page-template-page_fullwidth .wp-block-media-text {display: grid;display: flex;flex-wrap: nowrap;}
	.page-template-page_fullwidth .wp-block-media-text__media {position: -webkit-sticky;position: sticky;top: 1rem;}
	.page-template-page_fullwidth .has-media-on-the-right .wp-block-media-text__media {order: 2;}
	.page-template-page_fullwidth .wp-block-media-text__content, .page-template-page_fullwidth .wp-block-media-text__media { width: 50%; }
	.page-template-page_fullwidth .wp-block-media-text__content { padding: 0 0 0 1.5rem; }
	.page-template-page_fullwidth .has-media-on-the-right .wp-block-media-text__content { padding: 0 1.5rem 0 0; }
}

@media (min-width: 68.5em) {
	.page-template-page_fullwidth .wp-block-media-text {margin-bottom: 5rem !important;}
	.page-template-page_fullwidth .wp-block-media-text__media {top: 4rem;width: 100%;max-width: 22rem;}
	.page-template-page_fullwidth .wp-block-media-text__content {width: 100%;max-width: 38rem;}
	
	.mt-decor-group .wp-block-media-text {margin-bottom: 0rem !important}
}

@media (min-width: 82.5em) {
	.page-template-page_fullwidth .wp-block-media-text__content { padding-left: 3.5rem; }
	.page-template-page_fullwidth .has-media-on-the-right .wp-block-media-text__content { padding-right: 3.5rem; }
}


/* Animation */
@media (prefers-reduced-motion:no-preference) { 
	.page-template-page_fullwidth .wp-block-media-text__media { opacity: 0; --y: 2rem; transform: translateY(2rem); }
	.page-template-page_fullwidth .wp-block-media-text__media.js-intersected {animation: fadein 600ms ease .3s forwards;}
	.page-template-page_fullwidth .wp-block-media-text__media::after { transform-origin: center; transform: scaleX(0); transition: transform 500ms ease 0.9s; }
	.page-template-page_fullwidth .wp-block-media-text__media.js-intersected::after { transform: scaleX(1); }
}


/* Grey BG Rows */
.wp-block-media-text.grey-bg-row {position: relative;padding-top: 2.5rem !important;padding-bottom: 2.5rem !important;}
.wp-block-media-text.grey-bg-row:after {content: '';background: var(--lt-grey);position: absolute;top: 0;bottom: 0;left: 0;width: 100vw;z-index: -1;}

@media (min-width: 68.5em) {
	.wp-block-media-text.grey-bg-row { position: relative; padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

@media (min-width: 75em) { /* 1200px */
	.wp-block-media-text.grey-bg-row:after {right: -10rem;left: -10rem;width: 200vw;}
}

@media (min-width: 100em) { /* 1600px */
	.wp-block-media-text.grey-bg-row:after { right: auto; left: calc((var(--contain-padding)) * -1); }
}









