:root {
  --glasnik-blue: #0f4c97;
  --glasnik-blue-dark: #0a2f63;
  --glasnik-blue-light: #2c8ed3;
  --glasnik-green: #43a525;

  --glasnik-bg: #f4f7fb;
  --glasnik-surface: #ffffff;
  --glasnik-text: #1d2a3a;
  --glasnik-text-soft: #66758a;

  --glasnik-border: rgba(15, 76, 151, 0.10);
  --glasnik-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.06),
    0 16px 32px rgba(0,0,0,0.08);

  --glasnik-radius-xl: 32px;
  --glasnik-radius-lg: 24px;
  --glasnik-radius-md: 16px;
  --glasnik-radius-sm: 12px;

  --glasnik-max-page: 1920px;
  --glasnik-max-content: 1360px;
  --glasnik-max-text: 980px;
}

html {
  scroll-behavior: smooth;
}

body.site {
  
  color: var(--glasnik-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== PAGE WIDTH ===== */

.site-grid,
.header {
  max-width: var(--glasnik-max-page);
  margin: 0 auto;
}

.container-top-a,
.container-component {
  width: 100%;
}

.container-top-a > .top-a,
.container-component > main,
.container-component > .mod-breadcrumbs__wrapper,
.header .grid-child {
  max-width: var(--glasnik-max-content);
  margin-left: auto;
  margin-right: auto;
}

/* ===== HEADER / LOGO ===== */

.container-header {
  background-image: none;
  background-color: transparent;
}

.header.container-header.full-width {
  background: transparent;
  padding: 18px 24px 8px;
  border: 0;
  box-shadow: none;
}

.header.container-header.full-width .grid-child {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
}

.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  min-height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 170px;
  height: auto;
}

/* ===== BREADCRUMBS ===== */

.mod-breadcrumbs__wrapper {
  margin-bottom: 20px;
}

.mod-breadcrumbs.breadcrumb {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 76, 151, 0.08);
  border-radius: 14px;
  color: var(--glasnik-text-soft);
}

/* ===== CARDS / MODULE WRAPPERS ===== */

.top-a.card,
.main-bottom.card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.top-a .card-body,
.main-bottom .card-body {
  padding: 0;
}

/* ===== SEARCH ===== */

.glasnik-search {
  background: var(--glasnik-surface);
  border-radius: var(--glasnik-radius-xl);
  box-shadow: var(--glasnik-shadow);
  overflow: hidden;
  margin: 10px auto 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glasnik-search-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(90deg, var(--glasnik-blue-light) 0%, var(--glasnik-blue-dark) 100%);
  padding: 28px 28px 0;
}

.glasnik-search-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 18px 28px;
  border-radius: 18px 18px 0 0;
  transition: all 0.25s ease;
}

.glasnik-search-tab:hover {
  color: #fff;
}

.glasnik-search-tab.is-active {
  background: #fff;
  color: var(--glasnik-blue-dark);
  box-shadow: 0 -1px 0 #fff, 0 10px 24px rgba(0, 0, 0, 0.06);
}

.glasnik-search-panels {
  background: #fff;
  padding: 30px;
}

.glasnik-search-panel {
  display: none;
}

.glasnik-search-panel.is-active {
  display: block;
}

.glasnik-search-form {
  margin: 0;
}

.glasnik-search-grid {
  display: grid;
  gap: 18px 22px;
}

.glasnik-search-grid--basic {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.glasnik-search-grid--advanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.glasnik-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.glasnik-field label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--glasnik-blue-dark);
}

.glasnik-field select,
.glasnik-field input[type="text"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--glasnik-border);
  border-radius: 18px;
  background: #f8fbff;
  padding: 0 16px;
  font-size: 15px;
  color: var(--glasnik-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.glasnik-field select:focus,
.glasnik-field input[type="text"]:focus {
  outline: none;
  border-color: rgba(31, 134, 209, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 134, 209, 0.12);
}

.glasnik-field--actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.glasnik-search-grid--advanced .glasnik-field--actions {
  grid-column: 3;
}

.glasnik-btn {
  min-width: 180px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--glasnik-blue-light), var(--glasnik-blue));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 76, 151, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.glasnik-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 76, 151, 0.28);
}

