/* Shared page templates: the source content stays editable and intact. */
.zdsb-interior{padding-top:24px;padding-bottom:48px}.zdsb-interior .breadcrumbs{line-height:1.6;margin-bottom:20px}.zdsb-page-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;border:1px solid #e0ebf6;background:linear-gradient(120deg,#f1f7fd,#f8fbfe);border-radius:16px;padding:32px;margin-bottom:28px;overflow:hidden}
.zdsb-page-eyebrow{display:flex;align-items:center;gap:9px;color:#0067ba;font-size:13px;font-weight:700;margin-bottom:12px}.zdsb-page-hero h1{font-size:clamp(30px,3.5vw,44px);line-height:1.15;letter-spacing:-1px;margin:0;overflow-wrap:anywhere}.zdsb-page-hero time{display:block;margin-top:14px;color:#526785}.zdsb-page-hero-photo{width:35%;max-height:230px;object-fit:cover;border-radius:12px}
.zdsb-interior-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.zdsb-content-panel{padding:28px;border:1px solid #dce8f4;border-radius:14px;background:white;box-shadow:0 6px 24px #09245105;min-width:0}.zdsb-content-panel .entry-content{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.zdsb-content-panel .entry-content> :first-child{margin-top:0}.zdsb-content-panel .entry-content article.node{border:0;padding:0;border-radius:0;box-shadow:none}.zdsb-content-panel .entry-content h2,.zdsb-content-panel .entry-content h3{margin-top:1.6em;line-height:1.35}.zdsb-content-panel .entry-content h2{font-size:25px}.zdsb-content-panel .entry-content h3{font-size:20px}.zdsb-content-panel .entry-content p{margin:0 0 18px;max-width:none}.zdsb-content-panel .entry-content ul,.zdsb-content-panel .entry-content ol{padding-left:24px;max-width:none}.zdsb-content-panel .entry-content li{padding:4px 0}.zdsb-content-panel .entry-content img{border-radius:10px;max-width:100%;height:auto}.zdsb-content-panel .entry-content iframe{border:0!important;border-radius:12px;max-width:100%;width:100%}.zdsb-content-panel .entry-content table{width:100%!important;max-width:100%;display:block;overflow-x:auto;border-collapse:separate;border-spacing:0;border:1px solid #dce8f4;border-radius:10px;margin:22px 0}.zdsb-content-panel .entry-content td,.zdsb-content-panel .entry-content th{width:auto!important;border:0;border-bottom:1px solid #e5edf5;padding:13px 16px;vertical-align:top;min-width:110px}.zdsb-content-panel .entry-content td p{margin:0}.zdsb-content-panel .entry-content tbody tr:nth-child(odd){background:#f7faff}.zdsb-content-panel .entry-content tr:first-child{background:#edf5fc;color:#092451}.zdsb-content-panel .entry-content tr:last-child td{border-bottom:0}.zdsb-content-panel .zdsb-documents{display:grid;gap:10px}.zdsb-content-panel .zdsb-documents li{background:#f6faff;border:1px solid #e0ebf5;border-radius:9px;padding:15px}.zdsb-content-panel .zdsb-documents a{font-weight:600}
.zdsb-page-sidebar{display:grid;gap:20px;min-width:0}.zdsb-section-menu,.zdsb-page-help{border:1px solid #dce8f4;border-radius:14px;overflow:hidden;background:#f8fbfe}.zdsb-section-menu h2{font-size:19px;margin:0;padding:20px;border-bottom:1px solid #dce8f4}.zdsb-section-menu ul{list-style:none;margin:0;padding:8px}.zdsb-section-menu a{display:flex;justify-content:space-between;align-items:start;gap:14px;font-size:14px;line-height:1.5;padding:12px;border-radius:8px}.zdsb-section-menu a:hover{background:#eaf3fc;color:#0067ba}.zdsb-section-menu a[aria-current=page]{background:#e5f1fc;color:#0067ba;font-weight:700}.zdsb-section-menu a>span:last-child{color:#0067ba}.zdsb-page-help{padding:22px}.zdsb-page-help-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#e4f1fc;color:#0067ba;margin-bottom:14px}.zdsb-page-help-icon svg{width:23px;height:23px}.zdsb-page-help h2{font-size:19px;line-height:1.4;margin:0 0 10px}.zdsb-page-help p{font-size:14px;line-height:1.7;color:#526785;margin:0 0 15px}.zdsb-page-help .zdsb-button{width:100%;margin:0}
.zdsb-interior.leadership .field--name-body>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin-top:20px}.zdsb-interior.leadership .field--name-body>ul>li{padding:18px;border:1px solid #dce8f4;border-radius:11px;background:#f7fbff;font-size:14px;line-height:1.75}.zdsb-interior.leadership .field--name-body>ul>li ul{padding-left:18px;margin-top:10px}.zdsb-interior.organigram .entry-content .field--type-image img{width:100%;height:auto}.zdsb-interior.council .entry-content td:first-child{width:60%!important}
/* The contact panel starts at the same top edge as the team cards. */
.zdsb-service h2{line-height:1.2}.zdsb-service-layout:has(.zdsb-team)>.zdsb-sidebar{padding-top:calc(24px * 1.2 + 18px)}
.zdsb-service-details .entry-content .field--name-field-telefonska,.zdsb-service-details .entry-content .field--name-field-delovni{display:none}
@media(max-width:950px){.zdsb-interior-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.zdsb-content-panel{padding:22px}.zdsb-interior.leadership .field--name-body>ul{grid-template-columns:1fr}}
@media(max-width:700px){.zdsb-interior-layout{grid-template-columns:1fr;gap:22px}.zdsb-page-hero{padding:24px;gap:18px;flex-direction:column;align-items:start;margin-bottom:22px}.zdsb-page-hero-photo{width:100%;height:190px}.zdsb-content-panel{padding:18px}.zdsb-interior{padding-top:20px}.zdsb-page-sidebar{grid-template-columns:1fr}.zdsb-service-layout:has(.zdsb-team)>.zdsb-sidebar{padding-top:0}.zdsb-service h2{font-size:22px}.zdsb-content-panel .entry-content td,.zdsb-content-panel .entry-content th{padding:11px;min-width:100px}.zdsb-content-panel .entry-content iframe{height:320px}}

/* Service landing pages: choose an ambulance or clinician before shared instructions. */
.zdsb-service-directory{padding-top:24px;padding-bottom:48px}.zdsb-service-directory .breadcrumbs{line-height:1.6;margin-bottom:20px}.zdsb-service-directory .zdsb-page-hero{margin-bottom:30px}.zdsb-service-directory .zdsb-page-hero p{font-size:17px;line-height:1.7;color:#445a7a;max-width:65ch;margin:16px 0 0}.zdsb-page-eyebrow>svg{width:19px;height:19px;flex:none}.zdsb-directory-clinics>.sectiontop{gap:18px;margin-bottom:20px}.zdsb-directory-clinics>.sectiontop h2{font-size:26px;line-height:1.3}.zdsb-clinic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.zdsb-clinic-card{border:1px solid #dce8f4;border-radius:14px;padding:24px;background:white;display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 22px #09245106;transition:border-color .15s,box-shadow .15s}.zdsb-clinic-card:hover{border-color:#a8cce9;box-shadow:0 9px 28px #0924510c}.zdsb-clinic-symbol{display:grid;place-items:center;width:48px;height:48px;background:#eaf4fd;border-radius:12px;color:#0067ba;margin-bottom:18px}.zdsb-clinic-symbol svg{width:27px;height:27px}.zdsb-clinic-photo{display:block;width:100%;height:165px;object-fit:cover;border-radius:10px;margin-bottom:18px}.zdsb-clinic-label{font-size:12px;line-height:1.6;color:#526785;margin-bottom:7px}.zdsb-clinic-card h3{font-size:20px;line-height:1.5;font-weight:700;margin:0 0 18px;overflow-wrap:anywhere}.zdsb-clinic-contact{display:flex;align-items:start;gap:9px;font-size:14px;line-height:1.65;margin:0 0 12px;color:#445a7a;overflow-wrap:anywhere}.zdsb-clinic-contact svg{width:18px;height:18px;flex:none;color:#0067ba;margin-top:3px}.zdsb-clinic-contact a{color:#0067ba;text-decoration:underline;text-underline-offset:3px}.zdsb-clinic-link{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:46px;padding:12px 15px;background:#edf6fd;border-radius:9px;color:#0067ba;font-size:13px;font-weight:700;line-height:1.5;margin-top:auto}.zdsb-clinic-link:hover{background:#dfeffc}.zdsb-clinic-notice{font-size:12px;color:#8b5500;background:#fff6e4;border:1px solid #f0d399;border-radius:7px;padding:8px;margin:0 0 14px}.zdsb-directory-information{margin-top:38px;scroll-margin-top:24px}.zdsb-directory-information>h2{font-size:26px;line-height:1.3;margin:0 0 20px}.zdsb-directory-information .entry-content .views-view-grid{display:none}.zdsb-directory-information .entry-content .field--name-field-viewref:empty{display:none}.zdsb-directory-edit{font-size:14px;margin-top:24px}.zdsb-directory-edit a{color:#0067ba;text-decoration:underline}.zdsb-service-directory>.zdsb-editor-bar{margin-top:30px}
@media(max-width:950px){.zdsb-clinic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.zdsb-clinic-card{padding:20px}}
@media(max-width:640px){.zdsb-service-directory{padding-top:20px}.zdsb-clinic-grid{grid-template-columns:1fr}.zdsb-directory-clinics>.sectiontop{align-items:start;flex-direction:column;gap:10px}.zdsb-directory-clinics>.sectiontop h2,.zdsb-directory-information>h2{font-size:23px}.zdsb-clinic-card h3{font-size:19px}.zdsb-service-directory .zdsb-page-hero p{font-size:16px}.zdsb-directory-information{margin-top:28px}}
/* Legacy collections, related clinics and general public pages share the same card system. */
.zdsb-content-panel .entry-content .views-view-grid>.row,.zdsb-service-details .entry-content .views-view-grid>.row{display:contents}
.zdsb-content-panel .entry-content .views-view-grid,.zdsb-service-details .entry-content .views-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.zdsb-content-panel .entry-content .box-taks,.zdsb-service-details .entry-content .box-taks,.zdsb-content-panel .entry-content .views-row,.zdsb-content-panel .entry-content .views-col{padding:20px;border:1px solid #dce8f4;border-radius:12px;background:#f8fbfe;min-width:0;margin:0}
.zdsb-content-panel .entry-content .box-taks .h4,.zdsb-content-panel .entry-content .box-taks h4,.zdsb-service-details .entry-content .box-taks h4{font-size:18px;line-height:1.5;margin:0 0 10px;font-weight:700}
.zdsb-content-panel .entry-content .box-taks a,.zdsb-service-details .entry-content .box-taks a{font-weight:600}.zdsb-content-panel .entry-content .views-field-created{font-size:12px;color:#526785;margin-bottom:8px}.zdsb-content-panel .entry-content .views-field-title{font-size:18px;line-height:1.5;margin-bottom:10px}.zdsb-content-panel .entry-content .view-content{gap:16px}
.zdsb-content-panel .entry-content .file{display:block;background:#f2f7fc;border:1px solid #dce8f4;border-radius:9px;padding:12px;margin:10px 0}.zdsb-content-panel .entry-content .file a{overflow-wrap:anywhere;font-weight:600}
.zdsb-absence-index>label{font-size:14px}.zdsb-absence-index input{border-radius:10px!important}.zdsb-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.zdsb-result-card{border:1px solid #dce8f4;border-radius:14px;padding:24px;display:flex;flex-direction:column;min-width:0;background:white}.zdsb-result-card h2{font-size:20px;line-height:1.4;margin:0 0 14px}.zdsb-result-card h2 a:hover{color:#0067ba}.zdsb-result-card p{font-size:14px;color:#526785;line-height:1.8;margin:0 0 20px;overflow-wrap:anywhere}.zdsb-results-page .zdsb-page-hero p,.zdsb-not-found .zdsb-page-hero p{font-size:17px;line-height:1.7;max-width:65ch;color:#526785;margin:16px 0 0}.zdsb-results-page form,.zdsb-not-found form{margin:0 0 24px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}.zdsb-results-page form label,.zdsb-not-found form label{display:block;font-size:14px;flex:1;max-width:560px}.zdsb-results-page input[type=search],.zdsb-not-found input[type=search]{display:block;width:100%;border:1px solid #bfd4e8;border-radius:10px;padding:13px 16px;background:white;color:#092451;font:inherit}.zdsb-results-page input[type=submit],.zdsb-not-found input[type=submit]{padding:13px 20px;border:0;border-radius:10px;background:#0067ba;color:white;font-weight:700;cursor:pointer}.zdsb-results-page .nav-links{display:flex;gap:10px;flex-wrap:wrap}.zdsb-results-page .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid #dce8f4;border-radius:9px;padding:8px;color:#0067ba}.zdsb-results-page .page-numbers.current{background:#0067ba;color:white}.directory .ambulance-card{padding:22px;border-radius:14px;box-shadow:0 5px 22px #09245106}.directory .ambulance-card .zdsb-clinic-symbol{margin-bottom:6px}.directory .ambulance-card h2{line-height:1.4}.zdsb-page-help .zdsb-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:12px 16px;border-radius:9px;background:#0067ba;color:white;font-size:14px;font-weight:600}
@media(max-width:950px){.zdsb-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.zdsb-content-panel .entry-content .views-view-grid,.zdsb-service-details .entry-content .views-view-grid{grid-template-columns:1fr}.directory .directory-intro{align-items:start}.directory .directory-search{width:100%;min-width:0}.zdsb-not-found .buttons{flex-direction:column;gap:12px}}
@media(max-width:640px){.zdsb-results-grid{grid-template-columns:1fr}.zdsb-result-card{padding:20px}.zdsb-results-page form,.zdsb-not-found form{align-items:stretch;flex-direction:column}}

.zdsb-content-panel .entry-content span[style],.zdsb-service-details .entry-content span[style]{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}

/* Compact native booking link: real text, no raster sizing or cropping. */
.zdsb-sidebar .zdsb-zvem-booking{margin:22px 0 16px;display:flex;justify-content:center;clear:both}
.zdsb-sidebar .zdsb-zvem-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:12px;width:200px;max-width:100%;min-height:48px;padding:12px 16px;border:1px solid #b9d7bc;border-radius:12px;background:#f0f7f0;color:#245e2b;font-family:inherit;font-weight:600;font-size:14px;line-height:1.4;text-decoration:none;box-shadow:none}
.zdsb-sidebar .zdsb-zvem-label{font-size:14px;line-height:1.4;white-space:normal;text-align:center}
.zdsb-sidebar .zdsb-zvem-label strong{font-weight:800;color:inherit}
.zdsb-sidebar .zdsb-zvem-arrow{font-size:20px;line-height:1;flex-shrink:0}
.zdsb-sidebar .zdsb-zvem-link:focus-visible{outline:3px solid #245e2b;outline-offset:4px}
.zdsb-sidebar .zdsb-zvem-link:hover{background:#e3f0e4;border-color:#72a779;color:#174c1d}
@media(max-width:700px){.zdsb-sidebar .zdsb-zvem-booking{margin:24px 0 18px}}

/* Stretched links retain native link behavior over the entire clinic card. */
.zdsb-clinic-card,.ambulance-card{position:relative;cursor:pointer}
.zdsb-clinic-link:after,.ambulance-card>.read:after{content:"";position:absolute;inset:0;border-radius:14px;z-index:1}
.zdsb-clinic-contact a,.zdsb-clinic-notice{position:relative;z-index:2}
.zdsb-clinic-card:focus-within,.ambulance-card:focus-within{outline:2px solid #0067ba;outline-offset:3px}
@media(max-width:700px){
 .zdsb-service .breadcrumbs{font-size:12px;line-height:1.6;margin-bottom:10px;overflow-wrap:anywhere}
 .zdsb-service .zdsb-service-hero{margin:12px 0 20px;padding:20px;border-radius:12px}
 .zdsb-service .zdsb-service-hero h1{font-size:28px;line-height:1.2;letter-spacing:-.4px}
 .zdsb-service .zdsb-service-hero p{font-size:14px;line-height:1.5;margin:10px 0 0}
 .zdsb-service-layout{display:flex;flex-direction:column;gap:0}
 .zdsb-service-layout>.zdsb-sidebar,.zdsb-service-layout>.zdsb-service-body{display:contents}
 .zdsb-service-body>section{order:3;margin-bottom:24px}
 .zdsb-service-body>section:has(.zdsb-team){order:0}
 .zdsb-sidebar>.zdsb-panel{order:1;margin-bottom:20px;background:white}
 .zdsb-sidebar>.zdsb-panel:has(.zdsb-hours){order:2}
 .zdsb-service h2{font-size:20px;line-height:1.3;margin-bottom:14px}
 .zdsb-service .zdsb-person{padding:14px;gap:12px;background:white}
 .zdsb-service .zdsb-person>span{width:36px;height:36px;font-size:16px}
 .zdsb-service .zdsb-person p{font-size:15px;overflow-wrap:anywhere}
 .zdsb-page-eyebrow{background:none;border:0;border-radius:0;padding:0;font-size:12px;color:#526785;margin-bottom:9px}
 .zdsb-clinic-symbol{width:36px;height:36px;margin-bottom:12px}.zdsb-clinic-symbol svg{width:22px;height:22px}
 .zdsb-clinic-label{background:none;padding:0;font-size:12px;margin-bottom:6px}
 .zdsb-clinic-card{padding:20px}.zdsb-clinic-card h3{font-size:19px;line-height:1.45}
 .zdsb-service-details .entry-content{font-size:15px;line-height:1.7}
}

/* Readable document library; ordinary links also work without JavaScript. */
.zdsb-document-categories{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px}
.zdsb-content-panel .zdsb-document-categories a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid #dce8f4;border-radius:10px;background:#f4f9fd;font-size:13px;text-decoration:none;font-weight:600;line-height:1.4}
.zdsb-document-group{scroll-margin-top:24px;margin:28px 0}
.zdsb-content-panel .zdsb-document-group h2{font-size:22px;margin:0 0 14px}
.zdsb-content-panel .entry-content .zdsb-document-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.zdsb-content-panel .entry-content .zdsb-document-cards li{padding:0;min-width:0}
.zdsb-content-panel .zdsb-document-cards a{display:flex;align-items:center;gap:12px;padding:16px;min-height:88px;height:100%;border:1px solid #dce8f4;border-radius:12px;text-decoration:none;background:#f8fbfe;line-height:1.45}
.zdsb-document-cards a:hover{background:#edf5fc;border-color:#9ac8eb}
.zdsb-document-icon{display:flex;align-items:center;justify-content:center;width:36px;height:42px;flex:none;border-radius:8px;background:#e6f2fc;color:#0067ba}
.zdsb-document-icon svg{width:22px;height:22px}
.zdsb-document-title{min-width:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.zdsb-document-title small{display:block;margin-top:5px;font-size:11px;letter-spacing:.4px;color:#526785;font-weight:500}
.zdsb-document-open{margin-left:auto;flex:none;color:#0067ba}
@media(max-width:720px){.zdsb-content-panel .entry-content .zdsb-document-cards{grid-template-columns:1fr}.zdsb-content-panel .zdsb-document-cards a{padding:14px;min-height:80px}.zdsb-document-categories{gap:7px}.zdsb-content-panel .zdsb-document-categories a{font-size:12px}.zdsb-content-panel .zdsb-document-group h2{font-size:20px}}

.zdsb-ckz-context{padding:20px 24px;margin:0 0 24px;border:1px solid #dce8f4;border-radius:14px;background:#f4f9fd}
.zdsb-ckz-context h2{font-size:20px;margin:0 0 10px}.zdsb-ckz-context p{font-size:14px;line-height:1.65;margin:0 0 14px;color:#445a7a}
.zdsb-ckz-context ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.zdsb-ckz-context li a{display:inline-block;color:#0067ba;font-weight:600;line-height:1.5;min-height:32px}.zdsb-ckz-context li small{display:block;color:#526785;font-size:12px}
.zdsb-contact-line>svg{width:18px;height:18px;flex:none}.zdsb-directory-contact[hidden]{display:none!important}
@media(max-width:640px){.zdsb-ckz-context{padding:18px}.zdsb-ckz-context h2{font-size:18px}}
