body.page-posta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #3A3D40;
  overflow-x: hidden;
  --posta-accent-blue: #0c4076;
  --site-nav-width: 280px;
  --site-nav-spacer: 20px;
}

body.page-posta #table1 {
  width: 100%;
  max-width: var(--site-max-width);
}

body.page-posta #table1 > tbody > tr.page-header-row,
body.page-posta #table1 > tbody > tr.page-footer-row {
  display: block;
}

body.page-posta #table1 > tbody > tr.page-header-row > td,
body.page-posta #table1 > tbody > tr.page-footer-row > td {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  box-sizing: border-box;
}

body.page-posta .site-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

body.page-posta #header {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  border-collapse: collapse;
}

body.page-posta #header tr {
  background-color: #0c4076;
}

body.page-posta #header td {
  background-color: #0c4076;
}

body.page-posta .site-header-band {
  background-color: #0c4076;
}

body.page-posta .site-footer-band {
  background-color: #f5f7fa;
  border-top: 3px solid #0c4076;
  margin-top: 24px;
}

body.page-posta .site-footer-band .t-footer {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  background-image: none;
  background-color: transparent;
  padding: 16px 0 12px;
}

body.page-posta .site-footer-band .t-footer td {
  color: #3A3D40;
  padding-top: 6px;
  padding-bottom: 6px;
}

body.page-posta .site-footer-band .t-footer tr:last-child td {
  color: #0c4076;
  font-size: 12px;
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 14px;
  text-align: right !important;
  padding-right: 35px;
  box-sizing: border-box;
}

body.page-posta .site-footer-band .t-footer td[width="235"] {
  font-weight: 600;
  color: #0c4076;
  text-align: left;
  padding-left: 4px;
}

body.page-posta .site-footer-band .logo-poste-srbije-footer {
  display: block;
  margin-left: auto;
}

body.page-posta .title,
body.page-posta .sub_title,
body.page-posta .inpage,
body.page-posta .nov-title,
body.page-posta .ar-ca,
body.page-posta .t-footer,
body.page-posta .posta-label {
  font-family: 'Montserrat', Arial, sans-serif;
}

body.page-posta .title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.page-posta .sub_title {
  color: var(--posta-accent-blue);
  line-height: 1.35;
}

body.page-posta #body2 > tbody > tr > td:nth-child(3) > .sub_title {
  font-size: 22px;
  font-weight: 700;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4,
body.page-posta #body2 td.sub_title {
  font-size: 17px;
  font-weight: 600;
  color: var(--posta-accent-blue);
  line-height: 1.35;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4 {
  margin: 1.25em 0 0.5em;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2:first-child,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3:first-child,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4:first-child {
  margin-top: 0;
}

@media (min-width: 769px) {
  body.page-posta #body,
  body.page-posta #body2 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.page-posta #body2,
  body.page-posta #body2 > tbody {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }

  body.page-posta #body2 > tbody > tr.spacer-row {
    display: none;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:first-child {
    flex: 0 0 var(--site-nav-width);
    width: var(--site-nav-width) !important;
    max-width: var(--site-nav-width) !important;
    min-width: var(--site-nav-width) !important;
    vertical-align: top;
    box-sizing: border-box;
    background-color: #ffffff;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:nth-child(2) {
    flex: 0 0 var(--site-nav-spacer);
    width: var(--site-nav-spacer) !important;
    max-width: var(--site-nav-spacer) !important;
    min-width: var(--site-nav-spacer) !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:nth-child(3),
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td[width="750"] {
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    vertical-align: top;
    box-sizing: border-box;
  }

  body.page-posta #nav-left {
    width: 100%;
    max-width: var(--site-nav-width);
    table-layout: fixed;
  }

  body.page-posta #nav-left td {
    white-space: normal;
    overflow-wrap: break-word;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:nth-child(3) .table-scroll,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:nth-child(3) > table.inpage,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row) > td:nth-child(3) table.inpage {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.page-posta #body2 > tbody > tr:has(.sub_title) > td:nth-child(3) {
    vertical-align: top;
  }

  body.page-posta #body2 > tbody > tr:has(.sub_title) .sub_title {
    display: block;
    min-height: calc(2 * 1.35em);
  }
}

