.wp-block-acf-hero:not(.is-style-secondary_page):not(.is-style-welcome_popup) {
	padding-bottom: 0;
	border-bottom: 1px solid;
  	border-image-slice: 1;
  	border-width: 1px;
	border-image-source: linear-gradient(90deg, #54585A 0%, rgba(221, 222, 222, 0.50) 100%);
}
.wp-block-acf-hero:last-child,
.wp-block-acf-hero:only-child {
	border: none;
	padding-top: var(--wp--custom--layout--block-gap) !important;
	padding-bottom: calc( 2 * var(--wp--custom--layout--block-gap) ) !important;
}

.wp-block-acf-hero:only-child {
	border: none;
	padding-top: var(--wp--custom--layout--block-gap) !important;
	padding-bottom: calc( 2 * var(--wp--custom--layout--block-gap) ) !important;
}
.wp-block-acf-hero .gw-hero--heading {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	text-transform: uppercase;
	color: var(--wp--preset--color--dark-gray-1);
}
.wp-block-acf-hero .gw-hero--subheading {
	margin-top: var(--wp--custom--layout--block-gap-default);
	font-size: var(--wp--preset--font-size--gargantuan);
	font-weight: 400;
	text-transform: none;
	color: var(--wp--site--color);
}
.wp-block-acf-hero.is-style-home_page {
	font-size: var(--wp--preset--font-size--large);
}
.wp-block-acf-hero.is-style-home_page .gw-hero--subheading {
	font-size: var(--wp--preset--font-size--biggest-ever);
}
.wp-block-acf-hero.is-style-secondary_page .gw-hero--subheading {
	font-size: var(--wp--preset--font-size--colossal);
}
.wp-block-acf-hero.is-privacy-policy-page {
	border: none;
}
.wp-block-acf-hero.is-style-welcome_popup .gw-hero--subheading {
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--colossal);
}
.wp-block-acf-hero.is-style-welcome_popup h3.gw-hero--subheading {
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--xx-large);
}
.wp-block-acf-hero.is-style-welcome_popup p {
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--medium);
	line-height: var(--wp--preset--line-height--large);
}

.glide__pause-btn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

/* // this prevents the usual sliding transition effect from being visible: */
.glide-hero .glide__slides {
  transform: translate3d(0, 0, 0) !important;
  align-items: flex-end;
}
/* // and this creates the fade in/out effect of the slides: */
.glide-hero .glide__slides li {
    order: 2;
    opacity: 0;
    transition: opacity 1250ms ease-in-out;
	margin-bottom: 0;
	height: 100%;
}
.glide-hero li.glide__slide--active {
	position: relative;
	order: 1;
	opacity: 1;
	z-index: 1;
}
.glide-hero .glide__slides li figure {
	height: 100%;
	display: flex;
	align-items: flex-end;
}


/* on mobile, always show the image before the text but only on the secondary page */
@media (max-width: 781px) {
	.wp-block-acf-hero:last-child .gw-hero--column-copy + .gw-hero--column-image {
		margin-bottom: calc( -2 * var(--wp--custom--layout--block-gap) ) !important;
	}
	.wp-block-acf-hero .gw-hero--column-copy:last-child {
		padding-bottom: var(--wp--custom--layout--block-gap-xlarge);
	}
	.wp-block-acf-hero.is-style-secondary_page .gw-hero--column-copy {
		order: 2;
	}
	.wp-block-acf-hero.is-style-secondary_page .gw-hero--column-image {
		order: 1;
	}
	.wp-block-acf-hero.is-style-secondary_page .wp-block-columns {
		gap: var(--wp--custom--layout--block-gap-medium);
	}
}
@media (min-width:782px) {
	.wp-block-acf-hero:first-child {
		padding-top: 0;
	}
	.wp-block-acf-hero:last-child:not(:only-child) {
		padding-bottom: 0 !important;
	}
	.wp-block-acf-hero .wp-block-columns {
		gap: var(--wp--custom--layout--block-gap-large);
	}
	.wp-block-acf-hero:not(.is-style-welcome_popup) .gw-hero--column-copy {
		flex-basis: 35% !important;
	}
	.wp-block-acf-hero:last-child:not(:only-child) .gw-hero--column-copy {
		padding-bottom: var(--wp--custom--layout--padding);
	}
	.wp-block-acf-hero:not(.is-style-welcome_popup)  .gw-hero--column-image {
		flex-basis: 65% !important;
	}
	.wp-block-acf-hero.is-style-top_level_page .gw-hero--column-copy {
		flex-basis: 45% !important;
	}
	.wp-block-acf-hero.is-style-top_level_page .gw-hero--column-image {
		flex-basis: 55% !important;
	}
}
@media (min-width: 1254px ) {
	.gw-block.wp-block-acf-hero:not(.is-style-welcome_popup) .gw-hero--column-copy:first-child {
		margin-left: calc((100vw - var(--wp--style--global--content-size)) / 2);
	}
	.gw-block.wp-block-acf-hero:not(.is-style-welcome_popup) .gw-hero--column-copy:last-child {
		margin-right: calc((100vw - var(--wp--style--global--content-size)) / 2);
	}
}
@media (min-width: 1576px ) {
	.gw-block.wp-block-acf-hero:not(.is-style-welcome_popup) .gw-hero--column-copy:first-child {
		margin-left: calc((var(--wp--style--global--wide-size) - var(--wp--style--global--content-size)) / 2);
	}
	.gw-block.wp-block-acf-hero:not(.is-style-welcome_popup) .gw-hero--column-copy:last-child {
		margin-right: calc((var(--wp--style--global--wide-size) - var(--wp--style--global--content-size)) / 2);
	}
}
