/* ZIP.ba — blog (1.12.0): lista članaka, članak, kartice. Boje i razmaci iz site.css. */

.blog-head .land-lead { max-width: 70ch; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on b { background: var(--zip); color: var(--ink); }

/* ---------- Kartice članaka ---------- */
.blog-grid { display: grid; gap: 16px; }
.post-card { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .16s, transform .16s, border-color .16s; }
.post-card:hover { box-shadow: var(--shadow-2); border-color: #d5d9e1; transform: translateY(-2px); }
.pc-img { display: block; aspect-ratio: 1200 / 630; background: var(--well); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img.none { display: grid; place-items: center; background: linear-gradient(135deg, var(--zip-soft), var(--zip)); color: var(--zip-ink); }
.pc-img.none.t-poslodavci { background: linear-gradient(135deg, #2a2f3a, var(--ink)); color: var(--zip); }
.pc-img.none.t-trziste-rada { background: linear-gradient(135deg, var(--blue-soft), #c7d6ff); color: var(--blue); }
.pc-img.none .ico { width: 44px; height: 44px; opacity: .85; }
.pc-body { padding: 16px 18px 18px; display: grid; gap: 7px; align-content: start; }
.pc-topic { justify-self: start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--zip-ink); background: var(--zip-soft); padding: 3px 9px; border-radius: 999px; text-decoration: none; }
.pc-topic:hover { background: var(--zip); }
.post-card h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pc-ex { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { color: var(--muted); font-size: 13.5px; }
.post-card.big { margin-bottom: 16px; }
.post-card.big h2 { font-size: clamp(22px, 4.6vw, 32px); }
.post-card.big .pc-ex { -webkit-line-clamp: 4; font-size: 16px; }

/* ---------- Poziv na dnu liste ---------- */
.blog-cta { display: grid; gap: 12px; margin: 34px 0 44px; }
.bc-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--zip); color: var(--ink); text-decoration: none; transition: transform .16s, box-shadow .16s; }
.bc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.bc-card > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.bc-card b { font-size: 18px; letter-spacing: -.01em; }
.bc-card small { font-size: 14px; opacity: .8; }
.bc-card .ico { width: 22px; height: 22px; flex: none; }
.bc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .55); flex: none; }
.bc-card.dark { background: var(--ink); color: #fff; }
.bc-card.dark .bc-ic { background: rgba(255, 255, 255, .1); color: var(--zip); }

/* ---------- Članak ---------- */
.post-head { max-width: 860px; padding: 4px 0 18px; }
.post-topic { display: inline-block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--zip-ink); background: var(--zip-soft); padding: 4px 10px; border-radius: 999px; text-decoration: none; margin-bottom: 12px; }
.post-head h1 { font-size: clamp(30px, 6.2vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.post-lead { font-size: clamp(17px, 2.6vw, 20px); color: var(--ink-2); margin-top: 14px; line-height: 1.5; max-width: 66ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ico { width: 16px; height: 16px; }
.post-cover { margin: 0 0 22px; max-width: 860px; border-radius: var(--r-lg); overflow: hidden; background: var(--well); box-shadow: var(--shadow-1); }
.post-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-layout { display: grid; gap: 22px; }
.post-layout > * { min-width: 0; }
.post-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px clamp(18px, 4vw, 40px) 26px; box-shadow: var(--shadow-1); }

.post-toc { background: var(--well); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; }
.post-toc p { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.post-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.post-toc li.l3 { margin-left: 16px; list-style: circle; font-size: 15px; }
.post-toc a { text-decoration: none; font-weight: 550; color: var(--ink-2); }
.post-toc a:hover { color: var(--ink); text-decoration: underline; }

.post-body { font-size: 18px; line-height: 1.72; color: #1d212b; max-width: 72ch; }
.post-body > * + * { margin-top: 1.05em; }
.post-body h2 { font-size: clamp(23px, 3.6vw, 29px); margin-top: 1.7em; line-height: 1.2; }
.post-body h3 { font-size: clamp(19px, 3vw, 22px); margin-top: 1.4em; line-height: 1.25; letter-spacing: -.015em; }
.post-body h2 + *, .post-body h3 + * { margin-top: .55em; }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .35em; }
.post-body li::marker { color: var(--muted); font-weight: 700; }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body blockquote { margin-left: 0; margin-right: 0; padding: 14px 18px; border-left: 4px solid var(--zip); background: var(--zip-tint); border-radius: 0 12px 12px 0; color: var(--ink); font-size: 17.5px; }
.post-body figure { margin-left: 0; margin-right: 0; }
.post-body figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.post-body figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-share { margin-top: 30px; }

.post-side .aside-card h3 { font-size: 17px; }
.post-side .help { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.post-side .emp-card .help { color: #4a3a00; }

.sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.sec-row h2 { font-size: clamp(22px, 4.4vw, 28px); font-weight: 800; }
.sec-row a { font-weight: 650; text-decoration: none; }
.sec-row a:hover { text-decoration: underline; }
.post-jobs, .post-related { margin-top: 38px; }
.post-related { margin-bottom: 48px; }

@media (min-width: 720px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-cta { grid-template-columns: 1fr 1fr; }
  .post-card.big { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
  .post-card.big .pc-img { height: 100%; aspect-ratio: auto; min-height: 300px; }
  .post-card.big .pc-body { padding: 26px 28px; }
}
@media (min-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .post-side { position: sticky; top: 84px; }
  .post-cover, .post-head { max-width: calc(100% - 322px); }
}
@media print {
  .post-side, .post-share, .post-jobs, .post-related, .tabbar, .top, .foot { display: none !important; }
  .post-main { border: 0; box-shadow: none; padding: 0; }
}
