.page .hero {
    position: relative;
    isolation: isolate;
    min-height: 150px;
    overflow: hidden;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(10, 22, 42, .95) 0%, rgba(18, 34, 56, .82) 35%, rgba(28, 43, 57, .34) 64%, rgba(20, 30, 38, .10) 100%),
        url('../images/factory-dashboard-hero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 16px 36px rgba(15, 35, 75, .16);
}

.page .hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .06));
    pointer-events: none;
}

.page .hero > * {
    position: relative;
    z-index: 1;
}

.page .hero h1 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .32);
}

.page .hero p {
    color: #e0ecff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .32);
}

.page .hero .hero-actions,
.page .hero > .actions,
.page .hero > div:last-child:has(.btn) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: rgba(4, 18, 43, .64);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(3px);
}

.page .hero .btn.light,
.page .hero .hero-actions .btn,
.page .hero > .actions .btn {
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .94);
    color: #075985;
    box-shadow: 0 5px 14px rgba(3, 17, 46, .18);
    white-space: nowrap;
}

.page .hero .btn.light:hover,
.page .hero .hero-actions .btn:hover,
.page .hero > .actions .btn:hover {
    background: #fff;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .page .hero {
        min-height: 205px;
        background-position: 62% center;
    }

    .page .hero .hero-actions,
    .page .hero > .actions,
    .page .hero > div:last-child:has(.btn) {
        width: 100%;
        justify-content: flex-start;
    }

    .page .hero .hero-actions .btn,
    .page .hero > .actions .btn {
        flex: 1 1 120px;
    }
}

@media print {
    .page .hero {
        color: #111;
        background: #fff;
        box-shadow: none;
    }
}
