#hero {
	position: relative;
}

/* HEREO CTA */
#hero_cta {
    background-color: var(--contrast-2);
    padding: 26px;
    color: #fff;
	max-width: 400px;
	width: 100%;
	text-align: center;
	font-size: var(--txt-l);
	-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
	        box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
	float: right;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
	position: relative;
	z-index: 1;
}

#hero_cta h1 {
	color: #fff;
	font-size: var(--txt-l);
	line-height: 1.5;
}

#hero_cta p {
	margin-bottom: 15px;
}

#hero_cta .pbi-button {
	position: relative;
	padding-right: 30px;
	width: 100%;
	font-weight: bold;
}

#hero_cta .pbi-button:before {
	content: '';
	position: absolute;
	top: 0;
	right: 15px;
	width: 15px;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21.1 18.7 12 9.6l-9.1 9.1-2.8-2.9L12 3.9l11.9 11.9-2.8 2.9z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-transform: rotate(90deg);
	    -ms-transform: rotate(90deg);
	        transform: rotate(90deg);
}

/* HERO SLIDE */
#hero_slide {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
	background-color: var(--contrast-2);
	color: #fff;
}

#hero_slide:before {
	content: '';
	background-color: rgba(0, 0, 0, .5);
    display: block;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
	pointer-events: none;
}
#hero_slide:after {
	content: '';
	background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0, #032b4f 40%);
	background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(40%, #032b4f));
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0, #032b4f 40%);
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	pointer-events: none;
}

#hero_slide > div {
	position: relative;
	z-index: 1;
}

#hero_slide a {
	text-decoration: none;
}

#hero_slide h2 {
	color: #fff;
	margin-bottom: 0;
	font-size: var(--h-1);
    line-height: 1.5;
}

#hero_slide > svg {
	position: relative;
	z-index: 1;
	bottom: -10px;
}

#hero_title {
    position: relative;
    top: 60px;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#hero_title:hover {
	top: 50px;
	opacity: 0.9;
}

#hero_title.fadeout {
	opacity: 0;
}

/* HERO POSTS */
#hero_posts {
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
}

#hero_posts li {
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 20%;
	        flex: 0 1 20%;
	padding: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	position: relative;
}

#hero_posts li:before {
	content: '';
	position: absolute;
	top: -3px;
	left: 0;
	right: 0;
	width: 100%;
	height: 3px;
	background-color: transparent;
	-webkit-transition: background-color 0.2s ease;
	-o-transition: background-color 0.2s ease;
	transition: background-color 0.2s ease;
}

#hero_posts li.active:before {
	background-color: var(--contrast-3);
}

#hero_posts li a {
	text-decoration: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 1rem;
}

#hero_posts li img {
	width: 32px;
	height: auto;
	-o-object-fit: cover;
	   object-fit: cover;
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1/1;
}

#hero_posts li h2 {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 calc( 100% - 32px - 1rem);
	        flex: 1 1 calc( 100% - 32px - 1rem);
	font-weight: normal;
	font-size: var(--txt-s);
	color: #fff;
	line-height: 1.5;
}

#hero_posts_slider_buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
	gap: 15px;
	padding: 20px 0;
}
#hero_posts_slider_buttons button {
	display: block;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
	background: none;
	padding: 0;
	margin: 0;
	-webkit-box-shadow: none;
	        box-shadow: none;
}
#hero_posts_slider_buttons .hero-posts-slide-button-nav {
	width: 32px;
	height: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21.1 18.7 12 9.6l-9.1 9.1-2.8-2.9L12 3.9l11.9 11.9-2.8 2.9z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
#hero_posts_slider_buttons .hero-posts-slide-button-nav.prev {
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
}
#hero_posts_slider_buttons .hero-posts-slide-button-nav.next {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
		transform: rotate(90deg);
}

#hero_posts_slider_buttons ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
	gap: 15px;
}
#hero_posts_slider_buttons ul button {
	background-color: #fff;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	-webkit-transition: background-color 0.3s ease;
	-o-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}
#hero_posts_slider_buttons ul li.active button {
	background-color: var(--accent);
}

@media (min-width: 751px) {
	#hero_posts_slider_buttons {
		display: none;
	}
}

/* 
@media (max-width: 1280px) {
	#hero_slide > .grid-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
} */
@media (max-width: 1069px) {
	#hero_cta {
		float: none;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		position: relative;
		overflow: hidden;
	}
	#hero_cta:before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: -50px;
		margin: auto;
		width: 200px;
		height: 200px;
		opacity: 0.2;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M23 11.25H9a.75.75 0 0 0-.75.75v7.6c0 .42.34.75.75.75h14c.41 0 .75-.33.75-.75V12a.75.75 0 0 0-.75-.75zm-.75 7.6H9.75v-6.1h12.5zm7.75-5.1c.41 0 .75-.34.75-.75V8a.75.75 0 0 0-.75-.75H2a.75.75 0 0 0-.75.75v5c0 .41.34.75.75.75a2.25 2.25 0 1 1 0 4.5.75.75 0 0 0-.75.75v5c0 .41.34.75.75.75h28c.41 0 .75-.34.75-.75v-5a.75.75 0 0 0-.75-.75 2.25 2.25 0 1 1 0-4.5zm-.75 5.92v3.58H2.75v-3.58a3.76 3.76 0 0 0 .02-7.34h-.02V8.75h26.5v3.58a3.76 3.76 0 0 0-.02 7.34h.02z'/%3E%3C/svg%3E%0A");
		background-position: center;
    	background-repeat: no-repeat;
    	background-size: contain;
		-webkit-transform: rotate(-45deg);
		    -ms-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}

	#hero_title {
		top: 0;
	}

	#hero_title:hover {
		top: 5px;
	}

	#hero_slide h2 {
		text-align: center;
		font-size: var(--h-1);
		margin-bottom: 1.5em;
	}

	#hero_posts li {
		-ms-flex-preferred-size: 25%;
		    flex-basis: 25%;
	}
	#hero_posts li:nth-child(5) {
		display: none;
	}
	#hero_posts li a {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		text-align: center;
	}
	#hero_posts li img {
		width: 75px;
	}
}
@media (max-width: 750px) {
	#hero_posts, #hero_cta p {
		display: none;
	}
	#hero_title {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		min-height: 160px;
	}
	#hero_slide h2 {
		margin-bottom: 0;
	}
}