/* ==========================================================================
   blagajna.hr — sekcija "Vijesti"
   Stilovi su namjerno scoped na .vj* klase kako ne bi dirali ostatak sajta.
   Dizajn-tokeni su isti kao na ostatku sajta: emerald #10b981, lime #a3e635,
   Space Grotesk (naslovi), Plus Jakarta Sans (tekst), #f8fafc podloga.
   ========================================================================== */

.vj {
    --vj-emerald: #10b981;
    --vj-emerald-dark: #047857;
    --vj-emerald-deep: #065f46;
    --vj-lime: #a3e635;
    --vj-ink: #0f172a;
    --vj-body: #334155;
    --vj-muted: #64748b;
    --vj-line: #e2e8f0;
    --vj-line-soft: #f1f5f9;
    --vj-card: #ffffff;
    --vj-radius: 22px;
    --vj-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    --vj-shadow-md: 0 18px 34px -22px rgba(15, 23, 42, .28);
    color: var(--vj-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- okvir stranice ------------------------------------------------------ */
.vj-page { padding-top: 108px; }
.vj-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.vj-wrap--narrow { max-width: 1060px; }

/* --- hero (popis) -------------------------------------------------------- */
.vj-hero { padding: 30px 0 38px; }
.vj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .22);
    color: var(--vj-emerald-dark);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.vj-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vj-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .14);
}
.vj-h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 1.15rem + 2.7vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -.022em;
    color: var(--vj-ink);
    margin: 18px 0 0;
}
.vj-h1 span { color: var(--vj-emerald); }

/* --- filtar po kategorijama --------------------------------------------- */
.vj-filter { margin: 4px 0 26px; }
.vj-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.vj-chip {
    appearance: none;
    cursor: pointer;
    border: 1px solid var(--vj-line);
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 15px;
    border-radius: 999px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
    box-shadow: var(--vj-shadow-sm);
}
.vj-chip:hover { border-color: #a7f3d0; color: var(--vj-emerald-dark); transform: translateY(-1px); }
.vj-chip:focus-visible { outline: 2px solid var(--vj-emerald); outline-offset: 2px; }
.vj-chip[aria-pressed="true"] {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(16, 185, 129, .8);
}
.vj-chip__count { opacity: .62; font-weight: 600; margin-left: 3px; }

/* --- istaknuta objava ---------------------------------------------------- */
.vj-feature {
    display: block;
    padding: 1px;
    border-radius: 28px;
    background: linear-gradient(120deg, #10b981, #a3e635 55%, #10b981);
    box-shadow: 0 26px 54px -30px rgba(5, 150, 105, .55);
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease;
}
.vj-feature:hover { transform: translateY(-3px); box-shadow: 0 32px 62px -30px rgba(5, 150, 105, .62); }
.vj-feature:hover .vj-feature__more { gap: 12px; color: var(--vj-emerald-dark); }
.vj-feature__in {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 30px;
    background: #fff;
    border-radius: 27px;
    padding: 32px;
    align-items: stretch;
}
.vj-feature__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vj-emerald-dark);
    margin: 0 0 14px;
}
.vj-feature__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 1.05rem + 1.15vw, 2.05rem);
    line-height: 1.18;
    letter-spacing: -.015em;
    font-weight: 700;
    color: var(--vj-ink);
    margin: 0;
}
.vj-feature__perex { margin: 14px 0 0; color: #475569; line-height: 1.72; font-size: 1rem; }
.vj-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 12.5px;
    color: var(--vj-muted);
}
.vj-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.vj-feature__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-weight: 800;
    font-size: .95rem;
    color: var(--vj-ink);
    transition: gap .24s ease, color .24s ease;
}
.vj-countdown {
    border-radius: 20px;
    padding: 24px 22px;
    background: radial-gradient(120% 120% at 100% 0%, #065f46 0%, #064e3b 55%, #052e24 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}
.vj-countdown::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 230, 53, .28), transparent 70%);
    pointer-events: none;
}
.vj-countdown__label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}
.vj-countdown__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.4rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.03em;
    color: #fff;
}
.vj-countdown__num span { color: var(--vj-lime); }
.vj-countdown__text { font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }

