/* Figma 35:259. Uses the theme's .container, .btn, Inter and Nunito. */
.block-av06-hero.av06-hero {
    position: relative;
    isolation: isolate;
    left: 50%;
    transform: translateX(-50%);
    width: var(--av06-viewport, 100%);
    max-width: none;
    min-height: clamp(720px, 49.21875vw, 1080px);
    margin: 0;
    padding: 0;
    display: grid;
    align-items: center;
    overflow: hidden;
    overflow: clip;
    color: #fff;
    background: #0b0b0b;
    text-align: left;
}

.av06-hero .av06-hero__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.av06-hero .av06-hero__background,
.av06-hero .av06-hero__foreground {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.av06-hero .av06-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 70.26%);
}

.av06-hero .av06-hero__inner {
    padding-block: 100px;
}

.av06-hero .av06-hero__content {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: min(600px, 52%);
}

.av06-hero .av06-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.av06-hero .av06-hero__heading {
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font-size: clamp(44px, 3.125vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
    overflow-wrap: anywhere;
}

.av06-hero .av06-hero__description {
    margin: 0;
    padding: 0;
    color: inherit;
    font: 400 clamp(20px, 1.25vw, 24px) / clamp(28px, 1.666667vw, 32px) "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.av06-hero .av06-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.av06-hero .av06-hero__button {
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 52.5px;
    margin: 0;
    padding: 16px 32px;
    font-size: 16px;
    line-height: 20.5px;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.av06-hero .av06-hero__button--secondary {
    width: 272px;
    color: #373737;
    box-shadow: none;
}

.av06-hero .av06-hero__button--secondary::after {
    background: #fff;
}

.av06-hero .av06-hero__button--secondary::before {
    background: #ededed;
}

.av06-hero .av06-hero__button--secondary:hover {
    color: #373737;
}

.av06-hero .av06-hero__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
    box-shadow: 0 0 0 5px #0b0b0b;
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .av06-hero .av06-hero__content {
        gap: 40px;
    }

    .av06-hero .av06-hero__copy {
        gap: 24px;
    }
}

/* No mobile frame was supplied: retain both original layers below the copy. */
@media (max-width: 1023px) {
    .block-av06-hero.av06-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .av06-hero .av06-hero__inner {
        order: 1;
        padding-block: 64px 32px;
    }

    .av06-hero .av06-hero__content {
        width: 100%;
        max-width: 600px;
        gap: 32px;
    }

    .av06-hero .av06-hero__copy {
        gap: 24px;
    }

    .av06-hero .av06-hero__art {
        position: relative;
        inset: auto;
        z-index: 0;
        order: 2;
        width: 100%;
        height: clamp(340px, 100vw, 520px);
    }

    .av06-hero .av06-hero__background,
    .av06-hero .av06-hero__foreground {
        object-position: 87% center;
    }

    .av06-hero .av06-hero__shade {
        background: linear-gradient(180deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 45%);
    }
}

@media (max-width: 599px) {
    .av06-hero .av06-hero__inner {
        padding-top: 48px;
    }

    .av06-hero .av06-hero__heading {
        font-size: clamp(34px, 9.23vw, 44px);
        line-height: 1.16;
    }

    .av06-hero .av06-hero__description {
        font-size: 18px;
        line-height: 28px;
    }

    .av06-hero .av06-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .av06-hero .av06-hero__button {
        width: 100%;
        min-height: 54px;
        padding-inline: 20px;
    }
}

/* The supplied theme does not load its base stylesheet in Gutenberg.
 * These fallbacks stay inside the editor; no extra fonts are requested.
 */
.editor-styles-wrapper .block-av06-hero.av06-hero {
    --av06-viewport: 100%;
    left: auto;
    transform: none;
    min-height: 0;
    container: av06-editor / inline-size;
    font-family: "Nunito", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.editor-styles-wrapper .av06-hero,
.editor-styles-wrapper .av06-hero *,
.editor-styles-wrapper .av06-hero *::before,
.editor-styles-wrapper .av06-hero *::after {
    box-sizing: border-box;
}

.editor-styles-wrapper .av06-hero .av06-hero__inner {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 20px;
}

.editor-styles-wrapper .av06-hero .av06-hero__heading {
    font-family: "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.editor-styles-wrapper .av06-hero .av06-hero__button {
    border: 0;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background: #d32d23;
}

.editor-styles-wrapper .av06-hero .av06-hero__button--secondary {
    color: #373737;
    background: #fff;
}

/* Respond to the preview column, which can be narrower than the editor window. */
@container av06-editor (max-width: 1023px) {
    .av06-hero .av06-hero__inner {
        order: 1;
        padding-block: 48px 32px;
    }

    .av06-hero .av06-hero__content {
        width: 100%;
        gap: 32px;
    }

    .av06-hero .av06-hero__heading {
        font-size: clamp(34px, 6cqw, 44px);
    }

    .av06-hero .av06-hero__description {
        font-size: 18px;
        line-height: 28px;
    }

    .av06-hero .av06-hero__art {
        position: relative;
        inset: auto;
        z-index: 0;
        order: 2;
        width: 100%;
        height: clamp(340px, 100cqw, 520px);
    }

    .av06-hero .av06-hero__background,
    .av06-hero .av06-hero__foreground {
        object-position: 87% center;
    }

    .av06-hero .av06-hero__shade {
        background: linear-gradient(180deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 45%);
    }
}

@container av06-editor (max-width: 599px) {
    .av06-hero .av06-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .av06-hero .av06-hero__button {
        width: 100%;
        min-height: 54px;
        padding-inline: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av06-hero .av06-hero__button,
    .av06-hero .av06-hero__button::before,
    .av06-hero .av06-hero__button::after {
        transition: none;
    }
}