.glasnik-btn:active {
  transform: translateY(0);
}

/* ===== FEATURED / HOMEPAGE CONTENT ===== */

.blog-featured {
  padding: 20px 24px 60px;
  padding-bottom: 0px;
  padding-top: 0px;
}

.blog-item .item-content {
  max-width: var(--glasnik-max-text);
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 56px 54px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  
}

.blog-item .item-content img {
  max-width: 220px;
  height: auto;
  margin-bottom: 24px;
}

.blog-item .item-content h1,
.blog-item .item-content h2,
.blog-item .item-content h3,
.blog-item .item-content h4 {
  color: var(--glasnik-blue-dark);
}

.blog-item .item-content p {
  color: var(--glasnik-text-soft);
  line-height: 1.8;
  font-size: 17px;
}

.blog-item .item-content strong {
  color: var(--glasnik-text);
}

/* ===== GLASNIK ARTICLE / ISSUE LAYOUT ===== */

.glasnik-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.glasnik-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding-right: 6px;
  border-right: 1px solid #ddd;
}

.glasnik-content {
  min-width: 0;
}

.glasnik-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
}

.glasnik-title {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.glasnik-meta-line {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.glasnik-sadrzaj-link {
  font-weight: 700;
  text-decoration: none;
}

.glasnik-group-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.glasnik-article-list {
  margin: 0;
  padding-left: 1.25rem;
}

.glasnik-article-list-item {
  margin-bottom: 0.45rem;
}

.glasnik-article-list-item.is-active > a {
  font-weight: 700;
  text-decoration: underline;
}

.glasnik-article-topline {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.glasnik-print-bar {
  text-align: right;
  margin-bottom: 10px;
}

.glasnik-print-bar a {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.glasnik-pdf-placeholder {
  margin: 0;
}

.glasnik-print-layout {
  display: block;
}

.glasnik-print-layout .glasnik-content {
  width: 100%;
  max-width: 100%;
}

.glasnik-print-layout .glasnik-box {
  border: 0;
  padding: 0;
  margin-bottom: 1.5rem;
}

.glasnik-tree-box {
  margin-bottom: 0.75rem;
  border-left: 3px solid #e5e5e5;
  padding-left: 10px;
}

.glasnik-content-path {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.glasnik-depth-1 {
  margin-left: 8px;
}

.glasnik-depth-2 {
  margin-left: 16px;
}

.glasnik-depth-3 {
  margin-left: 24px;
}

.glasnik-depth-4 {
  margin-left: 32px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .header.container-header.full-width {
    padding-left: 18px;
    padding-right: 18px;
  }

  .glasnik-search-panels {
    padding: 22px;
  }

  .glasnik-search-grid--advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glasnik-search-grid--advanced .glasnik-field--actions {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 6px;
  }

  .blog-featured {
    padding-left: 18px;
    padding-right: 18px;
  }

  .blog-item .item-content {
    padding: 44px 32px;
  }
}

@media (max-width: 991px) {
	
#glasnik-clanak-start h1{
	margin-bottom: 1rem;
	font-size: 1.2rem !important;
}
  .glasnik-layout {
    grid-template-columns: 1fr;
  }

  .glasnik-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .brand-logo img {
    max-width: 140px;
  }

  .glasnik-search-tabs {
    flex-wrap: wrap;
    padding: 12px 12px 0;
    gap: 8px;
  }

  .glasnik-search-tab {
    width: 100%;
    text-align: center;
    border-radius: 14px;
    padding: 14px 18px;
  }

  .glasnik-search-tab.is-active {
    box-shadow: none;
  }

  .glasnik-search-grid--basic,
  .glasnik-search-grid--advanced {
    grid-template-columns: 1fr;
  }

  .glasnik-search-grid--advanced .glasnik-field--actions,
  .glasnik-field--actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .glasnik-btn {
    width: 100%;
    min-width: 0;
  }

  .blog-item .item-content {
    border-radius: 22px;
    padding: 34px 22px;
  }

  .blog-item .item-content p {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {
  .header.container-header.full-width {
    padding-top: 14px;
    padding-bottom: 6px;
  }

  .glasnik-search {
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .glasnik-search-panels {
    padding: 18px;
  }

  .blog-featured {
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-item .item-content {
    padding: 26px 18px;
  }

  .blog-item .item-content img {
    max-width: 160px;
  }
}

@media print {
  .glasnik-sidebar {
    display: none;
  }

  .glasnik-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== HEADER: ista širina kao tražilica ===== */
.header.container-header.full-width {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 24px 8px;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header.container-header.full-width > .grid-child,
.header.container-header.full-width > .container-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* ===== LOGO ===== */
.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  min-height: auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 88px;
  height: auto;
}

/* ===== ISSN MODUL ===== */
.header.container-header.full-width .container-nav {
  position: absolute;
  top: 20px;
  right: 24px;
  width: auto;
  max-width: none;
  margin: 0;
}

#mod-custom117 {
  margin: 0;
  padding: 0;
}

#mod-custom117 p {
  margin: 0;
}

/* sadržaj modula */
.glasnik-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.55;
  color: rgba(10, 47, 99, 0.84);
}

.glasnik-header-meta__eyebrow {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2c8ed3;
}

.glasnik-header-meta__line {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== MOBITEL ===== */
@media (max-width: 900px) {
  .header.container-header.full-width {
    padding: 14px 16px 6px;
  }

  .header.container-header.full-width .container-nav {
    position: static;
    width: 100%;
    margin-top: 8px;
	margin: auto;
    display: flex;
    justify-content: center;
  }

  .navbar-brand {
    margin-bottom: 6px;
  }

  .brand-logo img {
    max-width: 72px;
  }

  .glasnik-header-meta {
    align-items: center;
    text-align: center;
  }

  .glasnik-header-meta__line {
    white-space: normal;
    font-size: 11px;
  }
}


.container-footer.footer.full-width {
  background: #0b3165;
  margin-top: 40px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.container-footer.footer.full-width .grid-child {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
}

#mod-custom118 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: auto;
}

#mod-custom118 p {
  margin: 0;
}

.glasnik-footer {
  position: relative;
  padding: 22px 24px 18px;
  text-align: center;
}

.glasnik-footer::before {
  content: "";
  display: block;
  width: min(420px, 60%);
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.45),
    rgba(255,255,255,0)
  );
}

.glasnik-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.glasnik-footer__links a {
  position: relative;
  color: rgba(255,255,255,0.96);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.glasnik-footer__links a:hover {
  color: #ffffff;
  opacity: 0.85;
  transform: translateY(-1px);
}

.glasnik-footer__links a + a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.32);
}

.glasnik-footer__meta {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .glasnik-footer {
    padding: 18px 16px 16px;
  }

  .glasnik-footer::before {
    width: min(220px, 70%);
    margin-bottom: 14px;
  }

  .glasnik-footer__links {
    flex-direction: column;
    gap: 10px;
  }

  .glasnik-footer__links a + a::before {
    display: none;
  }

  .glasnik-footer__links a {
    font-size: 13px;
  }

  .glasnik-footer__meta {
    margin-top: 12px;
    font-size: 11px;
  }
}


/* ===== GLASNIK LAYOUT ===== */

.glasnik-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ===== SIDEBAR KAO JEDNA CJELINA ===== */

.glasnik-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;

  background: #ffffff;
  border: 1px solid rgba(15, 76, 151, 0.08);
  border-radius: 28px;
  box-shadow: var(--glasnik-shadow);

  padding: 22px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

/* svi boxovi unutar sidebara postaju "sekcije", ne zasebne kartice */
.glasnik-sidebar .glasnik-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* razmak između sekcija */
.glasnik-sidebar > .glasnik-box + .glasnik-box,
.glasnik-sidebar > .glasnik-tree-box + .glasnik-tree-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 76, 151, 0.08);
}

/* i tree dijelovi na top levelu isto */
.glasnik-sidebar > .glasnik-tree-box {
  margin: 0;
}

/* ===== HEADER DIO SIDEBARA ===== */

.glasnik-header-box {
  padding-bottom: 6px;
}

.glasnik-title {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 800;
  color: #0b2f63;
}

.glasnik-meta-line {
  margin: 0 0 10px;
  line-height: 1.55;
  font-size: 0.98rem;
  color: #41566f;
}

/* ===== SADRŽAJ LINK ===== */

.glasnik-sadrzaj-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  color: #0f4c97;
  font-size: 1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.glasnik-sadrzaj-link:hover {
  opacity: 0.85;
  transform: translateX(1px);
}

/* ===== GRUPE U SIDEBARU ===== */

.glasnik-group-title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1b2f47;
  text-transform: none;
}

