.map {
    width: 100%;
    position: relative;
    margin-top: 20px
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    overflow: hidden;
}

.hotel_1 {
    position: absolute;
    top: 22%;
    left: 17%;
    width: 80px;
    height: 80px;
}

.hotel_2 {
    position: absolute;
    top: 17%;
    left: 32%;
    width: 120px;
    height: 90px;
}

.kd_pointer {
    position: absolute;
    top: 34%;
    left: 53%;
    width: 20%;
    height: 27%;
}

.kd {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms;
    max-height: 400px;
    overflow-y: auto;
}

.kd_pointer:hover .kd {
    opacity: 1;
    pointer-events: auto;
}

.kd_item {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.kd h3 {
    font-size: 14px;
    margin-top: 10px
}

.program-page-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    /*gap: 12px;*/
    position: relative;
    height: fit-content;
    border: 1.5px solid #fff;
    border-radius: 10px;
    padding: 16px;
    background: #f8f1ff;
    cursor: url('/public/cursors/pointer.cur'), auto;
    transition: opacity 300ms;
    height: auto;
    text-decoration: none !important;
}

.program-page-card:hover {
    opacity: 0.9;
}

.program-page-card__header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 133%;
    letter-spacing: 0.02em;
    color: #000;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.program-page-card__header-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* maps */
.hotel_map {
    width: 600px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: flex;
    gap: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms;
}

.hotel_1:hover .hotel_map {
    opacity: 1;
    pointer-events: auto;
}

.hotel_map_item {
    width: calc(50% - 2.5px);
    aspect-ratio: 1.45/1;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 200ms;
}
.hotel_map_item:hover {
    opacity: 0.8;
}

.hotel_map_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel_map_view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.231);
    z-index: 1000;
    opacity: 0; 
    pointer-events: none;
    transition: all 200ms;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel_map_view.active {
    opacity: 1;
    pointer-events: auto;
}

.hotel_map_view_content {
    width: 100%;
    max-width: 700px;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    aspect-ratio: 1;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
}

/* map sport */
.hotel_map_2 {
    width: 250px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: flex;
    gap: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms;
}

.hotel_map_2 .hotel_map_item {
    width: 100%;
}

.hotel_2:hover .hotel_map_2 {
    opacity: 1;
    pointer-events: auto;
}

.map_little_card {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.map_little_card_content {
    position: absolute;
    top: 100%;
    left: 100%;
    padding: 7px 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms;
}

.map_little_card_content_number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgb(255, 152, 169);
    color: rgb(255, 109, 133);;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map_little_card_content_text {
    white-space: nowrap;
    font-size: var(--font-family);
}

.map_little_card:hover .map_little_card_content {
    opacity: 1;
    pointer-events: all;
}

#mi_14 {
    top: 28%;
    left: 26%;
    width: 30px;
    height: 30px;
}

#mi_14_2 {
    top: 69%;
    left: 73%;
    width: 30px;
    height: 30px;
}

#mi_14_3 {
    top: 59.5%;
    left: 72.5%;
    width: 30px;
    height: 30px;
}

#mi_15 {
    top: 54%;
    left: 50%;
    width: 30px;
    height: 30px;
}

#mi_16 {
    top: 30%;
    left: 35%;
    width: 55px;
    height: 25px;
}

#mi_17 {
    top: 33%;
    left: 43%;
    width: 65px;
    height: 45px;
}

@media screen and (max-width: 800px) {
    .hotel_map_view_content {
        height: auto;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .hotel_1 {
        width: 40px;
        height: 30px;
    }
    .hotel_map {
        width: 300px;
    }
    .hotel_2 {
        width: 40px;
        height: 40px;
    }
    .hotel_map_2 {
        width: 150px;
    }
    .kd {
        right: 0;
        top: 90%;
        gap: 5px;
    }
    .program-page-card {
        padding: 10px;
    }
    .program-page-card__header-item {
        font-size: 10px;

    }
    .kd h3 {
        font-size: 12px;
        line-height: 120%;
        margin-top: 3px;
    }
    #mi_14 {
        width: 15px;
        height: 15px;
    }
    #mi_14_2 {
        width: 15px;
        height: 15px;
    }
    #mi_14_3 {
        width: 15px;
        height: 15px;
    }
    #mi_15 {
        width: 15px;
        height: 15px;
    }
    #mi_16 {
        top: 29%;
        left: 34%;
        width: 30px;
        height: 15px;
    }
    #mi_17 {
        top: 32%;
        width: 30px;
        height: 15px
    }
    .map_little_card_content {
        padding: 4px;
    }
    .map_little_card_content_text {
        font-size: 10px;
    }
    .map_little_card_content_number {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    #mi_15 .map_little_card_content {
        left: -80px
    }
    #mi_14_2 .map_little_card_content {
        left: -100px
    }
    #mi_14_3 .map_little_card_content {
        left: -100px
    }
}

@media screen and (max-width: 420px) {
    .kd {
        right: -50%
    }
}

@media screen and (max-width: 396px) {
    .kd {
        right: -100%;
    }
}

@media screen and (max-width: 350px) {
    .kd {
        right: -150%;
    }
}

@media screen and (max-width: 388px) {
    .hotel_map {
        left: -40px;
    }
}