/* --- kartice objava ------------------------------------------------------ */
.vj-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 44px 0 18px;
}
.vj-section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vj-ink);
    letter-spacing: -.01em;
    margin: 0;
}
.vj-section-head span { font-size: 13px; color: var(--vj-muted); }

.vj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vj-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--vj-card);
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: var(--vj-radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--vj-shadow-sm);
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
    overflow: hidden;
}
.vj-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--vj-accent, var(--vj-emerald));
    opacity: 0;
    transition: opacity .26s ease;
}
.vj-card:hover { transform: translateY(-4px); box-shadow: var(--vj-shadow-md); border-color: rgba(16, 185, 129, .35); }
.vj-card:hover::before { opacity: 1; }
.vj-card:focus-visible { outline: 2px solid var(--vj-emerald); outline-offset: 3px; }
.vj-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vj-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.11rem;
    line-height: 1.32;
    font-weight: 700;
    color: var(--vj-ink);
    margin: 0;
    letter-spacing: -.008em;
}
.vj-card:hover .vj-card__title { color: var(--vj-emerald-dark); }
.vj-card__perex {
    margin: 0;
    font-size: .915rem;
    line-height: 1.65;
    color: #5b6b7f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vj-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--vj-line-soft);
    font-size: 12.5px;
    color: var(--vj-muted);
}
.vj-card__arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--vj-line);
    color: #64748b;
    transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s ease;
    flex: none;
}
.vj-card:hover .vj-card__arrow {
    background: var(--vj-emerald);
    border-color: var(--vj-emerald);
    color: #fff;
    transform: translateX(2px);
}
.vj-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    color: var(--vj-muted);
    background: rgba(255, 255, 255, .6);
}

