#mainSection {
    overflow: auto;
    border-top-left-radius: var(--bs-border-radius);

    display: flex;
    flex-direction: column;

    position: sticky;
    height: calc(100dvh - 1rem - 55px);
    /*top: calc(1rem + 75px);*/

    container-type: inline-size;
}

aside {
    position: sticky;
    top: 0;
}

aside #pageActions {
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
}

aside #pageIcon {
    min-width: 6rem;
}

/* section sous-header */
aside #pageTitle {
    border-top-right-radius: 10px;
    border-right: solid 1px #D2D3D7;
    position: relative;
    min-width: max-content;
}

/* Pour la bordure incurvée vers l'exterieur */
aside #pageTitle::after{
    z-index: 1;
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #D2D3D7;
    position: absolute;
    bottom: 0px;
    border-top: 0;
    border-right: 0;
    -moz-border-radius: 0 0 0 5px;
    -webkit-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 10px;
    right: -15px;
    box-shadow: -8px 0 0 var(--bs-body-bg);
}

aside #pageTitle h2 {
    color: var(--bs-body-color);
}

aside #pageActions, aside #pageIcon {
    border-bottom: solid 1px #D2D3D7;
}