@media screen {
    .job__excerpt {
        position: relative;
    }

    .reviews-collapsed .job__excerpt .job__par {
        max-height: 4lh;
        overflow: hidden;
    }

    .reviews-collapsed .job__expand:not([hidden]) {
        position: absolute;
        inset: auto 0 0;
        width: 100%;
        line-height: inherit;
        height: 1lh;
        min-height: 24px;
        background: linear-gradient(transparent, #fff);
        cursor: pointer;
    }

    .job__expand:focus-visible {
        outline: 2px solid #007cfa;
        outline-offset: -2px;
    }
}

.job__expand[hidden] {
    display: none;
}

@media print {
    .job__expand {
        display: none;
    }
}