/* --- oznake kategorija --------------------------------------------------- */
.vj-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    background: #ecfdf5;
    color: #047857;
}
.vj-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.vj-badge[data-accent="sky"] { background: #e0f2fe; color: #0369a1; }
.vj-badge[data-accent="violet"] { background: #ede9fe; color: #6d28d9; }
.vj-badge[data-accent="amber"] { background: #fef3c7; color: #b45309; }
.vj-badge[data-accent="lime"] { background: #ecfccb; color: #4d7c0f; }

/* --- gumbi --------------------------------------------------------------- */
.vj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 21px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .93rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    line-height: 1.2;
}
.vj-btn:focus-visible { outline: 2px solid var(--vj-emerald); outline-offset: 3px; }
.vj-btn--primary { background: var(--vj-emerald); color: #fff; box-shadow: 0 14px 26px -14px rgba(16, 185, 129, .85); }
.vj-btn--primary:hover { background: #059669; transform: translateY(-1px); }
.vj-btn--ghost { background: #fff; color: var(--vj-emerald-dark); border-color: #a7f3d0; }
.vj-btn--ghost:hover { background: #ecfdf5; transform: translateY(-1px); }
.vj-btn--light { background: #fff; color: var(--vj-emerald-deep); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .45); }
.vj-btn--light:hover { transform: translateY(-1px); }
.vj-btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.vj-btn--outline:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }

/* --- pojedinačna objava: zaglavlje -------------------------------------- */
.vj-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #10b981, #a3e635);
    z-index: 60;
    transition: width .1s linear;
}
.vj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.8px; color: var(--vj-muted); }
.vj-crumbs a { color: var(--vj-muted); text-decoration: none; transition: color .2s ease; }
.vj-crumbs a:hover { color: var(--vj-emerald-dark); }
.vj-crumbs__sep { color: #cbd5e1; }
.vj-crumbs__now {
    color: var(--vj-ink);
    font-weight: 600;
    max-width: 46ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vj-article-head { padding: 24px 0 0; }
.vj-article-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 18px 0 0; font-size: 12.8px; color: var(--vj-muted); }
.vj-article-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 1.05rem + 2.1vw, 2.7rem);
    line-height: 1.11;
    letter-spacing: -.022em;
    font-weight: 800;
    color: var(--vj-ink);
    margin: 14px 0 0;
}
.vj-article-perex {
    margin: 18px 0 0;
    font-size: 1.09rem;
    line-height: 1.72;
    color: #475569;
    max-width: 70ch;
}
.vj-article-rule {
    margin: 28px 0 0;
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, #d1fae5, #e2e8f0 45%, transparent);
}

/* --- pojedinačna objava: tijelo + sidebar ------------------------------- */
.vj-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 52px;
    align-items: start;
    padding: 30px 0 0;
}
.vj-prose { font-size: 1.045rem; line-height: 1.78; color: var(--vj-body); }
.vj-prose p { margin: 0 0 1.15em; }
.vj-prose p:last-child { margin-bottom: 0; }
.vj-prose strong { color: #064e3b; font-weight: 700; }
.vj-prose em { color: #0f172a; }
.vj-prose a {
    color: var(--vj-emerald-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(16, 185, 129, .35);
    transition: border-color .2s ease, color .2s ease;
}
.vj-prose a:hover { color: #065f46; border-bottom-color: #065f46; }
.vj-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .875em;
    background: #f1f5f9;
    border: 1px solid var(--vj-line);
    border-radius: 6px;
    padding: .1em .42em;
    color: #0f766e;
    white-space: nowrap;
}
.vj-prose .vj-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.22rem, 1rem + .55vw, 1.5rem);
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -.012em;
    color: var(--vj-ink);
    margin: 2.1em 0 .72em;
    padding-left: .68em;
    border-left: 4px solid var(--vj-emerald);
    border-radius: 2px;
    scroll-margin-top: 108px;
}
.vj-prose .vj-h2:first-child { margin-top: 0; }
.vj-prose .vj-list { margin: 0 0 1.3em; padding: 0; list-style: none; }
.vj-prose .vj-list li { position: relative; padding-left: 1.65em; margin: .48em 0; }
.vj-prose .vj-list li::before {
    content: '';
    position: absolute;
    left: .28em;
    top: .66em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--vj-emerald);
    transform: rotate(45deg);
}
.vj-prose ol.vj-list { counter-reset: vjli; }
.vj-prose ol.vj-list li { counter-increment: vjli; padding-left: 2.15em; }
.vj-prose ol.vj-list li::before {
    content: counter(vjli);
    left: 0;
    top: .12em;
    width: 1.55em;
    height: 1.55em;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: var(--vj-emerald-dark);
    font-size: .76em;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
}

/* tablice u tekstu ------------------------------------------------------- */
.vj-table-wrap {
    margin: 0 0 1.5em;
    border: 1px solid var(--vj-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--vj-shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.vj-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 540px; }
.vj-table thead th {
    background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
    color: var(--vj-emerald-deep);
    text-align: left;
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid #d1fae5;
}
.vj-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--vj-line-soft);
    vertical-align: top;
    color: var(--vj-body);
    line-height: 1.6;
}
.vj-table tbody tr:nth-child(even) { background: #fbfefc; }
.vj-table tbody tr:last-child td { border-bottom: 0; }
.vj-table td:first-child { color: var(--vj-ink); font-weight: 600; }
.vj-table code { white-space: nowrap; }

/* sidebar ---------------------------------------------------------------- */
.vj-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.vj-panel {
    background: #fff;
    border: 1px solid var(--vj-line);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: var(--vj-shadow-sm);
}
.vj-panel__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vj-muted);
    margin: 0 0 12px;
}
.vj-toc { display: flex; flex-direction: column; }
.vj-toc a {
    display: block;
    padding: 7px 0 7px 14px;
    border-left: 2px solid var(--vj-line);
    font-size: .885rem;
    line-height: 1.42;
    color: #475569;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.vj-toc a:hover { color: var(--vj-emerald-dark); border-left-color: #6ee7b7; }
.vj-toc a.is-active { color: var(--vj-emerald-dark); font-weight: 700; border-left-color: var(--vj-emerald); }
.vj-cta-card {
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(150deg, #10b981, #a3e635);
    box-shadow: 0 20px 40px -22px rgba(16, 185, 129, .6);
}
.vj-cta-card__in {
    border-radius: 13px;
    background: linear-gradient(160deg, #064e3b, #065f46 70%, #052e24);
    padding: 20px;
    color: #fff;
}
.vj-cta-card__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin: 0 0 8px;
}
.vj-cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.vj-cta-card p { font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 14px; }
.vj-cta-card .vj-btn { width: 100%; padding: 11px 16px; font-size: .875rem; }
.vj-cta-card .vj-btn + .vj-btn { margin-top: 8px; }
.vj-mini-list { display: flex; flex-direction: column; gap: 2px; }
.vj-mini-list a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--vj-line-soft);
    text-decoration: none;
    color: var(--vj-ink);
    font-size: .88rem;
    line-height: 1.42;
    font-weight: 600;
    transition: color .2s ease;
}
.vj-mini-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.vj-mini-list a:hover { color: var(--vj-emerald-dark); }
.vj-mini-list time { display: block; font-size: 11.5px; color: var(--vj-muted); font-weight: 500; margin-top: 2px; }

/* --- CTA na kraju objave ------------------------------------------------- */
.vj-cta {
    margin: 46px 0 0;
    padding: 1px;
    border-radius: 26px;
    background: linear-gradient(120deg, #10b981, #a3e635 60%, #10b981);
    box-shadow: 0 26px 52px -30px rgba(5, 150, 105, .55);
}
.vj-cta__in {
    border-radius: 25px;
    background: linear-gradient(160deg, #064e3b, #052e24);
    padding: 30px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
    align-items: center;
    justify-content: space-between;
}
.vj-cta__body { flex: 1 1 340px; min-width: 0; }
.vj-cta__title {
    text-wrap: balance;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, .95rem + .6vw, 1.42rem);
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.vj-cta__text { margin: 0; color: rgba(255, 255, 255, .84); font-size: .95rem; line-height: 1.65; max-width: 56ch; }
.vj-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; min-width: 0; }

/* --- izvori -------------------------------------------------------------- */
.vj-sources { margin: 38px 0 0; padding-top: 22px; border-top: 1px dashed #cbd5e1; }
.vj-sources__title {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--vj-muted);
    margin: 0 0 12px;
}
.vj-sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.vj-sources a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border: 1px solid var(--vj-line);
    border-radius: 999px;
    background: #f8fafc;
    font-size: .84rem;
    color: #334155;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vj-sources a:hover { border-color: #6ee7b7; background: #ecfdf5; color: var(--vj-emerald-dark); }
.vj-sources a::after { content: '↗'; font-size: .9em; opacity: .55; }

/* --- prethodna / sljedeća ------------------------------------------------ */
.vj-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; }
.vj-pager a {
    display: block;
    padding: 18px 20px;
    border: 1px solid var(--vj-line);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--vj-shadow-sm);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.vj-pager a:hover { transform: translateY(-2px); border-color: #6ee7b7; box-shadow: var(--vj-shadow-md); }
.vj-pager__label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vj-muted);
    margin-bottom: 7px;
}
.vj-pager__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .98rem;
    line-height: 1.34;
    font-weight: 700;
    color: var(--vj-ink);
}
.vj-pager__next { text-align: right; }