@media (min-width: 1072px) {
  body.page-posta #body2 {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }

  body.page-posta #header {
    table-layout: fixed;
  }

  body.page-posta #header td[width="245"] {
    width: 245px !important;
  }

  body.page-posta #header td[width="182"] {
    width: 182px !important;
  }

  body.page-posta .site-footer-band .t-footer {
    table-layout: fixed;
  }

  body.page-posta .site-footer-band .t-footer td[width="730"] {
    width: auto !important;
  }
}

body.page-posta .inpage {
  font-size: 15px;
  line-height: 1.55;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) strong,
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) b {
  color: var(--posta-accent-blue);
  font-weight: 600;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) span[style*="color: black"],
body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) span[style*="color:black"] {
  color: var(--posta-accent-blue) !important;
  font-weight: 600;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) a[href]:not(.accordion-link):not(:has(.posta-label)) {
  color: var(--posta-accent-blue);
  font-weight: 600;
  text-decoration: none;
}

body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) a[href]:not(.accordion-link):not(:has(.posta-label)):hover {
  color: var(--posta-accent-blue);
  text-decoration: underline;
}

body.page-posta .nov-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--posta-accent-blue);
  line-height: 1.35;
}

body.page-posta .t-footer {
  font-size: 13px;
  line-height: 1.45;
}

body.page-posta .status-check {
  font-size: 14px !important;
}

body.page-posta .sidebar-notes {
  background-color: #FBBA00;
  border-left: 4px solid #0c4076;
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 12px;
  margin-bottom: 12px;
  color: #0c4076;
  font-size: 15px;
  line-height: 1.55;
}

body.page-posta .sidebar-notes strong {
  font-weight: 700;
}

body.page-posta .sidebar-notes-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

body.page-posta .sidebar-notes-list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}

body.page-posta .sidebar-notes-list li {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 4px;
}

body.page-posta .sidebar-notes-list li:last-child {
  margin-bottom: 0;
}

body.page-posta .sidebar-notes-list a {
  color: #0c4076;
  font-weight: 500;
  text-decoration: underline;
}

body.page-posta .sidebar-notes-list a:hover {
  color: #083058;
}

body.page-posta .posta-label {
  font-size: 14px;
}

body.page-posta #nav-left {
  border: 1px solid #d8dee8;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
}

body.page-posta #nav-left td {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8ecf1;
}

body.page-posta #nav-left tr:last-child td {
  border-bottom: none;
}

body.page-posta #nav-left a.ar-ca {
  font-size: 14px;
  font-weight: 500;
  color: #0c4076;
  padding: 10px 12px;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.page-posta #nav-left a.ar-ca:hover {
  background-color: #FBBA00;
  color: #0c4076;
  font-size: 14px;
}

body.page-posta #nav-left a.nav-active {
  background-color: #FBBA00;
  color: #0c4076;
  font-weight: 600;
  border-left: 4px solid #0c4076;
  padding-left: 8px;
}

