/**
 * =============================================================================
 *  NB EDITOR - STILOVI SADRZAJA
 * =============================================================================
============================================================================
 */

:is(.nb-content, .nb-html-editor) p.nb-paragraph {
    margin-bottom: 15px;

    &:empty{display: none;}
}
:is(.nb-content, .nb-html-editor) *:has(+.nb-spacer){margin-bottom: 0 !important;}

/* =============================================================================
   2. TIPOGRAFIJA IZ DIZAJN SISTEMA   (opcija 15)
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-lead {
    font-size: 1.12rem;
}

:is(.nb-content, .nb-html-editor) .nb-small {
    font-size: .82rem;
}


/* =============================================================================
   3. TOKENI VELICINE FONTA   (opcija 17)
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-fs-xs  { font-size: .75rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-sm  { font-size: .875rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-md  { font-size: 1rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-lg  { font-size: 1.125rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-xl  { font-size: 1.25rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-2xl { font-size: 1.5rem; }
:is(.nb-content, .nb-html-editor) .nb-fs-3xl { font-size: 1.875rem; }

:is(.nb-content, .nb-html-editor) .nb-fs-8 {
    font-size: 0.5rem;
}

/* 8px */
:is(.nb-content, .nb-html-editor) .nb-fs-9 {
    font-size: 0.5625rem;
}

/* 9px */
:is(.nb-content, .nb-html-editor) .nb-fs-10 {
    font-size: 0.625rem;
}

/* 10px */
:is(.nb-content, .nb-html-editor) .nb-fs-11 {
    font-size: 0.6875rem;
}

/* 11px */
:is(.nb-content, .nb-html-editor) .nb-fs-22 {
    font-size: 1.375rem;
}

/* 22px */
:is(.nb-content, .nb-html-editor) .nb-fs-26 {
    font-size: 1.625rem;
}

/* 26px */
:is(.nb-content, .nb-html-editor) .nb-fs-28 {
    font-size: 1.75rem;
}

/* 28px */
:is(.nb-content, .nb-html-editor) .nb-fs-36 {
    font-size: 2.25rem;
}

/* 36px */
:is(.nb-content, .nb-html-editor) .nb-fs-48 {
    font-size: 3rem;
}

/* 48px */
:is(.nb-content, .nb-html-editor) .nb-fs-72 {
    font-size: 4.5rem;
}

/* 72px */

