#locations {
    height: 1076px;
    padding: 16px 0 0;
    box-shadow: #00000026 0px 0px 3px 3px inset, #00000026 0px 0px 3px 3px inset;
}

.locations_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 62px 0 0;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

.loc_gradient {
    display: none;
}

.fon_loc {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.locations_wrapper[data-loc="1"] .fon_loc {
    background: url(../assets/1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease-in-out infinite;
}

.locations_wrapper[data-loc="2"] .fon_loc {
    background: url(../assets/2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease-in-out infinite;
}

.locations_wrapper[data-loc="3"] .fon_loc {
    background: url(../assets/3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease-in-out infinite;
}

.locations_wrapper[data-loc="4"] .fon_loc {
    background: url(../assets/4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease-in-out infinite;
}

.locations_wrapper[data-loc="5"] .fon_loc {
    background: url(../assets/5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease-in-out infinite;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.loc_card {
    background: url(../assets/white-paper.jpg);
    padding: 16px;
    border-radius: 30px;
    max-width: 728px;
    width: 728px;
    height: 646px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
}

body.dark .loc_card {
    background: url(../assets/paper_black.jpg);
    background-size: cover;
}

.loc_card_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 3px;
    position: relative;
}

body.dark .loc_card_border {
    background: #877751;
}

.loc_content {
    background: url(../assets/white-paper.jpg);
    padding: 22px 22px 22px 32px;
    border-radius: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 590px;
    overflow-y: scroll;
}

.loc_content::-webkit-scrollbar {
    width: 3px;
}

.loc_content::-webkit-scrollbar-track {
    background: none;
}

.loc_content::-webkit-scrollbar-thumb {
    background: var(--grey-50);
    box-shadow: 0px 0.54px 1.09px 0px #0000004D inset, 0px -0.52px 0.52px 0px #CCCCCC inset;
    border-radius: 20px;
}

.loc_content {
    scrollbar-width: thin;
    scrollbar-color: var(--grey-30) transparent;
}

body.dark .loc_content {
    scrollbar-width: thin;
    scrollbar-color: #3f3f3f transparent;
}

body.dark .loc_content {
    background: url(../assets/paper_black.jpg);
    background-size: cover;
}

.loc_card_border:after {
    content: "";
    position: absolute;
    top: 8px;
    width: calc(100% - 18px);
    left: 8px;
    height: calc(100% - 17px);
    border: 1px dotted #997759;
    border-radius: 14px;
    pointer-events: none;
}

.hide_card {
    display: none;
}

.loc_title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.loc_name {
    color: var(--red-70);
}

body.dark .loc_name {
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
}

.loc_lvl {
    color: var(--primary-black);
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.18px;
    text-transform: uppercase;

    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    box-shadow: 0px -1.25px 0.833px 0px rgba(255, 255, 255, 0.12) inset, 0px -2.508px 0.502px 0px rgba(255, 255, 255, 0.12) inset, 0px 1.254px 2.508px 0px rgba(0, 0, 0, 0.24) inset, 0px 0.833px 0px 0px #FFF, 0px -0.833px 0px 0px rgba(0, 0, 0, 0.12);
}

body.dark .loc_lvl {
    color: #E7E7E7;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.loc_line {
    height: 1px;
    min-height: 1px;
    align-self: stretch;
    background: var(--grey-30);
    box-shadow: 0px 1px 0px 0px #FFF, 0px -1px 0px 0px rgba(0, 0, 0, 0.25), 0px -1.5px 1px 0px #FFF inset, 0px -3.009px 0.602px 0px rgba(255, 255, 255, 0.30) inset, 0px 1.505px 3.009px 0px rgba(0, 0, 0, 0.40) inset;
}

body.dark .loc_line {
    background: #454545;
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}


.loc_discribe {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.discribe_title {
    color: var(--primary-black);
    font-family: Evolventa Bold;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

body.dark .discribe_title {
    color: #E7E7E7;
}

.third_block p:nth-child(2) {
    margin-bottom: 8px;
}

.discribe_text {
    color: var(--primary-black);
    font-family: Evolventa;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

body.dark .discribe_text {
    color: #E7E7E7;
}

ul.discribe_text {
    padding-left: 21px;
}

.discribe_text li {
    list-style: none;
    position: relative;
}

.discribe_text li::before {
    content: "";
    position: absolute;
    top: 8px;
    width: 6px;
    left: -21px;
    height: 6px;
    pointer-events: none;
    background: var(--grey-40);
    box-shadow: 0px -1.5px 1.2px 0px rgba(255, 255, 255, 0.80) inset, 0px 0.5px 1px 0px rgba(0, 0, 0, 0.30) inset;
    transform: rotate(45deg);
}

.second_block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 24px;
    border-radius: 12px;
    box-shadow: 0px 0.833px 0px 0px #FFF, 0px -0.833px 0px 0px rgba(0, 0, 0, 0.12), 0px -1.25px 0.833px 0px rgba(255, 255, 255, 0.12) inset, 0px -2.508px 0.502px 0px rgba(255, 255, 255, 0.12) inset, 0px 1.254px 2.508px 0px rgba(0, 0, 0, 0.24) inset;
}

body.dark .second_block {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.fourth_block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loc_names_wrapper {
    height: 100%;
    width: 31%;
    background: linear-gradient(270deg, rgba(8, 8, 8, 0.00) 0%, rgba(8, 8, 8, 0.80) 100%);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.loc_cards {
    position: relative;
    z-index: 2;
}

.loc_names {
    padding-left: 33px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loc_row {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    gap: 18px;
    align-items: center;
}

.romb_obertka {
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.romb {
    width: 8px;
    height: 8px;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    background: #ffffff;
}

.loc_row_name {
    color: var(--primary-white);
    text-align: left;
    font-family: Colus;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.192px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.active_loc .loc_row_name {
    color: var(--red-60);
}

body.dark .active_loc .loc_row_name {
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
}

body.dark .active_loc .romb {
    background: linear-gradient(180deg, #AF934C 0%, #DEBC66 50%, #AF934C 100%);
}

.active_loc .romb {
    background: var(--red-70);
    width: 12px;
    height: 12px;
}

.locations_slider {
    display: none !important;
}

body.dark .loc_obertka {
    background: url(../assets/paper_black.jpg);
    background-size: cover;
}

.loc_obertka {
    width: 100%;
    height: 100%;
    background: url(../assets/white-paper.jpg);
    border-radius: 19px;
    padding: 10px 10px 10px 0;
}

@media (max-width: 1150px) {

    .locations_slider {
        display: block !important;
    }

    .loc_names_wrapper {
        display: none;
    }

    .locations_wrapper {
        flex-direction: column;
        padding: 0;
    }

    .loc_gradient {
        display: block;
        position: absolute;
        height: 100%;
        width: 100%;
        bottom: 0;
        z-index: 0;
        padding: 0;
        background: linear-gradient(0deg, rgba(41, 41, 41, 0.9556197478991597) 28%, rgba(41, 41, 41, 0.7847514005602241) 61%, rgb(41 41 41 / 45%) 80%, rgb(41 41 41 / 0%) 100%);
    }

    .loc_row {
        display: flex !important;
        flex-direction: column-reverse;
        align-items: center;
        height: 77px !important;
        justify-content: space-between;
        gap: 4px;
    }

    .loc_row_name {
        text-align: center;
        padding: 0 8px;
    }

    .loc_cards {
        padding: 120px 0;
    }

    .loc_names {
        padding: 0 0 32px;
        gap: 0;
        width: 100%;
    }

    .loc_row.slick-active.slick-center .loc_row_name {
        color: var(--red-60);
    }

    body.dark .loc_row.slick-active.slick-center .loc_row_name {
        color: #BD9C49;
    }

    .loc_row.slick-active.slick-center .romb {
        background: var(--red-70);
        width: 10px;
        height: 10px;
    }

    body.dark .loc_row.slick-active.slick-center .romb {
        background: linear-gradient(180deg, #AF934C 0%, #DEBC66 50%, #AF934C 100%);
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 800px) {

    .loc_lvl {
        font-size: 14px;
        line-height: 100%;
        letter-spacing: -0.14px;
        text-transform: uppercase;
        display: flex;
        padding: 0 0 4px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 0px;
        box-shadow: none;
    }

    body.dark .loc_lvl {
        box-shadow: none;
    }

    .loc_name {
        font-size: 22px;
        line-height: 24px;
        letter-spacing: -0.176px;
    }

    .loc_title {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: flex-start;
    }

    .loc_obertka {
        width: 100%;
        height: 100%;
        border-radius: 9px;
        padding: 12px 10px 11px 0;
    }

    .loc_card_border:after {
        border-radius: 6px;
    }

    .loc_card {
        margin: 0 16px;
        padding: 8px;
        height: 488px;
        border-radius: 16px;
        width: 100%;
        max-width: 335px;
    }

    .loc_card_border {
        border-radius: 12px;
    }

    .loc_content {
        height: 445px;
        overflow-y: scroll;
        padding: 8px 8px 8px 22px;
    }

    .loc_cards {
        padding: 120px 0 22px;
    }

    #locations {
        height: 710px;
    }

    .loc_row_name {
        font-size: 14px;
        line-height: 16px;
        max-width: 150px;
    }

    .loc_row {
        height: 50px !important;
    }

    .loc_names {
        padding: 0 0 13px;
    }

    .active_loc .romb {
        width: 10px;
        height: 10px;
    }

    .romb {
        width: 6px;
        height: 6px;
    }

    .second_block {
        display: flex;
        flex-direction: column;
    }

    .discribe_title {
        font-size: 12px;
        line-height: 100%;
    }

    .discribe_text {
        font-size: 12px;
        line-height: 18px;
    }

    ul.discribe_text {
        padding-left: 15px;
    }

    .discribe_text li::before {
        left: -16px;
    }

    .fourth_block {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .fon_loc {
        position: absolute;
        width: 100%;
        height: 215px;
        transition: all 0.3s ease;
    }

    .locations_wrapper[data-loc="1"] .fon_loc {
        animation: none;
        background-position: top;
    }

    .locations_wrapper[data-loc="2"] .fon_loc {
        animation: none;
        background-position: top;
    }

    .locations_wrapper[data-loc="3"] .fon_loc {
        animation: none;
        background-position: top;
    }

    .locations_wrapper[data-loc="4"] .fon_loc {
        animation: none;
        background-position: top;
    }

    .locations_wrapper[data-loc="5"] .fon_loc {
        animation: none;
        background-position: top;
    }

    .loc_gradient {
        background: linear-gradient(0deg, rgb(29 29 29) 73%, rgb(29 29 29 / 89%) 77%, rgb(41 41 41 / 45%) 82%, rgb(41 41 41 / 0%) 100%);
    }
}