.careers-preview {
    padding: 1rem 1.25rem;
    border-left: 3px solid #006699;
    background: #eef6fa;
    color: #39454c;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.career-card {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid #d9dfe2;
    border-top: 4px solid #006699;
    border-radius: 6px;
    background: #fff;
    overflow-wrap: anywhere;
}

.career-card-heading h3 {
    margin-bottom: 0.5rem;
}

.career-location,
.career-apply small {
    color: #59666d;
    font-size: 0.9rem;
}

.career-details {
    margin-top: 1.5rem;
    padding-block: 1rem;
    border-top: 1px solid #d9dfe2;
    border-bottom: 1px solid #d9dfe2;
}

.career-details summary {
    color: #006699;
    font-weight: 600;
    cursor: pointer;
}

.career-details summary:focus-visible {
    outline: 2px solid #006699;
    outline-offset: 4px;
}

.career-details h4 {
    margin-top: 1.5rem;
}

.career-details ul {
    padding-left: 1.25rem;
}

.career-details li {
    margin-bottom: 0.5rem;
}

.career-apply {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.career-apply [aria-disabled="true"] {
    max-width: 100%;
    white-space: normal;
    cursor: not-allowed;
}

.career-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

@media (max-width: 50rem) {
    .careers-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
