body.single-djelatnik .tvz-phs-page{width:min(1500px,calc(100% - 40px));max-width:none;margin:0 auto 48px;padding:0;box-sizing:border-box;color:#08142f;clear:both}body.single-djelatnik .tvz-phs-page *{box-sizing:border-box;min-width:0;overflow-wrap:break-word;word-break:normal}body.single-djelatnik .tvz-phs-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;align-items:center;background:linear-gradient(135deg,#1f5ca8 0%,#214b93 54%,#14336f 100%);border-radius:0 0 26px 26px;padding:52px clamp(24px,5vw,72px);color:#fff;box-shadow:0 20px 45px rgba(13,43,94,.18);margin:0 0 24px}body.single-djelatnik .tvz-phs-eyebrow,.tvz-phs-section-label{display:inline-flex;align-items:center;gap:6px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:12px;color:#1b5bad}body.single-djelatnik .tvz-phs-hero .tvz-phs-eyebrow{color:#e6f0ff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 10px}body.single-djelatnik .tvz-phs-hero h1{font-size:clamp(38px,6vw,76px);line-height:.98;margin:14px 0 10px;color:#fff;max-width:920px}body.single-djelatnik .tvz-phs-subtitle{font-size:clamp(18px,2vw,26px);font-weight:800;margin:0;color:#fff}body.single-djelatnik .tvz-phs-org{font-size:16px;margin:10px 0 0;color:rgba(255,255,255,.9)}body.single-djelatnik .tvz-phs-hero__media{justify-self:end;width:220px;height:220px;border-radius:24px;background:rgba(255,255,255,.18);display:grid;place-items:center;box-shadow:0 20px 50px rgba(0,0,0,.22);overflow:hidden}body.single-djelatnik .tvz-phs-hero__media img{width:100%;height:100%;object-fit:cover;display:block}body.single-djelatnik .tvz-phs-hero__media span{font-size:72px;font-weight:900;color:#fff}.tvz-phs-layout{display:grid;grid-template-columns:180px minmax(0,1fr) 280px;gap:22px;align-items:start}.tvz-phs-left,.tvz-phs-right{position:sticky;top:110px;z-index:2}.tvz-phs-main{display:flex;flex-direction:column;gap:22px;min-width:0}.tvz-phs-card{background:#fff;border:1px solid #d8e4f5;border-radius:18px;box-shadow:0 14px 36px rgba(15,45,85,.08);padding:22px}.tvz-phs-nav{display:flex;flex-direction:column;gap:10px}.tvz-phs-nav strong{font-size:17px;margin-bottom:4px}.tvz-phs-nav a,.tvz-phs-links a,.tvz-phs-course,.tvz-phs-list a{display:block;text-decoration:none;border:1px solid #c9d8ee;border-radius:12px;padding:10px 12px;color:#123f83;background:#f8fbff;font-weight:800}.tvz-phs-nav a:hover,.tvz-phs-links a:hover,.tvz-phs-course:hover,.tvz-phs-list a:hover{background:#eaf3ff;border-color:#1f5ca8}.tvz-phs-section h2{font-size:clamp(28px,3vw,46px);line-height:1.06;margin:8px 0 18px}.tvz-phs-section h3{font-size:22px;margin:22px 0 10px}.tvz-phs-rich{font-size:17px;line-height:1.68;color:#27364f}.tvz-phs-rich p{margin:0 0 1em}.tvz-phs-rich.tvz-is-collapsed{max-height:340px;overflow:hidden;position:relative}.tvz-phs-rich.tvz-is-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:100px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}.tvz-phs-more{margin-top:12px;border:0;border-radius:999px;background:#204f9a;color:#fff;font-weight:900;padding:10px 16px;cursor:pointer}.tvz-phs-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tvz-phs-course span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6a7893;margin-bottom:3px}.tvz-phs-course.tvz-hidden,.tvz-phs-list a.tvz-hidden{display:none}.tvz-phs-list{display:grid;gap:10px}.tvz-phs-sidebox+ .tvz-phs-sidebox{margin-top:16px}.tvz-phs-sidebox dl{display:grid;gap:10px;margin:12px 0 0}.tvz-phs-sidebox dt{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#5e6c86;font-weight:900}.tvz-phs-sidebox dd{margin:0;font-weight:700;color:#14213d}.tvz-phs-sidebox a{color:#123f83}.tvz-phs-links{display:grid;gap:8px;margin-top:12px}.tvz-phs-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tvz-phs-stats div{background:#f4f7fb;border-radius:12px;text-align:center;padding:12px 6px}.tvz-phs-stats strong{display:block;font-size:24px;color:#1f5ca8}.tvz-phs-stats span{display:block;font-size:12px;font-weight:800;color:#65738b}.tvz-phs-muted{color:#66758d;font-weight:700}.single-djelatnik .tvz-person-hero,.single-djelatnik .tvz-profile-shell,.single-djelatnik .tvz-profile-render,.single-djelatnik .tvz-profile-card,.single-djelatnik .tvz-employee-profile{max-width:none}.single-djelatnik .tvz-phs-page + .tvz-profile-render,.single-djelatnik .tvz-phs-page + .tvz-employee-profile{display:none!important}@media(max-width:1180px){.tvz-phs-layout{grid-template-columns:1fr}.tvz-phs-left,.tvz-phs-right{position:static}.tvz-phs-left .tvz-phs-nav{flex-direction:row;flex-wrap:wrap}.tvz-phs-left .tvz-phs-nav strong{width:100%}}@media(max-width:760px){body.single-djelatnik .tvz-phs-page{width:calc(100% - 24px)}body.single-djelatnik .tvz-phs-hero{grid-template-columns:1fr;padding:30px 20px;border-radius:0 0 20px 20px}body.single-djelatnik .tvz-phs-hero__media{justify-self:start;width:150px;height:150px}.tvz-phs-course-grid{grid-template-columns:1fr}.tvz-phs-card{padding:18px}}


/* TVZ Profile Hard Single 1.6: compact long public profiles */
body.single-djelatnik .tvz-phs-page{
  width:min(1640px,calc(100% - 32px));
  overflow:visible;
}
body.single-djelatnik .tvz-phs-layout{
  grid-template-columns:180px minmax(0,1fr) minmax(260px,300px);
  gap:24px;
}
body.single-djelatnik .tvz-phs-main,
body.single-djelatnik .tvz-phs-card,
body.single-djelatnik .tvz-phs-section{
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
body.single-djelatnik .tvz-phs-right{
  align-self:start;
  z-index:5;
}
body.single-djelatnik .tvz-phs-rich{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}
body.single-djelatnik .tvz-phs-rich p,
body.single-djelatnik .tvz-phs-rich li,
body.single-djelatnik .tvz-phs-rich div{
  max-width:100%;
}
body.single-djelatnik .tvz-phs-rich ol,
body.single-djelatnik .tvz-phs-rich ul{
  margin:10px 0 16px 22px;
  padding:0;
}
body.single-djelatnik .tvz-phs-rich li{
  font-size:15px;
  line-height:1.45;
  margin:0 0 7px;
  padding-left:2px;
}
body.single-djelatnik .tvz-phs-rich h2,
body.single-djelatnik .tvz-phs-rich h3,
body.single-djelatnik .tvz-phs-rich h4{
  margin:24px 0 10px;
  line-height:1.15;
}
body.single-djelatnik .tvz-phs-rich h3{
  font-size:21px;
}
body.single-djelatnik .tvz-phs-rich.tvz-is-collapsed{
  max-height:430px;
  overflow:hidden;
}
body.single-djelatnik .tvz-phs-rich.tvz-is-expanded{
  max-height:none !important;
  overflow:visible !important;
  padding:16px;
  border:1px solid #dbe6f7;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#fbfdff);
}
body.single-djelatnik .tvz-phs-rich.tvz-is-expanded:after{display:none!important;}
body.single-djelatnik .tvz-phs-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:34px;
  padding:8px 14px;
  font-size:13px;
  box-shadow:0 8px 20px rgba(32,79,154,.16);
}
body.single-djelatnik .tvz-phs-course-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  max-height:none;
}
body.single-djelatnik .tvz-phs-course{
  padding:8px 10px;
  font-size:13px;
  line-height:1.25;
  min-height:42px;
}
body.single-djelatnik .tvz-phs-course span{
  font-size:10px;
  margin-bottom:2px;
}
body.single-djelatnik .tvz-phs-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.single-djelatnik .tvz-phs-list a{
  padding:9px 10px;
  font-size:13px;
  line-height:1.3;
  min-height:40px;
  max-height:4.4em;
  overflow:hidden;
}
body.single-djelatnik .tvz-phs-section h2{
  font-size:clamp(26px,2.3vw,38px);
  margin-bottom:12px;
}
body.single-djelatnik .tvz-phs-section h3{
  font-size:18px;
}
body.single-djelatnik .tvz-phs-sidebox{
  padding:18px;
}
body.single-djelatnik .tvz-phs-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body.single-djelatnik .tvz-phs-stats strong{
  font-size:22px;
}
body.single-djelatnik .tvz-phs-links a{
  padding:9px 10px;
  font-size:13px;
}
@media(max-width:1300px){
  body.single-djelatnik .tvz-phs-layout{grid-template-columns:160px minmax(0,1fr) 260px;gap:18px;}
  body.single-djelatnik .tvz-phs-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:1180px){
  body.single-djelatnik .tvz-phs-layout{grid-template-columns:1fr;}
  body.single-djelatnik .tvz-phs-list{grid-template-columns:1fr;}
  body.single-djelatnik .tvz-phs-rich.tvz-is-expanded{max-height:none;overflow:visible;}
}
@media(max-width:760px){
  body.single-djelatnik .tvz-phs-course-grid{grid-template-columns:1fr;}
  body.single-djelatnik .tvz-phs-rich li{font-size:14px;}
}


