/* =========================================================
   Zbornik radova FTN – prilagođeni izgled za temu Immersion
   Boje usklađene sa logom (zlatna + tirkizna) i tamnoplavom
   ========================================================= */
:root {
  --zb-navy: #12324a;
  --zb-navy-2: #0b2236;
  --zb-teal: #3aa7c1;
  --zb-teal-d: #1d7891;
  --zb-gold: #c9a24f;
  --zb-gold-d: #94742c;
  --zb-bg: #f4f7fa;
  --zb-card: #ffffff;
  --zb-border: #e1e8ee;
  --zb-text: #1c2b39;
  --zb-muted: #5d6d7c;
  --zb-radius: 14px;
  --zb-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 4px 14px rgba(16, 42, 67, .06);
  --zb-shadow-h: 0 4px 10px rgba(16, 42, 67, .08), 0 14px 32px rgba(16, 42, 67, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--zb-text); -webkit-font-smoothing: antialiased; }
::selection { background: rgba(201, 162, 79, .3); }
a { color: var(--zb-teal-d); transition: color .15s ease; }
a:hover, a:focus { color: var(--zb-navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(58, 167, 193, .55); outline-offset: 2px;
}

/* ---------- Zaglavlje (premium, tamnoplavo sa zlatom) ---------- */
.main-header {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(58, 167, 193, .26), transparent 62%),
    radial-gradient(760px 360px at -5% 115%, rgba(201, 162, 79, .18), transparent 60%),
    linear-gradient(135deg, #06172a 0%, #0c2740 52%, #123a5a 100%) !important;
  background-size: auto !important;
  border-bottom: 1px solid rgba(214, 180, 106, .45);
}
.main-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.main-header > .container-fluid { position: relative; z-index: 1; }

/* gornja traka: jezik + korisnik */
.main-header__admin {
  padding: .55rem 0 !important; margin: 0 !important; align-items: center; justify-content: space-between;
  width: auto !important; max-width: 100%; align-self: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.main-header__lang-link,
.main-header__admin-link {
  background: transparent !important; color: rgba(233, 238, 243, .78) !important; border: 0; border-radius: 0;
  padding: .2rem .1rem !important; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s ease;
}
.main-header__lang-link:hover, .main-header__admin-link:hover { color: #d6b46a !important; background: transparent !important; }
.main-header .dropdown-menu {
  border: 1px solid var(--zb-border); border-radius: 12px; box-shadow: 0 18px 40px rgba(6, 23, 42, .28);
  padding: .4rem; overflow: hidden;
}
.main-header .dropdown-menu a { border-radius: 8px; padding: .5rem .85rem; color: var(--zb-text) !important; background: none !important; text-transform: none; letter-spacing: 0; }
.main-header .dropdown-menu a:hover { background: #f7f3ea !important; color: var(--zb-navy) !important; }

/* logo */
.main-header__title { margin: 1.8rem auto 1.1rem !important; padding: 0 !important; width: auto !important; max-width: 100% !important; text-align: center; line-height: 1; }
.main-header__title a { display: inline-block; }
.main-header__title img { max-height: 64px; width: auto; max-width: 100%; transition: opacity .2s; }
.main-header__title a:hover img { opacity: .9; }

@media (min-width: 768px) {
  .main-header__title img {
    height: 62px !important; max-height: none !important; width: calc(62px * 1.58) !important; max-width: none !important;
    object-fit: cover; object-position: left center;
  }
}

/* glavni meni */
.main-header__nav { padding: 0 0 1.1rem; position: relative; }
#navigationPrimary > li { width: auto !important; flex: 0 0 auto !important; padding: 0 !important; margin: 0 !important; }
#navigationPrimary > li.nmi_type_search { order: 99; }
#navigationPrimary { width: auto !important; gap: .25rem 1.6rem; flex-wrap: wrap; justify-content: center; align-items: center; }
#navigationPrimary > li > a {
  position: relative; background: transparent !important; color: rgba(255, 255, 255, .86) !important;
  border: 0 !important; box-shadow: none !important; border-radius: 0;
  padding: .55rem .1rem !important; font-weight: 500; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s ease;
}
#navigationPrimary > li > a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: .2rem; height: 1px; background: #d6b46a;
  transition: left .25s ease, right .25s ease;
}
#navigationPrimary > li > a:hover, #navigationPrimary > li > a:focus, #navigationPrimary > li.show > a { color: #fff !important; background: transparent !important; }
#navigationPrimary > li > a:hover::after, #navigationPrimary > li > a:focus::after, #navigationPrimary > li.show > a::after { left: 0; right: 0; }
#navigationPrimary > li.nmi_type_search > a {
  border: 1px solid rgba(214, 180, 106, .75) !important; border-radius: 999px; padding: .55rem 1.15rem !important; color: #d6b46a !important;
}
#navigationPrimary > li.nmi_type_search > a::after { display: none; }
#navigationPrimary > li.nmi_type_search > a:hover { background: #d6b46a !important; color: #06172a !important; }
#navigationPrimary > li.nmi_type_search > a::before {
  content: ""; display: inline-block; width: .95em; height: .95em; margin-right: .45em; vertical-align: -.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/contain no-repeat;
}
#navigationPrimary .dropdown-toggle::after { border-top-color: currentColor; }

