/* This forces the scrollbar to take up space and remain visible */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
    /* Vertical width */
    height: 8px;
    /* Horizontal height */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    /* The draggable part */
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* The background path */
}

#google-places-wp-map {
    border-radius: 0.3rem;
    height: 99.54%;
}

.google-maps-wp-map-container {
    padding: 0.5rem;
    width: 100%;
    margin: 0 auto 2rem;
    min-height: 60vh;
}

.google-maps-wp-wrapper {
    width: 100%;
    /* border-radius: 0.3rem; */
}

.info-window-img {
    max-width: 150px !important;
    height: 130px;
    width: 100%;
    margin: auto 0 1rem;
    display: block;
}

.google-maps-wp-map-container .section-heading {
    width: 100%;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.google-places-wp-map-flex {
    display: flex;
    overflow: scroll;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .google-places-wp-map-flex {
        flex-direction: row;
    }
}

.google-places-wp-map-box-left {
    flex: 0 0 auto;
    height: 40dvh;
    width: 100%;
    overflow-y: scroll;
    background-color: green;
}

@media (min-width: 1024px) {
    .google-places-wp-map-box-left {
        height: 80dvh;
        width: 40%;
    }
}

.google-places-wp-map-box-right {
    flex: 1 0 auto;
    height: 50dvh;
}

@media (min-width: 1024px) {
    .google-places-wp-map-box-right {
        height: 80dvh;
        width: 60%;
    }
}

.google-places-wp-map-flex ul.map-controller {
    list-style: none;
    margin: 0 !important;
    padding: 0 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    height: 700px;
    padding: 0.5rem;
    border-radius: .4rem;
    width: 100%;
}

.google-places-wp-map-flex ul.map-controller li button {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: none;
    border-radius: 0.2rem;
    cursor: pointer;
    text-align: left;
}

.google-wp-places-places-listed {
    margin-left: 0.5rem;
    max-height: unset;
    overflow: unset;
    column-count: 2;
}

.google-wp-places-places-listed p {
    /* margin: 0 0 0.5rem 0; */
    margin: 0;
    width: 95%;
    text-align: left;
    border-radius: 0.2rem;
    /* padding: 0.5rem 0; */
    /* padding: 0 0 0 1.5em; */
    /* text-indent: 0; */
    break-inside: avoid-column;
    /* text-indent: -1.3em; */
    line-height: 1.1 !important;
    padding: 0;
}

a[data-place-id] {
    display: grid !important;
    /* Column 1: Fixed width for numbers (adjust 2rem as needed) */
    /* Column 2: Takes up the remaining space */
    grid-template-columns: 2rem 1fr; 
    align-items: start;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px;
}
/* .google-wp-places-places-listed p::before {
    content: "• ";
    font-weight: bold;
    padding-right: 0;
} */

.google-wp-places-places-listed a {
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: capitalize;
    letter-spacing: 0.09rem;
    padding: 0.2rem 0.4rem;
}

.google-places-wp-infowindow {
    max-width: 240px;
}

.google-places-wp-infowindow .google-places-wp-iw-title {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

#google-places-wp-map .gm-style-iw-c button[aria-label="Close"] {
    height: 38px !important;
    margin-bottom: -2rem !important;
}

.google-places-wp-infowindow img {
    width: 100%;
    max-width: 208px;
}

.google-places-wp-infowindow p {
    margin-bottom: 0;
}