/* --- Map Controls (Search, Reset, Button) --- */
.rw-map-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

#rw-map-search {
    flex-grow: 1; /* Takes up available space */
    padding: 12px;
    font-size: 16px;
    width: auto;
    max-width: 350px;
}

#rw-search-btn {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #333; /* Dark button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#rw-search-btn:hover {
    background-color: #555;
}

#rw-map-reset {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#rw-map-reset:hover {
    background-color: #d32f2f;
}

/* --- Map Container --- */
.acf-map {
    width: 100%;
    height: 500px;
    border: #ccc solid 1px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}
/* Fix for Google Maps images in some themes */
.acf-map img {
   max-width: inherit !important;
}

/* --- Results List Grid --- */
.rw-map-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive Grid */
    gap: 20px;
    margin-top: 30px;
}

.rw-list-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: background 0.2s;
	background-color: var(--e-global-color-afd182e);
    border-radius: 25px;
	box-shadow: 16px 15px 28px 0px rgba(0, 0, 0, 0.43);
}
.rw-list-item h3 {
    margin-top: 0;
    font-size: 18px;
}

.rw-list-actions {
    margin-top: auto; /* Pushes buttons to the bottom of the card */
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
}