/* top level grupa */
.glasnik-sidebar > .glasnik-tree-box > .glasnik-group-title {
  font-size: 1.05rem;
  color: #0b2f63;
  margin-bottom: 12px;
}

/* ===== UKLONI GNJEŽĐENE KUTIJE ===== */

.glasnik-tree-box {
  border-left: 0;
  padding-left: 0;
  background: transparent;
}

.glasnik-tree-box .glasnik-tree-box {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 18px;
}

/* makni stare depth margine */
.glasnik-depth-1,
.glasnik-depth-2,
.glasnik-depth-3,
.glasnik-depth-4 {
  margin-left: 0;
}

/* ===== LISTE ČLANAKA ===== */

.glasnik-article-list {
  margin: 0;
  padding-left: 1.2rem;
}

.glasnik-article-list-item {
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.glasnik-article-list-item:last-child {
  margin-bottom: 0;
}

.glasnik-article-list-item a {
  color: #295aa8;
  text-decoration: none;
}

.glasnik-article-list-item a:hover {
  text-decoration: underline;
}

.glasnik-article-list-item.is-active > a {
  font-weight: 700;
  color: #0b2f63;
  text-decoration: underline;
}

/* ===== PDF BLOK ===== */

.glasnik-sidebar .glasnik-box:last-child .glasnik-group-title {
  margin-bottom: 10px;
}

.glasnik-sidebar .glasnik-box:last-child a {
  color: #0d68a6;
  text-decoration: none;
  line-height: 1.5;
  font-size: 0.9rem;
}

.glasnik-sidebar .glasnik-box:last-child a:hover {
  text-decoration: underline;
}

/* ===== DESNI STUPAC KAO JEDAN DOKUMENT ===== */

.glasnik-content {
  min-width: 0;
}

/* print/pdf bar */
.glasnik-print-bar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.glasnik-print-bar a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #295aa8;
}

