/* ==========================================================================
   2026-11 site refresh: overrides for styles the theme files can't edit.

   Colours and fonts are set at the source (style.css, kmj-home.css,
   kmj-property-ux.css). This file only beats CSS that lives in the database:
   Houzez theme-option colours (houzez-style-inline-css) and the Customizer
   "Additional CSS" (wp-custom-css), which prints after every stylesheet, so
   these rules use a body prefix to be more specific than it.
   ========================================================================== */

/* ---------- Houzez primary colours (gold / burgundy in theme options) ---------- */
body .btn-primary,
body .fc-button-primary,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--kmj-ink) !important;
    border-color: var(--kmj-ink) !important;
    color: #fff !important;
}
body .btn-primary:hover,
body .fc-button-primary:hover {
    background-color: #2b2622 !important;
    border-color: #2b2622 !important;
    color: #fff !important;
}
body .btn-primary-outlined,
body .btn-primary-outlined:focus {
    color: var(--kmj-ink);
    border-color: #d9d4cd;
    background-color: #fff;
}
body .btn-primary-outlined:hover {
    color: #fff;
    border-color: var(--kmj-ink);
    background-color: var(--kmj-ink);
}
body .page-item.active .page-link {
    background-color: var(--kmj-ink) !important;
    border-color: var(--kmj-ink) !important;
    color: #fff !important;
}
body .page-link { color: var(--kmj-ink); border-radius: 10px; }

/* The shine sweep on buttons (Customizer) */
body a.btn-primary-outlined.btn-item::after,
body button.hz-call-popup-js::after,
body .item-buttons-right-wrap .btn-primary-outlined::after {
    content: none !important;
    display: none !important;
}

/* ---------- WhatsApp: white button, green icon (all cards and sidebars) ---------- */
body a.btn-primary-outlined.btn-item[href*="whatsapp"],
body a.btn-primary-outlined.btn-item[href*="whatsapp"]:hover,
body a.hz-btn-whatsapp,
body a.hz-btn-whatsapp:hover {
    background: #fff !important;
    border: 1px solid #d9d4cd !important;
    color: var(--kmj-ink) !important;
    box-shadow: none !important;
    transform: none !important;
}
body a.btn-primary-outlined.btn-item[href*="whatsapp"]:hover,
body a.hz-btn-whatsapp:hover {
    background: #f3fcf6 !important;
    border-color: var(--kmj-wa) !important;
}
body a.btn-primary-outlined.btn-item[href*="whatsapp"] span,
body a.btn-primary-outlined.btn-item[href*="whatsapp"]:hover span,
body a.hz-btn-whatsapp span {
    color: var(--kmj-ink) !important;
}
body a.btn-primary-outlined.btn-item[href*="whatsapp"] i,
body a.btn-primary-outlined.btn-item[href*="whatsapp"]:hover i,
body a.hz-btn-whatsapp i {
    color: var(--kmj-wa) !important;
}

/* ---------- Call: the dark main button ---------- */
body button.hz-call-popup-js,
body button.hz-call-popup-js:hover,
body a.hz-call-popup-js,
body a.hz-call-popup-js:hover {
    background: var(--kmj-ink) !important;
    border-color: var(--kmj-ink) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}
body button.hz-call-popup-js i,
body button.hz-call-popup-js:hover i,
body a.hz-call-popup-js i,
body button.hz-call-popup-js span,
body a.hz-call-popup-js span {
    color: #fff !important;
}

/* Card footer buttons: same height and radius as the project page */
body .item-listing-wrap .item-buttons-wrap .btn-item {
    min-height: 44px;
    border-radius: 10px !important;
    font-weight: 700;
    font-size: 14px;
}

