/* JobDoc overrides — complements Bootstrap 5.3.8 */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.75rem 1rem;
    background: var(--bs-primary);
    color: #fff;
    z-index: 1080;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

img.logo-img,
.site-logo img,
.help-logo img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.meta-note {
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.job-header h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.job-header .job-code {
    display: block;
    font-size: 1.1em;
}

.section-heading {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.nested-table {
    margin-bottom: 0;
}

.nested-table td,
.nested-table th {
    border: none;
    padding: 0.15rem 0.5rem 0.15rem 0;
}

.job-detail-table th[scope="row"] {
    width: 14rem;
    vertical-align: top;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
