.rvr__komanda h1 {
    padding: 0;
    margin: 0;
}

.rvr__komanda .rvr__s_content {
    display: flex;
    flex-direction: row;
    gap: 2rem;

}

.rvr__s_filter_button {
    display: none;
}

.rvr__komanda .rvr__s_content .rvr__s_left {
    flex: 0 0 30%;
}

.rvr__komanda .rvr__s_content .rvr__s_right {
    flex: 0 0 70%;
    background: white;
    padding: 3rem;

}


.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_close {
    display: none;
}

/**items**/
.rvr__komanda .rvr__s_content .rvr__s_items {
    padding-top: 4rem;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    gap: 2rem;
}

.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item {

    flex: 0 0 calc(50% - 1rem);
    display: flex;
    flex-direction: column;

}


.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item a {
    margin-top: 4rem;
    border: 1px solid lightgrey;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    text-decoration: none;
}

.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item .rvr__s_image {
    margin-top: -8rem;
    padding: 2rem;

}

.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item .rvr__s_image img {

    object-fit: contain;
    display: flex;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    background: #f6f9fb;
}


.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item .rvr__s_name {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 0.5rem;
    font-size: var(--fs-md);
    color: var(--dark-blue);
    text-decoration: underline;
}

.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item .rvr__s_except {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    font-size: var(--fs-sm);
    color: var(--dark-blue);
    font-weight: 300;
    flex-grow: 1;
}

.rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item .rvr__s_country {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    font-size: var(--fs-sm);
    color: var(--dark-gray);
    font-weight: 600;
}


/**filter**/
.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_controls {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol {
    cursor: pointer;
    position: relative;
    margin-right: 1rem;
    font-size: var(--fs-md);
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    color: var(--dark-blue-hover);
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol:hover {
    color: (--dark-blue);
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol.rvr__s_active {
    color: (--dark-blue);
    border-bottom: 2px solid var(--dark-blue-hover);
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol span {
    position: absolute;
    right: -1rem;
    top: 0;
    font-size: var(--fs-sm);

}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol.rvr__s_active span {
    display: none;
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab {
    display: none;
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab.rvr__s_active {
    display: flex;
    flex-direction: column;
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
    padding-left: 2rem;
}


.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a {
    text-decoration: none;
    font-size: var(--fs-sm);
    color: var(--dark-blue);
    cursor: pointer;
    position: relative;

}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -2rem;
    width: 13px;
    height: 13px;
    background: transparent;
    border: 1px solid rgba(37, 43, 72, .5);
    transition: border-color .2s ease, opacity .2s ease;
}

.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a.rvr__s_active:after {
    content: '';
    position: absolute;
    top: 0;
    margin: 3px;
    left: -2rem;
    width: 9px;
    height: 9px;
    background: #252b48;
    transition: opacity .2s ease;
}


.rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_clear {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    color: rgba(15, 52, 104, .8);
    border: 1px solid rgba(15, 52, 104, .8);
    cursor: pointer;
}


@media (max-width: 960px) {

    .rvr__komanda {
        background: white;
    }

    .rvr__komanda .rvr__s_content .rvr__s_right {
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .rvr__komanda .rvr__s_content .rvr__s_items .rvr__s_item {
        flex: 0 0 100%;
    }


    .rvr__komanda .rvr__s_content .rvr__s_left {
        position: fixed;
        z-index: 5000;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        flex: unset;
        padding: 2rem;
        overflow-y: auto;
        background: rgba(37, 43, 72, .95);
        transition: opacity .2s ease, visibility .2s ease;
        display: none;
    }

    .rvr__komanda .rvr__s_content .rvr__s_left.rvr__s_active {
        display: flex;
        flex-direction: column;
    }


    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol {
        border-bottom: 2px solid rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0.6);
    }

    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab_contol.rvr__s_active {
        color: white;
        border-bottom: 2px solid white;
    }

    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a {
        color: white;
    }

    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a:before {
        border: 1px solid rgba(255, 255, 255, .5);
    }

    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_tab ul li a.rvr__s_active:after {
        background: white;
    }

    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_clear {
        color: rgba(255, 255, 255, .8);
        border: 1px solid rgba(255, 255, 255, .8);
    }


    .rvr__komanda .rvr__s_content .rvr__s_left .rvr__s_close {
        display: flex;
        padding-bottom: 4rem;
        justify-content: end;
    }

    .rvr__komanda .rvr__s_filter_button {
        display: flex;
        position: fixed;
        bottom: 0;
        background: #252B48;
        left: 0;
        right: 0;
        padding: 1rem 2rem;
        justify-content: center;
        box-shadow: 0 -2px 5px 0 rgba(46, 50, 55, .15);
        gap: 1rem;

    }

    .rvr__komanda .rvr__s_filter_button span {
        font-size: var(--fs-lg);
        border-bottom: 1px dotted #fff;
        color: white;
    }


}


