/* General Styles */
.hero-block {
    position: relative;
}
.hero-block .block-inner {
    position: relative;
}
.hero-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  height: 100%;
  margin: 0 auto;
  right: 0;
display: flex;
align-items: flex-end;
justify-content: flex-start;
box-sizing: border-box;
}
.hero-overlay-container-inner {
  width: 100%;
}
.hero-block :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
    margin-bottom: 0;
}

.hero-block h1 {
    margin-bottom: 25px;
}
.hero-block::before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Height */
/* .hero-height-full-screen .hero-image-wrap img {
    aspect-ratio: 1920 / 1080;
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-height: 550px;
    max-height: clamp(550px, 100vh, 1080px);
    display: block;
} */
.hero-height-full-screen .hero-image-wrap img {
    aspect-ratio: 1920 / 1080;
    /*height: 100vh;*/
    width: 100%;
    object-fit: cover;
    min-height: 550px;
    max-height: clamp(550px, 100svh, 1080px);
    display: block;
}
.single-case_study  .hero-image-wrap img {
    aspect-ratio: 1920 / 1080;
    /*height: 100vh;*/
    width: 100%;
    object-fit: cover;
    min-height: 550px;
    max-height: clamp(550px, 100svh, 1080px);
    display: block;
}
.hero-height-medium .hero-image-wrap img {
    aspect-ratio: 1920 / 613;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 613px;
    display: block;
    min-height: 225px;
}
.hero-height-narrow .hero-image-wrap img {
    aspect-ratio: 1920 / 520;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    max-height: 520px;
    display: block;
}


/* Content alignment */
.hero-content-alignment-center .hero-overlay-container {
	text-align: center;
}

.hero-content-alignment-left .hero-overlay-container {
  text-align: left;
  padding-bottom: 70px;
  padding-top: 150px;
  flex-wrap: wrap;
  color: #fff;
}
.hero-overlay-container-inner {
  max-width: 1264px;
  margin: 0 auto;  
}
@media all and (min-width: 1921px) {
.hero-content-alignment-left .hero-overlay-container .hero-overlay-container-inner {
    max-width: calc(1264px + 99px); /*+99*/
}
}
.hero-content-wrap {
    max-width: 1062px;
}
.hero-content-alignment-right .hero-overlay-container {
	text-align: right;
}

.hero-content-alignment-center .hero-buttons-container-inner, .hero-content-alignment-center .block-inner {
	justify-content: center;
}
.hero-content-alignment-left .hero-buttons-container-inner, .hero-content-alignment-left .block-inner {
	justify-content: flex-start;
}
.hero-content-alignment-right .hero-buttons-container-inner, .hero-content-alignment-right .block-inner {
	justify-content: flex-end;
}


/* Buttons */
.hero-overlay-container .button-container {
  width: 100%;
  margin-top: 60px;
}

.hero-buttons-container {
	margin-top: 40px;
}
.hero-buttons-container-inner {
	display: flex;
}
.hero-buttons-container-inner button {
	margin-left: 7.5px;
	margin-right: 7.5px;
}
.hero-buttons-container-inner button:first-of-type {
	margin-left: 0;
}
.hero-buttons-container-inner button:last-of-type {
	margin-right: 0;
} 


/* Image */

/* Video */

/* Slider */
.hero-block.hero-type-slider::after {
    display: none;
}
.hero-block.hero-type-slider .hero-slider-container li::before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        z-index: 1;
}

/* Slider nav */
.hero-slider-nav-outer {
    max-width: 1920px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}
.hero-slider-nav-inner {
    line-height: 0;
    width: 100%;
}
#prev-hero, #next-hero {
    position: relative;
    padding: 0;
    border: none;
        pointer-events: all;
    background: none;
    outline: none;
-webkit-animation: fadein ease 1.4s;
animation: fadein ease 1.4s;
}
#prev-hero {
    position: relative;
    left: 30px;
}
#next-hero {
    float: right;
    position: relative;
    right: 30px;
}
#prev-hero svg, #next-hero svg {
    height: 60px;
    opacity: 0.6;
    color: #fff;
	transition: all 0.3s ease;
    display: block;
}
#prev-hero svg:hover, #next-hero svg:hover {
    opacity: 1;
}


/* dots navigation */
.hero-block .tns-nav {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}
.hero-block .tns-nav button {
    border-radius: 30px;
    width: 13px;
    height: 13px;
    padding: 0;
    background: none;
    border: 1px solid #FFF;
    margin-left: 4px;
    margin-right: 4px;
}
.hero-block .tns-nav button.tns-nav-active {
    background: #fff;
}


.single .hero-content-wrap {
    max-width: 100%;
}
.hero-content-logos-wrap {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
  gap: 20%;
}
.hero-content-logos-wrap .entry-meta {
    margin-top: 30px;
}
.hero-content-logos-wrap .post-categories {
display: flex;
gap: 5px;
flex-wrap: wrap;
}
.hero-content-logos-wrap .post-categories .category {
    color: #FDC601;
    font-weight: 400 !important;
}
.hero-content-logos-wrap .post-categories .category::after {
  content: "\B7";
  display: inline-block;
  padding: 0 0 0 5px;
}
.hero-content-logos-wrap .post-categories .category:last-of-type::after {
  display: none;
}
.hero-content-logo-secondary {
display: flex;
align-items: flex-end;
justify-content: flex-end;    
}
.hero-content-logo img, .hero-content-logo svg {
    width: 90%;
    max-width: 450px;
}
.hero-content-logo-secondary img, .hero-content-logo-secondary svg {
    max-width: 250px;
}

@media all and (max-width: 1366px) {
.hero-content-alignment-left .hero-overlay-container {
  padding-bottom: 50px;
}
.hero-overlay-container .button-container {
  margin-top: 40px;
}
}

@media all and (max-width: 1024px) {
.hero-height-full-screen .hero-image-wrap img {
    height: 100svh;
}
/*.single .hero-height-full-screen .hero-image-wrap img {
    height: 60svh;
    min-height: 400px;
}*/
.hero-content-logo-secondary img, .hero-content-logo-secondary svg {
    max-width: 200px;
}
}

@media all and (max-width: 1023px) {
.hero-content-wrap p {
  display: none;
}
.hero-block h1 {
  margin-bottom: 0;
}
}
@media all and (max-width: 768px) {
.hero-content-alignment-left .hero-overlay-container {
  padding-bottom: 40px;
}
.hero-overlay-container .button-container {
  margin-top: 30px;
}
.hero-content-logos-wrap {
  gap: 30px;
    grid-template-columns: 1fr;
}
.hero-content-logos-wrap .hero-content-logo-secondary {
    order: 1;
    justify-content: flex-start;
}
.hero-content-logos-wrap .hero-content-logo {
    order: 2;
}
}
@media all and (max-width: 480px) {
.hero-content-alignment-left .hero-overlay-container {
  padding-bottom: 30px;
}
.hero-overlay-container .button-container {
  margin-top: 20px;
}
.hero-content-logo img, .hero-content-logo svg {
    max-width: 380px;
}
}