/* ===== merged from tvz-profile-renderer-polish ===== */

/* TVZ Profile Renderer Polish 1.3
   Scope: only public employee profiles and moj-profil. No global layout changes. */

body.single-djelatnik,
body.post-type-archive-djelatnik,
body.page-slug-moj-profil {
  --tvz-profile-blue: #123f7a;
  --tvz-profile-blue-2: #1f5fb8;
  --tvz-profile-border: #d7e2f2;
  --tvz-profile-soft: #f4f8fd;
  --tvz-profile-text: #101828;
  --tvz-profile-muted: #667085;
}

/* widen only profile page wrappers */
body.single-djelatnik .site,
body.single-djelatnik .site-main,
body.single-djelatnik main,
body.single-djelatnik .content-area,
body.single-djelatnik .tvz-main,
body.single-djelatnik .tvz-page,
body.single-djelatnik .tvz-container,
body.single-djelatnik .container,
body.single-djelatnik .wrap,
body.single-djelatnik .entry-content,
body.single-djelatnik .tvz-profile-public,
body.single-djelatnik .tvz-profile-renderer,
body.single-djelatnik .tvz-profile-shell,
body.single-djelatnik .tvz-profile-layout,
body.single-djelatnik .tvz-public-profile {
  max-width: min(1440px, calc(100vw - 40px)) !important;
  width: min(1440px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.single-djelatnik .tvz-profile-shell,
body.single-djelatnik .tvz-profile-layout,
body.single-djelatnik .tvz-profile-grid,
body.single-djelatnik .tvz-public-profile-grid,
body.single-djelatnik .tvz-profile-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px) !important;
  gap: 24px !important;
  align-items: start !important;
}

