.da-amenities-map { position: relative; }
.da-amenities-map__frame { position: relative; }
.da-amenities-map__canvas { width: 100%; height: 700px; }
@media (max-width: 600px) { .da-amenities-map__canvas { height: 600px; } }

.da-amenities-map__pin {
    position: absolute; width: 32px; height: 32px; padding: 0; margin: 0;
    border: 0; background: none; cursor: pointer; line-height: 0;
}
.da-amenities-map__pin img { display: block; width: 32px; height: 32px; max-width: none; }
.da-amenities-map__pin:focus-visible { outline: 2px solid #007ac3; outline-offset: 2px; border-radius: 50%; }

.da-amenities-map .gm-style .gm-style-iw { font-family: inherit; }
.da-amenities-map__iw { color: #474747; font-size: 15px; line-height: 24px; padding: 0 20px 16px 0; }
.da-amenities-map__iw strong { font-weight: 700; color: #474747; }
.da-amenities-map__message { margin-top: 24px; }
.da-amenities-map__message p { margin: 0; padding: 0; }
.da-amenities-map__message p + p { margin-top: 0; font-size: 12px; line-height: 20px; }
.da-amenities-map__message p:last-child { margin-top: 20px; font-size: 15px; line-height: 24px; }
.da-amenities-map__message a { color: #57add0; font-weight: 400; text-decoration: none; }
.da-amenities-map__message a:hover { text-decoration: underline; }

/* Category panel from WP Maps Pro ("Area Amenities", theme colours), closed by default. */
.da-amenities-map__panel {
    position: absolute; top: 60px; right: 10px; z-index: 3; width: 220px; max-width: calc(100% - 80px);
    background: #e8e5dd; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); font-size: 14px;
}
.da-amenities-map__panel summary {
    display: block; cursor: pointer; padding: 8px 12px; background: #007ac3; color: #fff;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700; list-style: none;
}
.da-amenities-map__panel summary::-webkit-details-marker { display: none; }
.da-amenities-map__panel summary::after { content: "+"; float: right; }
.da-amenities-map__panel[open] summary::after { content: "\2212"; }
.da-amenities-map__panel ul { list-style: none; margin: 0; padding: 8px 12px; }
.da-amenities-map__panel li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.da-amenities-map__panel img { width: 32px; height: 32px; }

@media (max-width: 600px) {
    /* On phones the open property window fills the top half, so the panel sits bottom left. */
    .da-amenities-map__panel { top: auto; bottom: 34px; right: auto; left: 10px; width: 200px; font-size: 13px; }
    .da-amenities-map__panel[open] { max-height: calc(100% - 120px); overflow: auto; }
}

.da-amenities-map__fallback { padding: 8px 16px; }
