.os-hero-v2 {
    width: 100%;
    position: relative;
    display: block;
    padding-top: var(--wp--preset--spacing--x-large);
    padding-bottom: var(--wp--preset--spacing--x-large);
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

.os-hero-v2--bg-brand-slate {
    background: radial-gradient(circle, #484E61 0%, var(--wp--preset--color--text-dark) 50%);
}

.os-hero-v2--bg-white {
    background: #fff;
}

.os-hero-v2--overlap.os-hero-v2--bg-brand-slate,
.os-hero-v2--overlap.os-hero-v2--bg-white {
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 70%;
}

.os-hero-v2--bg-white,
.os-hero-v2--bg-white .os-hero-v2__subtitle,
.os-hero-v2--bg-white .os-hero-v2__overline,
.os-hero-v2--bg-white .os-hero-v2__title,
.os-hero-v2--bg-white .os-hero-v2__subtitle p,
.os-hero-v2--bg-white .gform_heading h2{
    color: var(--wp--preset--color--text-dark) !important;
}

.os-hero-v2--bg-brand-slate .gform_heading h2{
    color: #fff !important;
}

.os-blocks-content:has(.os-hero-v2) {
  gap: 0 !important;
}

.os-hero-v2__inner {
    max-width: 1366px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.os-hero-v2--one-col .os-hero-v2__inner {
    align-items: center;
    text-align: center;
}

.os-hero-v2--one-col .os-hero-v2__content {
    margin: 0 auto;
}

.os-hero-v2--one-col .os-hero-v2__subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.os-hero-v2--one-col .os-hero-v2__logo {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.os-hero-v2--one-col .os-hero-v2__actions {
    justify-content: center;
}

.os-hero-v2--two-col .os-hero-v2__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--os-grid-gap);
}

.os-hero-v2--two-col .os-hero-v2__content {
    flex: 0 0 50%;
}

.os-hero-v2--two-col .os-hero-v2__media {
    width: 100%;
    position: relative;
    overflow: visible;
}

.os-hero-v2--overlap .os-hero-v2__media {
    width: 100%;
    max-width: 990px;
}

.os-hero-v2--form-below .os-hero-v2__media {
    width: 60%;
}

.os-hero-v2__media img {
    width: 100%;
    height: auto;
}

.os-hero-v2__logo {
    margin-bottom: 20px;
    max-width: 600px;
}

.os-hero-v2__logo--small {
    width: clamp(120px, 25%, 300px);
}

.os-hero-v2__logo--medium {
    width: clamp(150px, 50%, 450px);
}

.os-hero-v2__logo--large {
    width: clamp(200px, 75%, 600px);
}

.os-hero-v2__logo--full {
    width: clamp(250px, 100%, 700px);
    max-width: 100%;
}

.os-hero-v2__logo img {
    max-width: 100%;
    height: auto;
}

.os-hero-v2__title {
    margin: 0 0 var(--wp--preset--spacing--small) 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

.os-hero-v2__subtitle {
    margin-bottom: 30px;
    max-width: 600px;
    color: #ffffff !important; 

}

.os-hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.os-hero-v2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    color: #fff;
}

@media (max-width: 900px) {

    .os-hero-v2--two-col .os-hero-v2__inner {
        flex-direction: column;
    }

    .os-hero-v2--two-col .os-hero-v2__content,
    .os-hero-v2--two-col .os-hero-v2__media {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .os-hero-v2__media {
        margin-top: 40px;
    }

    .os-hero-v2--form-below .os-hero-v2__media {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .os-hero-v2--overlap.os-hero-v2--bg-brand-slate,
    .os-hero-v2--overlap.os-hero-v2--bg-white {
        background-size: 100% 80%;
    }
}

.os-hero-v2 .os-video-block { display: block; }
.os-hero-v2 .os-video-block button.trigger-modal { display: block; width: 100%; position: relative; padding: 0; border: 0; background: transparent; }
.os-hero-v2 .os-video-block img.video-thumb { display: block; width: 100%; height: auto; }
.os-hero-v2 .os-video-thumb_overlay { position: absolute; inset: 0; display: grid; place-items: center;}

.os-hero-v2__image--rounded {
    border-radius: var(--wp--preset--spacing--small);
}

.os-hero-v2__image--ratio-6-4,
.os-hero-v2__image--ratio-1-1 {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.os-hero-v2__image--ratio-6-4 {
    aspect-ratio: 6 / 4;
}

.os-hero-v2__image--ratio-1-1 {
    aspect-ratio: 1 / 1;
}

.os-hero-v2 .os-block-hero__image-overlay {
    width: 70px;
    height: 70px;
    background-color: var(--os-accent-trans-60);
    border-radius: var(--os-radius-s);
    box-shadow: var(--os-box-shadow-l);
    position: absolute;
    right: 60px;
    bottom: -35px;
    opacity: 0;
    animation: fade-in 1s ease-in-out 0.8s forwards;
}

.os-hero-v2 .os-block-hero__image-overlay:first-of-type {
    top: 60px;
    left: -35px;
    right: auto;
    bottom: auto;
    opacity: 0;
    animation: fade-in 1s ease-in-out 1.2s forwards;
}

@media screen and (max-width: 960px) {
    .os-hero-v2 .os-block-hero__image-overlay {
        width: 60px;
        height: 60px;
        bottom: -30px;
        right: 30px;
    }

    .os-hero-v2 .os-block-hero__image-overlay:first-of-type {
        top: 30px;
        left: -30px;
    }
}

.os-hero-v2 .os-hero-v2__actions {
    margin-top: var(--wp--preset--spacing--small);
}
