/* Hero appearance only; copy, media and links stay editable in UX Builder. */
.pony-hero {
    --pony-hero-overlay: linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.55) 36%, rgba(0,0,0,.18) 68%, rgba(0,0,0,.08) 100%);
    position: relative;
    min-height: min(820px, 88vh);
    overflow: hidden;
    background-color: var(--pony-black);
    color: var(--pony-white);
}

.pony-hero .section-bg,
.pony-hero .section-bg-overlay,
.pony-hero .bg-fill {
    position: absolute;
    inset: 0;
}

.pony-hero .section-bg img,
.pony-hero .bg-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pony-hero .section-bg-overlay {
    background: var(--pony-hero-overlay) !important;
}

.pony-hero > .section-content,
.pony-hero > .section-content > .row {
    min-height: inherit;
}

.pony-hero > .section-content > .row {
    align-items: center;
}

.pony-hero__content {
    max-width: 665px;
    padding-top: 76px;
}

.pony-hero__eyebrow {
    margin-bottom: 14px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.pony-hero__title,
.pony-hero__title h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(56px, 5vw, 84px);
    line-height: .98;
    letter-spacing: -.04em;
}

.pony-hero__desc,
.pony-hero__desc p {
    max-width: 555px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.72;
}

.pony-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pony-hero__actions > .col {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    padding-bottom: 0;
}

.pony-hero__actions .pony-button .button,
.pony-hero__actions .button.pony-button,
.pony-hero__video .button,
.button.pony-hero__video {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Keep the primary action and video action together on desktop. */
.pony-hero__actions .button.pony-button { width: auto; }

.pony-hero__video .button,
.button.pony-hero__video {
    gap: 9px;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(255,255,255,.08);
    color: #fff;
    backdrop-filter: blur(8px);
}

.pony-hero__video .button::before,
.button.pony-hero__video::before {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    background: currentColor;
    content: '';
    -webkit-mask: url('../../icons/play.svg') center / contain no-repeat;
    mask: url('../../icons/play.svg') center / contain no-repeat;
}

@media (max-width: 849px) {
    .pony-hero {
        --pony-hero-overlay: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.12) 34%, rgba(0,0,0,.48) 66%, rgba(0,0,0,.88) 100%);
        min-height: max(650px, 88svh);
        border-radius: 0 0 var(--pony-radius-lg) var(--pony-radius-lg);
    }

    .pony-hero .section-bg img,
    .pony-hero .bg-fill {
        object-position: center;
    }

    .pony-hero > .section-content > .row {
        align-items: flex-end;
    }

    .pony-hero__content {
        width: 100%;
        max-width: none;
        padding: 0 18px 28px;
    }

    .pony-hero__eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: .14em;
    }

    .pony-hero__title,
    .pony-hero__title h1 {
        margin-bottom: 12px;
        font-size: clamp(38px, 10vw, 50px);
        line-height: 1.02;
        letter-spacing: -.035em;
    }

    .pony-hero__desc,
    .pony-hero__desc p {
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.55;
    }

    .pony-hero__actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .pony-hero__actions > .col,
    .pony-hero__actions > .col > .col-inner {
        width: 100%;
        flex: 1 1 100%;
    }

    .pony-hero__actions .pony-button,
    .pony-hero__actions .pony-button .button,
    .pony-hero__actions .button.pony-button,
    .pony-hero__actions .pony-hero__video,
    .pony-hero__actions .pony-hero__video .button,
    .pony-hero__actions .button.pony-hero__video {
        width: 100%;
    }
}