/* ---------- Listing cards (archives, search, related) ---------- */
body .item-listing-wrap .item-wrap {
    border: 1px solid var(--kmj-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: hidden;
    background: #fff;
}
body .item-listing-wrap .item-wrap:hover {
    box-shadow: 0 10px 30px rgba(20, 17, 15, 0.08) !important;
}
body .item-listing-wrap .item-title,
body .item-listing-wrap .item-title a {
    font-family: var(--kmj-display) !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: var(--kmj-ink) !important;
}
body .item-listing-wrap .item-price,
body .item-listing-wrap .item-price .price,
body .item-listing-wrap .item-price-wrap .item-price {
    color: var(--kmj-ink) !important;
    font-weight: 700 !important;
}
body .item-listing-wrap .item-address,
body .item-listing-wrap .item-amenities,
body .item-listing-wrap .h-type,
body .item-listing-wrap .item-amenities .hz-figure {
    color: var(--kmj-muted) !important;
}
body .item-listing-wrap .h-type,
body .item-listing-wrap .h-type span {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
}

/* Status and label chips on photos */
body .label-status,
body .hz-label,
body .labels-wrap .label,
body .property-labels-wrap .label-status {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family: var(--kmj-display) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    line-height: 1.3 !important;
    border: 0 !important;
}
body .label-status,
body .property-labels-wrap .label-status {
    background: #fff !important;
    color: var(--kmj-ink) !important;
}
body .hz-label,
body .labels-wrap .hz-label {
    background: rgba(20, 17, 15, 0.72) !important;
    color: #fff !important;
}

/* Photo arrows on cards: round and white, like the project gallery */
body .item-listing-wrap .slick-prev,
body .item-listing-wrap .slick-next,
body .item-listing-wrap .hz-item-gallery-js .swiper-button-prev,
body .item-listing-wrap .hz-item-gallery-js .swiper-button-next,
body .item-listing-wrap .listing-gallery-wrap .carousel-control-prev,
body .item-listing-wrap .listing-gallery-wrap .carousel-control-next {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--kmj-ink) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
    opacity: 1 !important;
}
body .item-listing-wrap .slick-prev::before,
body .item-listing-wrap .slick-next::before {
    color: var(--kmj-ink) !important;
}

/* Right-side card icons (preview, favourite, compare) */
body .item-footer-right-wrap .item-buttons-right-wrap .btn-primary-outlined {
    border-color: #d9d4cd !important;
    border-radius: 10px !important;
}

/* ---------- Archive header and sort bar ---------- */
body.archive .page-title h1,
body.tax-property_status .page-title h1,
body.post-type-archive-property .page-title h1 {
    font-weight: 700 !important;
}
body .breadcrumb,
body .breadcrumb a,
body .breadcrumb-item {
    color: var(--kmj-muted) !important;
}

/* On a listing page the labels sit on white, not on a photo. */
body .property-labels-wrap .label-status {
    background: var(--kmj-ink) !important;
    color: #fff !important;
}
body .property-labels-wrap .hz-label {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
}

body .item-listing-wrap .slick-prev::before,
body .item-listing-wrap .slick-next::before {
    font-size: 16px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}
body .item-listing-wrap .slick-arrow.slick-disabled {
    opacity: 0 !important;
    pointer-events: none;
}

/* Classic listing page: bottom contact bar */
body #kmj-mobile-contact-bar .kmj-enquire-btn,
body #kmj-mobile-contact-bar .kmj-enquire-btn i,
body #kmj-mobile-contact-bar .kmj-enquire-btn span {
    color: var(--kmj-ink) !important;
}
body #kmj-mobile-contact-bar .kmj-enquire-btn {
    background: #fff !important;
    border: 1px solid #d9d4cd !important;
}

/* ==========================================================================
   Listing cards, round 2 (search results use card v1, archives v9)
   ========================================================================== */

/* Buttons: the Customizer paints these with a gold gradient (background-image),
   so the shorthand is needed, not just background-color. */