body.single-djelatnik .tvz-profile-main,
body.single-djelatnik .tvz-profile-content,
body.single-djelatnik .tvz-public-profile-main,
body.single-djelatnik article,
body.single-djelatnik .entry-content > * {
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: normal !important;
  hyphens: auto;
}

body.single-djelatnik .tvz-profile-sidebar,
body.single-djelatnik .tvz-sidebar,
body.single-djelatnik aside {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
  word-break: normal !important;
}

/* public profile hero/card: keep image and text separated */
body.single-djelatnik .tvz-profile-hero,
body.single-djelatnik .tvz-employee-hero,
body.single-djelatnik .tvz-profile-card--hero,
body.single-djelatnik .tvz-public-profile-hero {
  display: grid !important;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;
  max-width: min(1440px, calc(100vw - 40px)) !important;
  width: min(1440px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-djelatnik .tvz-profile-hero img,
body.single-djelatnik .tvz-employee-hero img,
body.single-djelatnik .tvz-profile-photo img,
body.single-djelatnik .wp-post-image {
  position: static !important;
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  z-index: 1 !important;
}

body.single-djelatnik h1,
body.single-djelatnik .entry-title,
body.single-djelatnik .tvz-profile-name,
body.single-djelatnik .tvz-profile-hero h1 {
  color: var(--tvz-profile-text) !important;
  font-size: clamp(2rem, 3.2vw, 4.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  max-width: 950px !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.single-djelatnik .tvz-profile-title,
body.single-djelatnik .tvz-profile-subtitle,
body.single-djelatnik .tvz-profile-zvanje {
  color: var(--tvz-profile-blue) !important;
  font-weight: 750 !important;
}

/* Hide duplicated alphabet/micro-link strip marked in screenshot. JS also detects it. */
body.single-djelatnik .tvz-profile-alpha,
body.single-djelatnik .tvz-alpha-links,
body.single-djelatnik .tvz-letter-links,
body.single-djelatnik .tvz-profile-letters,
body.single-djelatnik .tvz-micro-links,
body.single-djelatnik .tvz-profile-chip-strip,
body.single-djelatnik .tvz-profile-hero .tvz-tag-strip,
body.single-djelatnik .tvz-profile-hero .tvz-badge-strip,
body.single-djelatnik [data-tvz-profile-micro-strip="1"] {
  display: none !important;
}

/* Compact and readable tabs */
body.single-djelatnik .tvz-profile-tabs,
body.single-djelatnik .tvz-tabs,
body.single-djelatnik .profile-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 16px 0 20px !important;
}

body.single-djelatnik .tvz-profile-tabs a,
body.single-djelatnik .tvz-tabs a,
body.single-djelatnik .profile-tabs a,
body.single-djelatnik .tvz-profile-tabs button,
body.single-djelatnik .tvz-tabs button,
body.single-djelatnik .profile-tabs button {
  white-space: nowrap !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Card/text readability */
body.single-djelatnik .tvz-profile-section,
body.single-djelatnik .tvz-profile-card,
body.single-djelatnik .tvz-public-card,
body.single-djelatnik .tvz-card,
body.single-djelatnik .entry-content section {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.single-djelatnik .tvz-profile-section p,
body.single-djelatnik .tvz-profile-card p,
body.single-djelatnik .tvz-richtext,
body.single-djelatnik .entry-content p,
body.single-djelatnik .entry-content li {
  font-size: clamp(0.98rem, 0.95rem + 0.15vw, 1.08rem) !important;
  line-height: 1.72 !important;
  color: #344054 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-djelatnik .tvz-profile-section h2,
body.single-djelatnik .tvz-profile-card h2,
body.single-djelatnik .entry-content h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem) !important;
  line-height: 1.18 !important;
  color: var(--tvz-profile-text) !important;
}

/* Long blocks collapse */
body.single-djelatnik .tvz-long-block-collapsed {
  position: relative;
  max-height: 620px !important;
  overflow: hidden !important;
}

body.single-djelatnik .tvz-long-block-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.96) 72%, #fff);
}

body.single-djelatnik .tvz-long-block-expanded {
  max-height: none !important;
  overflow: visible !important;
}

body.single-djelatnik .tvz-long-block-expanded::after { display: none !important; }

body.single-djelatnik .tvz-read-more-wrap {
  margin: 14px 0 6px;
}

body.single-djelatnik .tvz-read-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tvz-profile-blue-2);
  color: #fff;
  background: var(--tvz-profile-blue-2);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(31, 95, 184, .18);
}

