
.map-wrap {
    width: 100%;
}

#map {
    width: 100%;
    height: 700px;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}


.place-item:hover,
.place-item.active {
    background: #f7fbfa;
    border-color: #2f7267;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.place-thumb {
    width: 100%;
    max-width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.place-content h3 {
    font-size: 16px;
    margin: 0 0 6px;
    line-height: 1.4;
    color: #222;
    font-weight: 600;
}

.place-content p {
    font-size: 13px;
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.info-window {
    max-width: 280px;
}

.info-window img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.info-window h4 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #1f2937;
}

.info-window p {
    margin: 0 0 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
#heritageModalDetailLink
{
    display: inline-flex;
    background: #377dff!important;
    color: #fff!important;
    text-align: center;
}
@media (max-width: 991px) {
    #map {
        height: 500px;
        min-height: 400px;
    }

    .place-thumb {
        max-width: 100px;
        height: 72px;
    }

    .place-content h3 {
        font-size: 15px;
    }
}
.map-row {
    align-items: stretch;
}

.map-wrap {
    width: 100%;
}

#map {
    width: 100%;
    height: 700px;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.map-sidebar {
    height: 700px;
    min-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

/* scroll dep hon */
.map-sidebar::-webkit-scrollbar {
    width: 8px;
}

.map-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.map-sidebar::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 10px;
}

.map-sidebar::-webkit-scrollbar-thumb:hover {
    background: #8f8f8f;
}
.map-row {
    align-items: stretch;
}

.map-wrap {
    width: 100%;
}

#map {
    width: 100%;
    height: 700px;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.map-sidebar {
    height: 700px;
    min-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

/* scroll dep hon */
.map-sidebar::-webkit-scrollbar {
    width: 8px;
}

.map-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.map-sidebar::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 10px;
}

.map-sidebar::-webkit-scrollbar-thumb:hover {
    background: #8f8f8f;
}

.place-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}
.place-item a
{
    background: #377dff!important;
    color: #fff!important;
    padding: 3px 10px;
    position: absolute;
    border-radius: 15px;
    display: inline-block;
    bottom: 5px;
    font-size: 14px;
    left: 23px;
    z-index: 9999;
    cursor: pointer;
}
.place-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #d62828;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.place-thumb {
    width: 100%;
    max-width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.post_place-number
{
    position: absolute;
    top: 4px;
    left: 10px;
}
@media (max-width: 991px) {
    #map {
        height: 500px;
        min-height: 400px;
    }

    .map-sidebar {
        height: auto;
        max-height: 400px;
        overflow-y: auto;
        margin-bottom: 15px;
    }
}
.heritage-modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.heritage-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.heritage-modal-image-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

.heritage-modal-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.heritage-modal-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.heritage-modal-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 6px;
}

.heritage-audio-box {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.heritage-audio-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.heritage-modal-actions {
    display: inherit;
    gap: 10px;
    flex-wrap: wrap;
}
.map-wrapper .modal {
    z-index: 99999 !important;
}
.map-wrapper {
    position: relative;
}

.map-wrapper .modal-backdrop {
    z-index: 99998 !important;
}

@media (max-width: 991px) {
    .heritage-modal-grid {
        grid-template-columns: 1fr;
    }

    .heritage-modal-image-wrap img {
        height: 220px;
    }
}

