/* Scoped design adaptation. Existing plugins and content remain untouched. */
.zl-site {
  --navy:var(--zds-navy,#0A4078);
  --blue:var(--zds-accent,#075DA8);
  --light:var(--zds-light,#F2F7FC);
  --line:var(--zds-line,#D7E5F3);
  font-family:'Maven Pro',Arial,sans-serif;
  color:var(--zds-navy,#0A4078);
  background:#fff;
}
.zl-site .zl-main,.zl-site .zl-aside {border:1px solid var(--zds-line);border-radius:18px;box-shadow:0 6px 26px rgba(20,54,85,.035)}
.zl-site .zl-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;border-bottom:1px solid var(--zds-line);scrollbar-width:thin}
.zl-site .zl-tabs button{flex:0 0 auto;min-width:94px;padding:13px 15px;border-radius:0;background:transparent;color:var(--zds-muted);font-weight:650;white-space:nowrap;border-bottom:3px solid transparent;box-shadow:none}
.zl-site .zl-tabs button.active,.zl-site .zl-tabs button:hover{background:transparent;color:var(--zds-navy);border-bottom-color:var(--zds-accent)}
.zl-site .zl-tabbody{min-width:0}.zl-site .zl-tabbody h2,.zl-site .zl-tabbody h3,.zl-site .zl-sideblock h3{color:var(--zds-navy)}
.zl-site .zl-tabbody p,.zl-site .zl-sideblock p,.zl-site .zl-sideblock div{color:var(--zds-muted)}
.zl-site .zl-icon{color:var(--zds-accent);border-color:var(--zds-line);background:var(--zds-light)}
.zl-site .zl-share{background:var(--zds-light);color:var(--zds-accent);border-color:var(--zds-line)}
.zl-site .zl-doc,.zl-site .zl-resource {border-color:var(--zds-line)}
.zl-site a:focus-visible,.zl-site button:focus-visible {outline:2px solid var(--zds-accent);outline-offset:2px}
/* Assistant palette with existing functionality preserved */
.za-app{--za-blue:var(--zds-accent,#075DA8);--za-navy:var(--zds-navy,#0A4078);--za-muted:var(--zds-muted,#59799C);--za-border:var(--zds-line,#D7E5F3);font-family:'Maven Pro',Arial,sans-serif}
.za-app .za-dialog,.za-app .za-result,.za-app .za-detail,.za-app .za-answer{border-color:var(--zds-line)}
.za-app .za-avatar,.za-app .za-intro,.za-app .za-choice,.za-app .za-chips button:hover{background:var(--zds-light)}
.za-app .za-header,.za-app .za-heading strong,.za-app .za-result-title{color:var(--zds-navy)}
.za-app .za-form button{background:var(--zds-accent)}
.za-app .za-result-type,.za-app .za-result-go{color:var(--zds-accent)}
.za-app .za-form input:focus{border-color:var(--zds-accent)}
.za-app .za-choice,.za-app .za-chips button{color:var(--zds-navy);border-color:var(--zds-line)}
/* CORE public document shortcodes */
.zilpo-core-document,.zilpo-core-links,.zilpo-core-box{font-family:'Maven Pro',Arial,sans-serif;color:var(--zds-navy)}
.zilpo-core-document a,.zilpo-core-links a,.zilpo-core-box a{color:var(--zds-accent)}
@media (max-width:767px){.zl-site .zl-tabs button{min-width:88px;padding:12px 13px}.zl-site .zl-main{padding:14px}.zl-site .zl-tabbody{padding:20px 6px}}

/* ŽILPO v1.1: white / dark blue / restrained red accent from homepage. */
.zl-site{background:#fff}
.zl-site .zl-main,.zl-site .zl-aside{background:#fff;border-color:var(--zds-line);box-shadow:0 10px 30px rgba(10,64,120,.045)}
.zl-site .zl-tabs{border-bottom-color:var(--zds-line)}
.zl-site .zl-tabs button{font-family:inherit;font-weight:700;color:var(--zds-navy);background:#fff}
.zl-site .zl-tabs button.active{border-bottom-color:var(--zds-accent);color:var(--zds-accent)}
.zl-site .zl-tabs button:focus-visible{outline:2px solid var(--zds-accent);outline-offset:-2px}
.zl-site .zl-sideblock{border-bottom-color:var(--zds-line)}
.zl-site .zl-sideblock h3{color:var(--zds-navy)}
.zl-site .zl-sideblock h3 .zl-icon{color:var(--zds-accent);background:var(--zds-light);border:1px solid var(--zds-line)}
.zl-site .zl-editorbar button.primary{background:var(--zds-accent);border-color:var(--zds-accent)}
.zl-site .zl-resource{background:var(--zds-light);border-color:var(--zds-line);color:var(--zds-navy)!important}
.zl-site .zl-resource:hover{background:#e8f2fc}
.za-app{--za-blue:var(--zds-accent);--za-navy:var(--zds-navy);--za-border:var(--zds-line);--za-muted:var(--zds-muted)}
.za-app .za-launcher{border:1px solid var(--zds-line)}
.za-app .za-launcher-dot{background:var(--zds-red,#D51F2A)}
.za-app .za-header{border-bottom-color:var(--zds-line)}
.za-app .za-result,.za-app .za-detail,.za-app .za-dialog{border-color:var(--zds-line)}
.za-app .za-result:hover{border-color:var(--zds-accent)}
.za-app .za-chips button,.za-app .za-choice{background:#fff;color:var(--zds-navy);border-color:var(--zds-line)}
.za-app .za-chips button:hover,.za-app .za-choice:hover{background:var(--zds-light)}
.za-app .za-result-go,.za-app .za-contact-row a{color:var(--zds-accent)}
.zilpo-core-document,.zilpo-core-links,.zilpo-core-box{color:var(--zds-navy)}


/* ŽILPO v1.2 – Editorial archive and article colors.
   Scope is strictly .ze-news / .ze-single; homepage and Elementor remain untouched. */
.ze-news, .ze-single {
  color:var(--zds-navy,#0A4078);
  font-family:'Maven Pro',Arial,sans-serif;
}
.ze-news .ze-news-intro h1, .ze-single .ze-single-header h1,
.ze-news .ze-card h2, .ze-news .ze-card h2 a,
.ze-news .ze-side-panel h2, .ze-single .ze-side-panel h2,
.ze-single .ze-prose h2, .ze-single .ze-prose h3,
.ze-single .ze-pager-title { color:var(--zds-navy,#0A4078)!important; }
.ze-news .ze-news-intro p, .ze-news .ze-card p,
.ze-single .ze-prose, .ze-news .ze-date, .ze-single .ze-byline {
  color:var(--zds-muted,#59799C)!important;
}
.ze-news .ze-categories {border-bottom-color:var(--zds-line,#D7E5F3)!important;}
.ze-news .ze-categories a {color:var(--zds-navy,#0A4078)!important;}
.ze-news .ze-categories a:hover, .ze-news .ze-categories a.is-current {
  color:var(--zds-accent,#075DA8)!important;
  border-bottom-color:var(--zds-accent,#075DA8)!important;
}
.ze-news .ze-card, .ze-single .ze-pager-card {
  border-color:var(--zds-line,#D7E5F3)!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(10,64,120,.045)!important;
}
.ze-news .ze-card-featured.ze-card-no-photo {
  border-left:4px solid var(--zds-accent,#075DA8)!important;
  background:linear-gradient(115deg,var(--zds-light,#F2F7FC),#fff 75%)!important;
}
.ze-news .ze-tag, .ze-single .ze-tag {
  color:var(--zds-accent,#075DA8)!important;
  background:var(--zds-light,#F2F7FC)!important;
}
.ze-news .ze-read, .ze-news .ze-read span,
.ze-news .ze-side-item, .ze-single .ze-side-item,
.ze-single .ze-pager-back, .ze-single .ze-pager-kicker,
.ze-single .ze-single-actions .ze-return {color:var(--zds-accent,#075DA8)!important;}
.ze-news .ze-side-panel, .ze-single .ze-side-panel {
  background:var(--zds-light,#F2F7FC)!important;
  border-color:var(--zds-line,#D7E5F3)!important;
}
.ze-news .ze-side-item {border-top-color:var(--zds-line,#D7E5F3)!important;}
.ze-news .ze-search, .ze-single .ze-search {
  background:#fff!important;
  border-color:var(--zds-line,#D7E5F3)!important;
}
.ze-news .ze-search:focus-within, .ze-single .ze-search:focus-within {
  border-color:var(--zds-accent,#075DA8)!important;
  box-shadow:0 0 0 3px rgba(7,93,168,.10)!important;
}
.ze-news .ze-search button, .ze-single .ze-search button {color:var(--zds-accent,#075DA8)!important;}
.ze-news .ze-pages a.is-current {
  background:var(--zds-accent,#075DA8)!important;
  border-color:var(--zds-accent,#075DA8)!important;
  color:#fff!important;
}
.ze-news .ze-pages a {border-color:var(--zds-line,#D7E5F3)!important;}
.ze-single .ze-prose blockquote {
  border-left-color:var(--zds-red,#D51F2A)!important;
  background:var(--zds-light,#F2F7FC)!important;
}
.ze-single .ze-prose a {color:var(--zds-accent,#075DA8)!important;}
.ze-single .ze-pager-card:hover,.ze-single .ze-pager-card:focus-visible {
  border-color:var(--zds-accent,#075DA8)!important;
}
.ze-single .ze-pager-back:hover, .ze-news .ze-read:hover {text-decoration:underline;}
/* Restrained red signature detail on editorial headings. */
.ze-news .ze-eyebrow {color:var(--zds-accent,#075DA8)!important;}
.ze-news .ze-news-intro::before {
  content:'';display:block;width:60px;height:4px;margin:0 0 14px;
  background:linear-gradient(to right,var(--zds-accent,#075DA8) 0 76%,transparent 76% 82%,var(--zds-red,#D51F2A) 82% 100%);
  border-radius:3px;
}


/* v1.3 – Clinic hero contrast and signature red accent.
   Limited to the ambulance plugin, no content or Elementor changes. */
/* Keep the original clinic hero background photograph intact. */
.zl-site .zl-hero { background-color:#0A4078; }

.zl-site .zl-hero .zl-eyebrow { border-left-color: var(--zds-red,#D51F2A) !important; color:#fff !important; }
.zl-site .zl-hero h1 { color:#fff !important; opacity:1 !important; text-shadow:0 1px 5px rgba(0,20,45,.12); }
.zl-site .zl-hero p { color:#fff !important; }
/* Tabs stay minimalist blue with a small ŽILPO red detail at the selected tab. */
.zl-site .zl-tabs button.active { position:relative; border-bottom-color:var(--zds-accent,#075DA8)!important; color:var(--zds-navy,#0A4078)!important; }
.zl-site .zl-tabs button.active::after { content:'';position:absolute;bottom:-3px;right:0;width:17px;height:3px;background:var(--zds-red,#D51F2A);pointer-events:none; }
/* Small red accent, not red headings or large red backgrounds. */
.zl-site .zl-sideblock:first-child { border-top:3px solid transparent; }

/* v1.4 – precise header search styling, matching the brand red square. */
.site-header .zilpo-header-search {
  background:#F2F7FC !important;
  border-color:var(--zds-line,#D7E5F3) !important;
}
.site-header .zilpo-header-search:focus-within {
  border-color:var(--zds-red,#D51F2A) !important;
  box-shadow:0 0 0 3px rgba(213,31,42,.10) !important;
}
.site-header .zilpo-header-search button,
.site-header .zilpo-header-search button[type="submit"] {
  background:var(--zds-red,#D51F2A) !important;
  color:#fff !important;
  border-color:var(--zds-red,#D51F2A) !important;
}
.site-header .zilpo-header-search button:hover,
.site-header .zilpo-header-search button:focus-visible {
  background:#B71926 !important;
}
/* Search box inside archive/search-page remains clean, with a red focus detail. */
.ze-news .ze-search button:hover,
.ze-single .ze-search button:hover { color:var(--zds-red,#D51F2A) !important; }


/* v1.5: Legacy theme and ordinary WordPress page styles.
   Old theme still declares --teal and --turq; these are not covered by
   clinic/editorial selectors. Preserve homepage's custom Elementor design. */
:root {
  --teal: var(--zds-accent,#075DA8);
  --turq: var(--zds-red,#D51F2A);
}

/* Main navigation: clear blue links, red hover/active affordance. */
.site-header .nav-main > ul > li > a,
.site-header .nav-main .menu > li > a {
  color:var(--zds-navy,#0A4078) !important;
}
.site-header .nav-main li > a:hover,
.site-header .nav-main li > a:focus-visible,
.site-header .nav-main li.current-menu-item > a,
.site-header .nav-main li.current-menu-ancestor > a,
.site-header .nav-main li.current_page_item > a {
  color:var(--zds-red,#D51F2A) !important;
}
.site-header .nav-main .sub-menu {
  border-color:var(--zds-line,#D7E5F3) !important;
  background:#fff !important;
}
.site-header .nav-main .sub-menu a:hover,
.site-header .nav-main .sub-menu a:focus-visible {
  color:var(--zds-red,#D51F2A) !important;
  background:var(--zds-light,#F2F7FC) !important;
}
.site-header .menu-toggle {
  color:var(--zds-navy,#0A4078) !important;
  background:var(--zds-light,#F2F7FC) !important;
}
/* Search button — avoid turquoise even if earlier header CSS uses different specificity. */
.site-header form.zilpo-header-search button[type=submit],
.site-header form.zilpo-header-search button {
  background:var(--zds-red,#D51F2A) !important;
  border-color:var(--zds-red,#D51F2A) !important;
  color:#fff !important;
}

/* Ordinary content pages incl. /prihovor; no global Elementor hero overrides.
   Only actionable accents and links change; images/layout untouched. */
body.page:not(.home) .entry-content a:not(.elementor-button),
body.page:not(.home) .standard-content a:not(.elementor-button),
body.page:not(.home) .elementor-widget-text-editor a:not(.elementor-button),
body.page:not(.home) .elementor-widget-icon-list a {
  color:var(--zds-accent,#075DA8);
}
body.page:not(.home) .entry-content a:not(.elementor-button):hover,
body.page:not(.home) .elementor-widget-text-editor a:not(.elementor-button):hover,
body.page:not(.home) .elementor-widget-icon-list a:hover {
  color:var(--zds-red,#D51F2A);
}
body.page:not(.home) .elementor a.elementor-button,
body.page:not(.home) .entry-content .wp-block-button__link,
body.page:not(.home) .standard-content .btn {
  background-color:var(--zds-accent,#075DA8) !important;
  border-color:var(--zds-accent,#075DA8) !important;
  color:#fff !important;
}
body.page:not(.home) .elementor a.elementor-button:hover,
body.page:not(.home) .entry-content .wp-block-button__link:hover,
body.page:not(.home) .standard-content .btn:hover {
  background-color:var(--zds-red,#D51F2A) !important;
  border-color:var(--zds-red,#D51F2A) !important;
}
body.page:not(.home) .apaz-kicker,
body.page:not(.home) .apaz-card-icon,
body.page:not(.home) .apaz-highlight {
  color:var(--zds-accent,#075DA8) !important;
}
body.page:not(.home) .apaz-pill {
  color:var(--zds-accent,#075DA8) !important;
  background:var(--zds-light,#F2F7FC) !important;
}
/* Keep high-contrast white text within colored promotional sections. */
body.page:not(.home) .apaz-member-banner a.btn { color:var(--zds-navy,#0A4078) !important; background:#fff !important; }

/* Native focus indicators remain visible on keyboard navigation. */
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline:2px solid var(--zds-red,#D51F2A);
  outline-offset:3px;
}