.glasnik-print-bar a:hover {
  text-decoration: underline;
}

/* makni stare kartice na desnoj strani */
.glasnik-content > .glasnik-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* prvi box ostaje zaglavlje dokumenta */
.glasnik-content > #sadrzaj-broja {
  background: #ffffff;
  border: 1px solid rgba(15, 76, 151, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(13, 44, 84, 0.06);
  padding: 24px 26px;
  margin-bottom: 22px;
}

/* svi ostali dijelovi sadržaja = sekcije, ne kartice */
.glasnik-content > .glasnik-box:not(#sadrzaj-broja) {
  padding: 20px 0;
  border-top: 1px solid rgba(15, 76, 151, 0.10);
}

/* glavni naslov broja */
#sadrzaj-broja h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 700;
  color: #0b2f63;
  display: none;
}

/* topline */
.glasnik-article-topline {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.55;
  color: #808080;
  font-weight: bold;
}

#sadrzaj-broja .glasnik-meta-line {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #41566f;
}

/* path iznad sekcije */
.glasnik-content-path {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
  color: #6a7b91;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* naslov sekcije tipa Akti župana */
.glasnik-content > .glasnik-box h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 650;
  color: #12263f;
}

/* liste članaka */
.glasnik-content .glasnik-article-list {
  margin: 0;
  padding-left: 1.4rem;
}

.glasnik-content .glasnik-article-list-item {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

.glasnik-content .glasnik-article-list-item:last-child {
  margin-bottom: 0;
}

.glasnik-content .glasnik-article-list-item a {
  color: #295aa8;
  text-decoration: none;
}

.glasnik-content .glasnik-article-list-item a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  #sadrzaj-broja {
    padding: 20px 18px;
  }

  #sadrzaj-broja h1 {
    font-size: 1.65rem;
  }

  .glasnik-content > .glasnik-box h3 {
    font-size: 1.25rem;
  }

  .glasnik-content > .glasnik-box:not(#sadrzaj-broja) {
    padding: 16px 0;
  }
}
.glasnik-print-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.glasnik-print-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 151, 0.12);
  color: #0f4c97;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(13, 44, 84, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.glasnik-print-bar a:hover {
  transform: translateY(-1px);
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(13, 44, 84, 0.10);
}

