.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-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 {
    max-width: 700px;
    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%;
}

.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 20px 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-video-block { display: block; }
.os-video-block button.trigger-modal { display: block; width: 100%; position: relative; padding: 0; border: 0; background: transparent; }
.os-video-block img.video-thumb { display: block; width: 100%; height: auto; }
.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);
}