body .btn-primary,
body .btn-primary:focus,
body .btn-primary:hover,
body .btn-secondary,
body .btn-secondary:focus,
body .btn-search,
body .flex-search .btn-search,
body .flex-search .btn-search:hover,
body .half-map-search-js-btn,
body .half-map-search-js-btn:hover {
    background: var(--kmj-ink) !important;
    border-color: var(--kmj-ink) !important;
    color: #fff !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}
body .btn-secondary:hover,
body .btn-search:hover { background: #2b2622 !important; }
body .flex-search .btn-search::after,
body .btn-search::after { display: none !important; }

/* "Details" inside a card: quiet outline, the card itself is the link. */
body .item-listing-wrap .item-wrap .btn-primary,
body .item-listing-wrap .item-wrap .btn-primary:hover,
body .item-listing-wrap .item-wrap .btn-primary:focus {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    min-height: 42px;
    font-size: 14px !important;
}
body .item-listing-wrap .item-wrap .btn-primary:hover { border-color: var(--kmj-ink) !important; }

/* Half-map "Prev / Next" and other map buttons */
body .map-next-prev-actions .map-btn,
body .map-btn {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}
body .map-btn:hover { border-color: var(--kmj-ink) !important; }

/* Price sitting on the photo (card v1): a white pill, always readable. */
body .item-wrap-v1 .item-price-wrap,
body .item-wrap-v2 .item-price-wrap,
body .item-wrap-v3 .item-price-wrap {
    color: var(--kmj-ink) !important;
}
body .item-wrap-v1 .item-price-wrap .item-price,
body .item-wrap-v2 .item-price-wrap .item-price,
body .item-wrap-v3 .item-price-wrap .item-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--kmj-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    text-shadow: none !important;
}
body .item-listing-wrap .item-price .price-prefix,
body .item-listing-wrap .item-price .price-postfix {
    color: var(--kmj-muted) !important;
    font-weight: 500 !important;
    font-size: 0.85em !important;
}
/* The dark fade behind on-photo text isn't needed any more. */
body .item-wrap-v1 .item-header::before,
body .item-wrap-v1 .listing-image-wrap .hover-effect::before {
    background: linear-gradient(to top, rgba(20, 17, 15, 0.28), rgba(20, 17, 15, 0) 40%) !important;
}

/* Photo tools (preview, favourite, compare): small white circles */
body .item-listing-wrap .item-tools .item-tool > span {
    display: grid !important;
    place-items: center;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--kmj-ink) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
body .item-listing-wrap .item-tools .item-tool i { color: var(--kmj-ink) !important; font-size: 14px !important; }
body .item-listing-wrap .item-tools .item-tool .text-danger,
body .item-listing-wrap .item-tools .item-favorite .active i { color: #d9363e !important; }

/* Photo arrows: both visible while there is somewhere to go, same circle style */
body .item-listing-wrap .slick-prev { left: 10px !important; }
body .item-listing-wrap .slick-next { right: 10px !important; }
body .item-listing-wrap .slick-prev,
body .item-listing-wrap .slick-next {
    z-index: 3;
    display: grid !important;
    place-items: center;
}

/* Card body: tidy spacing, two-line titles */
body .item-listing-wrap .item-body { padding: 16px 16px 14px !important; }
body .item-listing-wrap .item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px !important;
}
body .item-listing-wrap .item-address {
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
}
body .item-listing-wrap .item-amenities {
    gap: 12px;
    font-size: 13.5px !important;
}
body .item-listing-wrap .listing-image-wrap img,
body .item-listing-wrap .listing-thumb img {
    object-fit: cover;
}

/* KMJ "Details" link on cards (classes btn-search/btn-secondary): outline, not a second dark block. */
body .item-listing-wrap a.kmj-details-btn,
body .item-listing-wrap a.kmj-details-btn:focus {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    min-height: 42px;
    font-size: 14px !important;
}
body .item-listing-wrap a.kmj-details-btn:hover {
    background: #fff !important;
    border-color: var(--kmj-ink) !important;
    color: var(--kmj-ink) !important;
}

/* Elementor kit globals (burgundy primary, gold accent) used by Elementor pages and plain buttons. */
body .elementor-kit-18,
body.elementor-kit-18 {
    --e-global-color-primary: #14110f;
    --e-global-color-accent: #6f6861;   /* used as text on white, so it must stay readable */
}
/* The kit file hard-codes a gold background on Elementor buttons. */
body.elementor-kit-18 .elementor-button,
body .elementor-kit-18 .elementor-button,
body.elementor-kit-18 .elementor-widget-button .elementor-button {
    background: var(--kmj-ink) !important;
    background-color: var(--kmj-ink) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
body.elementor-kit-18 .elementor-button:hover,
body .elementor-kit-18 .elementor-button:hover { background: #2b2622 !important; color: #fff !important; }
body.elementor-kit-18 .elementor-button .elementor-button-text,
body.elementor-kit-18 .elementor-button .elementor-button-icon { color: #fff !important; }
body.elementor-kit-18 h1 { line-height: 1.15; }

/* Phone switch between list and map on the half-map search page */
body .mobile-map-switch .btn,
body #houzez-btn-listing-view,
body #houzez-btn-map-view {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
    font-weight: 700 !important;
}
body .mobile-map-switch .btn i,
body #houzez-btn-listing-view i,
body #houzez-btn-map-view i { color: var(--kmj-ink) !important; }

body .btn-primary:hover,
body .fc-button-primary:hover { background: #2b2622 !important; }

/* "Details" is the card's main action: solid, easy to spot. */
body .item-listing-wrap a.kmj-details-btn,
body .item-listing-wrap a.kmj-details-btn:focus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: var(--kmj-ink) !important;
    color: #fff !important;
    border: 1px solid var(--kmj-ink) !important;
    font-size: 15px !important;
}
body .item-listing-wrap a.kmj-details-btn::after {
    content: "\2192";
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    font-weight: 400;
    transition: transform 0.2s ease-out;
}
body .item-listing-wrap a.kmj-details-btn:hover {
    background: #2b2622 !important;
    border-color: #2b2622 !important;
    color: #fff !important;
}
body .item-listing-wrap a.kmj-details-btn:hover::after { transform: translateX(3px); }

/* The author row under each card is empty (no agent photo or name shown). */
body .item-listing-wrap .item-footer:has(.item-author) { display: none !important; }

/* Phones: one floating pill switches between list and map
   (template-parts/listing/partials/mobile-map-switch.php). */
body .mobile-map-switch.kmj-map-switch {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 990;   /* under the phone search panel and menus */
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body .kmj-map-switch .d-flex { gap: 0 !important; }
body .kmj-map-switch #houzez-btn-listing-view { display: none !important; }
body .kmj-map-switch.is-map #houzez-btn-listing-view { display: inline-flex !important; }
body .kmj-map-switch.is-map #houzez-btn-map-view { display: none !important; }
body .kmj-map-switch #houzez-btn-map-view,
body .kmj-map-switch #houzez-btn-listing-view {
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: var(--kmj-ink) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 28px rgba(20, 17, 15, 0.3) !important;
    animation: kmj-pill-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
body .kmj-map-switch #houzez-btn-map-view { display: inline-flex; }
@keyframes kmj-pill-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 992px) { body .mobile-map-switch.kmj-map-switch { display: none !important; } }

/* Compare panel (opens after "Add to compare" on a card) */
body .compare-property-panel .compare-property-label,
body .compare-property-panel .compare-btn,
body .compare-property-panel a.compare-btn.btn-primary {
    background: var(--kmj-ink) !important;
    background-image: none !important;
    color: #fff !important;
    border-color: var(--kmj-ink) !important;
}
body .compare-property-panel .compare-property-label i,
body .compare-property-panel .compare-btn i { color: #fff !important; }
body .compare-property-panel .compare-count { background: #fff !important; color: var(--kmj-ink) !important; border: 1px solid #d9d4cd; }
body .compare-property-panel .compare-property-label::after,
body .compare-property-panel .compare-btn::after { display: none !important; }

/* ==========================================================================
   Double-check pass (2026-11-07): leftovers found by a scan of every page type
   ========================================================================== */

/* Houzez "primary colour" (gold) is the default link colour site-wide. */
body a,
body a:hover,
body a:focus,
body .primary-text { color: var(--kmj-ink); }
body .houzez-read-more-link,
body .houzez-read-more-link:hover { color: var(--kmj-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

/* The Customizer styles ".btn.btn-primary" (two classes, !important). */
body .btn.btn-primary,
body .btn.btn-primary:focus,
body .btn.btn-primary:active {
    background: var(--kmj-ink) !important;
    border-color: var(--kmj-ink) !important;
    color: #fff !important;
    box-shadow: none !important;
}
body .btn.btn-primary:hover { background: #2b2622 !important; color: #fff !important; }
body .item-listing-wrap .item-wrap .btn.btn-primary,
body .item-listing-wrap .item-wrap .btn.btn-primary:hover {
    background: #fff !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
}

/* Half-map search on desktop: search, save search and map buttons. */
body .btn.btn-search,
body .btn.btn-search:hover,
body .btn.btn-search:focus {
    background: var(--kmj-ink) !important;
    background-image: none !important;
    color: #fff !important;
    border-color: var(--kmj-ink) !important;
}
body .btn.save_search_click,
body .btn.save_search_click:hover {
    background: #fff !important;
    background-image: none !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    border-radius: 10px !important;
}
body .btn.save_search_click i { color: var(--kmj-ink) !important; }
body button.map-btn,
body div.map-btn,
body .map-btn.map-btn {
    background: #fff !important;
    background-image: none !important;
    color: var(--kmj-ink) !important;
}
body .map-btn span,
body .map-btn i { color: var(--kmj-ink) !important; }
body .btn.save_search_click::after,
body .map-btn::after { display: none !important; }

/* Blog cards */
body .blog-post-item .blog-post-link a,
body .blog-post-item .blog-post-meta a,
body .blog-post-item a { color: var(--kmj-ink) !important; }
body .blog-post-item .blog-post-link a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Elementor FAQ accordions */
body .elementor-accordion .elementor-tab-title,
body .elementor-accordion .elementor-tab-title a,
body .elementor-accordion-title { color: var(--kmj-ink) !important; }

/* About page: three Elementor cards had a burgundy fill. */
body .elementor-element.elementor-element-360bf32,
body .elementor-element.elementor-element-a363efc,
body .elementor-element.elementor-element-42f2bb4 {
    --e-con-background-color: #14110f;
    background-color: #14110f !important;
}

/* Small labels stay sentence case */
body .taxonomy-subtitle,
body .badge,
body .agent-list-wrap span,
body .agent-information span { text-transform: none !important; letter-spacing: 0 !important; }

/* Customizer targets these by three classes or an ID, with !important. */
body .btn.btn-search.half-map-search-js-btn,
body .btn.btn-search.half-map-search-js-btn:hover,
body .btn.btn-search.btn-secondary.btn-secondary {
    background: var(--kmj-ink) !important;
    background-image: none !important;
    color: #fff !important;
    border-color: var(--kmj-ink) !important;
}
body .btn.save_search_click.save_search_click,
body .btn.save_search_click.save_search_click:hover {
    background: #fff !important;
    background-image: none !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
}
body #houzez-gmap-full-osm,
body .map-arrows-actions .map-btn.map-btn,
body .map-next-prev-actions .map-btn.map-btn,
body .map-zoom-actions .map-btn.map-btn {
    background: #fff !important;
    background-image: none !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
}
body #houzez-gmap-full-osm span,
body #houzez-gmap-full-osm i { color: var(--kmj-ink) !important; }

/* Agents list: agency name under each agent */
body .agent-list-position a,
body .agent-list-position span { color: var(--kmj-muted) !important; }

/* Grey outlined buttons (search "Clear", compare "Close") had white text on white. */
body .btn.btn-grey-outlined,
body .btn.btn-grey-outlined:focus {
    background: #fff !important;
    background-image: none !important;
    color: var(--kmj-ink) !important;
    border: 1px solid #d9d4cd !important;
    border-radius: 10px !important;
}
body .btn.btn-grey-outlined:hover { border-color: var(--kmj-ink) !important; color: var(--kmj-ink) !important; }
body .btn.btn-grey-outlined i { color: var(--kmj-ink) !important; }

/* ==========================================================================
   Maps (2026-11): light label-free basemap (kmj-overview-map.js), modern pin,
   English community label, round zoom buttons, small required credit.
   ========================================================================== */
body .kmj-map-card {
    border: 1px solid var(--kmj-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
}
body .kmj-map-card #houzez-overview-listing-map {
    height: 260px !important;
    background: #eeece8 !important;
}
body .leaflet-container { background: #eeece8; font-family: var(--kmj-display); }

body .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: none !important;
    margin: 12px !important;
    display: grid;
    gap: 6px;
}
body .leaflet-control-zoom a,
body .leaflet-touch .leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #d9d4cd !important;
    background: #fff !important;
    color: var(--kmj-ink) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(20, 17, 15, 0.12) !important;
}
body .leaflet-control-zoom a:hover { border-color: var(--kmj-ink) !important; background: #fff !important; }

body .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.75) !important;
    color: var(--kmj-muted) !important;
    font-size: 10px !important;
    line-height: 14px;
    padding: 1px 6px !important;
    border-radius: 6px 0 0 0;
}
body .leaflet-control-attribution a { color: var(--kmj-muted) !important; }

/* Pin: an ink dot with a soft pulse */
body .kmj-map-pin { position: relative; }
body .kmj-map-pin__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    background: var(--kmj-ink);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(20, 17, 15, 0.35);
    z-index: 2;
}
body .kmj-map-pin__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: rgba(20, 17, 15, 0.16);
    animation: kmj-map-pulse 2.4s ease-out infinite;
}
@keyframes kmj-map-pulse {
    0% { transform: scale(0.45); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { body .kmj-map-pin__pulse { animation: none; } }

/* English label beside the pin */
body .leaflet-tooltip.kmj-map-label {
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--kmj-ink);
    font: 700 13px/1.2 var(--kmj-display);
    box-shadow: 0 4px 14px rgba(20, 17, 15, 0.16);
    white-space: nowrap;
}
body .leaflet-tooltip.kmj-map-label::before { display: none; }

body .kmj-map-meta {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: var(--kmj-ink) !important;
}
body .kmj-map-meta i { color: var(--kmj-muted) !important; }
body .leaflet-tooltip-top.kmj-map-label { margin-top: -4px; }

/* On satellite imagery the pin's pulse is white, so it shows on dark ground and water. */
body .kmj-map-pin__pulse { background: rgba(255, 255, 255, 0.45); }
body .leaflet-container { background: #1d2a2f; }

/* Phone search panel: the close (X) button was a gold square (Elementor kit button colour). */
body .btn.overlay-search-module-close,
body .overlay-search-module-close {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    border-radius: 50% !important;
    border: 0 !important;
    background: #f6f4f0 !important;
    color: var(--kmj-ink) !important;
    box-shadow: none !important;
}
body .overlay-search-module-close i,
body .overlay-search-module-close .hz-navigation-close { color: var(--kmj-ink) !important; font-size: 16px !important; }

/* Links inside blog articles: underlined so readers can see them. */
.single-post .elementor-widget-text-editor a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-post .elementor-widget-text-editor a:hover { text-decoration-thickness: 2px; }