/* =============================================================================
   4. BLOK I INLINE STILOVI   (opcija 14)
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-note-info {
    border-left: 3px solid #0ea5e9;
    padding-left: 12px;
    color: #0369a1;
    font-size: .92rem;
}

:is(.nb-content, .nb-html-editor) .nb-note-box {
    border-left: 3px solid #8a8a8a;
    padding-left: 12px;
    color: #333;
    font-size: .92rem;
}

:is(.nb-content, .nb-html-editor) .nb-note-alert {
    border-left: 3px solid #e78f38;
    padding-left: 12px;
    color: #333;
    font-size: .92rem;
}

:is(.nb-content, .nb-html-editor) .nb-special-container {
    background: #eee;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: .92rem;
}

:is(.nb-content, .nb-html-editor) .nb-box-wrapper {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

:is(.nb-content, .nb-html-editor) .nb-highlight {
    background: #fef08a;
    padding: 0 3px;
    border-radius: 2px;
}

:is(.nb-content, .nb-html-editor) .nb-muted {
    color: #94a3b8;
}

:is(.nb-content, .nb-html-editor) .nb-code-inline {
    font-family: var(--nb-code-font);
    background: var(--nb-code-bg);
    padding: var(--nb-code-padding);
    border-radius: var(--nb-code-radius);
    font-size: var(--nb-code-font-size);
}

:is(.nb-content, .nb-html-editor) .nb-badge {
    display: inline-block;
    background: var(--nb-badge-primary-bg);
    color: #fff;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 600;
}

:is(.nb-content, .nb-html-editor) .nb-typewriter {
    font-family: "Courier New", Courier, monospace !important;
}

:is(.nb-content, .nb-html-editor) .nb-keyboard {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 0.1em 0.3em;
    font-size: 0.9em;
}

:is(.nb-content, .nb-html-editor) .nb-sample {
    font-family: ui-monospace, monospace !important;
    color: #475569;
}

:is(.nb-content, .nb-html-editor) .nb-variable {
    font-style: italic;
    font-family: ui-monospace, monospace !important;
}

:is(.nb-content, .nb-html-editor) .nb-cited {
    font-style: italic;
}

:is(.nb-content, .nb-html-editor) .nb-quotation::before {
    content: open-quote;
}

:is(.nb-content, .nb-html-editor) .nb-quotation::after {
    content: close-quote;
}

:is(.nb-content, .nb-html-editor) .nb-big-text {
    font-size: larger;
}


/* --- Callout blokovi --------------------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-callout {
    padding: 14px 16px;
    border-radius: var(--nb-editor-radius-md, 6px);
}

:is(.nb-content, .nb-html-editor) .nb-callout__title {
    margin: 0 0 4px;
    font-weight: 700;
}

:is(.nb-content, .nb-html-editor) .nb-callout--info    { background: var(--nb-callout-info-bg);    color: var(--nb-callout-info-color); }
:is(.nb-content, .nb-html-editor) .nb-callout--warning { background: var(--nb-callout-warning-bg); color: var(--nb-callout-warning-color); }
:is(.nb-content, .nb-html-editor) .nb-callout--danger  { background: var(--nb-callout-danger-bg);  color: var(--nb-callout-danger-color); }
:is(.nb-content, .nb-html-editor) .nb-callout--success { background: var(--nb-callout-success-bg); color: var(--nb-callout-success-color); }


/* --- static-single-banner-1 (staticki blok) -----------------------------------
   Pozadina je obicna slika (editabilna), apsolutno ispod tamnog sloja. */

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--nb-overlay-dark);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1 > figure[data-nb-image] {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1 > figure[data-nb-image] img,
:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__feature img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 908px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__content > *,
:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__feature > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__content > h2 {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 123px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__feature .nb-img {
    width: 48px;
    height: 48px;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1 {
        min-height: 500px;
        padding: 60px 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__features {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 15px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-1__feature .nb-img {
        width: 64px;
        height: 64px;
    }
}


/* --- grid-image-banner-static-1 (staticki blok) ----------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__header > *,
:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__content > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item {
    position: relative;
    height: 330px;
    border-radius: 8px;
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image] {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    transition: inset var(--nb-grid-image-banner-static-1-transition);
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image]::before,
:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image]::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity var(--nb-grid-image-banner-static-1-transition);
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image]::before {
    background: var(--nb-grid-image-banner-static-1-overlay);
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item > figure[data-nb-image]::after {
    background: var(--nb-grid-image-banner-static-1-hover-overlay);
    opacity: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    text-align: center;
    transform: translateY(-100%);
    transition: top var(--nb-grid-image-banner-static-1-transition), transform var(--nb-grid-image-banner-static-1-transition);
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__content > h3 {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__content > p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--nb-grid-image-banner-static-1-transition), opacity var(--nb-grid-image-banner-static-1-transition), margin var(--nb-grid-image-banner-static-1-transition);
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1 {
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__items {
        flex-direction: row;
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__item {
        flex: 1 1 0;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        overflow: visible;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-1__content {
        padding: 20px;
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-grid-image-banner-static-1__item:hover > figure[data-nb-image] {
        inset: -20px 0;
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-grid-image-banner-static-1__item:hover > figure[data-nb-image]::before {
        opacity: 0;
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-grid-image-banner-static-1__item:hover > figure[data-nb-image]::after {
        opacity: 1;
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-grid-image-banner-static-1__item:hover .nb-editor-grid-image-banner-static-1__content {
        top: 50%;
        transform: translateY(-50%);
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-grid-image-banner-static-1__item:hover .nb-editor-grid-image-banner-static-1__content > p {
        max-height: 80px;
        margin-top: 10px;
        opacity: 1;
    }
}


/* --- grid-image-banner-static-2 (staticki blok) ------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__tile > figure[data-nb-image] {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__tile > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__tile > figure[data-nb-image]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--nb-grid-image-banner-static-2-overlay);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__content > *,
:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__header > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__content > h3,
:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__content a {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__content a {
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 728px;
    text-align: center;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2 {
        flex-direction: row;
        gap: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__tile {
        flex: 0 0 32.6%;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-2__header {
        flex: 1 1 0;
        padding: 0 20px;
    }
}


/* --- grid-image-banner-static-3 (staticki blok, slika levo / desno) ---------- */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__media {
    height: 192px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__media > figure[data-nb-image] {
    height: 100%;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 20px 10px;
    background: var(--nb-grid-image-banner-static-3-bg);
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__content > * {
    margin: 0;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__media {
        height: auto;
        min-height: 500px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-image-banner-static-3__content {
        padding: 20px 100px;
    }
}


/* --- single-banner-16 (staticki blok) ---------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16 {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--nb-single-banner-16-overlay);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16 > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16 > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content > h2 {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content > .nb-editor-single-banner-16__cta {
    margin-top: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__cta-item {
    flex: 1 1 0;
    min-width: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__cta-item > p {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) a.nb-editor-single-banner-16__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--nb-single-banner-16-btn-bg);
    border-radius: 8px;
    background: var(--nb-single-banner-16-btn-bg);
    color: var(--nb-single-banner-16-btn-color);
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

:is(.nb-content, .nb-html-editor) a.nb-editor-single-banner-16__btn:hover {
    border-color: var(--nb-single-banner-16-btn-hover-bg);
    background: var(--nb-single-banner-16-btn-hover-bg);
    color: var(--nb-single-banner-16-btn-hover-color);
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content {
        padding: 50px 40px 60px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__content > .nb-editor-single-banner-16__cta {
        margin-top: 18px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-single-banner-16__cta-item {
        flex: 0 0 176px;
    }
}


/* --- grid-banner-50 (staticki blok) ------------------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__item {
    position: relative;
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--nb-grid-banner-50-overlay);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__item > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__content > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__content :is(h5, a) {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__content a {
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__content a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50 {
        flex-direction: row;
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-50__item {
        flex: 1 1 0;
        min-width: 0;
    }
}


/* --- static-grid-banner-4 (staticki blok) ------------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__item {
    position: relative;
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--nb-static-grid-banner-4-overlay);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__item > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--nb-static-grid-banner-4-transition);
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content :is(h3, a) {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content a {
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content > p {
    margin-top: 8px;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4 {
        flex-direction: row;
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__item {
        flex: 1 1 0;
        min-width: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-4__content > p {
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height var(--nb-static-grid-banner-4-transition), margin var(--nb-static-grid-banner-4-transition), opacity var(--nb-static-grid-banner-4-transition);
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-static-grid-banner-4__item:hover > figure[data-nb-image] img {
        transform: scale(var(--nb-static-grid-banner-4-zoom));
    }

    :is(.nb-content, .nb-html-editor):not(.ProseMirror) .nb-editor-static-grid-banner-4__item:hover .nb-editor-static-grid-banner-4__content > p {
        max-height: 40px;
        margin-top: 8px;
        opacity: 1;
    }
}


/* --- static-grid-banner-5 (staticki blok) ------------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item {
    position: relative;
    overflow: hidden;
    color: #fff;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--nb-static-grid-banner-5-overlay);
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__top {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__content {
    position: absolute;
    left: 16px;
    right: calc(32px + var(--nb-static-grid-banner-5-arrow-size));
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__more {
    position: absolute;
    inset: 0;
    z-index: 3;
}

:is(.nb-content, .nb-html-editor) :is(
    .nb-editor-static-grid-banner-5__top,
    .nb-editor-static-grid-banner-5__content
) > *,
:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__more {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item :is(h4, a) {
    color: inherit;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__more a {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 16px;
    font-size: var(--nb-static-grid-banner-5-arrow-size);
    line-height: 1;
    text-decoration: none;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5 {
        flex-direction: row;
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-grid-banner-5__item {
        flex: 1 1 0;
        min-width: 0;
    }
}


/* --- grid-banner-21 (staticki blok) ------------------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) :is(
    .nb-editor-grid-banner-21__header,
    .nb-editor-grid-banner-21__item,
    .nb-editor-grid-banner-21__button
) > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__item > figure[data-nb-image] {
    margin-bottom: 8px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__button {
    flex: 1 1 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__button a {
    width: 100%;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__items {
        flex-direction: row;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__item {
        flex: 1 1 0;
        min-width: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__button {
        flex: 0 0 auto;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-21__button a {
        width: auto;
    }
}


/* --- grid-banner-6 (staticki blok) ------------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 728px;
}

:is(.nb-content, .nb-html-editor) :is(
    .nb-editor-grid-banner-6__header,
    .nb-editor-grid-banner-6__item
) > *,
:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__cta {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__item > figure[data-nb-image] {
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__cta {
    width: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__cta a {
    width: 100%;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__items {
        flex-direction: row;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__item {
        flex: 1 1 0;
        min-width: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__cta {
        width: auto;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-6__cta a {
        width: auto;
        min-width: 260px;
    }
}


/* --- grid-banner-14 (staticki blok) ------------------------------------------ */

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__item > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__title {
    margin: 0;
    padding: 12px 16px;
    background: var(--nb-grid-banner-14-title-bg);
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__title a {
    color: #fff;
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__links {
    display: flex;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__links > p {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__links a {
    display: block;
    height: 100%;
    padding: 8px 6px;
    border: 1px solid var(--nb-grid-banner-14-link-bg);
    background: var(--nb-grid-banner-14-link-bg);
    color: var(--nb-grid-banner-14-link-color);
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

:is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__links a:hover {
    background: var(--nb-grid-banner-14-link-hover-bg);
    color: var(--nb-grid-banner-14-link-hover-color);
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14 {
        flex-direction: row;
        gap: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-grid-banner-14__item {
        flex: 1 1 0;
        min-width: 0;
    }
}


/* --- carousel-images (carousel blok) ----------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-images {
    position: relative;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-images .swiper-slide > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-images .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- static-carousel-banner-7 (carousel blok) -------------------------------
   Tekst levo, carousel desno (od 1200px), ispod 1200px tekst iznad carousela.
   Aktivni slajd je na sredini i najvisi, susedni nizi, ostali najnizi. Slajd
   ima stalan odnos stranica, pa promena visine slike ne pomera raspored. */

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__content > *,
:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__content li > p {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel {
    min-width: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide {
    display: flex;
    align-items: center;
    height: auto;
    aspect-ratio: 209 / 300;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide > figure[data-nb-image] {
    width: 100%;
    height: 73.333%;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    transition: height .3s ease;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel :is(.swiper-slide-prev, .swiper-slide-next) > figure[data-nb-image] {
    height: 86.667%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide-active > figure[data-nb-image] {
    height: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide > figure[data-nb-image] :is(a, picture) {
    display: block;
    height: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pre pokretanja Swipera (i u editoru) raspored je isti kao posle: slajd broj
   k+1 je u sredini i najvisi. k = ceil((vidljivih - 1) / 2) - isto racuna
   public/carousel.js za initialSlide. Za podrazumevane vrednosti bloka
   (1.6 / 3 / 5 vidljivih) to je k = 1 do 1199px i k = 2 od 1200px. */
:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) {
    --nb-editor-static-carousel-banner-7-center: 1;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) > .swiper > .swiper-wrapper {
    --nb-editor-static-carousel-banner-7-slide: calc((100% - (var(--nb-editor-carousel-visible) - 1) * var(--nb-editor-carousel-space, 20px)) / var(--nb-editor-carousel-visible));
    transform: translateX(calc((100% - var(--nb-editor-static-carousel-banner-7-slide)) / 2 - var(--nb-editor-static-carousel-banner-7-center) * (var(--nb-editor-static-carousel-banner-7-slide) + var(--nb-editor-carousel-space, 20px))));
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) .swiper-slide:is(:nth-child(1), :nth-child(3)) > figure[data-nb-image] {
    height: 86.667%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) .swiper-slide:nth-child(2) > figure[data-nb-image] {
    height: 100%;
}

@media (min-width: 1200px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) {
        --nb-editor-static-carousel-banner-7-center: 2;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) .swiper-slide:is(:nth-child(1), :nth-child(3), :nth-child(5)) > figure[data-nb-image] {
        height: 73.333%;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) .swiper-slide:is(:nth-child(2), :nth-child(4)) > figure[data-nb-image] {
        height: 86.667%;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel:not([data-nb-editor-carousel-ready]) .swiper-slide:nth-child(3) > figure[data-nb-image] {
        height: 100%;
    }
}

@media (min-width: 1200px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7 {
        flex-direction: row;
        align-items: center;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__content {
        flex: 0 0 33%;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel {
        flex: 1 1 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-static-carousel-banner-7__carousel .swiper-slide {
        aspect-ratio: 185 / 300;
    }
}

/* --- testimonial-carousel-banner (carousel blok) ----------------------------
   Naslov iznad, kartice utisaka u carouselu. Kartica je sam slajd: ikonica,
   citat, linija, okrugla slika i ime. Kartice u redu su iste visine, a linija
   sa slikom i imenom je uvek na dnu kartice. */

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner > h2 {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: auto;
    padding: 20px;
    background: var(--nb-testimonial-carousel-banner-bg);
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > figure[data-nb-image]:first-child {
    width: 36px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > hr {
    width: 66%;
    margin-top: auto;
    border: 0;
    border-top: 1px solid var(--nb-border-color);
    opacity: 1;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > hr + figure[data-nb-image] {
    width: 48px;
    overflow: hidden;
    border-radius: 50%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > hr + figure[data-nb-image] img {
    aspect-ratio: 1;
    object-fit: cover;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner {
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide {
        gap: 20px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > figure[data-nb-image]:first-child {
        width: 48px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-testimonial-carousel-banner__carousel .swiper-slide > hr + figure[data-nb-image] {
        width: 80px;
    }
}

/* --- carousel-image-banner-static-3 (carousel blok, content levo / desno) --
   Naslov iznad, jedan slajd u redu. Do 767px: slika pa sadrzaj ispod (kod
   varijante --left sadrzaj iznad slike). Od 768px slika je pozadina slajda,
   a sadrzaj je beli providni panel na pola sirine, desno ili levo. */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__header > *,
:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__content > *,
:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__feature > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide > figure[data-nb-image] {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3--left .nb-editor-carousel-image-banner-static-3__content {
    order: -1;
    padding-top: 0;
    padding-bottom: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__feature > figure[data-nb-image] {
    width: 36px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__feature > p {
    font-size: 14px;
}

/* Dugme: na mobilnom preko cele sirine, od 768px 250px (Figma, velicina M). */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__content > p:last-child {
    align-self: stretch;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__content > p:last-child > .nb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__feature > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide {
        flex-direction: row;
        justify-content: flex-end;
        min-height: 500px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3--left .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide {
        justify-content: flex-start;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide > figure[data-nb-image] {
        position: absolute;
        inset: 0;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide > figure[data-nb-image] :is(a, picture) {
        display: block;
        height: 100%;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__carousel .swiper-slide > figure[data-nb-image] img {
        height: 100%;
        object-fit: cover;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3 .nb-editor-carousel-image-banner-static-3__content {
        position: relative;
        z-index: 1;
        order: 0;
        width: 50%;
        padding: 20px 40px;
        background: color-mix(in srgb, var(--nb-color-white, #fff) 90%, transparent);
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-image-banner-static-3__content > p:last-child > .nb-btn {
        width: 250px;
        max-width: 100%;
    }
}

/* --- carousel-banner-45 (carousel blok) ------------------------------
   Niz dugmica sa slikom, sirina dugmeta je od sadrzaja. Dugme je link
   (nb-btn), pa mu se boja pozadine, teksta i okvira menja kroz "Stil dugmeta"
   na hover linka. Slika nije deo linka (link ne moze da sadrzi blok), nego
   stoji preko levog dela dugmeta, a dugme joj cuva mesto paddingom. */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide {
    --nb-editor-carousel-banner-45-image: 30px;
    position: relative;
    width: auto;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide > p {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide > figure[data-nb-image] {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    width: var(--nb-editor-carousel-banner-45-image);
    margin: 0;
    transform: translateY(-50%);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: var(--nb-editor-carousel-banner-45-image);
    object-fit: contain;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide > p > .nb-btn {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: calc(var(--nb-editor-carousel-banner-45-image) + 12px);
    padding: 6px 14px 6px calc(14px + var(--nb-editor-carousel-banner-45-image) + 10px);
    border-radius: 50px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide {
        --nb-editor-carousel-banner-45-image: 40px;
    }

    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-45 .swiper-slide > p > .nb-btn {
        min-height: 60px;
        font-size: 16px;
    }
}

/* --- carousel-banner-19 (carousel blok) ------------------------------------
   Naslov iznad, vertikalne kartice: slika je pozadina kartice, a naslov i
   dugmici su pri dnu. Kartica ima odnos stranica iz Figme (513 x 790), pa
   visina prati sirinu; ako sadrzaja ima vise, kartica raste. */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19 > h2 {
    margin: 0;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__carousel .swiper-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    aspect-ratio: 513 / 790;
    padding: 24px;
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__carousel .swiper-slide > figure[data-nb-image] {
    position: absolute;
    inset: 0;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__carousel .swiper-slide > figure[data-nb-image] :is(a, picture) {
    display: block;
    height: 100%;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__carousel .swiper-slide > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__content > h3 {
    margin: 0;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__button > p {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__button > p > .nb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 767px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel-banner-19__carousel .swiper-slide {
        padding: 12px;
    }
}

/* --- carousel-custom (carousel blok) ---------------------------------------
   Slajdovi za proizvoljan sadrzaj. Na public-u slajd nema svoj izgled, samo
   se uklanja spoljni razmak prvog i poslednjeg elementa. Oznake slajdova u
   editoru su u css/content-editor.css. */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-custom .swiper-slide > :first-child {
    margin-top: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel-custom .swiper-slide > :last-child {
    margin-bottom: 0;
}

/* --- Editor carousel (zajednicko za sve carousele iz editora) -------------
   Broj vidljivih slajdova po breakpointu i razmak su CSS promenljive u
   `style` korena (upisuje ih editor), pa je raspored pre pokretanja Swipera
   isti kao posle - bez skoka i CLS-a. Breakpointi su isti kao u
   public/carousel.js: mobilni do 767px, tablet od 768px, desktop od 1200px.
   Nepopunjen breakpoint nasledjuje vrednost manjeg. */

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] {
    --nb-editor-carousel-visible: var(--nb-editor-carousel-slides-mobile, 1);
    position: relative;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] {
        --nb-editor-carousel-visible: var(--nb-editor-carousel-slides-tablet, var(--nb-editor-carousel-slides-mobile, 1));
    }
}

@media (min-width: 1200px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] {
        --nb-editor-carousel-visible: var(--nb-editor-carousel-slides-desktop, var(--nb-editor-carousel-slides-tablet, var(--nb-editor-carousel-slides-mobile, 1)));
    }
}

/* Carousel sa slajdovima sirine od sadrzaja (data-nb-editor-carousel-auto):
   pre pokretanja Swipera i u editoru slajd ne dobija sirinu iz broja vidljivih. */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel][data-nb-editor-carousel-auto="1"]:not([data-nb-editor-carousel-ready]) > .swiper > .swiper-wrapper > .swiper-slide {
    flex: 0 0 auto;
    width: auto;
}

/* Sirina carousela dolazi SAMO od roditelja, nikad od slajdova. Bez ovoga se
   pri racunanju minimalne sirine saberu svi slajdovi (npr. kartice sa tekstom),
   pa carousel rasiri roditelja - u editoru i ceo editor izlazi iz modala. */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .swiper {
    contain: inline-size;
}

/* Pre pokretanja Swipera (dok nema data-nb-editor-carousel-ready). */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel]:not([data-nb-editor-carousel-ready]) > .swiper {
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel]:not([data-nb-editor-carousel-ready]) > .swiper > .swiper-wrapper {
    display: flex;
    gap: var(--nb-editor-carousel-space, 20px);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel]:not([data-nb-editor-carousel-ready]) > .swiper > .swiper-wrapper > .swiper-slide {
    flex: 0 0 calc((100% - (var(--nb-editor-carousel-visible) - 1) * var(--nb-editor-carousel-space, 20px)) / var(--nb-editor-carousel-visible));
    width: auto;
}

/* Strelice i indikatori - prema platformskom .nb-swiper stilu, sa istim
   promenljivima platforme (bez novih). Redosled elemenata je isti kao na
   platformi: .swiper, .swiper-pagination, .swiper-button-prev, -next. */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] {
    --swiper-navigation-color: var(--nb-text-color-primary);
    --swiper-navigation-size: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > :is(.nb-editor-carousel__prev, .nb-editor-carousel__next) {
    color: var(--swiper-navigation-color);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > :is(.nb-editor-carousel__prev, .nb-editor-carousel__next)::after,
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > :is(.nb-editor-carousel__prev, .nb-editor-carousel__next) svg {
    display: none !important;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > :is(.nb-editor-carousel__prev, .nb-editor-carousel__next) .nbi {
    font-size: var(--swiper-navigation-size);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .swiper.swiper-navigation-disabled ~ :is(.nb-editor-carousel__prev, .nb-editor-carousel__next) {
    display: none !important;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination:empty,
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination.swiper-pagination-disabled {
    display: none !important;
}

/* Tackice su ispod slajdova (u toku dokumenta), a ne preko njih. Ostaje
   position + z-index iz Swipera: oni prave sloj u kom se vidi ::before krug
   tackice (z-index: -1), kao na platformskom .nb-swiper. Visina je tacno 12px
   (tackica 8px + 2px gore/dole), da bi rezervisano mesto ispod bilo tacno. */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 20px;
    padding: 2px 0;
    line-height: 0;
}

/* Tackice pravi skripta pri pokretanju - do tada je njihovo mesto (12px + 20px)
   rezervisano, da se sadrzaj ispod ne pomeri (CLS). */
@media (max-width: 767px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel][data-nb-editor-carousel-dots-mobile="1"]:not([data-nb-editor-carousel-ready]) {
        padding-bottom: 32px;
    }
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel][data-nb-editor-carousel-dots-desktop="1"]:not([data-nb-editor-carousel-ready]) {
        padding-bottom: 32px;
    }
}

/* Strelice ostaju na sredini slajdova: pomerene su za pola visine tackica
   (12px) i razmaka iznad njih (20px). */
:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel]:has(> .nb-editor-carousel__pagination:not(:empty):not(.swiper-pagination-disabled)) {
    --swiper-navigation-top-offset: calc(50% - 16px);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination .swiper-pagination-bullet {
    position: relative;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background-color: var(--nb-dots-color);
    opacity: 1;
    cursor: pointer;
    transition: all .3s ease;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--nb-dots-shadow-color);
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination .swiper-pagination-bullet + .swiper-pagination-bullet {
    margin-left: 16px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--nb-dots-active-color);
}

:is(.nb-content, .nb-html-editor) .nb-editor-carousel[data-nb-editor-carousel] > .nb-editor-carousel__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    background-color: var(--nb-dots-active-shadow-color);
}


/* --- static-single-banner-2 (staticki blok) --------------------------------------
   Grid je core (row g-0, col-*); tekstualna kolona i slika su ovde. */

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-2__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    border: 1px solid var(--nb-border-color);
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-2__content > * {
    margin: 0;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-2__content {
        gap: 20px;
        padding: 40px;
    }
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-2__media .nb-img {
    height: 100%;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-single-banner-2__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- static-cta-banner-1 (staticki blok) ---------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 15px;
    color: var(--nb-text-color-primary);
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 > * {
    max-width: 900px;
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 > figure[data-nb-image] {
    width: 100%;
    max-width: 520px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1__button > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 a,
:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 a.nb-btn:hover {
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 a:not(.nb-btn):hover {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

/* Boja iz toolbara ide na <span> unutar linka, a underline crta <a> u svojoj
   boji - zato se tada underline prebacuje na span, da prati boju teksta. */
:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 a:not(.nb-btn):hover:has(span[style*="color"]) {
    text-decoration: none;
}

:is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 a:not(.nb-btn):hover span[style*="color"] {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-static-cta-banner-1 {
        gap: 20px;
        padding: 40px 20px;
    }
}

/* --- Stil dugmeta iz editora (ui/modals/buttonStyleModal.js) -----------------
   Modal upisuje boje u style linka kao promenljive (--nb-editor-btn-*), jer
   inline style ne moze da opise :hover. Svako pravilo vazi samo ako je ta
   promenljiva postavljena - ostalo ostaje iz klase dugmeta (nb7.buttons.css).
   Obicno stanje iskljucuje hover/focus/active, da hover iz klase i dalje radi
   kada je zadata samo obicna boja. */

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-color"]:not(:hover, :focus, :active) {
    color: var(--nb-editor-btn-color);
}

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-bg"]:not(:hover, :focus, :active) {
    background: var(--nb-editor-btn-bg);
}

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-border-color"]:not(:hover, :focus, :active) {
    border-color: var(--nb-editor-btn-border-color);
}

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-hover-color"]:is(:hover, :focus, :active) {
    color: var(--nb-editor-btn-hover-color);
}

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-hover-bg"]:is(:hover, :focus, :active) {
    background: var(--nb-editor-btn-hover-bg);
}

:is(.nb-content, .nb-html-editor) a.nb-btn[style*="--nb-editor-btn-hover-border-color"]:is(:hover, :focus, :active) {
    border-color: var(--nb-editor-btn-hover-border-color);
}

/* --- Spacer (vertikalni razmak) ---------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-spacer {
    display: block;
    height: var(--nb-spacer-md);
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-spacer--xs { height: var(--nb-spacer-xs); }
:is(.nb-content, .nb-html-editor) .nb-spacer--sm { height: var(--nb-spacer-sm); }
:is(.nb-content, .nb-html-editor) .nb-spacer--md { height: var(--nb-spacer-md); }
:is(.nb-content, .nb-html-editor) .nb-spacer--lg { height: var(--nb-spacer-lg); }
:is(.nb-content, .nb-html-editor) .nb-spacer--xl { height: var(--nb-spacer-xl); }


/* --- Citat (običan blockquote iz toolbara) ------------------------------ */
/* Blok "Citat sa autorom" ima svoju klasu .nb-quote i ne dobija navodnik. */

:is(.nb-content, .nb-html-editor) blockquote:not(.nb-quote) {
    position: relative;
    margin: 1.2em 0;
    padding: var(--nb-quote-padding);
    border-left: 4px solid var(--nb-quote-border);
    background: var(--nb-quote-bg);
    color: var(--nb-quote-color);
    font-style: italic;
}

:is(.nb-content, .nb-html-editor) blockquote:not(.nb-quote)::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 12px;
    color: var(--nb-quote-mark-color);
    font: 700 var(--nb-quote-mark-size)/1 Georgia, "Times New Roman", serif;
    font-style: normal;
    pointer-events: none;
}

:is(.nb-content, .nb-html-editor) blockquote:not(.nb-quote) > :last-child {
    margin-bottom: 0;
}


/* --- Citat sa autorom (klasa .nb-quote) --------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-quote {
    margin: 0;
    padding: 12px 18px;
    border-left: 4px solid var(--nb-editor-border-strong, #cbd5e1);
    font-style: italic;
}

:is(.nb-content, .nb-html-editor) .nb-quote__author {
    margin-top: 8px;
    font-style: normal;
    font-size: .85rem;
    color: #64748b;
}


/* --- Poziv na akciju ---------------------------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-cta {
    padding: 24px;
    background: #f1f5f9;
    border-radius: var(--nb-editor-radius-lg, 8px);
    text-align: center;
}


/* --- text-features-3 (staticki blok) - prednosti u 3 kolone --------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-text-features-3 {
    display: grid;
    gap: 30px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-features-3__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-features-3__item > *,
:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__item > *,
:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__text > *,
:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3 > *,
:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__item > *,
:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__number > p,
:is(.nb-content, .nb-html-editor) .nb-editor-text-stats-4__item > * {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-features-3__item > figure[data-nb-image],
:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__item > figure[data-nb-image] {
    flex: 0 0 auto;
    width: 48px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-features-3__item > figure[data-nb-image] img,
:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__item > figure[data-nb-image] img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-text-features-3 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* --- text-steps-3 (staticki blok) - numerisani koraci --------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__list {
    display: grid;
    gap: 30px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nb-btn-primary-bg);
    color: var(--nb-color-white, #fff);
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-text-steps-3__list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* --- text-stats-4 (staticki blok) - istaknute brojke ---------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-text-stats-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-stats-4__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 10px;
    border: 1px solid var(--nb-border-color);
    border-radius: 8px;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-stats-4__item > h2 {
    color: var(--nb-btn-primary-bg);
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-text-stats-4 {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

/* --- text-contact-info (staticki blok) - kontakt podaci ------------------- */

:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info {
    display: grid;
    gap: 20px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

:is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (min-width: 768px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    :is(.nb-content, .nb-html-editor) .nb-editor-text-contact-info {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* --- Poziv na akciju sa listom linkova ---------------------------------- */

:is(.nb-content, .nb-html-editor) .nb-cta-links {
    text-align: center;
}

/* Dugmici oba CTA bloka su ponovljive stavke (data-nb-repeat): duplirani
   stoje jedan pored drugog, a u novi red prelaze kada nema mesta. */
:is(.nb-content, .nb-html-editor) .nb-cta-links__list ,
:is(.nb-content, .nb-html-editor) .nb-cta-links__list > p,
:is(.nb-content, .nb-html-editor) .nb-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 0;
}

:is(.nb-content, .nb-html-editor) .nb-cta-links__list p,
:is(.nb-content, .nb-html-editor) .nb-cta__buttons p {
    margin: 0;
}

/* =============================================================================
   5. TOKENI BOJA   (opcije 18 / 19 / 20 / 21)
   --------------------------------------------------------------------------
   Ove klase postavlja paleta dizajn sistema. Color picker umesto klase
   upisuje inline style, i to je namerno iskljucivo - nikad oba istovremeno
   (vidi extensions/textColor.js), pa nema CSS trke.
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-text-primary   { color: var(--nb-text-color-primary); }
:is(.nb-content, .nb-html-editor) .nb-text-secondary { color: var(--nb-text-color-secondary); }
:is(.nb-content, .nb-html-editor) .nb-text-success   { color: var(--nb-color-success); }
:is(.nb-content, .nb-html-editor) .nb-text-warning   { color: var(--nb-color-warning); }
:is(.nb-content, .nb-html-editor) .nb-text-danger    { color: var(--nb-color-danger); }
:is(.nb-content, .nb-html-editor) .nb-text-info      { color: var(--nb-color-info); }
:is(.nb-content, .nb-html-editor) .nb-text-dark      { color: #000000; }
:is(.nb-content, .nb-html-editor) .nb-text-light     { color: #ffffff; }

:is(.nb-content, .nb-html-editor) .nb-bg-primary   { background-color: var(--nb-bg-primary); }
:is(.nb-content, .nb-html-editor) .nb-bg-secondary { background-color: var(--nb-bg-secondary); }
:is(.nb-content, .nb-html-editor) .nb-bg-success   { background-color: var(--nb-color-success); }
:is(.nb-content, .nb-html-editor) .nb-bg-warning   { background-color: var(--nb-color-warning); }
:is(.nb-content, .nb-html-editor) .nb-bg-danger    { background-color: var(--nb-color-danger); }
:is(.nb-content, .nb-html-editor) .nb-bg-info      { background-color: var(--nb-color-info); }
:is(.nb-content, .nb-html-editor) .nb-bg-dark      { background-color: #0f172a; color: #f8fafc; }
:is(.nb-content, .nb-html-editor) .nb-bg-white     { background-color: #ffffff; }


/* =============================================================================
   6. LISTE   (opcija 8)
   --------------------------------------------------------------------------
   Vrsta oznake (disc / decimal / lower-alpha / upper-roman ...) dolazi kao
   inline `list-style-type` iz ListStyle ekstenzije - namerno, jer je to
   cisto prezentaciona CSS osobina bez semantike.
   ========================================================================== */

:is(.nb-content, .nb-html-editor) ul,
:is(.nb-content, .nb-html-editor) ol {
    padding-left: 1.6em;
}

:is(.nb-content, .nb-html-editor) li > p {
    margin: 0;
}

:is(.nb-content, .nb-html-editor) li + li {
    margin-top: .25em;
}



/* =============================================================================
   8. SLIKE   (opcija 11)
   --------------------------------------------------------------------------
   Izlazni markup:
     <figure data-nb-image class="nb-img nb-img--rounded" style="text-align:center">
       <a href="..."><img src alt></a>
       <figcaption>Opis</figcaption>
     </figure>
   Poravnanje dolazi kao inline text-align iz NbImage node-a.
   ========================================================================== */


:is(.nb-content, .nb-html-editor) .nb-img figcaption {
    margin-top: 6px;
    font-size: .82rem;
    color: #64748b;
    text-align: center;
}

:is(.nb-content, .nb-html-editor) .nb-img--rounded img  { border-radius: var(--nb-border-radius-l, 8px); }
:is(.nb-content, .nb-html-editor) .nb-img--circle img   { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
:is(.nb-content, .nb-html-editor) .nb-img--bordered img { border: 1px solid var(--nb-editor-border-strong, #cbd5e1); padding: 4px; background: #fff; }
:is(.nb-content, .nb-html-editor) .nb-img--shadow img   { box-shadow: 0 8px 20px -6px rgba(15, 23, 42, .3); }
:is(.nb-content, .nb-html-editor) .nb-img--full img     { width: 100%; }


/* =============================================================================
   9. PRELOM STRANE   (opcija 12)
   --------------------------------------------------------------------------
   IZMENA U ODNOSU NA PRVU VERZIJU:
   isprekidana linija i oznaka "Prelom strane" su prebacene u
   content-editor.css. Bile su u deljenom fajlu, pa se ta oznaka
   prikazivala i posetiocima na public sajtu.
   Ovde ostaje samo ono sto je zaista deljeno: sam prelom u stampi.
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-page-break {
    height: 0;
    margin: 0;
    border: 0;
}

@media print {
    :is(.nb-content, .nb-html-editor) .nb-page-break {
        break-after: page;
        page-break-after: always;
    }
}


/* =============================================================================
   10. VIDEO   (opcija 25)
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-video {
    position: relative;
    margin: 1.2em 0;
    background: #000;
    border-radius: var(--nb-editor-radius-md, 6px);
    overflow: hidden;
}

:is(.nb-content, .nb-html-editor) .nb-video--16x9 { aspect-ratio: 16 / 9; }
:is(.nb-content, .nb-html-editor) .nb-video--4x3  { aspect-ratio: 4 / 3; }

:is(.nb-content, .nb-html-editor) .nb-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =============================================================================
   11. EMBED   (opcija 26)
   --------------------------------------------------------------------------
   U sadrzaju je samo <div data-nb-embed="instagram" data-url="...">
   sa <a> fallback-om unutra. Pravi embed hidrira frontend - editor namerno
   ne izvrsava skripte trecih strana.
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-embed {
    margin: 1.2em 0;
}


/* =============================================================================
   12. STATICKI BLOKOVI - REFERENCA   (opcije 23 / 24)
   --------------------------------------------------------------------------
   PAZI: kada je blok ubacen kao referenca, u sacuvanom HTML-u je PRAZAN div:
       <div data-nb-static-block="hero-split" data-nb-category="html"></div>
   Backend/frontend mora da ga zameni markup-om iz config/static-blocks.js.
   Ako to nije implementirano, na public-u se nista ne prikaze.
   Blokovi ubaceni kao "sadrzaj" ne zavise od ovoga - oni su pravi HTML.
   ========================================================================== */

:is(.nb-content, .nb-html-editor) .nb-static-block:empty {
    display: none;
}


/* =============================================================================
   13. PRISTUPACNOST
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    :is(.nb-content, .nb-html-editor) * {
        animation: none !important;
        transition: none !important;
    }
}

/* =============================================================================
   14. Slika sa naslovom ispod
   ========================================================================== */
:is(.nb-content, .nb-html-editor) .nb-image-and-title {
    flex: 1;
}
:is(.nb-content, .nb-html-editor) .nb-image-and-title .nb-img {
    margin-bottom: 8px;
}