:root {
    --h-height: calc(205px - 31px);
}

.overlap-hero {
	margin-top: calc(-1 * var(--h-height))!important;
	background: var(--base);
}

.wp-block-acf-home-hero .home-hero {
	margin: 0;
}

.overlap-hero .octane-content {
    padding: calc(var(--h-height) + 150px) 20px 50px;
}

.overdrive-wrap {
    max-width: 1500px;
    margin-inline: auto;
}

.hero-content-flex {
    width: fit-content;
}

.hero-title {
    font-size: var(--fs-xxlg);
    font-weight: 900;
    margin-block: 0;
    color: var(--sec);
    font-size: 6rem;
}

.hero-subtitle {
    color: var(--sec);
    font-weight: normal;
    font-size: var(--fs-lg);
    margin-top: 0;
}

.hero-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero-text {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(3px);
    border: 4px solid var(--sec);
    border-radius: 25px;
    color: white;
    padding: 20px;
    max-width: 600px;
    margin-top: 150px;
    margin-left: 100px;
    margin-bottom: 20px;
    position: relative;
}

.hero-text img {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    right: -55px;
    bottom: -50px;
}

.hero-text p {
    margin: 0;
    font-size: var(--fs-sm);
}

@media(max-width: 1800px) {
	:root {
		--h-height: calc(262px - 31px);
	}
}

@media(max-width: 1024px) {
    :root {
        --h-height: calc(220px - 31px);
    }

    .overlap-hero .octane-content {
        padding: calc(var(--h-height) + 50px) 20px 50px;
    }

    .hero-text {
        margin-top: 50px;
        margin-left: 0px;
        margin-inline: auto;
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-title-flex {
        flex-direction: column;
    }

    .hero-subtitle {
        margin-bottom: 10px;
        text-align: center;
    }
        
}

@media(max-width: 768px) {
    .hero-text {
        margin-top: 20px;
        margin-bottom: 50px;
        padding-bottom: 70px;
    }

    .hero-text img {
        right: initial;
        left: 50%;
        bottom: -50px;
        transform: translatex(-50%);
    }
}

@media(max-width: 550px) {
    :root {
        --h-height: calc(247px - 31px);
    }

}