/* --------------------------------------------------------------------------
   euprojekti.ba — katalog EU poziva za organizacije iz BiH

   Raspored: tražilica i tri ulaza (tko se prijavljuje, program, područje) na
   vrhu, zatim vremenska crta na kojoj je svaki otvoreni poziv traka do svog
   roka. Sve ostalo su popisi. Boje su plava i žuta Europske unije; žuta se
   koristi samo za ono što traži pažnju.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/static/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/static/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink: #0c1633;          /* naslovi i podnožje */
  --text: #2b3552;
  --muted: #5d6885;
  --bg: #f3f5fa;           /* hladna podloga stranice */
  --surface: #ffffff;
  --line: #e0e5ef;
  --line-strong: #c5cddd;
  --brand: #1437b3;        /* plava EU: poveznice, gumbi */
  --brand-deep: #0d2580;   /* traka s tražilicom */
  --brand-soft: #e9eefc;
  --sun: #ffd447;          /* žuta EU: samo za naglasak */
  --sun-soft: #fff4cc;
  --sky: #7aa7ff;          /* „.ba” u logu */
  --hot: #b93a0c;          /* rok je blizu */
  --ok: #0f7a4a;
  --warn: #8f5600;
  --bad: #b3261e;
  --display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1280px;
  --gut: 24px;
  --r: 12px;               /* plohe */
  --r-sm: 8px;             /* kontrole */
  --shadow: 0 1px 2px rgba(12, 22, 51, .05), 0 8px 24px -12px rgba(12, 22, 51, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
main { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sun); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
/* Tekstne poveznice imaju dodirnu površinu od 44 px; negativna margina čuva raspored. */
.more { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--brand); font-size: 14px; font-weight: 600; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- zaglavlje --- */
/* Zaglavlje i vrh naslovnice nose istu tamnu boju kao podnožje. */

.site-head { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.head-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
/* Znak: bijeli kvadrat s izrezanim „e”, a „.ba” u svijetloplavoj. */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; color: #fff; }
.brand-mark { width: 26px; height: 26px; flex: none; transition: transform .2s ease; }
.brand-mark rect { fill: #fff; transition: fill .2s ease; }
.brand-mark path { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: square; }
.logo-suffix { color: var(--sky); }
.logo:hover .brand-mark rect { fill: var(--sky); }
.logo:active .brand-mark { transform: scale(.94); }

.head-nav { display: flex; gap: 2px; flex: 1; }
.head-nav a { position: relative; padding: 8px 12px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: #c5cde6; transition: background-color .15s ease, color .15s ease; }
.head-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.head-nav a[aria-current] { color: #fff; font-weight: 600; }
.head-nav a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--sun); }
.head-cta { flex: none; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: #fff; transition: border-color .15s ease, color .15s ease; }
.head-cta:hover, .head-cta[aria-current] { border-color: var(--sun); color: var(--sun); }

.search { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 12px; display: flex; pointer-events: none; color: var(--muted); }
.search-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search input {
  flex: 1; min-width: 0; height: 42px; padding: 0 12px 0 38px; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search button {
  flex: none; height: 42px; margin-left: 8px; padding: 0 16px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .15s ease;
}
.search button:hover { background: var(--brand-deep); }
.head-search { width: 280px; }
.head-search .search-icon { color: #8f9bc0; }
.head-search input { background: rgba(255, 255, 255, .08); border-color: transparent; color: #fff; }
.head-search input::placeholder { color: #8f9bc0; }
.head-search input:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 212, 71, .25); }
.head-search button { display: none; }
body.home .head-search { display: none; }

.nav-tool { display: none; position: relative; }
.nav-tool > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: #fff; }
.nav-tool > summary::-webkit-details-marker { display: none; }
.nav-tool[open] > summary { background: rgba(255, 255, 255, .12); }
.nav-tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Zatvoreni <details> u Chromeu i dalje raspoređuje sadržaj, pa bi panel proširio stranicu. */
.nav-tool:not([open]) > .nav-panel { display: none; }
.nav-panel { position: fixed; top: 65px; left: 0; right: 0; z-index: 60; max-height: calc(100vh - 65px); overflow-y: auto; padding: 16px var(--gut) 20px; background: var(--surface); border-bottom: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.panel-nav { display: flex; flex-direction: column; margin-bottom: 16px; }
.panel-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.panel-nav a[aria-current] { color: var(--brand); }
.panel-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.panel-links { display: flex; flex-wrap: wrap; gap: 6px; }
.panel-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ink); }
.panel-links a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--line-strong)); }

/* --------------------------------------------------------------- oznake --- */

.prog, .cat-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.prog::before, .cat-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--cat, var(--line-strong)); }
a.cat-tag { min-height: 32px; }
a.cat-tag:hover { color: var(--brand); }