/* dugme za meni (telefon) */
.hamburger {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0 !important; margin: .25rem auto .5rem !important;
  border-radius: 12px !important; background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(214, 180, 106, .65) !important; box-shadow: none !important;
}
.hamburger:hover, .hamburger:focus { background: rgba(214, 180, 106, .12) !important; }
.hamburger .hamburger__wrapper {
  position: relative; display: block; width: 22px; height: 16px; margin: 0 !important; background: none !important;
}
.hamburger .hamburger__icon,
.hamburger .hamburger__icon::before,
.hamburger .hamburger__icon::after {
  position: absolute !important; left: 0 !important; display: block !important; width: 22px !important; height: 2px !important;
  margin: 0 !important; border-radius: 2px; background: #d6b46a !important; transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger .hamburger__icon { top: 7px !important; }
.hamburger .hamburger__icon::before { content: "" !important; top: -7px !important; }
.hamburger .hamburger__icon::after { content: "" !important; top: 7px !important; }
.hamburger[aria-expanded="true"] .hamburger__icon { background: transparent !important; }
.hamburger[aria-expanded="true"] .hamburger__icon::before { top: 0 !important; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__icon::after { top: 0 !important; transform: rotate(-45deg); }
@media (min-width: 576px) { .hamburger { display: none !important; } }
@media (max-width: 575.98px) {
  #main-menu.show, #main-menu.collapsing { padding: .5rem 0 1rem; }
  #navigationPrimary { flex-direction: column; gap: 0; width: 100% !important; }
  #navigationPrimary > li { width: 100% !important; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); }
  #navigationPrimary > li > a { display: block; padding: .9rem 0 !important; }
  #navigationPrimary > li > a::after { display: none; }
  #navigationPrimary > li.nmi_type_search { border-top: 0; padding-top: .75rem !important; }
  #navigationPrimary > li.nmi_type_search > a { display: inline-block; }
}

/* desktop: logo levo, meni desno, u jednoj liniji */
@media (min-width: 1280px) {
  .main-header > .container-fluid {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "admin admin" "title nav";
    align-items: center; column-gap: 2rem; max-width: 1400px; margin: 0 auto; padding: 0 2rem;
  }
  .main-header__admin { grid-area: admin; }
  .main-header__title { grid-area: title; margin: 1.6rem 0 !important; text-align: left; }
  .main-header__title img { height: 62px !important; }
  .main-header__nav { grid-area: nav; padding: 0; justify-content: flex-end; min-width: 0; width: auto !important; }
  .main-header__admin { width: auto !important; }
  .main-header__nav #main-menu { justify-content: flex-end; }
  #navigationPrimary { margin-left: auto !important; margin-right: 0 !important; justify-content: flex-end; flex-wrap: nowrap; gap: 1.3rem; }
  .main-header__nav #main-menu { min-width: 0; }
}

/* naslovna: uvodni pojas ispod logoa i menija */
@media (min-width: 768px) {
  body.page_index .main-header > .container-fluid::after {
    grid-column: 1 / -1; display: block; position: relative;
    margin: .5rem 0 3.2rem; padding-top: 2.6rem; border-top: 1px solid rgba(255, 255, 255, .08);
    font-family: Spectral, Georgia, serif; font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.2; color: #fff;
    max-width: 30ch; white-space: pre-line;
  }
  html[lang^="sr"] body.page_index .main-header > .container-fluid::after {
    content: "Zbornik radova\A Fakulteta tehničkih nauka";
  }
  html[lang^="en"] body.page_index .main-header > .container-fluid::after {
    content: "Proceedings of the\A Faculty of Technical Sciences";
  }
  body.page_index .main-header > .container-fluid::before {
    grid-column: 1 / -1; grid-row: 4; display: block; position: relative; order: 9;
    margin: -2.4rem 0 3rem; color: #d6b46a; font-size: .74rem; line-height: 2.1; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; white-space: pre-line;
  }
  html[lang^="sr"] body.page_index .main-header > .container-fluid::before {
    content: "Univerzitet u Novom Sadu\A Otvoreni pristup  ·  ISSN 0350-428X  ·  e-ISSN 2560-5925";
  }
  html[lang^="en"] body.page_index .main-header > .container-fluid::before {
    content: "University of Novi Sad\A Open access  ·  ISSN 0350-428X  ·  e-ISSN 2560-5925";
  }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  body.page_index .main-header > .container-fluid { display: flex; flex-direction: column; align-items: center; }
  body.page_index .main-header > .container-fluid::after { max-width: 34ch; }
  body.page_index .main-header > .container-fluid::after { order: 8; text-align: center; margin-left: auto; margin-right: auto; }
  body.page_index .main-header > .container-fluid::before { text-align: center; }
  body.page_index .main-header__admin { order: 0; width: 100%; }
  body.page_index .main-header__title { order: 1; }
  body.page_index .main-header__nav { order: 2; }
}

/* ---------- Zaglavlje broja (svetla, „papirna" podloga) ---------- */
section.issue {
  background: linear-gradient(180deg, #fbf8f2 0%, #f5f0e6 100%) !important; color: var(--zb-navy) !important;
  position: relative; overflow: hidden; border-bottom: 1px solid #ebe3d3;
}
section.issue::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 79, .35); box-shadow: 0 0 0 46px rgba(201, 162, 79, .05), 0 0 0 100px rgba(58, 167, 193, .04);
  pointer-events: none;
}
.issue__header { position: relative; z-index: 1; }
.issue__meta {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--zb-gold-d) !important;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.issue__header > .issue__meta:first-child::before { content: ""; width: 34px; height: 1px; background: var(--zb-gold); }
.issue__header .issue__meta ~ .issue__meta {
  display: block; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--zb-muted) !important; font-size: .9rem;
}
.issue__title { color: var(--zb-navy) !important; }
.issue__title .issue__localized_name { color: var(--zb-navy); }
.issue__doi, .issue__doi a { color: var(--zb-teal-d) !important; }
.issue__doi .type { color: var(--zb-muted); font-weight: 600; margin-right: .3em; }
section.issue h3, .issue-desc__galleys h3 { color: var(--zb-navy) !important; font-size: 1.05rem; }

