#opinion {
    overflow: hidden;
}

.opinion_wrapper {
    height: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 122px 0 80px;
    gap: 0px;
}

.opinion_block {
    max-width: 1184px;
    width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 55px;
    padding: 30px 0;
}

.opinion_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 49px 0 29px;
    position: relative;
    z-index: 2;
}

.opinion_text h2 {
    text-shadow: 0px 2px 4px #00000059;
}

.opinion_text p {
    max-width: 709px;
}

.opinion_head {
    width: 100%;
    position: relative;
}

.opinion_head:before {
    background-image: url(../assets/long.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
}

body.dark .opinion_head:before {
    opacity: 0.2;
}

.opinion_names {
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    text-shadow: 0px 2px 2px #0000004D;
    transition: all 0.3s ease-out;
    white-space: nowrap;
    cursor: pointer;
}

.opinion_names:hover {
    color: var(--red-70);
}

body.dark .opinion_names:hover {
    color: #BD9C49;
}

.opinion_obertka {
    position: relative;
    width: 958px;
    height: 635px;
}

.opinion_botom {
    background: #BEBEBE1A;
    padding: 20px 0 0;
    box-shadow: 0px 1px 1.09px 0px #0000004D inset, 0px -1px 1px 0px #00000026 inset;
}

body.dark .opinion_botom {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.opinion_box.slick-center .opinion_names {
    font-size: 24px !important;
    color: var(--red-70);
}

body.dark .opinion_box.slick-center .opinion_names {
    color: #BD9C49;
}

.opinion_box.slick-center .opinion_arrow {
    visibility: visible;
}

.opinion_arrow {
    clip-path: polygon(50% 50%, 0 100%, 100% 100%);
    background-color: var(--red-70);
    width: 20px;
    height: 20px;
    margin: 0 auto;
    visibility: hidden;
    transition: all 0.1s ease-out;
}

body.dark .opinion_arrow {
    background-color: #BD9C49;
}

.opinion_pars {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 13px 0 0;
    min-height: 675px !important;
    position: relative;
}

.opinion_card {
    max-width: 358px;
    height: 581px !important;
    top: 12.49px;
    padding: 16px;
    border-radius: 20px;
    background-image: url(../assets/white-paper.jpg);
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D;
}

body.dark .opinion_card {
    background-image: url(../assets/paper_black.jpg);
    background-size: cover;
}

.opinion_card_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 3px;
}

body.dark .opinion_card_border {
    background: #877751;
}

.card_body {
    border-radius: 12px;
    background-image: url(../assets/white-paper.jpg);
    width: 100%;
    height: 100%;
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

body.dark .card_body {
    background-image: url(../assets/paper_black.jpg);
    background-size: cover;
}

.card_body:after {
    content: "";
    position: absolute;
    top: 8.28px;
    width: calc(100% - 16.55px);
    left: 8.28px;
    height: calc(100% - 16.55px);
    border: 1px dotted #997759;
    border-radius: 8px;
    pointer-events: none;
}

body.dark .card_body:after {
    border: 1px dotted #877751;
}

.opinion_pars {
    position: relative;
    width: 100%;
    height: 400px;
}

.card_first {
    transform: rotate(-2deg);
    position: absolute;
    top: -17px;
    left: 135px;
    z-index: 5002;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card_second {
    transform: rotate(2deg);
    position: absolute;
    top: 23px;
    right: 136px;
    z-index: 5001;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card_second:hover {
    top: 11px;
    right: 120px;
}

.card_second:hover~.card_first {
    left: 10px;
    z-index: 5002;
}


.card_avatar {
    background-image: url(../assets/backmini.jpg);
    border-radius: 8px;
    position: relative;
    background-size: cover;
    box-shadow: 0px 1px 3px 0px #00000066 inset;
}

body.dark .card_avatar {
    background-image: url(../assets/backmini_b.jpg);
    border-radius: 8px;
    position: relative;
    background-size: cover;
    box-shadow: -1px -1px 3px 0px #c9c9c94a inset;
}

.card_avatar img {
    border-radius: 8px;
    background-color: inherit;
}

.pers_name {
    font-family: Jost;
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--primary-black);
    padding-bottom: 14px;
}

body.dark .pers_name {
    color: #E7E7E7;
}

.pers_about {
    font-family: Evolventa;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    color: var(--primary-black);
}

body.dark .pers_about {
    color: #E7E7E7;
}

.opinion-control {
    width: 75px;
    height: 75px;
    min-height: 75px;
    border-radius: 50%;
    background: linear-gradient(201deg, #330303 -0.63%, #6E0C0C 45.8%, #330303 92.23%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 1.5px 4.5px 0px #0000004D, 0px 6px 12px 4.5px #00000026;
    transition: all 0.3s ease;
}

body.dark .opinion-control {
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
}

body.dark .opinion-control img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(44%) saturate(2499%) hue-rotate(350deg) brightness(101%) contrast(93%);
}

.opinion-control img {
    margin-left: 5px;
}

.opinion-control:hover {
    transform: scale(1.03);
}

.opinion-control.pause img {
    margin-left: 1px;
}

.bc-control_black {
    background: #080808;
}


body.dark .bc-control_black {
    background: #080808;
}

body.dark .bc-control_black img {
    filter: none;
}

.opinion_arrows {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: row;
    max-width: 1100px;
    justify-content: space-between;
    top: 60%;
    left: 50%;
    z-index: 5000;
    transform: translate(-50%, -60%);
}

.arrow_opinion {
    width: 80px !important;
    height: 80px !important;
    background-image: url(../assets/arrowback.png);
    filter: drop-shadow(0px 2px 6px #00000026);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark .arrow_opinion {
    background-image: url(../assets/arrow_b.png);
}

.arrow_opinion img {
    opacity: 50%;
    transition: all 0.3s ease;
}

body.dark .arrow_opinion img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(37%) saturate(570%) hue-rotate(5deg) brightness(92%) contrast(84%);
}

.arrow_opinion:hover img {
    opacity: 1;
}

.arrow_opinion:hover {
    filter: drop-shadow(0px 4px 4px #0000004D);
}

.opinion-next img {
    transform: rotate(180deg);
}

.obmanka {
    display: none;
}

.card_body_up {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

@media (max-width: 1230px) {
    .opinion_block {
        max-width: 100%;
        align-items: center;
        justify-content: center;
        padding: 30px 8px;
    }

    .obmanka {
        display: block;
    }
}

@media (max-width: 1100px) {
    .opinion_head {
        background-size: cover;
    }

    .arrow_opinion {
        display: none !important;
    }
}

@media (max-width: 900px) {

    .opinion_block {
        gap: 16px;
    }

    .card_body_up {
        gap: 8px;
    }

    .opinion_head:before {
        background-size: cover;
    }

    .card_second:hover {
        top: 39px;
        right: 10px;
    }

    .opinion_obertka {
        width: 352px;
        height: 347px;
    }

    .opinion_text {
        padding: 52px 16px 8px;
    }

    .opinion_pars {
        min-height: 306px !important;
        padding: 0;
    }

    .card_first {
        top: 19px;
        left: 6px;
    }

    .opinion_botom {
        padding: 13px 0 0;
    }

    .card_second {
        top: 39px;
        right: 6px;
    }

    .card_body:after {
        content: "";
        position: absolute;
        top: 3px;
        width: calc(100% - 8px);
        left: 3px;
        height: calc(100% - 8px);
        border: 1px dotted #997759;
        border-radius: 6px;
        pointer-events: none;
    }

    .opinion_card {
        width: 174px;
        height: 280px !important;
        padding: 8px;
        border-radius: 10px;
    }

    .opinion_card_border {
        padding: 1px;
        border-radius: 8px;
    }

    .card_body {
        padding: 12px;
        gap: 8px;
        border-radius: 6px;
    }

    .pers_name {
        font-size: 14px;
        font-weight: 500;
        line-height: 14px;
        letter-spacing: -0.01em;
        padding-bottom: 8px;
    }

    .pers_about {
        font-size: 8px;
        font-weight: 400;
        line-height: 12px;
    }

    .opinion-control {
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .opinion-control img {
        width: 10px;
        height: 12px;
    }


    .opinion-control img {
        margin-left: 1px;
    }

    .opinion-control.pause img {
        margin-left: 0px;
    }

    .opinion_wrapper {
        padding: 160px 0 0;
        gap: 15px;
    }

    .opinion_names {
        font-size: 12px;
        font-weight: 400;
        line-height: 24px;
        text-align: center;
        padding: 0 20px;
    }

    .opinion_box.slick-center .opinion_names {
        font-size: 12px !important;
    }

    .opinion_arrow {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 900px) {
    .opinion_block {
        gap: 16px 8px;
    }
}