/* Sidebar cards compact */
body.single-djelatnik .tvz-profile-sidebar .tvz-card,
body.single-djelatnik .tvz-profile-sidebar section,
body.single-djelatnik aside .tvz-card,
body.single-djelatnik aside section {
  border: 1px solid var(--tvz-profile-border) !important;
  border-radius: 18px !important;
  background: #fff !important;
  padding: 16px !important;
  box-shadow: 0 18px 36px rgba(16, 24, 40, .06) !important;
}

body.single-djelatnik aside a,
body.single-djelatnik .tvz-profile-sidebar a {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (max-width: 1100px) {
  body.single-djelatnik .tvz-profile-shell,
  body.single-djelatnik .tvz-profile-layout,
  body.single-djelatnik .tvz-profile-grid,
  body.single-djelatnik .tvz-public-profile-grid,
  body.single-djelatnik .tvz-profile-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  body.single-djelatnik .site,
  body.single-djelatnik .site-main,
  body.single-djelatnik main,
  body.single-djelatnik .content-area,
  body.single-djelatnik .tvz-container,
  body.single-djelatnik .container,
  body.single-djelatnik .wrap,
  body.single-djelatnik .entry-content,
  body.single-djelatnik .tvz-profile-public,
  body.single-djelatnik .tvz-profile-renderer,
  body.single-djelatnik .tvz-profile-shell,
  body.single-djelatnik .tvz-profile-layout,
  body.single-djelatnik .tvz-public-profile {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.single-djelatnik .tvz-profile-hero,
  body.single-djelatnik .tvz-employee-hero,
  body.single-djelatnik .tvz-profile-card--hero,
  body.single-djelatnik .tvz-public-profile-hero {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.single-djelatnik .tvz-profile-hero img,
  body.single-djelatnik .tvz-employee-hero img,
  body.single-djelatnik .tvz-profile-photo img,
  body.single-djelatnik .wp-post-image {
    width: 84px !important;
    height: 84px !important;
  }
}

/* === Općenito (tvz-phs-rich): spriječi horizontalno rezanje + manji font === */
body.single-djelatnik .tvz-phs-rich,
body.single-djelatnik .tvz-phs-rich * {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100% !important;
}
body.single-djelatnik .tvz-phs-rich {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body.single-djelatnik .tvz-phs-rich p,
body.single-djelatnik .tvz-phs-rich li {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 .5em !important;
}
body.single-djelatnik .tvz-phs-rich h3,
body.single-djelatnik .tvz-phs-rich h4 {
  font-size: 16px !important;
  margin: 14px 0 8px !important;
}
body.single-djelatnik .tvz-phs-rich ol,
body.single-djelatnik .tvz-phs-rich ul {
  padding-left: 1.4em !important;
  margin: 0 0 1em !important;
}
body.single-djelatnik .tvz-phs-rich table {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
}

/* Hero — kratki opis (lead), clamp da ne razbije hero */
body.single-djelatnik .tvz-phs-lead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 880px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lijevi (Sadržaj) i desni (Službeni podaci) stupac uvijek vidljivi (sticky).
   Neki predak (#main-content / overflow-x:clip) lomi position:sticky — poništavamo na cijelom lancu. */
@media (min-width: 1181px) {
  html:has(body.single-djelatnik) { overflow: visible !important; }
  body.single-djelatnik { overflow: visible !important; }
  body.single-djelatnik main#main-content,
  body.single-djelatnik .tvz-phs-page,
  body.single-djelatnik .tvz-phs-layout { overflow: visible !important; }
  body.single-djelatnik .tvz-phs-left,
  body.single-djelatnik .tvz-phs-right {
    position: sticky !important;
    top: 90px !important;
    align-self: start !important;
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
}

  body.single-djelatnik h1,
  body.single-djelatnik .entry-title,
  body.single-djelatnik .tvz-profile-name,
  body.single-djelatnik .tvz-profile-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.7rem) !important;
  }
}