body.page-posta #nav-toggle {
  background-color: #0c4076 !important;
  color: #ffffff !important;
  font-size: 28px !important;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1070px) {
  body.page-posta #body,
  body.page-posta #body2,
  body.page-posta #table1 {
    width: 100% !important;
    max-width: 100%;
  }

  body.page-posta #header {
    width: 100%;
    table-layout: fixed;
  }

  body.page-posta #header td[width="245"] {
    width: 24% !important;
  }

  body.page-posta #header td[width="182"] {
    width: 18% !important;
  }

  body.page-posta #header .title {
    font-size: clamp(13px, 2.2vw, 18px);
    padding: 0 8px;
    line-height: 1.25;
  }

  body.page-posta #header td {
    height: auto !important;
    padding: 8px 4px;
  }

  body.page-posta .site-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 992px) {
  body.page-posta .title {
    font-size: 18px;
  }

  body.page-posta #body2 > tbody > tr > td:nth-child(3) > .sub_title {
    font-size: 20px;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4,
  body.page-posta #body2 td.sub_title {
    font-size: 16px;
  }

  body.page-posta .site-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  body.page-posta {
    font-size: 14px;
    line-height: 1.5;
  }

  body.page-posta #body2 > tbody > tr > td:nth-child(3) > .sub_title {
    font-size: 19px;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4,
  body.page-posta #body2 td.sub_title {
    font-size: 15px;
  }

  body.page-posta .inpage {
    font-size: 14px;
  }

  body.page-posta .nov-title {
    font-size: 15px;
    line-height: 1.35;
  }

  body.page-posta #nav-left {
    background-color: #ffffff;
    border: 1px solid #d8dee8;
    box-shadow: 0 4px 12px rgba(12, 64, 118, 0.15);
  }

  body.page-posta #nav-left td {
    background-color: #ffffff !important;
  }

  body.page-posta #nav-left a.ar-ca,
  body.page-posta #nav-left a.ar-ca:hover {
    font-size: 15px !important;
    padding: 12px 14px;
    min-height: 44px;
    box-sizing: border-box;
  }

  body.page-posta .status-check {
    font-size: 14px !important;
  }

  body.page-posta .sidebar-notes {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  body.page-posta .sidebar-notes-title {
    font-size: 14px;
  }

  body.page-posta .sidebar-notes-list li {
    font-size: 14px;
  }

  body.page-posta .site-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.page-posta #header tr {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 14px 24px;
    text-align: center;
  }

  body.page-posta #header tr td {
    display: block !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  body.page-posta #header td[width="245"] {
    width: auto !important;
    max-width: 100%;
  }

  body.page-posta #header td[width="245"] a {
    display: inline-block;
    text-align: center;
  }

  body.page-posta #header td[width="245"] .logo-poste-srbije-header {
    display: block;
    width: auto !important;
    height: 20px !important;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
  }

  body.page-posta #header .title {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 16px !important;
    line-height: 1.35;
    margin: 0 !important;
    padding: 0 12px !important;
    padding-left: 12px !important;
    text-align: center !important;
  }

  body.page-posta #header td[width="182"] img {
    display: block;
    height: 30px;
    width: auto;
    margin: 0 auto;
  }

  body.page-posta #header td {
    height: auto !important;
  }

  body.page-posta #body2 {
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
  }

  body.page-posta .site-footer-band {
    margin-top: 20px;
  }

  body.page-posta .site-footer-band .t-footer {
    padding: 12px 0 8px;
  }
}

@media (max-width: 480px) {
  body.page-posta {
    font-size: 14px;
  }

  body.page-posta .title {
    font-size: 15px !important;
  }

  body.page-posta #body2 > tbody > tr > td:nth-child(3) > .sub_title {
    font-size: 18px;
  }

  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h2,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h3,
  body.page-posta #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) h4,
  body.page-posta #body2 td.sub_title {
    font-size: 15px;
  }

  body.page-posta .nov-title {
    font-size: 15px;
    line-height: 1.35;
  }

  body.page-posta .site-footer-band .t-footer tr,
  body.page-posta .site-footer-band .t-footer td {
    display: block;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  body.page-posta .site-footer-band .t-footer tr:last-child td {
    text-align: center !important;
    padding-right: 0;
  }

  body.page-posta .site-footer-band .t-footer td[width="235"] {
    text-align: center !important;
    padding-left: 0;
  }

  body.page-posta .site-footer-band .logo-poste-srbije-footer {
    margin: 8px auto 0;
  }
}

/* Table section titles on Dokumentacija (aligned with Cenovnik) */
body.page-dokumentacija #body2 > tbody > tr:not(.nav-toggle-row):not(.spacer-row) > td:nth-child(3) > table.inpage > tbody > tr > td > strong {
  font-weight: 600;
  color: var(--posta-accent-blue);
}

/* Yellow header rows: Dokumentacija, Preuzimanje softvera, Cenovnik */
body.page-dokumentacija .table-scroll > table.inpage > tbody > tr:first-child > td,
body.page-preuzimanje-softvera #body2 table.inpage[border] > tbody > tr:first-child > td,
body.page-cenovnik .table-scroll > table.inpage:not(.tabela-4) > tbody > tr:first-child > td,
body.page-cenovnik .table-scroll .cen-t7-desktop > table.inpage > tbody > tr:first-child > td,
body.page-cenovnik .table-scroll > table.inpage.tabela-4 > tbody > tr:nth-child(-n+2) > td {
  background-color: #FBBA00;
  color: #0c4076;
  font-weight: 700;
}

body.page-dokumentacija .table-scroll > table.inpage > tbody > tr:first-child > td div,
body.page-preuzimanje-softvera #body2 table.inpage[border] > tbody > tr:first-child > td div,
body.page-cenovnik .table-scroll > table.inpage > tbody > tr:first-child > td div,
body.page-cenovnik .table-scroll .cen-t7-desktop > table.inpage > tbody > tr:first-child > td div,
body.page-cenovnik .table-scroll > table.inpage.tabela-4 > tbody > tr:nth-child(-n+2) > td div {
  font-weight: 700;
  color: #0c4076;
}
