/* People List widget */
.natroad-people {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

/* top clears the 86px sticky header + 20px */
.natroad-people__nav {
    position: sticky;
    top: 106px;
    max-height: calc(100vh - 126px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    border-left: 3px solid var(--e-global-color-b543354, #E6EDF2);
}

/* (0,2,0) beats the Hello reset and kit button styles */
.natroad-people .natroad-people__item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 0 -3px;
    padding: 10px 16px;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}

.natroad-people .natroad-people__item:is(:hover, :focus) {
    background: var(--e-global-color-79d633a3, #F3F4EE);
    color: inherit;
}

.natroad-people .natroad-people__item[aria-pressed="true"] {
    background: var(--e-global-color-79d633a3, #F3F4EE);
    border-left-color: var(--e-global-color-primary, #004978);
}

.natroad-people .natroad-people__thumb {
    flex: none;
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.natroad-people__name {
    display: block;
    color: var(--e-global-color-primary, #004978);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.natroad-people__role {
    display: block;
    color: var(--e-global-color-22db012, #8E9093);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* Text drops below the portrait when the column is narrower than ~580px */
.natroad-people__bio {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    scroll-margin-top: 106px;
}

.natroad-people__bio[hidden] {
    display: none;
}

.natroad-people .natroad-people__portrait {
    flex: none;
    width: clamp(220px, 35%, 360px);
    height: auto;
    aspect-ratio: 220 / 260;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.natroad-people__text {
    flex: 1 1 320px;
    min-width: 0;
}

.natroad-people__bio-name {
    margin: 0;
}

.natroad-people .natroad-people__bio-role {
    margin: 4px 0 0;
    font-weight: 700;
    line-height: 1.8;
}

.natroad-people .natroad-people__bio-text > * {
    margin: 16px 0 0;
}

@media (max-width: 900px) {
    .natroad-people {
        grid-template-columns: minmax(0, 1fr);
    }

    .natroad-people__nav {
        position: static;
        max-height: none;
    }

    .natroad-people__bio {
        flex-direction: column;
    }
}
