.djls-shell {
    --djls-map-height: 720px;
    position: relative;
    width: 100%;
    max-width: 100%;
    font-family: Helvetica, Arial, sans-serif;
    color: #161616;
}

.djls-toolbar {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 18px;
}

.djls-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.djls-crest {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.djls-brand-copy {
    display: grid;
    line-height: 1.15;
}

.djls-brand-copy strong {
    font-size: clamp(21px, 2.5vw, 31px);
    font-family: Georgia, 'Times New Roman', serif;
}

.djls-brand-copy span {
    margin-top: 4px;
    font-size: 13px;
}

.djls-search-wrap {
    position: relative;
    width: min(440px, 46vw);
    flex: 0 1 440px;
}

.djls-search {
    box-sizing: border-box;
    width: 100%;
    height: 47px;
    min-height: 47px;
    padding: 0 46px 0 16px;
    border: 1px solid #9b9999;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    outline: none;
}

.djls-search:focus {
    outline: 1px solid #111;
    outline-offset: -1px;
    box-shadow: none;
}

.djls-search-clear {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 43px;
    height: 43px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

/*
 * Filteri slijede isti princip kao Digital MV:
 * logički redovi pune širine, jednaka širina gumba u svakom redu,
 * 47 px visine i aktivno stanje #ffc456.
 */
.djls-categories {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    background: #f5f4f3;
    font-family: Helvetica, Arial, sans-serif;
}

.djls-category-row {
    display: grid;
    grid-template-columns: repeat(var(--djls-row-count), minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 47px;
    margin: 0;
    padding: 0;
    background: #f5f4f3;
    border-bottom: 1px solid #c3c1c1;
}

.djls-category-row:last-child {
    border-bottom: 0;
}

.djls-category {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 47px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #111 !important;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 400 !important;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.djls-category.is-active {
    background: #ffc456 !important;
    color: #111 !important;
    font-weight: 400 !important;
}

@media (min-width: 781px) and (hover: hover) and (pointer: fine) {
    .djls-category:not(.is-active):hover {
        background: #fff !important;
        color: #111 !important;
    }

    .djls-category.is-active:hover {
        background: #ffc456 !important;
    }
}

.djls-map-stage {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    height: var(--djls-map-height);
    border: 0;
    background: #dfe6ee;
}

.djls-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.djls-map-message {
    position: absolute;
    z-index: 500;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    max-width: calc(100% - 40px);
    padding: 10px 14px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: 0 2px 14px rgba(0,0,0,.12);
    font-size: 14px;
    text-align: center;
}

.djls-detail {
    position: absolute;
    z-index: 900;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(15,15,15,.34);
}

.djls-detail[hidden] {
    display: none;
}

.djls-detail-inner {
    width: min(720px, 92%);
    max-height: min(78vh, calc(100% - 40px));
    overflow: auto;
    background: #fff;
    box-shadow: 0 14px 50px rgba(0,0,0,.30);
}

.djls-detail-close {
    position: absolute;
    z-index: 2;
    top: 38px;
    right: max(38px, calc((100% - min(720px, 92%)) / 2 + 10px));
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.djls-detail-image {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.djls-detail-content {
    padding: 26px 30px 32px;
}

.djls-detail-kicker {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.djls-detail h2 {
    margin: 0 0 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.03;
}

.djls-detail-address {
    margin: 0 0 18px;
    font-weight: 700;
}

.djls-detail-description {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.55;
}

.djls-detail-description img {
    max-width: 100%;
    height: auto;
}

.djls-detail-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.djls-detail-contacts a {
    display: inline-block;
    border: 1px solid #111;
    padding: 8px 11px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.djls-mobile-map-navigation {
    display: none;
}

.djls-mobile-back-to-categories {
    appearance: none;
    -webkit-appearance: none;
}

.djls-mobile-scroll-zone {
    display: none;
}

@media (max-width: 780px) {
    .djls-toolbar {
        display: grid;
        gap: 10px;
        padding-bottom: 12px;
    }

    .djls-search-wrap {
        width: 100%;
        max-width: none;
    }

    .djls-categories {
        margin-bottom: 0;
    }

    .djls-mobile-map-navigation {
        display: block;
        width: 100%;
        margin: 0 0 8px;
        padding: 0;
    }

    .djls-mobile-back-to-categories {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 45px;
        margin: 0;
        padding: 0 14px;
        border: 0;
        border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
        border-radius: 0;
        background: #f5f4f3;
        color: #111111;
        font: 700 13px/45px Helvetica, Arial, sans-serif;
        text-transform: none;
        cursor: pointer;
    }

    .djls-mobile-back-to-categories:active,
    .djls-mobile-back-to-categories:focus-visible {
        background: #ffc456;
        outline: none;
    }

    .djls-category-row,
    .djls-category-row:last-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-height: 0;
        border-bottom: 0;
    }

    .djls-category {
        justify-content: flex-start;
        min-height: 47px;
        padding: 9px 10px;
        border-bottom: 1px solid #ecf0fa !important;
        text-align: left;
        line-height: 1.25;
    }

    .djls-category:nth-child(odd) {
        border-right: 1px solid #ecf0fa !important;
    }

    .djls-map-stage,
    .djls-map {
        min-height: 520px;
    }

    .djls-mobile-scroll-zone {
        display: block;
        position: absolute;
        z-index: 850;
        top: 0;
        right: 0;
        bottom: 0;
        width: 5mm;
        background: rgba(255,255,255,.22);
        touch-action: pan-y;
        transition: opacity .18s ease;
    }

    .djls-mobile-scroll-zone.is-hidden {
        opacity: 0;
        pointer-events: none;
    }

    .djls-detail {
        align-items: flex-end;
        padding: 0;
        background: rgba(15,15,15,.28);
    }

    .djls-detail-inner {
        width: 100%;
        max-height: 88%;
        box-shadow: 0 -10px 35px rgba(0,0,0,.28);
    }

    .djls-detail-close {
        position: absolute;
        top: auto;
        right: 10px;
        bottom: calc(88% - 52px);
    }

    .djls-detail-content {
        padding: 22px 20px 28px;
    }
}

@media (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
    .djls-category-row,
    .djls-category-row:last-child {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 0;
    }

    .djls-category {
        justify-content: flex-start;
        min-height: 47px;
        padding: 7px 10px;
        border-right: 1px solid #ecf0fa !important;
        border-bottom: 1px solid #ecf0fa !important;
        text-align: left;
        line-height: 1.2;
    }
}

/* 0.4.1 – granica JLS uvijek ostaje vidljiva iznad OSM podloge. */
.djls-map .leaflet-overlay-pane .djls-municipality-boundary {
    stroke: #254d4d !important;
    stroke-width: 2px !important;
    stroke-opacity: .95 !important;
    fill: #254d4d !important;
    fill-opacity: .03 !important;
    pointer-events: none !important;
}

/*
 * 0.4.5 – lokacijski markeri: ispravan Leaflet anchor + spojeni label.
 * Plavi pin + stalni naziv na bijeloj plohi s oštrim rubovima.
 */
.djls-map .djls-location-marker {
    width: 32px !important;
    height: 44px !important;
    /* Ne postavljati margin: Leaflet ga koristi za iconAnchor [16,43]. */
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.djls-map .djls-location-marker .djls-location-pin {
    display: block;
    width: 32px;
    height: 44px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .38));
}

.djls-map .leaflet-tooltip.djls-map-label {
    padding: 5px 9px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 0;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    max-width: none;
    text-align: center;
    overflow-wrap: normal;
    pointer-events: auto;
    cursor: pointer;
}

.djls-map .leaflet-tooltip-top.djls-map-label::before {
    border-top-color: #fff;
}

@media (max-width: 780px) {
    .djls-map .leaflet-tooltip.djls-map-label {
        padding: 4px 7px;
        font-size: 11px;
    }
}

/* =========================================================
 * 0.4.4 – DIGITAL MV centralni popup, sigurno nad stabilnim 0.4.2.
 * ========================================================= */
.djls-detail {
    position: fixed !important;
    z-index: 999999 !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 24px !important;
    background: rgb(0 0 0 / 20%) !important;
}

.djls-detail[hidden] {
    display: none !important;
}

.djls-detail > .djls-detail-close {
    display: none !important;
}

.djls-detail-inner {
    --djls-overlay-bg: #ffffff;
    --djls-overlay-text: #121212;
    --djls-overlay-accent: #ffc456;
    --djls-overlay-muted: #707070;
    --djls-overlay-border: #dcdcdc;
    --djls-overlay-header: #978576;
    display: flex !important;
    flex-direction: column !important;
    width: min(760px, calc(100vw - 48px)) !important;
    max-width: none !important;
    max-height: calc(100vh - 48px) !important;
    max-height: calc(100dvh - 48px) !important;
    overflow: hidden !important;
    border: 1px solid var(--djls-overlay-border) !important;
    border-radius: 0 !important;
    background: var(--djls-overlay-bg) !important;
    color: var(--djls-overlay-text) !important;
    box-shadow: 0 16px 60px #0003 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    line-height: 1.56 !important;
}

.djls-poi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 16px;
    padding: 12px 16px 12px 28px;
    background: var(--djls-overlay-header);
    color: #fff;
    border-bottom: 1px solid #ffffff40;
}

.djls-poi-category {
    min-width: 0;
    color: inherit;
    font: 700 12px/1.35 Helvetica, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.djls-poi-close {
    appearance: none;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #ffffff70;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: 400 32px/1 Helvetica, Arial, sans-serif;
}

.djls-poi-close:hover { background: #ffffff20; }

.djls-poi-navigation {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    padding: 12px 28px 16px;
    background: var(--djls-overlay-header);
    color: #fff;
    border-bottom: 3px solid var(--djls-overlay-accent);
    font: 400 14px/1.4 Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.djls-poi-nav-field {
    flex: 1;
    min-width: 0;
}

.djls-poi-nav-field label {
    display: block;
    margin: 0 0 5px;
    color: #fff;
    font: inherit;
}

.djls-poi-select {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--djls-overlay-border);
    border-radius: 0;
    background: #fff;
    color: #121212;
    font: 600 16px/1.4 Helvetica, "Helvetica Neue", Arial, sans-serif;
    text-overflow: ellipsis;
}

.djls-poi-prev,
.djls-poi-next {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #ffffff70;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: 400 24px/1 Arial, sans-serif;
}

.djls-poi-prev:disabled,
.djls-poi-next:disabled {
    opacity: .35;
    cursor: default;
}

.djls-poi-content {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 28px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.djls-poi-title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--djls-overlay-text) !important;
    font: 400 40px/1.1 "PT Serif", Georgia, "Times New Roman", serif !important;
    letter-spacing: -.015em !important;
    overflow-wrap: anywhere;
}

.djls-poi-address {
    margin: 0 0 26px;
    color: var(--djls-overlay-muted);
    font: 400 16px/1.5 Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.djls-poi-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 360px;
    margin: 0 0 24px;
    object-fit: contain;
}

.djls-poi-description,
.djls-poi-description :is(p, li, ul, ol, blockquote, td, th) {
    font-family: Bitter, Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    line-height: 1.56 !important;
}

.djls-poi-description p { margin: 0 0 16px; }
.djls-poi-description h1,
.djls-poi-description h2,
.djls-poi-description h3,
.djls-poi-description h4 {
    font: 400 26px/1.2 "PT Serif", Georgia, "Times New Roman", serif !important;
    margin: 24px 0 12px !important;
}
.djls-poi-description img,
.djls-poi-description video,
.djls-poi-description iframe { max-width: 100% !important; height: auto; }

.djls-poi-contact {
    padding: 20px 0 0;
    margin: 20px 0 0;
    border-top: 1px solid var(--djls-overlay-border);
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
}

.djls-poi-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.djls-poi-contact-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: underline;
}

.djls-poi-foot {
    flex: 0 0 auto;
    padding: 16px 28px;
    border-top: 1px solid var(--djls-overlay-border);
    background: var(--djls-overlay-bg);
}

.djls-poi-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.djls-poi-action {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 12px 10px;
    border: 1px solid var(--djls-overlay-border);
    border-radius: 0;
    background: #f5f4f3;
    color: var(--djls-overlay-text);
    text-decoration: none !important;
    text-align: center;
    font: 400 14px/1.25 Helvetica, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .03em;
    cursor: pointer;
}

.djls-poi-action:first-child { background: var(--djls-overlay-accent); }
.djls-poi-action:hover { background: #fff; }

.djls-poi-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    margin-top: 12px;
}

.djls-poi-share-status {
    margin: 0;
    color: var(--djls-overlay-muted);
    font: 400 13px/1.35 Helvetica, Arial, sans-serif;
}

.djls-poi-crest {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-left: auto;
    object-fit: contain;
}

.djls-detail :focus-visible {
    outline: 3px solid #ffc456;
    outline-offset: -3px;
}

@media (max-width: 780px), (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
    .djls-detail {
        padding: 0 !important;
        align-items: stretch !important;
    }

    .djls-detail-inner {
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .djls-poi-head { padding: 8px 16px; }
    .djls-poi-navigation { padding: 10px 16px 12px; }
    .djls-poi-prev,
    .djls-poi-next { display: none; }
    .djls-poi-content { padding: 24px 20px; }
    .djls-poi-title { font-size: 32px !important; }
    .djls-poi-foot { padding: 12px 16px; }
    .djls-poi-actions { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 6px; }
    .djls-poi-action { padding: 10px 4px; min-height: 48px; font-size: 12px; }
}



/* 0.4.8 – mobile Kategorije button + automatic scroll from selected category to map. */


/* =========================================================
 * 0.4.9 – pouzdana mobilna navigacija KATEGORIJE.
 * Gumb ostaje vidljiv iznad karte i na širim mobilnim viewportima.
 * ========================================================= */
@media (max-width: 1024px) {
    .djls-shell .djls-mobile-map-navigation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 900 !important;
        width: 100% !important;
        min-height: 45px !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
    }

    .djls-shell .djls-mobile-back-to-categories {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 45px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-top: 1px solid #d8d8d8 !important;
        border-bottom: 1px solid #d8d8d8 !important;
        border-radius: 0 !important;
        background: #f5f4f3 !important;
        color: #111111 !important;
        font: 700 13px/45px Helvetica, Arial, sans-serif !important;
        text-transform: none !important;
        cursor: pointer !important;
    }

    .djls-shell .djls-mobile-back-to-categories:active,
    .djls-shell .djls-mobile-back-to-categories:focus {
        background: #ffc456 !important;
        border-color: #ffc456 !important;
        color: #111111 !important;
        outline: none !important;
    }
}

@media (min-width: 1025px) {
    .djls-shell .djls-mobile-map-navigation {
        display: none !important;
    }
}


/* =========================================================
 * 0.4.10 – robustan mobilni gumb KATEGORIJE.
 * Širi prag pokriva telefone/tablete i preglednike sa širim layout viewportom.
 * JavaScript dodatno postavlja inline !important kao zaštitu od teme.
 * ========================================================= */
@media (max-width: 1280px) {
    .djls-shell .djls-mobile-map-navigation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1000 !important;
        width: 100% !important;
        min-height: 47px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f5f4f3 !important;
    }
    .djls-shell .djls-mobile-back-to-categories {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 47px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-top: 1px solid #c3c1c1 !important;
        border-bottom: 1px solid #c3c1c1 !important;
        border-radius: 0 !important;
        background: #f5f4f3 !important;
        color: #111 !important;
        font: 700 13px/47px Helvetica, Arial, sans-serif !important;
        cursor: pointer !important;
    }
    .djls-shell .djls-mobile-back-to-categories:active,
    .djls-shell .djls-mobile-back-to-categories:focus-visible {
        background: #ffc456 !important;
        outline: none !important;
    }
}
@media (min-width: 1281px) {
    .djls-shell .djls-mobile-map-navigation {
        display: none !important;
    }
}

/* 0.4.11 – Digital MV marker layout: stalni nazivi u jednom retku; isti marker anchor. */


/* =========================================================
 * 0.4.12 – KATEGORIJE samo na mobitelu/tabletu s touch sučeljem.
 * Žuti aktivni-button stil + isti up-chevron kao Javni prijevoz.
 * Desktop: potpuno skriven bez praznog prostora.
 * ========================================================= */
.djls-shell .djls-mobile-map-navigation {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.djls-shell .djls-mobile-back-to-categories {
    position: relative !important;
    gap: 8px !important;
    background: #ffc456 !important;
    color: #111111 !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 47px !important;
    font: 700 13px/1.2 Helvetica, Arial, sans-serif !important;
}

.djls-shell .djls-mobile-back-to-categories::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 42 L32 22 L52 42' fill='none' stroke='%23111111' stroke-width='9' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
}

.djls-shell .djls-mobile-back-to-categories:hover,
.djls-shell .djls-mobile-back-to-categories:active,
.djls-shell .djls-mobile-back-to-categories:focus-visible {
    background: #ffc456 !important;
    color: #111111 !important;
    outline: none !important;
}

/* Čisti mobilni breakpoint. JS dodatno pokriva touch tablete do 1024 px. */
@media (max-width: 780px) {
    .djls-shell .djls-mobile-map-navigation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-height: 47px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .djls-shell .djls-mobile-back-to-categories {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 14px !important;
    }
}


/* =========================================================
 * 0.4.13 – mobilni KATEGORIJE: žuta podloga, bijeli tekst i
 * bijeli up-chevron. Uklanja sve stare/theme pseudo-strelice.
 * ========================================================= */
.djls-shell .djls-mobile-back-to-categories {
    background: #ffc456 !important;
    color: #ffffff !important;
}

.djls-shell .djls-mobile-back-to-categories::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 42 L32 22 L52 42' fill='none' stroke='%23ffffff' stroke-width='9' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
}

/* Tema/stari CSS ponekad dodaje malu strelicu kroz ::after. */
.djls-shell .djls-mobile-back-to-categories::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

.djls-shell .djls-mobile-back-to-categories:hover,
.djls-shell .djls-mobile-back-to-categories:active,
.djls-shell .djls-mobile-back-to-categories:focus,
.djls-shell .djls-mobile-back-to-categories:focus-visible {
    background: #ffc456 !important;
    color: #ffffff !important;
    outline: none !important;
}


/* =========================================================
 * 0.4.14 – OPTIMALAN PUNI PRIKAZ JLS NA MOBITELU
 * Karta prati raspoloživu visinu uređaja; JavaScript fitBounds s
 * frakcijskim zoomom zatim povećava granicu do najveće moguće veličine
 * pri kojoj je cijela općina još uvijek vidljiva.
 * ========================================================= */
@media (max-width: 780px) {
    .djls-map-stage {
        height: clamp(520px, calc(100dvh - 58px), var(--djls-map-height));
    }

    .djls-map {
        height: 100%;
        min-height: 100%;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .djls-map-stage {
        height: clamp(420px, calc(100dvh - 18px), var(--djls-map-height));
    }
}


/* 0.4.15 — uređivi javni tekst ispod karte, veličina kao Digital MV. */
.djls-map-footer-copy {
    box-sizing: border-box;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    color: #171717;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.56;
    font-weight: 400;
}

.djls-map-footer-copy p {
    margin: 0 0 18px;
}

.djls-map-footer-copy p:last-child {
    margin-bottom: 0;
}

.djls-map-footer-copy strong,
.djls-map-footer-copy b {
    font-weight: 700;
}

.djls-map-footer-copy a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 780px) {
    .djls-map-footer-copy {
        margin-top: 22px;
        font-size: 18px;
        line-height: 1.52;
    }
}

/* =========================================================
 * 0.4.16 — uređivi naslov, podnaslov i tipografija Profila JLS.
 * Inline stil iz sigurnih admin postavki ima prednost nad početnim
 * vrijednostima ispod. CSS ovdje daje samo stabilan raspored.
 * ========================================================= */
.djls-brand-copy {
    min-width: 0;
    width: 100%;
}

.djls-brand-title {
    display: block;
    margin: 0;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.djls-brand-subtitle {
    display: block;
    margin: 5px 0 0;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

@media (max-width: 780px) {
    .djls-brand {
        align-items: flex-start;
    }

    .djls-brand-copy {
        padding-top: 1px;
    }
}
