#map {
    position: relative;
    display: block;
    padding: 112px 0 70px;
    overflow: hidden;
}

#map-row {
    background: inherit !important;
}

.bottom_block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bottom_block b {
    font-family: Evolventa Bold;
}

.bottom_block * {
    color: var(--primary-black);
    font-family: Evolventa;
    font-size: 18px;
    line-height: 24px;
}

body.dark .bottom_block * {
    color: #E7E7E7;
}

.bottom_block ul {
    list-style: none;
}

.bottom_block li {
    position: relative;
}

.bottom_block 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);
}

.third_text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
    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;
}

.third_text p {
    margin: 0 !important;
}

body.dark .third_text {
    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;
}

.map_line {
    height: 0.738px;
    align-self: stretch;
    margin: 16px 0;
    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 .map_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;
}

.text_date {
    text-align: left !important;
    color: var(--primary-black);
    font-family: Colus;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
}

body.dark .text_date {
    color: #FFF;
    font-weight: 400;
}

#map-card {
    color: var(--primary-black);
    font-size: 18px;
    line-height: 22px;
    position: relative;
    padding: 0;
    margin: 0;
    z-index: 4;
    background-image: none;
    max-width: 700px;
}

#map-card ul {
    padding-left: 24px;
}

.map-card__container {
    display: none;
}

body.dark .map-card__container h4 {
    background: linear-gradient(180deg, #BD9C49 0%, #E6B843 63.5%, #EECE7F 79%, #8C7845 98.5%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-card__container h4 {
    color: #AA0909;
    font-family: Colus;
    font-size: 32px;
    font-style: normal;
    text-align: left !important;
    margin-bottom: 0 !important;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.32px;
    padding-bottom: 8px;
}

#map-scrollable {
    position: relative;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.map_frame {
    position: absolute;
    z-index: 3;
    top: -100px;
    left: -110px;
    pointer-events: none;
    width: 1380px;
    background-image: url(../assets/mapframe.png);
    width: 1370px;
    height: 870px;
    pointer-events: none;
}

body.dark .map_frame {
    background: url(../assets/black_frame.png);
}

#map-scrollable__scroll {
    height: 580px;
    width: 1030px;
    overflow: hidden;
    border-radius: 70px;
}

#map-scrollable__content {
    background-image: url(../assets/map.jpg);
    background-position: 0 center;
    background-size: auto 644px;
    transition: position .2s linear;
    width: 5312px;
    height: 100%;
    position: relative;
}

.map-item {
    width: 142px;
    height: 140px;
    background-image: url(../assets/item.png);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ededed;
    text-shadow: 0px 0px 3px #1e1b1b;
    font-family: Montserrat;
}

.map-item.active {
    animation: pulse 2s linear infinite;
    background-image: url(../assets/item-active.png);
}

.map_container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    width: fit-content;
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 64px 0px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.map_container .col-offset-1 {
    margin-left: 0;
    height: 700px;
    display: block;
}

.nice_divider {
    background: url(../assets/nice_divider.png);
    width: 100%;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#map-card::after {
    display: none;
    content: "";
    position: absolute;
}

.hide_fourth {
    display: none;
}

.show_fourth {
    display: block;
}

@keyframes pulse {
    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.map_container .col-7 {
    flex: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 1880px) {

    .map_container {
        flex-direction: column;
    }

    #map-card {
        max-width: 1030px;
    }

    .double_text {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .hide_fourth {
        display: block;
    }

    .show_fourth {
        display: none;
    }

    .first_text {
        order: 1;
    }

    .double_text {
        order: 3;
    }

    .third_text {
        order: 2;
    }
}


@media (max-width: 1160px) {
    #map-scrollable {
        display: none;
    }

    .map_frame {
        display: none;
    }

    #map {
        display: none;
    }
}