/*
 * Iran Basketball House - final sticky navigation contract
 * Loaded last so legacy fixed-header rules cannot override it.
 */

@media (min-width: 981px) {
    html,
    body {
        overflow-x: clip !important;
    }

    body {
        padding-top: 0 !important;
    }

    body > .ib-site-header,
    body > .ib-header {
        position: sticky !important;
        inset-block-start: 0 !important;
        top: 0 !important;
        right: auto !important;
        left: auto !important;
        z-index: 10000 !important;
        width: 100% !important;
    }

    body.ibh-member-body,
    .ibh-member-main,
    .ibh-member-page,
    .ibh-member-app {
        overflow: visible !important;
    }

    .ibh-member-app {
        align-items: start;
    }

    .ibh-member-rail {
        position: sticky !important;
        inset-block-start: 96px !important;
        top: 96px !important;
        align-self: start;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        scrollbar-gutter: auto;
    }
}
