.p2p-team-list {
    width: 100%;
    background-size: cover !important;
}

.p2p-team-list__img-layer {
    width: 100%;
    height: 468px;
    background: url(../../images/layer.png) no-repeat;
    background-size: 100% 468px;
}

.p2p-team-list__bg-layer {
    width: 100%;
    height: 468px;
    background: linear-gradient(90deg, #BEBEBE 31%, rgba(217, 217, 217, 0.00) 73%);
}

.p2p-team-list__about {
    padding-top: 56px;
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.p2p-team-list__header {
    color: #1E0A3B;
    font-size: 48px;
    font-weight: 600;
    line-height: 76px;
}

.p2p-team-list-container {
    max-width: 1000px;
    border-radius: 4px;
    min-height: 88px;
    background: #FFF;
    margin: -55px auto 60px auto;
    padding: 12px 50px 60px 50px;
    box-sizing: border-box;
}

.p2p-team-list__title {
    color: #1E0A3B;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 55px;
    margin: 0;
    padding: 0;
}

.p2p-team-list__divider {
    width: 80px;
    height: 2px;
    border-radius: 5px;
    background: var(--primary-lighter);
    margin: auto;
}

.p2p-team-list__search {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.p2p-team-list__search-label {
    color: #B3B3B3;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px; /* 305.556% */
    letter-spacing: 0.9px;
}

.p2p-team-list__search .form-control {
    border-radius: 5px;
    border: 1px solid #BBB;
    background: #FFF;
    color: #B3B3B3;
    height: 42px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px; /* 392.857% */
    box-shadow: none !important;
}

.p2p-team-list__teams-content {
    margin-top: 40px;
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.p2p-team-list__teams {
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
}

.p2p-team-list__category {
    width: 100%;
    height: 42px;
    border-radius: 5px;
    background: #6FBE4A;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    padding: 0 10px;
}

.p2p-team-list__card {
    position: relative;
    max-width: 205px;
    height: 235px;
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
    z-index: 1;
    cursor: pointer;
    width: 100%;
}

.p2p-team-list__card-effect {
    width: 215px;
    height: 79%;
    background: var(--primary-lighter);
    position: absolute;
    left: -3px;
    bottom: -3px;
    border-radius: 8px;
    z-index: -1;
}

.p2p-team-list__card-body {
    max-width: 205px;
    width: 100%;
    height: 232px;
    background: #FFF;
    z-index: 2;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    margin: 0 0 2px 2px;
    flex-direction: column;
}

.p2p-team-list__card-image {
    max-width: 175px;
    height: 141px;
    border-radius: 5px;
    background: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p2p-team-list__team-name {
    color: var(--primary-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p2p-team-list__achieved {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.p2p-team-list__achieved-label {
    color: #393939;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.24px;
}

.p2p-team-list__achieved-value {
    color: #393939;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.24px;
}

/* Mobile Responsive Style */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {

    .p2p-team-list__about {
        padding: 56px 20px 0 20px;
    }

    .p2p-team-list__bg-layer {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 25px;
        background: linear-gradient(90deg, #BEBEBE 50%, rgba(217, 217, 217, 0.00) 100%);
    }

    .p2p-team-list-container {
        margin-top: 0;
        padding: 12px 20px 40px 20px;
    }

    .p2p-team-list__header {
        font-size: 44px;
    }

    .p2p-team-list__card-body {
        gap: 23px;
    }

    .p2p-team-list__card {
        max-width: calc(100% - 10px);
        height: auto;
    }

    .p2p-team-list__card-effect {
        width: 103%;
        left: -2px;
    }

    .p2p-team-list__card-body {
        max-width: calc(100% - 0px);
        height: auto;
    }

    .p2p-team-list__card-image {
        height: auto;
        max-width: 100%;
    }

    .p2p-team-participant__member-name {
        height: auto;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .p2p-team-list__card-body {
        gap: 40px;
    }

    .p2p-team-list__about {
        padding-left: 25px;
    }
}

.p2p__team-pagination{
    width: 100%;
}