.glasnik-content .glasnik-print-bar{
display:flex;
justify-content:flex-end;
gap:16px;
margin-bottom:14px;
font-size:14px;
}

.glasnik-content .glasnik-print-bar a{
display:inline-flex;
align-items:center;
gap:6px;
color:#295aa8;
text-decoration:none;
font-weight:600;
}

.glasnik-content .glasnik-print-bar a:hover{
text-decoration:underline;
}

.glasnik-content .glasnik-print-bar .glasnik-pdf{
color:#c62828;
}

.glasnik-content .glasnik-print-bar .glasnik-generate{
color:#2e7d32;
}

.glasnik-mobile-back {
  display: none;
}

.glasnik-mobile-back-btn{
display:none;

border:0;
background:transparent;

color:#0f4c97;
font-weight:700;
font-size:14px;

cursor:pointer;
padding:0;
margin-right:auto;
}

.glasnik-mobile-back-btn:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
	
	.glasnik-layout.glasnik-mobile-open .glasnik-mobile-back-btn{
display:inline-flex;
align-items:center;
}
  .glasnik-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .glasnik-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-bottom: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .glasnik-content {
    display: none;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-sidebar {
    display: none;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-content {
    display: block;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-mobile-back {
    display: block;
  } 
}

/* ===== MOBILE GLASNIK NAVIGATION ===== */
.glasnik-mobile-back {
  display: none;
}

.glasnik-mobile-back-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--glasnik-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.glasnik-mobile-back-btn:hover {
  text-decoration: underline;
}

#sadrzaj-broja,
#glasnik-clanak-start {
  scroll-margin-top: 16px;
}

@media (max-width: 991px) {
  .glasnik-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .glasnik-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    padding-right: 0;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .glasnik-content {
    display: none;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-sidebar {
    display: none;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-content {
    display: block;
  }

  .glasnik-layout.glasnik-mobile-open .glasnik-mobile-back {
    display: block;
  }
}


/* ===== OPĆI STIL ZA TABLICE U GLASNIKU ===== */

.glasnik-article-content table,
.glasnik-content table,
.com-content-article__body table {
    width: 94% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed;
    margin: 1.25rem 0;
    background: #fff;
}

.glasnik-article-content table td,
.glasnik-article-content table th,
.glasnik-content table td,
.glasnik-content table th,
.com-content-article__body table td,
.com-content-article__body table th {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 768px) {
    .glasnik-article-content table,
    .glasnik-content table,
    .com-content-article__body table {
        width: 100% !important;
        display: block;
        overflow-x: auto;
        table-layout: auto;
    }
}

.glasnik-article-content table tbody,
.glasnik-content table tbody,
.com-content-article__body table tbody {
  width: 100%;
}

.glasnik-article-content table th,
.glasnik-article-content table td,
.glasnik-content table th,
.glasnik-content table td,
.com-content-article__body table th,
.com-content-article__body table td {
  border: 1px solid #cfd8e3 !important;
  padding: 8px 10px !important;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: break-word;
  background: #fff;
  min-width: 80px;
}

.glasnik-article-content table th,
.glasnik-content table th,
.com-content-article__body table th {
  background: #f5f8fc;
  color: #0b2f63;
  font-weight: 700;
}

/* paragrafi unutar Word tablica */
.glasnik-article-content table p,
.glasnik-content table p,
.com-content-article__body table p {
  margin: 0;
}

/* MS Word / Mso tablice */
.glasnik-article-content table.MsoNormalTable,
.glasnik-content table.MsoNormalTable,
.com-content-article__body table.MsoNormalTable {
  width: 100% !important;
  max-width: 100% !important;
}

/* ===== MOBITEL ===== */

@media (max-width: 991px) {
  .glasnik-article-content table,
  .glasnik-content table,
  .com-content-article__body table {
    font-size: 14px;
  }

  .glasnik-article-content table th,
  .glasnik-article-content table td,
  .glasnik-content table th,
  .glasnik-content table td,
  .com-content-article__body table th,
  .com-content-article__body table td {
    padding: 7px 8px !important;
    font-size: 0.88rem;
    line-height: 1.35;
    min-width: 110px;
  }
}

@media (max-width: 600px) {
  .glasnik-article-content table th,
  .glasnik-article-content table td,
  .glasnik-content table th,
  .glasnik-content table td,
  .com-content-article__body table th,
  .com-content-article__body table td {
    padding: 6px 7px !important;
    font-size: 0.82rem;
    min-width: 95px;
  }
}

.glasnik-attachments {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #d8dde3;
}

.glasnik-attachments-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2d3d;
}

.glasnik-attachments-list {
    display: grid;
    gap: 12px;
}

.glasnik-attachment-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #dfe5eb;
    border-radius: 12px;
    background: #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
}

.glasnik-attachment-item:hover {
    background: #eef4f8;
    border-color: #c8d4df;
    text-decoration: none;
    transform: translateY(-1px);
}

.glasnik-attachment-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #e9f0f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #234a6b;
}

