.places-explore-page {
    padding: 4px 0 20px !important;
}

.places-explore-page > .container {
    padding-top: 6px !important;
    padding-bottom: 12px !important;
}

.places-explore-page .c-breadcrumb,
.places-explore-page .breadcrumb {
    margin-bottom: 4px !important;
    padding: 0 !important;
}

.places-hero {
    gap: 12px !important;
    margin-bottom: 8px !important;
}

.places-hero h1 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin: 0 0 2px !important;
}

.places-hero p {
    font-size: .82rem !important;
    line-height: 1.35 !important;
}

.places-view-toggle button {
    font-size: .82rem;
    min-height: 32px !important;
    padding: 0 12px !important;
}

.places-map-shell {
    display: block !important;
    grid-template-columns: none !important;
}

.places-map-list,
.places-list-head,
.places-map-feature,
.places-card-arrow,
.places-card-location {
    display: none !important;
}

.places-map-stage {
    overflow: visible !important;
    position: relative;
}

.places-map {
    height: min(46vh, 480px) !important;
    min-height: 340px !important;
}

.places-map canvas,
.places-map svg:not(.palika-ward-label-svg) {
    max-height: none !important;
    max-width: none !important;
}

.places-map .leaflet-overlay-pane,
.places-map .leaflet-palikaBoundaryPane-pane,
.places-map .leaflet-palikaWardPane-pane,
.places-map .leaflet-overlay-pane canvas,
.places-map .leaflet-overlay-pane svg,
.places-map .leaflet-pane > canvas,
.places-map .leaflet-pane > svg:not(.palika-ward-label-svg) {
    display: block !important;
    max-height: none !important;
    max-width: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    visibility: visible !important;
}

.places-map:not(.is-ward-names-visible) .leaflet-marker-icon.palika-ward-name {
    display: none !important;
}

.places-map .leaflet-marker-icon.palika-ward-name,
.leaflet-div-icon.palika-ward-name {
    align-items: center;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    height: 22px !important;
    justify-content: center;
    margin: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    width: 72px !important;
}

.palika-ward-name span {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
    color: #111827;
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 3px 8px;
    white-space: nowrap;
}

.places-carousel-wrap {
    background: #ffffff;
    bottom: auto !important;
    left: auto !important;
    padding: 14px 48px 8px !important;
    pointer-events: auto;
    position: relative !important;
    right: auto !important;
    z-index: 2;
}

.places-carousel-title {
    color: #0f172a;
    display: none;
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 12px;
}

.places-carousel-viewport {
    overflow-x: auto;
    padding: 6px 2px 14px;
    pointer-events: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.places-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.places-carousel-track {
    display: flex;
    gap: 14px;
    width: max-content;
}

.places-map-panel .places-map-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
    color: #0f172a;
    display: flex !important;
    flex: 0 0 214px;
    flex-direction: column;
    gap: 0 !important;
    grid-template-columns: none !important;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none;
    width: 214px;
}

.places-map-floating-card,
.places-map-name-hover {
    display: none !important;
}

.leaflet-tooltip.places-map-name-tooltip,
.places-map-name-tooltip {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .16) !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px 10px !important;
    pointer-events: none;
    text-shadow: none !important;
    white-space: nowrap;
}

.leaflet-tooltip.places-map-name-tooltip::before,
.places-map-name-tooltip::before {
    display: none !important;
}

.places-map-panel .places-map-card:hover,
.places-map-panel .places-map-card.is-active {
    background: #ffffff !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .2);
    color: #0f172a;
    text-decoration: none;
    transform: none;
}

.places-map-panel .places-map-card img {
    aspect-ratio: 16 / 10;
    border-radius: 0;
    height: 118px !important;
    object-fit: cover;
    width: 100% !important;
}

.places-map-card-body {
    padding: 12px 14px 14px;
}

.places-map-panel .places-map-card h3 {
    color: #0f172a;
    font-size: .98rem !important;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}

.places-card-meta {
    color: #64748b;
    display: flex;
    font-size: .78rem;
    font-weight: 700;
    gap: 12px;
}

.places-card-meta span {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

.places-card-meta i {
    color: #dc143c;
}

.places-card-index {
    left: 10px !important;
    top: 10px !important;
    z-index: 2;
}

.places-carousel-nav {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    color: #0f172a;
    cursor: pointer;
    display: flex;
    font-size: 1.15rem;
    height: 42px;
    justify-content: center;
    pointer-events: auto;
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    width: 42px;
    z-index: 2;
}

.places-carousel-nav:disabled {
    opacity: .35;
}

.places-carousel-nav.is-prev {
    left: 10px;
}

.places-carousel-nav.is-next {
    right: 10px;
}

.places-carousel-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 2px;
    pointer-events: auto;
}

.places-carousel-dot {
    background: rgba(255, 255, 255, .7);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .2);
    height: 8px;
    padding: 0;
    width: 8px;
}

.places-carousel-dot.is-active {
    background: #dc143c;
    width: 22px;
}

.places-map .palika-ward-label-svg,
.places-map .leaflet-pane > svg.palika-ward-label-svg {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 0 !important;
    left: 0;
    overflow: visible !important;
    pointer-events: none !important;
    position: absolute;
    top: 0;
    width: 0 !important;
}

.places-map .palika-ward-label-text {
    fill: #14532d;
    font-size: 11px;
    font-weight: 700;
    paint-order: stroke;
    pointer-events: none;
    stroke: #ffffff;
    stroke-linejoin: round;
    stroke-width: 4px;
}

.places-map .leaflet-marker-icon.palika-ward-label-marker,
.places-map-boundary-label {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    display: none !important;
}

.places-benefits {
    background: #ffffff !important;
    border: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.places-benefit {
    border-right: 0 !important;
    grid-template-columns: 52px 1fr auto;
}

.places-benefit--local i {
    background: #ecfdf3;
    color: #15803d;
}

.places-benefit--scenic i {
    background: #f3e8ff;
    color: #7c3aed;
}

.places-benefit--nav i {
    background: #fff7ed;
    color: #ea580c;
}

.places-benefit-arrow {
    display: none !important;
}

@media (max-width: 991px) {
    .places-map {
        height: min(42vh, 360px) !important;
        min-height: 260px !important;
    }

            .places-carousel-wrap {
                padding: 14px 0 4px !important;
            }

    .places-carousel-title {
        display: block;
        padding: 0 4px;
    }

    .places-carousel-nav,
    .places-carousel-dots {
        display: none;
    }

    .places-map-panel .places-map-card {
        flex-basis: 198px;
        width: 198px;
    }
}

@media (max-width: 575px) {
    .places-benefits {
        grid-template-columns: 1fr !important;
    }

    .places-benefit {
        border-bottom: 1px solid #edf2f7;
    }

    .places-benefit-arrow {
        background: none !important;
        color: #94a3b8 !important;
        display: flex !important;
        font-size: 1.1rem !important;
        height: auto !important;
        width: auto !important;
    }
}
