/* Machine pages: small "Show" button at the bottom-middle of the hero.
   Opens the hero photos of the page in the shared image viewer (image-lightbox.css). */

.machine-hero .hero-preview-btn {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    background: rgba(15, 18, 24, .62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.machine-hero .hero-preview-btn i {
    font-size: .72rem;
}

.machine-hero .hero-preview-btn:hover,
.machine-hero .hero-preview-btn:focus-visible {
    background: var(--site-red, #e53935);
    border-color: var(--site-red, #e53935);
    outline: none;
    transform: translateX(-50%) translateY(-1px);
}

@media (max-width: 991px) {
    /* On phones / tablets the hero is stacked (photo, then text). Reserve a strip under the
       text so the button sits at the bottom-middle of the hero without covering anything. */
    html body .machine-hero.machine-hero-slider {
        padding-bottom: 52px !important;
    }

    html body .machine-hero .hero-preview-btn {
        bottom: 12px;
        height: 28px;
        padding: 0 12px;
        font-size: .72rem;
    }
}