.glasnik-attachment-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.glasnik-attachment-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1c2733;
    word-break: break-word;
}

.glasnik-attachment-type {
    margin-top: 3px;
    font-size: 0.85rem;
    color: #667482;
}

@media (max-width: 767px) {
    .glasnik-attachment-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .glasnik-attachment-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }

    .glasnik-attachment-name {
        font-size: 0.93rem;
    }
}

.container-component > main {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

#glasnik-clanak-start h1 {
	
	font-size: 1.5rem;
    margin-bottom: 30px;
	color: #0d68a6;
}

.glasnik-article-list-item.is-active {

    border-left: 3px solid #3a9f1d;
    padding-left: 6px;
}

.glasnik-attachment-name {
	
	text-transform: unset !important;
}

.glasnik-results {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.glasnik-results {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.glasnik-results-box {
  background: #ffffff;
  border: 1px solid rgba(16, 56, 101, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(10, 38, 71, 0.10);
  padding: 34px;
}

.glasnik-results-box h3 {
  margin: 0 0 26px;
  color: #082f63;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.glasnik-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.glasnik-results-item {
  position: relative;
  background: #f7fbff;
  border: 1px solid #e5eef8;
  border-radius: 18px;
  padding: 18px 20px 16px 22px;
  transition: all 0.2s ease;
}

.glasnik-results-item:hover {
  background: #ffffff;
  border-color: rgba(38, 146, 214, 0.35);
  box-shadow: 0 12px 28px rgba(15, 75, 135, 0.10);
  transform: translateY(-2px);
}

.glasnik-results-item::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 5px;
  height: calc(100% - 38px);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(180deg, #3298d6, #1456a4);
}

.glasnik-results-item a {
  display: inline-block;
  color: #082f63;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
}

.glasnik-results-item a:hover {
  color: #1d83c4;
  text-decoration: none;
}

.glasnik-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  color: #5e718a;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.glasnik-meta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf5fc;
  color: #1456a4;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.glasnik-meta-tekst {
  display: inline-flex;
  align-items: center;
  color: #5e718a;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.glasnik-meta-tekst + .glasnik-meta-tekst::before {
  content: "/";
  margin-right: 10px;
  color: #b0bfce;
  font-weight: 700;
}

@media (max-width: 768px) {
  .glasnik-results {
    margin-top: 36px;
    padding: 0 14px;
  }

  .glasnik-results-box {
    border-radius: 22px;
    padding: 22px 16px;
  }

  .glasnik-results-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .glasnik-results-item {
    border-radius: 16px;
    padding: 16px 16px 15px 18px;
  }

  .glasnik-results-item a {
    font-size: 16px;
  }

  .glasnik-results-meta {
    gap: 8px;
    font-size: 13px;
  }

  .glasnik-meta-badge {
    font-size: 12px;
    padding: 7px 11px;
  }

  .glasnik-meta-tekst {
    font-size: 13px;
  }
}