/* ---------- Dugmad (PDF i sl.) ---------- */
.article__btn, .issue-desc__btn-group a, .list-galleys a, .btn-primary {
  display: inline-flex; align-items: center; gap: .45em;
  border-radius: 999px !important; padding: .45rem 1rem !important; font-weight: 500; font-size: .88rem;
  border: 1.5px solid var(--zb-teal-d) !important; color: var(--zb-teal-d) !important; background: #fff !important;
  text-decoration: none !important; transition: all .15s ease;
}
.article__btn:hover, .issue-desc__btn-group a:hover, .list-galleys a:hover {
  background: var(--zb-teal-d) !important; color: #fff !important; transform: translateY(-1px);
}
.article__btn.pdf::before, .issue-desc__btn-group a.pdf::before, .list-galleys a.pdf::before {
  content: ""; width: 1em; height: 1em; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E") center/contain no-repeat;
}
section.issue .issue-desc__btn-group a { background: var(--zb-navy) !important; color: #fff !important; border-color: var(--zb-navy) !important; }
section.issue .issue-desc__btn-group a:hover { background: var(--zb-gold) !important; border-color: var(--zb-gold) !important; color: #06172a !important; }
.btn-primary {
  justify-content: center; background: var(--zb-navy) !important; color: #fff !important; border-color: var(--zb-navy) !important;
  padding: .65rem 1.4rem !important; font-size: .95rem;
}
.btn-primary:hover { background: var(--zb-teal-d) !important; border-color: var(--zb-teal-d) !important; }

/* ---------- Rubrike i kartice radova u broju ---------- */
.issue-section { background: #fbfaf7 !important; padding: 2.5rem 0 1.5rem !important; }
.issue-section:nth-of-type(odd) { background: #fff !important; }
.issue-section__header { margin-bottom: 1rem; }
.issue-section__title {
  position: relative; padding-left: 1rem; font-size: 1.3rem !important; max-width: none; flex: 0 0 100%; line-height: 1.3; color: var(--zb-navy) !important;
}
.issue-section__title::before {
  content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px;
  background: linear-gradient(var(--zb-gold), var(--zb-teal));
}
.issue-section__toc { padding: 0; margin: 0; list-style: none; }
.issue-section__toc-item { margin-bottom: 1rem; }
.issue-section__toc-item article.article { margin-bottom: 0 !important; }

article.article > .row > div,
.search_results article.article > .row > div {
  background: var(--zb-card); border: 1px solid var(--zb-border); border-radius: var(--zb-radius);
  padding: 1.25rem 1.5rem; box-shadow: var(--zb-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
article.article > .row > div:hover {
  transform: translateY(-2px); box-shadow: var(--zb-shadow-h); border-color: rgba(201, 162, 79, .55);
}
.article__meta {
  color: var(--zb-muted) !important; font-size: .86rem; margin-bottom: .35rem;
  display: flex; align-items: center; gap: .4em;
}
.article__meta::before {
  content: ""; width: .95em; height: .95em; background: var(--zb-gold); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.article__title { font-size: 1.22rem; line-height: 1.35; margin: 0 0 .8rem; }
.article__title a { color: var(--zb-navy) !important; text-decoration: none; background-image: linear-gradient(var(--zb-gold), var(--zb-gold)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease, color .15s; }
.article__title a:hover { color: var(--zb-teal-d) !important; background-size: 100% 2px; }
.article__btn-group { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Pretraga ---------- */
main > section > header h1, .main__title, h1.page-title {
  color: var(--zb-navy); position: relative; padding-bottom: .6rem; margin-bottom: 1.75rem;
}
main > section > header h1::after, .main__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--zb-gold), var(--zb-teal));
}
aside.search { margin-bottom: 2rem; }
.search__form {
  background: #fff !important; color: var(--zb-text) !important;
  border: 1px solid var(--zb-border); border-radius: 18px; box-shadow: var(--zb-shadow-h);
  padding: 1.5rem !important;
}
@media (min-width: 768px) { .search__form { position: sticky; top: 1.25rem; } }
.search__form label, .search__form legend, .search__form .form-group > label {
  color: var(--zb-muted) !important; font-size: .76rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: .35rem;
}
.search__form .form-group { margin-bottom: 1.1rem; }
.search__control, .search__select, .search__form input, .search__form select {
  background-color: var(--zb-bg) !important; color: var(--zb-text) !important;
  border: 1.5px solid var(--zb-border) !important; border-radius: 10px !important;
  padding: .55rem .8rem !important; height: auto !important; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.search__control:focus, .search__select:focus, .search__form input:focus, .search__form select:focus {
  background-color: #fff !important; border-color: var(--zb-teal) !important;
  box-shadow: 0 0 0 4px rgba(58, 167, 193, .18) !important; outline: none;
}
#query.search__control {
  font-size: 1.05rem; padding-left: 2.6rem !important; font-weight: 500;
  background: var(--zb-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6d7c' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat .85rem center / 1.1rem !important;
}
#query.search__control:focus { background-color: #fff !important; }
.search__form .form-control-date { gap: .35rem; margin: 0 !important; display: flex; flex-wrap: nowrap; }
.search__form .select__wrapper { padding: 0 !important; display: flex; gap: .35rem; width: 100%; flex: 1 1 auto; }
.search__form select, .search__select {
  -webkit-appearance: none; appearance: none; flex: 1 1 0; min-width: 0; width: auto !important;
  padding-right: 1.6rem !important; cursor: pointer; font-size: .88rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6d7c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right .5rem center !important; background-size: .85rem !important;
}
.search__form select[name$="Year"] { flex-grow: 1.3; }
.search__form select[name$="Month"] { flex-grow: 1.6; }
.search__form .select__wrapper::after { display: none; }
.search__form .form-group-buttons { margin: 1.4rem 0 0; }
.search__form .form-group-buttons .btn { width: 100%; }

.search_results { display: flex; flex-direction: column; gap: 1rem; }
.search_results article.article { margin: 0 !important; padding: 0 !important; }
.search_results article.article > .row { margin: 0; }
.search_results article.article > .row > div {
  margin-left: 0 !important; flex: 0 0 100% !important; max-width: 100% !important;
  border-left: 4px solid var(--zb-gold);
}
.search_results article.article > .row > div:hover {
  transform: translateY(-2px); box-shadow: var(--zb-shadow-h); border-color: rgba(58, 167, 193, .45); border-left-color: var(--zb-teal);
}
.search_results .article__title { font-size: 1.12rem; margin-bottom: 0; word-break: break-word; }
.search_results .article__btn-group { margin-top: .75rem; }

.cmp_pagination {
  display: flex; justify-content: center; align-items: center; gap: .4rem; flex-wrap: wrap;
  margin: 2rem auto; color: var(--zb-muted); font-size: .9rem;
}
.cmp_pagination a, .cmp_pagination .current {
  display: inline-flex; min-width: 2.3rem; height: 2.3rem; align-items: center; justify-content: center;
  padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--zb-border); background: #fff;
  color: var(--zb-navy); text-decoration: none;
}
.cmp_pagination .current { background: var(--zb-navy); border-color: var(--zb-navy); color: #fff; }
.cmp_pagination a:hover { border-color: var(--zb-teal); color: var(--zb-teal-d); }

/* ---------- Stranica rada ---------- */
.article-page {
  background: linear-gradient(160deg, var(--zb-navy-2), var(--zb-navy)) !important;
  border-radius: 0 0 var(--zb-radius) var(--zb-radius);
}
@media (min-width: 768px) { .article-page { border-radius: var(--zb-radius); margin-top: 1rem; margin-bottom: 2rem; } }
.article-page__title { line-height: 1.25; }
.article-page__header .article-page__meta, .article-page__header a { color: #d6e6ee; }
.article-page .authors-string { font-size: 1rem; }
.article-page a { color: #9ed3e3; }
.article-page a:hover { color: var(--zb-gold); }
.article-page .list-galleys a { background: var(--zb-gold) !important; border-color: var(--zb-gold) !important; color: var(--zb-navy-2) !important; font-weight: 600; }
.article-page .list-galleys a:hover { background: #fff !important; border-color: #fff !important; }
.article-page dt { color: #f3dfb0; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }
.article-page dd { margin-bottom: .9rem; }
.article-page h3.label {
  color: #fff; font-size: 1.3rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12);
}
.article-page > p { line-height: 1.75; font-size: 1.02rem; color: #eef4f7; }
ol.references { list-style: none; padding-left: 0; counter-reset: none; }
ol.references li {
  font-size: .9rem; line-height: 1.55; color: #cfdde5; padding: .55rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.1); word-break: break-word;
}
ol.references li:last-child { border-bottom: 0; }

.article-sidebar { padding-top: 2rem; }
.article-side__title {
  font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--zb-muted) !important;
  font-family: Roboto, sans-serif !important; font-weight: 600; margin-bottom: .75rem;
}
.article-sidebar ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.article-sidebar ul li {
  background: var(--zb-bg); border: 1px solid var(--zb-border); color: var(--zb-navy);
  border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; line-height: 1.3;
}

/* ---------- Arhiva ---------- */
.archived-issue { position: relative; margin-bottom: 1.5rem; padding-top: 1rem !important; padding-bottom: 1rem !important; display: flex; flex-direction: column; }
.archived-issue::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 8px; right: 8px; z-index: 0;
  background: #fff; border: 1px solid var(--zb-border); border-top: 4px solid var(--zb-teal);
  border-radius: var(--zb-radius); box-shadow: var(--zb-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.archived-issue:hover::before { transform: translateY(-3px); box-shadow: var(--zb-shadow-h); border-top-color: var(--zb-gold); }
.archived-issue > * { position: relative; z-index: 1; padding: 0 .55rem; }
.archived-issue .issue-summary__link { text-decoration: none !important; order: 2; }
.archived-issue__title { font-size: .78rem; line-height: 1.35; margin: .35rem 0 0; color: var(--zb-muted); font-weight: 400; }
.archived-issue .series { order: 1; font-weight: 700; color: var(--zb-navy); font-size: 1.02rem; line-height: 1.3; }
.archived-issue__date { order: 3; margin: .5rem 0 0; color: var(--zb-teal-d); }
.archived-issue__date small { font-size: .8rem; font-weight: 500; }

/* ---------- Statičke stranice (O nama, Uputstva...) ---------- */
.page-content, main .page { line-height: 1.75; }
main h2 { color: var(--zb-navy); }
main blockquote { border-left: 4px solid var(--zb-gold); background: var(--zb-bg); padding: .8rem 1.1rem; border-radius: 0 10px 10px 0; }
main table { border-collapse: collapse; }
main table td, main table th { border: 1px solid var(--zb-border); padding: .45rem .7rem; }

/* ---------- Podnožje ---------- */
.main-footer {
  background: radial-gradient(800px 300px at 90% 0%, rgba(58,167,193,.16), transparent 60%), linear-gradient(135deg, #06172a 0%, #0c2740 60%, #123a5a 100%) !important; color: #d5e2ea !important;
  border-top: 1px solid rgba(214,180,106,.6); margin-top: 0;
}
.main-footer a { color: #fff !important; text-decoration: none; opacity: .88; }
.main-footer a:hover { color: var(--zb-gold) !important; opacity: 1; }
.main-footer .title {
  color: var(--zb-gold) !important; font-family: Roboto, sans-serif !important; font-size: .78rem !important;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: .8rem;
}
.main-footer .pkp_block ul { list-style: none; padding: 0; }
.main-footer .pkp_block li { margin-bottom: .35rem; font-family: Roboto, sans-serif; }
.main-footer .block_developed_by { display: none; }
.main-footer hr { border-color: rgba(255, 255, 255, .15); }
.main-footer img { filter: brightness(0) invert(1); opacity: .65; }
.main-footer .pkp_footer_content, .main-footer .page-footer { color: #d5e2ea; font-size: .92rem; line-height: 1.65; }

/* ---------- Mobilni prikaz ---------- */
@media (max-width: 767.98px) {
  .main-header__title img { max-height: 52px; }
  article.article > .row > div { margin-left: 0 !important; }
  .issue-section__title { margin-bottom: .5rem; }
  .search__form { padding: 1.1rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* Ceo broj bliže DOI i datumu objave */
.issue__header{margin-bottom:0!important}
.issue-desc{padding-top:18px!important}
.issue-desc__galleys h3{margin-top:0!important}
