@import "../bootstrap/variables";

.organizations-lists-hero {
    width: 100%;
    height: 320px;

    img {
        position: absolute;
        inset: 0;
    }

    &__mask {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(1deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
        backdrop-filter: blur(8px);

        .dark-mode & {
            background: linear-gradient(1deg, rgba(170, 184, 197, 0.90) 0%, rgba(170, 184, 197, 0.00) 100%);
        }
    }
}

.organizations-lists-header {
    top: -119px;
    margin-bottom: -119px;
    z-index: 5;

    &__mask {
        position: absolute;
        inset: 8px;
        bottom: -8px;
        border-radius: 32px;
        opacity: 0.5;
        background: var(--white);
        z-index: 1;
    }

    &__overlay-img {
        width: 280px;
        height: 280px;
        position: absolute;
        right: 16px;
        bottom: 16px;
        top: auto;

        @media (max-width: $screen-sm-max) {
            width: 140px;
            height: 140px;
            bottom: auto;
            top: 0;
        }

        .rtl & {
            right: auto;
            left: 16px;
        }
    }
}

.organizations-lists__top-users {
    height: 484px;
    background-color: #1D2934;
    background-image: url("/assets/design_1/img/organization/top_organization_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.organizations-lists-top-filters {

    &__mask {
        position: absolute;
        top: 4px;
        left: 8px;
        right: 8px;
        bottom: -8px;
        border-radius: 16px;
        opacity: 0.5;
        background: var(--white);
        z-index: 1;
    }
}

.organizations-lists-filters {

    &__mask {
        position: absolute;
        inset: 8px;
        bottom: -8px;
        border-radius: 16px;
        opacity: 0.5;
        background: var(--white);
        z-index: 1;
    }

    .organizations-lists-sort-input {
        width: 220px;
    }

    &__post-img {
        width: 68px;
        height: 48px;
    }
}