.st { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--muted); }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.aktivni { background: #e6f5ee; color: var(--ok); }
.st.najavljeni { background: var(--brand-soft); color: var(--brand); }
.st.kasnije-faze { background: var(--sun-soft); color: var(--warn); }
.st.nepotvrdeni { background: var(--sun-soft); color: var(--warn); }
.st.povuceni { background: #fdeceb; color: var(--bad); }

.bih { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.bih::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--line-strong); flex: none; }
.bih.da { color: var(--ok); }
.bih.da::before { background: var(--ok); }
.bih.uvjetno { color: var(--warn); }
.bih.uvjetno::before { background: #e09a16; }
.bih.ne { color: var(--bad); }
.bih.ne::before { background: var(--bad); }

.ans { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.ans::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--line-strong); flex: none; }
.ans.da { color: var(--ok); }
.ans.da::before { background: var(--ok); }
.ans.uvjetno { color: var(--warn); }
.ans.uvjetno::before { background: #e09a16; }
.ans.ne { color: var(--bad); }
.ans.ne::before { background: var(--bad); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-sm); cursor: pointer; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .15s ease, transform .1s ease; }
.btn:hover { background: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .15s ease, color .15s ease; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }

/* ----------------------------------------------------- naslovnica: vrh --- */
/* Kratak tamni vrh: naslov, brojke, tražilica i izbor prikaza. Pozivi su
   odmah ispod. */

.finder { position: relative; overflow: hidden; background: var(--ink); color: #c5cde6; }
/* Blagi sjaj u kutu daje dubinu tamnoj podlozi. */
.finder::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 167, 255, .16), rgba(122, 167, 255, 0)); pointer-events: none;
}
.finder-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 32px 64px; padding-top: 56px; padding-bottom: 56px; }
.finder-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.finder-kicker { color: var(--sky); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.finder h1 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.finder-lead { max-width: 560px; color: #c5cde6; font-size: 18px; line-height: 1.5; }
.finder-search { width: 100%; max-width: 560px; margin-top: 10px; }
.finder-search input { height: 54px; border-color: transparent; font-size: 16px; }
.finder-search input:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 212, 71, .3); }
.finder-search button { height: 54px; padding: 0 22px; background: var(--sun); color: var(--ink); font-weight: 700; }
.finder-search button:hover { background: #ffe07a; }
.finder-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); }
.finder-stats a { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-width: 0; min-height: 112px; padding: 18px 20px; background: #111d40; transition: background .15s ease; }
.finder-stats a:hover { background: #172552; }
.finder-stats a:focus-visible { outline-color: var(--sun); outline-offset: -3px; }
.finder-stats b { color: #fff; font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.finder-stats a:first-child b { color: var(--sun); }
.finder-stats span { color: #a3add0; font-size: 14px; line-height: 1.35; }

/* ------------------------------------------- naslovnica: tri odjeljka --- */
/* Program, područje, vrsta ustanove. Kartica je izbor; klik vodi na pozive. */

.groups { display: flex; flex-direction: column; gap: 38px; padding-top: 32px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.group-head h2 { font-size: 24px; }
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.picks.programs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.pick {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 30px 16px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent;
}
.pick-mark {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 11px;
  background: var(--cat, var(--brand)); color: #fff; font-family: var(--display); font-size: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* Područja: svijetla podloga u boji područja. Vrste ustanova: bez boje. */
.pick.soft .pick-mark, .head-mark { background: color-mix(in srgb, var(--area, var(--brand)) 11%, #fff); color: var(--area, var(--brand)); }
.pick.plain .pick-mark { background: #e9edf5; color: #4a5677; }
.pick-mark .icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pick-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pick-text strong { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.25; transition: color .15s ease; }
.pick-count { display: flex; flex-wrap: wrap; gap: 0 8px; color: var(--text); font-size: 14px; }
.pick-count > span + span { color: var(--brand); }
.pick-note { color: var(--muted); font-size: 13px; }
.pick-note span + span::before { content: " · "; }
.pick .row-go { position: absolute; right: 12px; top: 20px; }
.picks.programs .pick { flex-direction: column; gap: 12px; padding: 16px; }
.picks.programs .pick .row-go { top: 18px; }
.idle { margin-top: 12px; color: var(--muted); font-size: 14px; }
.idle a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.idle a:hover { color: var(--brand); text-decoration-color: currentColor; }
.pick.empty { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.pick.empty .pick-mark { background: #e7ebf4; color: var(--muted); }
.pick.empty strong, .pick.empty .pick-count { color: var(--muted); }
@media (hover: hover) {
  .pick:hover { border-color: var(--cat, var(--area, var(--line-strong))); border-style: solid; background: var(--surface); box-shadow: var(--shadow); }
  .pick:hover strong { color: var(--brand); }
  .pick:hover .row-go::before { border-color: var(--brand); transform: translateX(3px) rotate(45deg); }
}

.browse-head, .block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.browse-head h2, .block-head h2 { font-size: 22px; }
.block-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------ vremenska crta --- */

.section-block { padding-top: 40px; }
.section-block:last-child { padding-bottom: 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }

.timeline { --text-col: minmax(0, 5fr); --track-col: minmax(0, 6fr); --when-col: 104px; }
.tl-head, .lane { display: grid; grid-template-columns: var(--text-col) var(--track-col) var(--when-col); gap: 20px; align-items: center; padding: 0 20px; }
.tl-head { padding-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-today { justify-self: end; color: var(--ink); }
.tl-months { display: grid; }
.tl-months span { grid-row: 1; white-space: nowrap; padding-left: 5px; border-left: 1px solid var(--line-strong); }
.tl-months span:first-child { border-left-color: var(--ink); }

.lane { padding-top: 13px; padding-bottom: 13px; border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.lane:last-child { border-bottom: 0; }
.lane-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lane-title { color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.3; transition: color .15s ease; }
.lane-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 14px; font-size: 13px; color: var(--muted); }
.lane-track { display: grid; align-items: center; height: 28px; border-left: 1px solid var(--ink); }
.lane-track > * { grid-row: 1; }
.lane-track i { align-self: stretch; border-left: 1px dashed var(--line-strong); }
.lane-bar { height: 12px; border-radius: 0 6px 6px 0; background: var(--cat, var(--brand)); }
.lane.pending .lane-bar { border-radius: 6px; background: repeating-linear-gradient(135deg, var(--cat, var(--brand)) 0 5px, color-mix(in srgb, var(--cat, var(--brand)) 45%, #fff) 5px 10px); }
.lane.soon .lane-bar { min-width: 12px; }
.lane-when { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.2; }
.lane-when b { color: var(--ink); font-size: 16px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lane-when small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.lane.soon .lane-when small { color: var(--hot); font-weight: 600; }
@media (hover: hover) {
  .lane:hover { background: #f8faff; }
  .lane:hover .lane-title { color: var(--brand); }
}

/* ------------------------------------------------------ kartice poziva --- */
/* Naslov i opis, ispod četiri podatka u dva stupca. Bez ukrasa. */

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1240px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .band .cards > :nth-child(n+4) { display: none; } }
.card {
  display: flex; flex-direction: column; padding: 18px 18px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent;
}
.card-kicker { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
/* Naslov i opis zauzimaju po dva retka, pa su podaci ispod u svim karticama na istoj visini. */
.card-title { min-height: 2.6em; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; text-wrap: wrap; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; transition: color .15s ease; }
.card-summary { min-height: 3em; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; margin-top: auto; }
.card-facts::before { content: ''; grid-column: 1 / -1; height: 1px; margin-top: 16px; background: var(--line); }
.fact { display: flex; flex-direction: column; min-width: 0; }
.fact small { font-size: 12px; color: var(--muted); }
.fact b { margin-top: 2px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums; }
.fact i { font-style: normal; font-size: 13px; color: var(--muted); }
.fact i.soon { color: var(--hot); font-weight: 600; }
.fact b.fact-text, .fact b.bih-val { font-size: 14px; font-weight: 500; }
.fact b.fact-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bih-val.da { color: var(--ok); }
.bih-val.uvjetno { color: var(--warn); }
.bih-val.ne { color: var(--bad); }
.bih-val.provjera { color: var(--muted); }
@media (hover: hover) {
  .card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
  .card:hover .card-title { color: var(--brand); }
}
.when { display: flex; flex-direction: column; line-height: 1.2; }
.when b { color: var(--ink); font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.when small { color: var(--muted); font-size: 13px; margin-top: 2px; }
.when.soon small { color: var(--hot); font-weight: 600; }
.row-kicker, .lead-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.row-go { width: 16px; height: 16px; position: relative; }
.row-go::before { content: ''; position: absolute; left: 2px; top: 4px; width: 7px; height: 7px; border-right: 2px solid var(--line-strong); border-top: 2px solid var(--line-strong); transform: rotate(45deg); transition: transform .2s ease, border-color .2s ease; }

/* Otvoreni pozivi po razdobljima roka. */
.segments { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.segment {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.segment b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.segment:hover { border-color: var(--brand); color: var(--brand); }
.segment[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.segment[aria-current] b { color: var(--sun); }
.band + .band, .band + .result-group { margin-top: 36px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.band-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.band-head .more { flex: none; font-size: 15px; }
.band-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.band-head h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.band-30 .band-head h2::before { background: var(--hot); }
.band-60 .band-head h2::before { background: #d99a1e; }
.band-head p { color: var(--muted); font-size: 14px; }
.band-foot { display: none; justify-content: center; margin-top: 14px; }
.band-foot .btn-ghost { min-width: 220px; }
@media (max-width: 1240px) { .band-foot { display: flex; } .band-head .more { display: none; } }
.result-group { margin-top: 18px; }
.result-group > summary {
  display: flex; align-items: center; gap: 10px; padding: 13px 20px; cursor: pointer; list-style: none;
  background: transparent; border: 1px dashed var(--line-strong); border-radius: var(--r);
  font-size: 15px; font-weight: 600; color: var(--text); transition: border-color .15s ease, color .15s ease;
}
.result-group > summary::-webkit-details-marker { display: none; }
.result-group > summary h2 { color: inherit; font: inherit; letter-spacing: 0; }
.result-group > summary > span:first-of-type { padding: 1px 8px; border-radius: 999px; background: #e7ebf4; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.result-group > summary .chev { margin-left: auto; }
.result-group[open] > summary .chev::before { transform: rotate(-135deg); top: 8px; }
.result-group > summary:hover { border-color: var(--brand); color: var(--brand); }
.result-group-body { padding: 10px 3px 3px; }

.subscribe-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap;
  margin-top: 28px; padding: 18px 22px; background: var(--ink); color: #c5cde6; border-radius: var(--r);
}
.subscribe-bar h2 { color: #fff; font-size: 18px; }
.subscribe-bar p { margin-top: 2px; font-size: 14px; }
.subscribe-bar .subscribe { flex: 1 1 320px; min-width: 0; max-width: 440px; flex-wrap: nowrap; }

.apply-bar { display: none; }

.deadlines { list-style: none; margin: 0; padding: 0; }
.deadlines li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.deadlines li:last-child { border-bottom: 0; }
.dl-date { display: flex; flex-direction: column; align-items: center; min-width: 40px; line-height: 1.05; }
.dl-date b { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dl-date small { font-size: 12px; color: var(--muted); }
.ti-title { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.ti-meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.deadlines a:hover .ti-title, .ranked a:hover .ti-title { color: var(--brand); }

.ranked { list-style: none; margin: 0; padding: 4px 20px; }
.ranked li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ranked li:last-child { border-bottom: 0; }
.rank { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ranked li:first-child .rank { color: var(--brand); }
.ranked-amount { color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.subscribe-box { background: var(--ink); color: #c5cde6; border-radius: var(--r); padding: 26px 26px 24px; }
.subscribe-box h2 { color: #fff; font-size: 22px; }
.subscribe-box p { margin: 8px 0 18px; font-size: 15px; max-width: 46ch; }
.subscribe { display: flex; flex-wrap: wrap; gap: 8px; }
.subscribe input[type="email"] { flex: 1 1 190px; min-width: 0; height: 46px; padding: 0 14px; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-sm); }
.subscribe input[type="email"]::placeholder { color: #8f9bc0; }
.subscribe input[type="email"]:focus { outline: 0; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 212, 71, .3); }
.subscribe button { flex: none; height: 46px; padding: 0 18px; border: 0; border-radius: var(--r-sm); cursor: pointer; background: var(--sun); color: var(--ink); font-size: 15px; font-weight: 700; transition: background-color .15s ease; }
.subscribe button:hover { background: #ffe07a; }
.subscribe-box .more { margin-top: 2px; margin-bottom: -12px; color: #c5cde6; font-weight: 500; }
.subscribe-box .more:hover { color: #fff; }

/* ----------------------------------------------------------- podstranice --- */

.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.crumbs a:hover { color: var(--brand); }
.kicker { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.page-head h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; }
.page-intro { margin-top: 8px; font-size: 16px; color: var(--muted); max-width: 66ch; }
.page-intro a, .head-links a { color: var(--brand); font-weight: 600; }
.page-intro a:hover, .head-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.head-links { margin-top: 12px; font-size: 15px; }

/* Zaglavlje popisa: oznaka grupe, naslov, broj poziva i dva ključna podatka. */
.page-head.list-head { padding: 22px 0 30px; }
.page-head.list-head .crumbs { margin-bottom: 18px; font-size: 13px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.head-title { display: flex; align-items: center; gap: 18px; min-width: 0; }
.head-mark {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px;
  font-family: var(--display); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.head-mark .icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.head-kind { font-size: 13px; font-weight: 600; color: var(--muted); }
.page-head.list-head h1 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 2px; }
.head-count { margin-top: 6px; font-size: 15px; color: var(--muted); }
.head-stats { display: flex; margin: 0; border: 1px solid var(--line); border-radius: var(--r); }
.head-stats > div { padding: 12px 22px 13px; }
.head-stats > div + div { border-left: 1px solid var(--line); }
.head-stats dt { font-size: 13px; color: var(--muted); }
.head-stats dd { margin: 3px 0 0; color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head-stats dd small { margin-left: 8px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.list-wrap { padding-top: 22px; padding-bottom: 56px; }

.columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 30px; padding-bottom: 64px; align-items: start; }
.col-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 8px; }
.side-title { font-size: 18px; margin-bottom: 4px; }
.section { padding-top: 32px; padding-bottom: 64px; }
.section.narrow > * { max-width: 820px; }
.section-note { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 70ch; }

.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; margin-bottom: 16px; }
.toolbar-search { grid-column: 1 / -1; width: 100%; max-width: 520px; }
.toolbar-search input { height: 44px; border-radius: 10px; }
.toolbar-search button { height: 44px; }
.toolbar .chips { grid-column: 1 / -1; }
.toolbar > .more { grid-column: 2; grid-row: 2; align-self: start; z-index: 1; min-height: 44px; margin: 0; padding: 10px 2px; }

.filters { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.filters > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; cursor: pointer; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.filters[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.filters > summary span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; }
@media (min-width: 641px) {
  .toolbar-search { grid-column: 1; grid-row: 1; align-self: start; z-index: 1; width: min(520px, calc(100% - 132px)); }
  .toolbar > .more, .filters { grid-row: 1; }
  .filters > summary { display: flex; width: max-content; margin-left: auto; margin-right: 132px; }
  .toolbar:not(:has(> .more)) .filters > summary { margin-right: 0; }
}
.filter-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; margin-top: 10px; padding: 18px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.filter-form label { display: flex; flex-direction: column; gap: 5px; }
.filter-form label span { font-size: 13px; font-weight: 500; color: var(--muted); }
.filter-form select { width: 100%; min-width: 0; height: 44px; padding: 0 10px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink); font-size: 15px; }
.filter-form select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.filter-actions { display: flex; align-items: flex-end; gap: 14px; }
.filter-actions button { height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; }
.filter-actions button:hover { background: var(--brand-deep); }
.filter-actions .reset { padding: 11px 2px; font-size: 14px; color: var(--muted); }
.filter-actions .reset:hover { color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; max-width: 100%; padding: 4px 12px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.chip span { font-size: 18px; line-height: 1; }
.chip:hover { background: var(--brand); color: #fff; }
.empty-state { padding: 38px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.empty-title { font-size: 20px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.empty-actions:not(:empty) { margin-top: 16px; }

/* ---------------------------------------------------------------- poziv --- */

.page-head.call-head { padding: 26px 0 28px; }
.call-head .crumbs { margin-bottom: 20px; }
.call-head .lead-tags { margin-bottom: 16px; }
.call-head h1 { max-width: 24ch; }
.article-lead { margin-top: 12px; font-size: 18px; color: var(--text); max-width: 62ch; text-wrap: pretty; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.byline .mono { padding: 2px 8px; background: var(--bg); border-radius: 5px; color: var(--text); }
.byline a { color: var(--brand); font-weight: 500; }
.byline a:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-wrap { padding-top: 28px; padding-bottom: 64px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article { min-width: 0; }

.ai-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ai-note b { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 4px; background: var(--sun-soft); color: var(--warn); font-size: 12px; font-weight: 600; }
.notice { margin: 0 0 14px; padding: 12px 16px; background: #fdf0e9; border: 1px solid #f3cdb9; border-radius: var(--r-sm); font-size: 15px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }

.keyfacts { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.keyfacts > div { padding: 18px 22px 20px; }
.keyfacts > div + div { border-left: 1px solid var(--line); }
.keyfacts dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.keyfacts dd { margin: 6px 0 0; color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.keyfacts dd small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.kf-left { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; vertical-align: 4px; white-space: nowrap; }
.kf-left.soon { background: #fdf0e9; color: var(--hot); }
.keyfacts dd.kf-text { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.kf-roles-link { display: none; }

.stage-strip { display: flex; gap: 16px; margin-top: 12px; padding: 14px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.stage-label { flex: none; padding-top: 1px; font-size: 13px; font-weight: 500; color: var(--muted); }
.stages { display: flex; flex-wrap: wrap; gap: 10px 36px; list-style: none; margin: 0; padding: 0; counter-reset: stage; }
.stages li { position: relative; display: flex; flex-direction: column; padding-left: 30px; counter-increment: stage; }
.stages li::before { content: counter(stage); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.stages b { color: var(--ink); font-size: 15px; font-weight: 600; }
.stages span { font-size: 14px; color: var(--muted); }

.roles-panel { margin-top: 12px; padding: 20px 22px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.roles-panel h2 { font-size: 20px; }
.overview { margin: 12px 0 0; }
.role-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4px 24px; padding: 13px 0; border-top: 1px solid var(--line); }
.role-row dt { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.role-row dd { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.role-row .ans { font-size: 15px; }
.role-why { font-size: 14px; line-height: 1.5; color: var(--text); max-width: 68ch; }
.roles-panel .more { display: block; margin: 0; padding: 14px 0 6px; border-top: 1px solid var(--line); }
.area-link { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text); }
.area-link::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--area, var(--line-strong)); }
.area-link:hover { border-color: var(--area, var(--brand)); color: var(--ink); }
.inline-actions { display: none; margin-top: 20px; }

.acc-tools { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 36px; margin-bottom: 12px; }
.acc-tools h2 { font-size: 22px; }
.acc-all { border: 0; background: none; padding: 10px 0; margin: -10px 0; cursor: pointer; color: var(--brand); font-size: 14px; font-weight: 600; }
.acc-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acc { border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.acc:last-child { border-bottom: 0; }
.acc > summary { display: flex; align-items: center; gap: 12px; padding: 17px 20px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary h2 { flex: 1; font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.acc-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.chev { width: 20px; height: 20px; position: relative; flex: none; }
.chev::before { content: ''; position: absolute; left: 5px; top: 3px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease), top .3s var(--ease); }
.acc[open] > summary .chev::before { transform: rotate(-135deg); top: 8px; }
.acc[open] > summary { background: #f8faff; }
@media (hover: hover) { .acc > summary:hover { background: #f8faff; } }
.acc-body { overflow: hidden; padding: 4px 20px 16px; }
.acc.animating .acc-body, .filters.animating .filter-form, .result-group.animating .result-group-body { overflow: hidden; will-change: height; }

.points { margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.6; color: var(--text); }
.points li { position: relative; padding: 0 0 12px 18px; max-width: 70ch; }
.points li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.points a { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.points a:hover { text-decoration-color: var(--brand); }
.point-kind { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 4px; background: var(--sun-soft); color: var(--warn); font-size: 12px; font-weight: 600; vertical-align: 1px; }
.references { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.references a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.references a:hover { color: var(--brand); }
.roles { display: grid; gap: 8px; margin: 6px 0 0; }
.role { padding: 13px 16px; background: var(--bg); border-radius: var(--r-sm); }
.role dt { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--ink); font-weight: 600; }
.role dd { margin: 6px 0 0; font-size: 15px; max-width: 70ch; }
.dates { margin: 10px 0 0; padding-left: 18px; font-size: 15px; }
.acc-body p { margin-top: 12px; font-size: 15px; }

.article-side .sticky { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 10px; }
.apply-box { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
.apply-note { font-size: 14px; color: var(--muted); }
.article-side .panel-title { margin-bottom: 0; }
.toc-mobile { display: none; }
.toc { display: flex; flex-direction: column; }
.toc a { padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--text); transition: border-color .15s ease, color .15s ease; }
.toc a:hover { border-left-color: var(--brand); color: var(--brand); }
.related { margin-top: 48px; }

/* ------------------------------------------------------------ newsletter --- */

.newsletter-form { display: flex; flex-direction: column; gap: 22px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.field { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.field span, .field-static span, .newsletter-form legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input { height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 16px; color: var(--ink); }
.field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field-static { display: flex; flex-direction: column; gap: 2px; }
.field-static strong { color: var(--ink); }
.newsletter-form fieldset { border: 0; margin: 0; padding: 0; }
.newsletter-form legend { margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check.all { padding: 16px 18px; background: var(--brand-soft); border-radius: var(--r-sm); }
.check.all strong { display: block; color: var(--ink); }
.check.all small { display: block; color: var(--text); font-size: 14px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; color: var(--ink); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.chip-check span::before { content: '+'; color: var(--muted); font-weight: 600; }
.chip-check:hover span { border-color: var(--brand); }
.chip-check input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-check input:checked + span::before { content: '✓'; color: var(--sun); }
.chip-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.newsletter-form .btn { align-self: flex-start; }
.fine { font-size: 14px; color: var(--muted); max-width: 62ch; }
.form-error { padding: 11px 14px; background: #fdf0e9; border: 1px solid #f3cdb9; border-radius: var(--r-sm); color: var(--hot); font-weight: 600; }
.form-ok { margin-bottom: 16px; padding: 11px 14px; background: #e6f5ee; border: 1px solid #bfe3d0; border-radius: var(--r-sm); color: var(--ok); font-weight: 600; }
.unsubscribe-form { margin-top: 20px; }

/* ----------------------------------------------------- rokovi i izvori --- */

.months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; align-items: start; }
.month { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 6px; }
.month h2 { font-size: 18px; }
.sources { display: flex; flex-direction: column; gap: 12px; }
.sources .source { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.source-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.sources h2 { font-size: 18px; }
.source-state { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.source-state.ok { color: var(--ok); }
.source-state.error { color: var(--hot); }
.source-program { margin-top: 2px; font-size: 14px; color: var(--muted); }
.source-text { margin-top: 10px; font-size: 15px; max-width: 70ch; }
.source-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.source-facts dt { font-size: 12px; color: var(--muted); }
.source-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.source-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 14px; }
.source-links a { padding: 8px 0; color: var(--brand); font-weight: 600; }
.source-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------ statistika i tekst --- */

.tabs { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; background: #e7ebf4; border-radius: 10px; }
.tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--text); }
.tabs a:hover { background: rgba(255, 255, 255, .6); }
.tabs a[aria-current] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(12, 22, 51, .12); }

/* Razmak od 1 px u boji crte daje razdjelnike pri svakom broju stupaca. */
.stat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0 0 16px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat-tile { padding: 16px 18px 17px; background: var(--surface); }
.stat-tile dt { font-size: 13px; color: var(--muted); }
.stat-tile dd { margin: 4px 0 0; color: var(--ink); font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-tile small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

.stat-panel { padding: 18px 20px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.stat-panel.wide { margin-bottom: 16px; }
.stat-panel h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.stat-name { color: var(--text); overflow-wrap: anywhere; }
.stat-list b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 2px; background: #e7ebf4; overflow: hidden; }
.stat-bar i { display: block; height: 100%; border-radius: 2px; background: var(--brand); }

/* Graf: stupci su jedina glasna stvar; mreža i osi su tanke i tihe. */
.chart-scroll { overflow-x: auto; }
.chart { display: block; width: 100%; min-width: 560px; height: auto; }
.chart-bar { fill: var(--brand); }
.chart-bar:hover { fill: var(--brand-deep); }
.chart-hit { fill: transparent; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis { stroke: var(--line-strong); stroke-width: 1; }
.chart-tick { fill: var(--muted); font-size: 11px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.chart-value { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--sans); }
.stat-table { margin-top: 8px; border-top: 1px solid var(--line); }
.stat-table > summary { padding: 10px 0 4px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--brand); }
.table-scroll { overflow-x: auto; }
.stat-table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.stat-table th, .stat-table td { padding: 7px 10px 7px 0; border-top: 1px solid var(--line); text-align: right; }
.stat-table th:first-child { text-align: left; font-weight: 500; }
.stat-table thead th { border-top: 0; font-size: 12px; font-weight: 500; color: var(--muted); }

.prose h2 { margin-top: 28px; font-size: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 8px; max-width: 68ch; }

/* -------------------------------------------------------------- podnožje --- */

.site-footer { background: var(--ink); color: #a3add0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.footer-logo { color: #fff; }
.footer-logo .logo-suffix { color: var(--sky); }
.footer-brand p { margin-top: 14px; max-width: 44ch; }
.footer-ai { color: #7f8bb3; }
.footer-grid h3 { margin-bottom: 12px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0; }
.footer-grid li a { display: inline-block; padding: 6px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: #7f8bb3; font-size: 13px; }

/* ------------------------------------------------------------ responzivno --- */

@media (max-width: 1080px) {
  .head-search { display: none; }
  .columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .article-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
}

@media (max-width: 900px) {
  :root { --gut: 20px; }
  html { scroll-padding-top: 70px; }
  .head-in { min-height: 58px; gap: 4px; }
  .logo { margin-right: auto; }
  .head-nav, .head-cta { display: none; }
  .nav-tool { display: block; }
  .nav-panel { top: 59px; max-height: calc(100vh - 59px); }
  .nav-panel .search button { display: none; }

  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .cards > :nth-child(4) { display: flex; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picks.programs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder-in { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 40px; }
  .finder-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .split { grid-template-columns: minmax(0, 1fr); }
  .columns { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .col-side { position: static; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-side { display: none; }
  .inline-actions { display: flex; }
  .inline-actions .apply-note { flex-basis: 100%; }
  .keyfacts .kf-roles-link { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 -8px; padding: 0; font-family: var(--sans); letter-spacing: 0; white-space: normal; }
  /* Gumb za prijavu ostaje pri ruci dok se čita poziv. */
  .apply-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px); border-top: 1px solid var(--line-strong); box-shadow: 0 -6px 20px -12px rgba(12, 22, 51, .35);
  }
  .apply-bar .when b { font-size: 18px; }
  .apply-bar .btn { min-height: 44px; flex: none; }
  html:has(body.has-apply-bar) { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-apply-bar .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .toc-mobile { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 18px calc(-1 * var(--gut)) 0; padding: 0 var(--gut); }
  .toc-mobile::-webkit-scrollbar { display: none; }
  .toc-mobile a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Vremenska crta: naslov iznad, traka ispod, rok uz naslov. */
  .tl-head { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl-today, .tl-head > span:last-child { display: none; }
  .lane { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; }
  .lane-text { grid-column: 1; grid-row: 1; }
  .lane-when { grid-column: 2; grid-row: 1; }
  .lane-track { grid-column: 1 / -1; grid-row: 2; height: 18px; }
  .lane-bar { height: 8px; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 15px; }
  .finder-in { padding-top: 30px; padding-bottom: 28px; gap: 22px; }
  .finder-main { gap: 10px; }
  .finder-kicker { font-size: 12px; }
  .finder h1 { font-size: 28px; }
  .finder-lead { font-size: 16px; }
  .finder-search { margin-top: 6px; }
  .finder-search input, .finder-search button { height: 50px; }
  .finder-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-stats a { min-height: 0; padding: 14px 14px 13px; }
  .finder-stats b { font-size: 24px; }
  .finder-stats span { font-size: 13px; }

  .groups { gap: 28px; padding-top: 22px; }
  .group-head { margin-bottom: 10px; }
  .group-head h2 { font-size: 20px; }
  /* Dvije kolone pločica: cijela grupa stane na ekran bez dugog listanja. */
  .picks, .picks.programs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pick, .picks.programs .pick { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 12px 13px; }
  .pick .row-go, .picks.programs .pick .row-go { top: 16px; right: 10px; }
  .pick-mark { width: 36px; height: 36px; border-radius: 9px; font-size: 17px; }
  .pick-mark .icon { width: 20px; height: 20px; }
  .pick-text strong { font-size: 15px; }
  .pick-count { flex-direction: column; font-size: 13px; }
  .pick-note { display: flex; flex-direction: column; font-size: 12px; }
  .pick-note span + span::before { content: none; }
  .browse-head h2, .block-head h2, .acc-tools h2, .block-title { font-size: 20px; }

  .section-block { padding-top: 30px; }
  .section-block:last-child { padding-bottom: 44px; }
  .tl-head, .lane { padding-left: 14px; padding-right: 14px; }
  .lane-title { font-size: 15px; }
  .lane-when b { font-size: 15px; }
  .ranked { padding: 2px 14px; }
  .ranked li { grid-template-columns: 18px minmax(0, 1fr); }
  .ranked-amount { grid-column: 2; font-size: 14px; }
  .subscribe-box { padding: 22px 18px 20px; }

  .cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .band .cards > :nth-child(n+4) { display: none; }
  .band-foot .btn-ghost { width: 100%; }
  .band-head h2 { font-size: 20px; }
  .segments { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .segments::-webkit-scrollbar { display: none; }
  .card { padding: 16px 16px 15px; }
  .card-title { font-size: 18px; min-height: 0; }
  .card-summary { min-height: 0; }
  .card-facts { gap: 12px 14px; }
  .card-facts::before { margin-top: 14px; }

  .page-head { padding: 18px 0 18px; }
  .page-head h1 { font-size: 24px; }
  .page-head.list-head { padding: 16px 0 20px; }
  .page-head.list-head .crumbs { margin-bottom: 12px; }
  .head-title { gap: 14px; }
  .head-mark { width: 50px; height: 50px; border-radius: 13px; font-size: 22px; }
  .head-mark .icon { width: 26px; height: 26px; }
  .page-head.list-head h1 { font-size: 26px; }
  .head-count { font-size: 14px; margin-top: 3px; }
  /* Brojke kao jedan tihi red, bez okvira: zaglavlje ostaje nisko. */
  .head-stats { flex-wrap: wrap; gap: 6px 28px; width: 100%; border: 0; border-radius: 0; }
  .head-stats > div { padding: 0; }
  .head-stats > div + div { border-left: 0; }
  .head-stats dt { font-size: 12px; }
  .head-stats dd { margin-top: 1px; font-size: 17px; }
  .head-stats dd small { margin-left: 6px; font-size: 12px; }
  .page-head.call-head { padding: 18px 0 20px; }
  .call-head .crumbs { margin-bottom: 14px; }
  .call-head .lead-tags { margin-bottom: 12px; }
  .list-wrap { padding-top: 14px; padding-bottom: 40px; }
  /* Pretraga u prvom redu; ispod Filtri i razdoblja roka u istom redu.
     Filtri se otvaraju kao ploča preko popisa. */
  .toolbar { position: relative; grid-template-columns: auto minmax(0, 1fr); gap: 10px 8px; margin-bottom: 14px; }
  .toolbar-search { grid-column: 1 / -1; grid-row: 1; }
  .toolbar-search input { padding-right: 8px; }
  .toolbar > .more { display: none; }
  .filters { grid-column: 1; grid-row: 2; }
  .filters > summary { min-height: 38px; padding: 0 12px; border-radius: 999px; }
  .filter-form { position: absolute; left: 0; right: 0; z-index: 25; grid-template-columns: minmax(0, 1fr); padding: 16px; box-shadow: var(--shadow); }
  .segments { grid-column: 2; grid-row: 2; align-self: center; margin: 0 calc(-1 * var(--gut)) 0 0; padding: 0 var(--gut) 0 0;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .segment { min-height: 38px; padding: 0 12px; font-size: 14px; }
  .toolbar .chips { grid-row: 3; }
  .result-group > summary { padding: 12px 14px; }
  .subscribe-bar { padding: 16px; margin-top: 22px; }
  .subscribe-bar .subscribe { flex-basis: 100%; max-width: none; }
  .months { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .source-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile dd { font-size: 24px; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat-panel { padding: 16px 16px 12px; }
  .sources .source { padding: 16px; }

  .article-wrap { padding-top: 20px; padding-bottom: 44px; }
  .article-lead { font-size: 16px; }
  .keyfacts { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .keyfacts > div { padding: 14px 12px 15px; }
  .keyfacts > .kf-institutions { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .keyfacts dd { font-size: 19px; }
  .keyfacts dd small { font-size: 13px; }
  .kf-left { margin-left: 4px; padding-inline: 6px; vertical-align: 2px; }
  .keyfacts dd.kf-text { font-size: 15px; }
  .stage-strip { flex-direction: column; gap: 10px; padding: 14px 16px; }
  .roles-panel { padding: 16px 16px 12px; }
  .roles-panel h2 { font-size: 18px; }
  .role-row { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 10px 0; }
  .role-row dt, .role-row .ans { font-size: 14px; }
  .role-why { display: none; }
  .inline-actions .btn, .inline-actions .btn-ghost { flex: 1 1 auto; }
  .acc > summary { padding: 15px 14px; }
  .acc > summary h2 { font-size: 16px; }
  .acc-body { padding: 2px 14px 14px; }
  .points { font-size: 15px; }
  .newsletter-form { padding: 20px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 28px; }
}

::selection { background: var(--sun); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  .site-head, .col-side, .article-side, .site-footer, .search, .article-subscribe { display: none; }
  .acc-body { display: block !important; }
}

/* Boje programa i stupce vremenske crte dodaje poslužitelj ispod ovog retka. */
.p-horizon-europe{--cat:#1d4ed8}
.p-erasmus{--cat:#0f766e}
.p-interreg{--cat:#b45309}
.p-kreativna-europa{--cat:#9d174d}
.p-cost{--cat:#4d7c0f}
.p-life{--cat:#3f6212}
.p-digitalna-europa{--cat:#5b21b6}
.p-eu4health{--cat:#be123c}
.p-cerv{--cat:#a21caf}
.p-ipa{--cat:#334155}
.p-eureka{--cat:#0369a1}
.p-lokalni{--cat:#7c2d12}
.p-jedinstveno-trziste{--cat:#0f5f8a}
.p-euratom{--cat:#5a4a8a}
.p-obrana{--cat:#4a5568}
.p-cef{--cat:#2d6a7a}
.p-pravosudje{--cat:#6b4c3b}
.p-sigurnost{--cat:#4a4a6a}
.p-pravedna-tranzicija{--cat:#5c6b2e}
.p-pilot-projekti{--cat:#7a5c2e}
.p-informiranje{--cat:#5e6470}
.p-agencije{--cat:#3d5a80}
.p-globalna-europa{--cat:#8a3b12}
.gs1{grid-column-start:1}.ge1{grid-column-end:1}
.gs2{grid-column-start:2}.ge2{grid-column-end:2}
.gs3{grid-column-start:3}.ge3{grid-column-end:3}
.gs4{grid-column-start:4}.ge4{grid-column-end:4}
.gs5{grid-column-start:5}.ge5{grid-column-end:5}
.gs6{grid-column-start:6}.ge6{grid-column-end:6}
.gs7{grid-column-start:7}.ge7{grid-column-end:7}
.gs8{grid-column-start:8}.ge8{grid-column-end:8}
.gs9{grid-column-start:9}.ge9{grid-column-end:9}
.gs10{grid-column-start:10}.ge10{grid-column-end:10}
.gs11{grid-column-start:11}.ge11{grid-column-end:11}
.gs12{grid-column-start:12}.ge12{grid-column-end:12}
.gs13{grid-column-start:13}.ge13{grid-column-end:13}
.gs14{grid-column-start:14}.ge14{grid-column-end:14}
.gs15{grid-column-start:15}.ge15{grid-column-end:15}
.gs16{grid-column-start:16}.ge16{grid-column-end:16}
.gs17{grid-column-start:17}.ge17{grid-column-end:17}
.gs18{grid-column-start:18}.ge18{grid-column-end:18}
.gs19{grid-column-start:19}.ge19{grid-column-end:19}
.gs20{grid-column-start:20}.ge20{grid-column-end:20}
.gs21{grid-column-start:21}.ge21{grid-column-end:21}
.gs22{grid-column-start:22}.ge22{grid-column-end:22}
.gs23{grid-column-start:23}.ge23{grid-column-end:23}
.gs24{grid-column-start:24}.ge24{grid-column-end:24}
.gs25{grid-column-start:25}.ge25{grid-column-end:25}
.gs26{grid-column-start:26}.ge26{grid-column-end:26}
.gs27{grid-column-start:27}.ge27{grid-column-end:27}
.gs28{grid-column-start:28}.ge28{grid-column-end:28}
.gs29{grid-column-start:29}.ge29{grid-column-end:29}
.tl-w12{grid-template-columns:repeat(12,minmax(0,1fr))}
.tl-w13{grid-template-columns:repeat(13,minmax(0,1fr))}
.tl-w14{grid-template-columns:repeat(14,minmax(0,1fr))}
.tl-w15{grid-template-columns:repeat(15,minmax(0,1fr))}
.tl-w16{grid-template-columns:repeat(16,minmax(0,1fr))}
.tl-w17{grid-template-columns:repeat(17,minmax(0,1fr))}
.tl-w18{grid-template-columns:repeat(18,minmax(0,1fr))}
.tl-w19{grid-template-columns:repeat(19,minmax(0,1fr))}
.tl-w20{grid-template-columns:repeat(20,minmax(0,1fr))}
.tl-w21{grid-template-columns:repeat(21,minmax(0,1fr))}
.tl-w22{grid-template-columns:repeat(22,minmax(0,1fr))}
.tl-w23{grid-template-columns:repeat(23,minmax(0,1fr))}
.tl-w24{grid-template-columns:repeat(24,minmax(0,1fr))}
.tl-w25{grid-template-columns:repeat(25,minmax(0,1fr))}
.tl-w26{grid-template-columns:repeat(26,minmax(0,1fr))}
.a-kemija{--area:#6b4fb3}
.a-kultura{--area:#9c3d7c}
.a-obrazovanje{--area:#2166b0}
.a-digitalizacija{--area:#0e7c86}
.a-zdravstvo{--area:#b03a4a}
.a-okolis{--area:#2f7d4f}
.a-industrija{--area:#51607a}
.a-lokalni-razvoj{--area:#b0591e}
.a-istrazivanje{--area:#8a6d12}
.i-sveucilista{--area:#4553b8}
.i-skole{--area:#8a6d12}
.i-instituti{--area:#7a4fa8}
.i-lokalne-vlasti{--area:#a8551f}
.i-javne-ustanove{--area:#3f6f9f}
.i-udruge{--area:#2f7d4f}
.i-poduzeca{--area:#0e7c86}
.i-istrazivaci{--area:#9c3d7c}
.pw0{width:0%}
.pw1{width:5%}
.pw2{width:10%}
.pw3{width:15%}
.pw4{width:20%}
.pw5{width:25%}
.pw6{width:30%}
.pw7{width:35%}
.pw8{width:40%}
.pw9{width:45%}
.pw10{width:50%}
.pw11{width:55%}
.pw12{width:60%}
.pw13{width:65%}
.pw14{width:70%}
.pw15{width:75%}
.pw16{width:80%}
.pw17{width:85%}
.pw18{width:90%}
.pw19{width:95%}
.pw20{width:100%}
