
.writer-item{
    display: flex !important;
    justify-content: space-between;
    flex-direction: column;
    padding: 0;
    height: 100%;
    border-radius: 32px;
    background: #2F2F46;
    gap: 0;
    transition: 0.2s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
}
.rating-star{
    width: 10px;
    height: 10px;
    margin: 0 2px 0 0;
    background: url(../img/star-rate.svg) no-repeat;
    background-size: cover;
}
.writer-head-container {
    display: flex;
    gap: 16px;
}
.writer_level {
    display: flex;
    border-radius: 16px;
    background: #3C3B58;
    padding: 16px 24px;
    transition: 0.2s ease;
}
.writer_level span {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 8px;
    display: block;
}
.writer_level p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: rgba(231, 231, 246, 0.60);
    margin: 0;
}
.writer_level .level-container {
    padding-right: 48px;
    border-right: 1px solid #79798C;
}
.writer_level .orders-container {
    padding-left: 24px;
}
.writer-item__icon img{
    width: 96px;
    height: 96px;
    border-radius: 100%;
    overflow: hidden;
}
.writer-item__gender{
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    color: #8B8B8B;
    margin: 0 12px 0 0;
}
.writer-item__info{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.writer-item__id, .writer-item__orders, .writer-item__rate{
    font-family: "Neue Montreal",sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 110%; /* 26.4px */
    letter-spacing: -0.48px;
    color: #E7E7F6;
}
.writer-item__id {
    margin-bottom: 12px;
}
.writer-item__rate{
    display: flex;
    margin-bottom: 0;
    align-items: center;
}
.writer-item__id span, .writer-item__orders span, .writer-item__rate span{
    color: #E7E7F6;
    margin: 0 0 0 5px;
}
.writer-item__rate span {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
.rating{
    white-space: nowrap;
    display: flex;
    margin: 0 4px;
    gap: 4px;
}
.writer-item__subject{
   padding: 0 24px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.subject-tags{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.subject-tag-item{
    padding: 4px 12px;
    white-space: nowrap;
    border: 1px solid rgba(231, 231, 246, 0.40);
    box-sizing: border-box;
    border-radius: 100px;
    font-family: "Neue Montreal",sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #E7E7F6;
}
.writer-item__review{
    position: relative;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-top: 24px;
    padding: 0 24px 24px;
}

.writer-item__account{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 24px 24px 24px 24px;
    border-bottom: 1px solid #3C3B58;
}
.writer-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.writer-item__review--wrap {
    padding: 24px 0 0 0;
    background: #3C3B58;
    border-radius: 0 0 32px 32px;
    transition: 0.2s ease;
}
.rew-footer-title {
    margin: 0;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
    padding: 0 24px;
}
.rew-footer-title span {
    display: inline-block;
    border-radius: 24px;
    background: #8267DA;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: #E7E7F6;
    padding: 4px 12px;
    margin-left: 8px;
}
.writer-item-btn a{
    display: block;
    text-align: center;

    background: linear-gradient(to bottom,#fffFFF33,#00000000),#7F60E4;
    width: 100%;
    border-radius: 0 0 32px 32px;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}
.writer-item-btn a:hover {
    background-color: #E7E7F6;
    color: #8267DA;
    border-color: #8267DA;
}
.writer-item:hover {
    border: 1px solid #B592FF;
    background: #050507;
}
.writer-item:hover .writer-item__review--wrap{
    background: #1A1A27;
}
.writer-item:hover .writer_level {
    background: #1A1A27;
}
#writers-list {
    margin-top: 130px;
    margin-bottom: 176px;
    padding-left: 0;
    padding-right: 24px;
    border-radius: 0 32px 32px 0;
}
#writers-list h2 {
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 79.2px */
    letter-spacing: -1.44px;
    margin-bottom: 16px;
}
#writers-list .hiw-title {
    width: 100%;
    color: #ADB0C8;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    max-width: 100%;
    text-align: center;
}

#writers-list .slick-slide {
    padding: 0 12px;
}
#writers-list .slick-list {
    border-radius: 0 32px 32px 0;
}
.writersContainer {
    transition: opacity 1s;
    position: relative;
    border-radius: 0 32px 32px 0;

}
.writers-carousel, .writers-side-block {
    visibility: hidden;
    opacity: 0;
}

