.harbour-marker {
    background: transparent;
    border: 0;
}

.harbour-marker__pin {
    display: grid;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    place-items: center;
    color: #ffffff;
    background: #075985;
    border: 2px solid #ffffff;
    border-radius: 50% 50% 50% 12%;
    box-shadow: 0 3px 10px rgba(8, 47, 73, 0.42);
    transform: rotate(-45deg);
    transition: transform 150ms ease, background-color 150ms ease;
}

.harbour-marker__pin svg {
    width: 22px;
    height: 22px;
    transform: rotate(45deg);
}

.harbour-marker:hover .harbour-marker__pin,
.harbour-marker:focus .harbour-marker__pin {
    background: #0e7490;
    transform: rotate(-45deg) scale(1.08);
}

.harbour-popup {
    min-width: 220px;
    color: #0f172a;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.harbour-popup__category {
    margin-bottom: 4px;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.harbour-popup__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
}

.harbour-popup__description {
    margin: 8px 0 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

.harbour-popup__details {
    display: grid;
    gap: 5px;
    margin: 10px 0 0;
    padding-top: 9px;
    border-top: 1px solid #e2e8f0;
}

.harbour-popup__row {
    display: grid;
    grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    font-size: 12px;
}

.harbour-popup__row dt {
    color: #64748b;
}

.harbour-popup__row dd {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-weight: 600;
}

.harbour-popup__link {
    display: inline-block;
    max-width: 100%;
    margin-top: 10px;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: underline;
}

.harbour-popup__link:hover,
.harbour-popup__link:focus {
    color: #0c4a6e;
}

.harbour-object-tooltip {
    color: #0f172a;
    font: 700 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