/* --- povezane objave ----------------------------------------------------- */
.vj-related { padding: 44px 0 0; }
.vj-related__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}
.vj-related__head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--vj-ink);
    margin: 0;
}
.vj-related__head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #d1fae5, transparent);
}

/* --- završni CTA popisa -------------------------------------------------- */
.vj-endcta { padding: 50px 0 8px; }
.vj-endcta__box {
    border-radius: 26px;
    padding: 34px;
    background: radial-gradient(130% 130% at 0% 0%, #065f46 0%, #064e3b 45%, #052e24 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 30px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 30px 60px -34px rgba(4, 47, 36, .8);
}
.vj-endcta__body { flex: 1 1 360px; min-width: 0; }
.vj-endcta__box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 1rem + .8vw, 1.65rem);
    line-height: 1.26;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
.vj-endcta__box p { margin: 0; color: rgba(255, 255, 255, .84); line-height: 1.68; max-width: 58ch; font-size: .97rem; }
.vj-endcta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- responzivno --------------------------------------------------------- */
@media (max-width: 1024px) {
    .vj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vj-feature__in { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px; }
    .vj-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .vj-side { position: static; }
    .vj-countdown { padding: 20px; }
}

@media (max-width: 767px) {
    .vj-page { padding-top: 96px; }
    .vj-hero { padding: 16px 0 28px; }
                    .vj-feature__in { padding: 22px; }
    .vj-grid { grid-template-columns: minmax(0, 1fr); }
    .vj-card { padding: 20px; }
    .vj-section-head { margin: 34px 0 14px; }
    .vj-layout { padding-top: 22px; }
    .vj-prose { font-size: 1rem; line-height: 1.74; }
    .vj-prose .vj-h2 { scroll-margin-top: 96px; }
    .vj-table thead th, .vj-table td { padding: 11px 13px; }
    .vj-cta__in { padding: 24px; gap: 18px; }
    .vj-cta__actions .vj-btn { flex: 1 1 auto; }
    .vj-pager { grid-template-columns: minmax(0, 1fr); }
    .vj-pager__next { text-align: left; }
    .vj-endcta__box { padding: 24px; gap: 18px; }
    .vj-endcta__actions .vj-btn { flex: 1 1 auto; }
    .vj-article-perex { font-size: 1.02rem; }
    .vj-chips { gap: 7px; }
    .vj-chip { padding: 8px 13px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .vj-card, .vj-feature, .vj-chip, .vj-btn, .vj-pager a, .vj-sources a, .vj-card__arrow {
        transition: none !important;
        transform: none !important;
    }
    .vj-progress { transition: none; }
}

/* --- tablice na mobitelu: kartice s oznakama stupaca -------------------- */
@media (max-width: 600px) {
    .vj-table-wrap {
        border: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }
    .vj-table { display: block; min-width: 0; font-size: .95rem; }
    .vj-table thead { display: none; }
    .vj-table tbody, .vj-table tr, .vj-table td { display: block; width: 100%; }
    .vj-table tr {
        background: #fff !important;
        border: 1px solid var(--vj-line);
        border-radius: 15px;
        padding: 8px 0;
        margin: 0 0 10px;
        box-shadow: var(--vj-shadow-sm);
    }
    .vj-table tr:last-child { margin-bottom: 0; }
    .vj-table td {
        border: 0;
        padding: 6px 14px;
        display: grid;
        grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
        gap: 10px;
        align-items: baseline;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }
    .vj-table td::before {
        content: attr(data-label);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--vj-muted);
        overflow-wrap: normal;
    }
    .vj-table td:not([data-label])::before { display: none; }
    .vj-table td:not([data-label]) { grid-template-columns: minmax(0, 1fr); }
    .vj-td { min-width: 0; overflow-wrap: anywhere; }
    .vj-table td:first-child {
        font-size: .98rem;
        font-weight: 700;
        color: var(--vj-ink);
        padding-top: 4px;
        padding-bottom: 8px;
        border-bottom: 1px dashed var(--vj-line);
        margin-bottom: 4px;
    }
    .vj-table td:first-child::before { display: none; }
    .vj-table td:first-child { grid-template-columns: minmax(0, 1fr); }
}