.writers-carousel.slick-initialized, .writers-carousel.slick-initialized + .writers-side-block {
     visibility: visible;
     opacity:1;
}

.writers-side-block {
    border-radius: 32px;
    background: #8267DA;
    box-shadow: -24px 0px 40px 0px rgba(0, 0, 0, 0.64);
    position: absolute;
    bottom: 0;
    height: 100%;
    right: 0;
    padding: 40px 24px 55px;
    overflow: hidden;
}

.writers-side-block:before {
    content: '';
    position: absolute;
    background: url("../img/writersNew/writers-side2.png") no-repeat;
    width: 115px;
    height: 126px;
    background-position: top right;
    background-size: contain;
    top: 0;
    right: 0;
}
.writers-side-block:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/writersNew/writers-side.svg") no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    border-radius: 32px;
}
.side-header p {
    color: #FFF;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 35.2px */
    letter-spacing: -0.64px;
    margin-bottom: 16px;
}
.side-header {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(231, 231, 246, 0.20);
    position: relative;
    z-index: 5;
}
.side-header span {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}
.writers-side-block ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}
.writers-side-block ul li {
    display: flex;
    justify-content: space-between;
    min-width: 282px;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
}
.writers-side-block ul p {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
    margin-bottom: 0;
}
.writers-side-block ul span {
    color: #101010;
    border-radius: 8px;
    background: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    padding: 0 10px;
    display: flex;
    align-items: center;
}
#writers-list .slick-gr-right {
    right: 32%;
}
#writers-list .slick-gr-left {
    left: 32%;
    transform: rotate(180deg);
}
#writers-list .slick-dots li button,
#writers-list .slick-dots li button:before,
#writers-list .slick-dots li{
    padding: 0;
    width: 8px;
    height: 8px;
}
#writers-list .slick-dots li button:before {
    font-size: 29px;
    line-height: 0;
}
#writers-list .slick-arrow {
    top: auto;
    bottom: -98px;
}
#writers-list .slick-dots {
    bottom: -80px;
}
@media screen and (max-width: 1165px) {
    .writers-side-block {
        position: relative;
        margin-top: 120px;
        overflow: hidden;
        margin-left: 13px;
        margin-right: 13px;
    }
    .writersContainer {
        border-radius: 0;
    }
    #writers-list {
        padding-right: 0;
        border-radius: 0;
    }
    #writers-list .slick-list {
        border-radius: 0;
    }
}
@media screen and (max-width: 991px) {
    #writers-list  .slick-initialized .slick-slide {
        display: flex;
        height: auto;
    }
    #writers-list .slick-track {
        display: flex;
    }
    #writers-list .slick-gr-right {
        right: 13px;
    }
    #writers-list .slick-gr-left {
        left: 13px;
    }
    #writers-list .slick-arrow {
        bottom: -88px;
    }
    #writers-list .slick-dots {
        bottom: -68px;
    }
}
@media screen and (max-width: 767px) {
    .writer-head-container {
        width: 100%;
        max-width: 415px;
    }
    .writer_level {
        width: 100%;
    }
    .writer-item__icon img {
        width: 80px;
        height: 80px;
    }
    .writer-head-container {
        gap: 12px;
    }
    .writer-item__account {
        border-bottom: 0;
    }
    .writer-item__subject {
        margin-top: 0;
        margin-bottom: 24px;
    }
    .writer_level {
        padding: 16px;
    }
    .writer_level .level-container {
        padding-right: 26px;
    }
    .writer_level .orders-container {
        padding-left: 26px;
    }
    .writer-item__review {
        margin-top: 27px;
    }
    .side-header {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .writers-side-block ul {
        gap: 8px;
    }
    .writers-side-block {
        padding: 24px;
    }
    .writers-side-block:before {
        width: 177px;
        height: 153px;
    }
    #writers-list .slick-slide {
        padding: 0;
    }
    #writers-list {
        padding-left: 13px;
        padding-right: 13px;
    }
    #writers-list .slick-list {
        padding: 0 !important;
    }
}